pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems building apache22 on NetBSD ?

Another interesting thing is that, after installing openssl ( 2k8-Q4 branch), then :

cd apache22/work/httpd-2.2.11
./ configure && make

then it builds fine...

"cd apache22/ && make" still fails

I am not sure what pkgsrc tools do there that may be the cause of the failure... but I suspect it might be due to the fact that my SSL libraries on my system are a bit old ?
I also found out that openssl is not a part of the dependencies of apache22...
It would be nice to have a PKG_OPTIONS value to use the pkgsrc libraries rather than the system ones in cases like this...

Well in the end I am not sure how safe is to install the package I just build... I tried it but make install just failed... :-s
I ll investigate a bit more...

2009/1/12 Asmodehn Shade <>
Mmmm well same happens with the recent 2008Q4...

I am guessing something is wrong with my system maybe ? I am using NetBSD 4.0 rc 4... And I cant really upgrade that since I am not around my computer... mmm :-/

Any ideas anyone ?

2009/1/11 Asmodehn Shade <>


I am currently in the process of upgrading all my packages ( carefully one by one ;-) )
I am using the 2008Q3 branch.

Trying to build www/apache22 I get :

Making all in support
/bin/sh /usr/pkgsrc/www/apache22/work/httpd-2.2.9/build/libtool --silent --mode=link cc -pthread  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/apr-1     -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o ab  ab.lo   -lm /usr/pkgsrc/www/apache22/work/httpd-2.2.9/srclib/pcre/ /usr/pkg/lib/ -lexpat /usr/pkg/lib/ -lcrypt -lpthread -lssl -lcrypto
.libs/ab.o: In function `ssl_print_cb':
ab.c:(.text+0x611): undefined reference to `BIO_get_callback_arg'
.libs/ab.o: In function `start_connect':
ab.c:(.text+0x1067): undefined reference to `BIO_set_callback'
ab.c:(.text+0x1079): undefined reference to `BIO_set_callback_arg'
.libs/ab.o: In function `main':
ab.c:(.text+0x4912): undefined reference to `SSL_CTX_set_info_callback'
*** Error code 1

make: stopped in /usr/pkgsrc/www/apache22/work/httpd-2.2.9/support
*** Error code 1

make: stopped in /usr/pkgsrc/www/apache22/work/httpd-2.2.9/support
*** Error code 1

make: stopped in /usr/pkgsrc/www/apache22/work/httpd-2.2.9
*** Error code 1

make: stopped in /usr/pkgsrc/www/apache22
*** Error code 1

make: stopped in /usr/pkgsrc/www/apache22

Did anyone already had that ? Is there a way to fix it ? I didnt find anything on internet...

Thanks a lot ;-)


Home | Main Index | Thread Index | Old Index