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=8374>.
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=8374
configuration/make fails for Apache 2.0.35 on a Solaris 7 system
Summary: configuration/make fails for Apache 2.0.35 on a Solaris
7 system
Product: Apache httpd-2.0
Version: 2.0.35
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Blocker
Priority: Other
Component: Build
AssignedTo: bugs@httpd.apache.org
ReportedBy: venessa.mondi@tycoelectronics.com
Help! I'm not sure if this problem is a bug.... or something I am doing
incorrectly... I did submit the problem to the apache user group and have had
no luck.
I am trying to build Apache 2.0.35 on a Solaris 7 system.
Background.......
gcc (3.0.3), gcc libraries, and libtools are installed in /usr/local
gawk and other utilities are in /opt/tools and /usr/tools
ISC bind 8.2.3 installed in /usr/local
The apache src is in /export2/ws/apache/httpd-2.0.35
# uname -a
SunOS my-system 5.7 Generic_106541-20 sun4m sparc SUNW,SPARCstation-5
#
#
# echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/tools/bin:/usr/tools/sbin:/opt/tools/bin
:/opt/tools/sbin:/usr/dt/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/bin:/usr/ucb
:/usr/sbin:/usr/local/include:/usr/include:/usr/local/lib:/usr/lib
# echo $LD_LIBRARY_PATH
/usr/dt/lib:/usr/openwin/lib:/usr/lib:/usr/include:/usr/local/lib:/usr/local
/include:/usr/tools/lib:/usr/tools/include
#
I ran:
# ./configure
then...
# make
.
.
.
And get the following message:
/bin/sh /export2/ws/apache/httpd-2.0.35/srclib/apr/libtool --silent
--mode=link
gcc -g -O2 -pthreads -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT
-DAP_HAVE_DESIGNATED_INITIALIZER -I.
-I/export2/ws/apache/httpd-2.0.35/os/unix
-I/export2/ws/apache/httpd-2.0.35/server/mpm/prefork
-I/export2/ws/apache/httpd-2.0.35/modules/http
-I/export2/ws/apache/httpd-2.0.35/modules/proxy
-I/export2/ws/apache/httpd-2.0.35/include
-I/export2/ws/apache/httpd-2.0.35/srclib/apr/include
-I/export2/ws/apache/httpd-2.0.35/srclib/apr-util/include
-I/export2/ws/apache/httpd-2.0.35/modules/dav/main
-I/export2/ws/apache/httpd-2.0.35/srclib/apr-util/include
-I/export2/ws/apache/httpd-2.0.35/srclib/apr-util/xml/expat/lib
-export-dynamic
-o htpasswd htpasswd.lo
/export2/ws/apache/httpd-2.0.35/srclib/apr-util/libaprutil.la
/export2/ws/apache/httpd-2.0.35/srclib/apr/libapr.la -lrt -lm -lsocket -lnsl
-lresolv -ldl
/export2/ws/apache/httpd-2.0.35/srclib/apr-util/xml/expat/lib/libexpat.la
/export2/ws/apache/httpd-2.0.35/srclib/apr/.libs/libapr.so: undefined
reference
to `__inet_addr'
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/export2/ws/apache/httpd-2.0.35/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export2/ws/apache/httpd-2.0.35/support'
make: *** [all-recursive] Error 1
#
I checked the config.log file and found errors.
1. It can not find bindprocessor()
2. It can not find timegm()
What additional packages are required to build apache 2.0.35 on Solaris 7?
configure:3273: checking for getgrnam
configure:3301: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=7
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT conftest.c -lrt -lm -lsocket -lnsl
-lresolv -ldl 1>&5
configure:3273: checking for initgroups
configure:3301: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=7
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT conftest.c -lrt -lm -lsocket -lnsl
-lresolv -ldl 1>&5
configure:3273: checking for bindprocessor
configure:3301: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=7
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT conftest.c -lrt -lm -lsocket -lnsl
-lresolv -ldl 1>&5
/var/tmp/ccwxHjih.o: In function `main':
/export2/ws/apache/httpd-2.0.35/configure:3295: undefined reference to
`bindprocessor'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3278 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char bindprocessor(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char bindprocessor();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_bindprocessor) || defined (__stub___bindprocessor)
choke me
#else
bindprocessor();
#endif
; return 0; }
configure:3273: checking for timegm
configure:3301: gcc -o conftest -g -O2 -pthreads -DSOLARIS2=7
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT conftest.c -lrt -lm -lsocket -lnsl
-lresolv -ldl 1>&5
/var/tmp/ccmtrGkJ.o: In function `main':
/export2/ws/apache/httpd-2.0.35/configure:3295: undefined reference to
`timegm'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3278 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char timegm(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char timegm();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_timegm) || defined (__stub___timegm)
choke me
#else
timegm();
#endif
; return 0; }
Thanks.
-Venessa
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
|