You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/02/22 08:14:31 UTC

DO NOT REPLY [Bug 6637] New: - full paths don't work for -c, -x in runConfigure

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6637>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6637

full paths don't work for -c, -x in runConfigure

           Summary: full paths don't work for -c, -x in runConfigure
           Product: Xerces-C++
           Version: 1.6.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Build
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: greep@mindspring.com
                CC: greep@mindspring.com


I tried building with the following command:
  ./runConfigure -P/opt/xerces-c-1.6.0 -plinux -c/opt/gcc-2.95.2/bin/gcc
-x/opt/gcc-2.95.2/bin/g++
The library compiled but did not include src/util/Compilers/GCCDefs.cpp.
Therefore stricmp was undefined, and the samples did not link.
Apparently the build scripts check for the compiler equal to gcc (or g++)
and do not recognize this when it's at the end of a full path.
(/usr/bin/g++ on my system does not include the standard I/O header files
so it's pretty much useless.)

The workaround is to use:
  PATH="/opt/gcc-2.95.2/bin:$PATH" sh ./runConfigure -P/opt/xerces-c-1.6.0
-plinux -cgcc -xg++

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: DO NOT REPLY [Bug 6637] New: - full paths don't work for -c, -x in runConfigure

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
bugzilla@apache.org writes:

> I tried building with the following command:
>   ./runConfigure -P/opt/xerces-c-1.6.0 -plinux -c/opt/gcc-2.95.2/bin/gcc
> -x/opt/gcc-2.95.2/bin/g++
> The library compiled but did not include src/util/Compilers/GCCDefs.cpp.
> Therefore stricmp was undefined, and the samples did not link.
> Apparently the build scripts check for the compiler equal to gcc (or g++)
> and do not recognize this when it's at the end of a full path.
> (/usr/bin/g++ on my system does not include the standard I/O header files
> so it's pretty much useless.)
> 
> The workaround is to use:
>   PATH="/opt/gcc-2.95.2/bin:$PATH" sh ./runConfigure -P/opt/xerces-c-1.6.0
> -plinux -cgcc -xg++

This qualifies as a WONTFIX in my book. That's not the intended use of
-c and -x, and there is a workaround. 

BugZilla is down until Pier fixes MySQL, so you have until then to
convince me otherwise.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org