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=15664>. 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=15664 building failed---unexpected EL_UNINITIALIZED [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|WORKSFORME | Version|2.0.39 |2.0.48 ------- Additional Comments From [EMAIL PROTECTED] 2004-01-30 19:39 ------- I can reproduce the bug (Apache 2.0.48 source, Sparc Solaris 8, Sun Workshop 5.0 C compiler). The problem seems to stem from Sun deciding that its 'ar' utility would replace 'ranlib'. Sun's development tools packages provide a shell script named 'ranlib' which does nothing, prints nothing to stdout or stderr, and returns 0 on exit. Apache's build process checks for the existence of an executable 'ranlib' in PATH without verifying its output/behavior. So Apache's build process chooses this bogus Sun 'ranlib' and the build fails. Details: The output from ./configure shows that it "found" ranlib at /usr/ccs/bin/ranlib, but /usr/ccs/bin/ranlib is a shell script with comments to the effect that 'ranlib' is obsolete in Solaris, replaced by 'ar'. /usr/ccs/bin/ranlib exits with an RC of 0 without doing anything. This led me to believe I should try setting the RANLIB env var to point to 'ar' before running ./configure. So here's the shell script I used to build 2.0.48 #!/usr/bin/sh -xv RANLIB="/usr/ccs/bin/ar -r" CC=/opt/SUNWspro/bin/cc CFLAGS='-g -O -xchip=ultra' export CC CFLAGS RANLIB ./configure --prefix=/path/to/apache-2.0.48 && make clean && make It would of course be great if the configure script(s) could test 'ranlib' and fall back to 'ar -r' when necessary. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
