httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Possible bug? Httpd Make error on Solaris 10
Date Wed, 19 Jul 2006 13:47:39 GMT
> -----Original Message-----
> From: Dan Richardson [mailto:mundek23@linuxmail.org] 
> Sent: Wednesday, July 19, 2006 3:37 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Possible bug? Httpd Make error on Solaris 10
> 
> Hello,
> 
> I am compiling httpd-2.2.2 on Solaris 10 (Sparc), using gcc 
> 3.3.2 and GNU make 3.80 and I'm hitting some problems.
> 
> ./configure --prefix=/www/httpd/test-vr --enable-so 
> --enable-rewrite --enable-headers --enable-shared=max 
> 
> seems to run fine, then I run Make and it bails out with this error:
> 
> Making all in support
> make[1]: Entering directory `/usr/local/src/httpd-2.2.2/support'
> make[2]: Entering directory `/usr/local/src/httpd-2.2.2/support'
> /usr/local/src/httpd-2.2.2/srclib/apr/libtool --silent 
> --mode=link gcc -g -O2     
> -L/usr/local/src/httpd-2.2.2/srclib/apr-util/xml/expat/lib   
> -o htpasswd  htpasswd.lo   -lm 
> /usr/local/src/httpd-2.2.2/srclib/pcre/libpcre.la 
> /usr/local/src/httpd-2.2.2/srclib/apr-util/libaprutil-1.la 
> /usr/local/src/httpd-2.2.2/srclib/apr-util/xml/expat/lib/libex
pat.la -liconv /usr/local/src/httpd-2.2.2/srclib/apr/libapr-1.la >
-luuid -lsendfile -lrt -lsocket -lnsl -lpthread

Could be you need to install the apr package that comes with the apache
distro. This is what I did the last time I compiled 2.2.2 on solaris:


# Build and install apr 1.2
cd srclib/apr
./configure --prefix=${INSTALL_PREFIX}/apr-httpd
make || exit;
make install || exit;

# Build and install apr-util 1.2
cd ../apr-util
./configure --prefix=${INSTALL_PREFIX}/apr-util-httpd
--with-apr=${INSTALL_PREFIX}/apr-httpd
make || exit;
make install || exit;

# continue with configuration (ie, your line above)

> ./configure --prefix=/www/httpd/test-vr --enable-so 
> --enable-rewrite --enable-headers --enable-shared=max 

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

c> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_tryrdlock@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_exit@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_setguardsize@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_setstacksize@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_key_create@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `dlerror@SUNW_1.22'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `write@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `modf@SYSVABI_1.3'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_key_delete@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_create@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_setspecific@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `gethostname@SUNWprivate_1.1'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `open@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `writev@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_trywrlock@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `waitpid@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `fcntl@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_init@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_join@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `select@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_destroy@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_sigmask@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_equal@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_destroy@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `isnan@SYSVABI_1.3'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_init@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `dlopen@SUNW_1.22'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_mutexattr_settype@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_getdetachstate@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_detach@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `read@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_getspecific@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `poll@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_setdetachstate@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `dlsym@SUNW_1.22'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_rdlock@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_wrlock@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_self@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `dlclose@SUNW_1.22'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_unlock@SUNW_1.2'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_once@SUNW_0.9'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `sigaction@SUNW_0.9'
> collect2: ld returned 1 exit status
> make[2]: *** [htpasswd] Error 1
> make[2]: Leaving directory `/usr/local/src/httpd-2.2.2/support'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/httpd-2.2.2/support'
> make: *** [all-recursive] Error 1
> 
> Anyone run into this before? It's driving me nuts and Google 
> isn't throwing up anything too helpful.
> 
> Any help greatly appreciated.
> 
> Cheers,
> 
> Dan 
> 
> 
> 
> -- 
> _______________________________________________
> Check out the latest SMS services @ http://www.linuxmail.org
> This allows you to send and receive SMS through your mailbox.
> 
> Powered by Outblaze
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message