Hello,

I can't build apache2-2.0.59. It fails with the following error:
Building shared: mod_ssl.la
/sw/share/apr/build/libtool --silent --mode=compile gcc  -g -O2
-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-DAP_HAVE_DESIGNATED_INITIALIZER -I/sw/include  -I/sw/include/apr-0
-I/sw/include -I.
-I/sw/src/fink.build/apache2-2.0.59-12/httpd-2.0.59/os/unix
-I/sw/src/fink.build/apache2-2.0.59-12/httpd-2.0.59/server/mpm/prefork
-I/sw/src/fink.build/apache2-2.0.59-12/httpd-2.0.59/modules/http
-I/sw/src/fink.build/apache2-2.0.59-12/httpd-2.0.59/modules/filters
-I/sw/src/fink.build/apache2-2.0.59-12/httpd-2.0.59/modules/proxy
-I/sw/src/fink.build/apache2-2.0.59-12/httpd-2.0.59/include
-I/sw/src/fink.build/apache2-2.0.59-12/httpd-2.0.59/modules/generators
-I/usr/include/openssl
-I/sw/src/fink.build/apache2-2.0.59-12/httpd-2.0.59/modules/dav/main
-prefer-pic -c mod_ssl.c && touch mod_ssl.slo
In file included from mod_ssl.h:93,
                 from mod_ssl.c:27:
/usr/include/openssl/err.h:290: error: redefinition of typedef 'ERR_FNS'
/sw/include/openssl/ossl_typ.h:152: error: previous declaration of
'ERR_FNS' was here
In file included from mod_ssl.h:98,
                 from mod_ssl.c:27:
/usr/include/openssl/rand.h:86: error: redefinition of typedef 'RAND_METHOD'
/sw/include/openssl/ossl_typ.h:131: error: previous declaration of
'RAND_METHOD' was here
make[4]: *** [mod_ssl.slo] Error 1
make[3]: *** [shared-build-recursive] Error 1
make[2]: *** [shared-build-recursive] Error 1
make[1]: *** [shared-build-recursive] Error 1
make: *** [all-recursive] Error 1
### execution of /var/tmp/tmp.2.wXWpaF failed, exit code 2

I am building apache as a dependency of php5 package. I've tried to
run a fink selfupdate as requested but it didn't change anything.

Does any one know how to fix this?

Please find listed here details of my system:
Mac OS X 10.5.4
Processor Intel Core 2 Duo 2.4GHz
Fink 0.28.5

Thanks

Olivier

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to