apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Mahoney, System Admin" <d...@prime.gushi.org>
Subject Re: Build difficuties for apache 2.2.6
Date Tue, 20 Nov 2007 19:36:54 GMT
On Mon, 19 Nov 2007, Dan Mahoney, System Admin wrote:

Note:

I managed to get past the previously posted difficulties with some help 
from a very helpful person who suggested I do:

setenv CFLAGS "-L/usr/local/lib -I/usr/local/include"
setenv LDFLAGS "$CFLAGS"

However, my question goes to: Why does apache try to COMPILE against 
something it cannot link against.  Philip M. Gollucci suggested I post 
this question here:

My configure arguments were only this:

"./configure" \
"--enable-modules=most" \
"--enable-mods-shared=most" \
"--prefix=/usr/local/apache2-pierski" \
"--with-mpm=worker" \
"--with-included-apr" \
"--with-expat=builtin" \

To get the error I got (right below).  What confuses me is why I get it at 
COMPILE TIME, not at CONFIGURE TIME.  (I.e APR should have correctly set 
the CFLAGS/LDFLAGS), if it didn't bomb out because it couldn't find the 
things.

Anyone who can shed some light (or who needs access to a machine for 
testing) please let me know.

-Dan

> /home/danm/httpd-2.2.6/srclib/apr/libtool --silent --mode=link gcc -g -O2 -o 
> htpasswd  htpasswd.lo   -lm /home/danm/httpd-2.2.6/srclib/pcre/libpcre.la 
> /home/danm/httpd-2.2.6/srclib/apr-util/libaprutil-1.la 
> /home/danm/httpd-2.2.6/srclib/apr-util/xml/expat/lib/libexpat.la 
> /home/danm/httpd-2.2.6/srclib/apr/libapr-1.la -lcrypt -lpthread
> /home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
> reference to `libiconv_open'
> /home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
> reference to `libiconv_close'
> /home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
> reference to `libiconv'
> *** Error code 1
>
> Stop in /home5/danm/httpd-2.2.6/support.
> *** Error code 1
>
> Stop in /home5/danm/httpd-2.2.6/support.
> *** Error code 1
>
> Stop in /home5/danm/httpd-2.2.6.
> prime#

--

"You're a daddy.  I'm a mommy.  She's our baby.  Deal with it."

-Cali, 11/7/02, about 1:35 AM

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------


Mime
View raw message