Re: [EMAIL PROTECTED] sumbol multiple-defined when compiling httpd 2.2.0 on Solaris 8
Hi Joe, thanks but I don't seem to be able to apply the patch (on a fresh httpd-2.2.0 directory) mena.[root]# cd httpd-2.2.0/srclib/apr mena.[root]# patch -p1 apr-1.2.2-random.patch Looks like a unified context diff. Hunk #1 failed at line 57. Hunk #2 failed at line 5. Hunk #3 failed at line 150. Hunk #4 failed at line 264. Hunk #5 failed at line 310. Hunk #6 failed at line 368. Hunk #7 failed at line 448. Hunk #8 failed at line 471. Hunk #9 failed at line 483. Hunk #10 failed at line 497. Hunk #11 failed at line 524. Hunk #12 failed at line 540. Hunk #13 failed at line 561. Hunk #14 failed at line 569. Hunk #15 failed at line 584. Hunk #16 failed at line 639. Hunk #17 failed at line 694. Hunk #18 failed at line 772. Hunk #19 failed at line 795. Hunk #20 failed at line 807. Hunk #21 failed at line 821. Hunk #22 failed at line 843. Hunk #23 failed at line 860. Hunk #24 failed at line 871. Hunk #25 failed at line 892. Hunk #26 failed at line 900. Hunk #27 failed at line 915. Hunk #28 failed at line 934. Hunk #29 failed at line 946. Hunk #30 failed at line 967. Hunk #31 failed at line 975. Hunk #32 failed at line 990. 32 out of 32 hunks failed: saving rejects to random/unix/sha2.h.rej Nico On Fri, 2006-02-03 at 16:05 +, Joe Orton wrote: On Fri, Feb 03, 2006 at 03:52:37PM +0100, Nico De Ranter wrote: I'm trying to compile httpd 2.2.0 on Solaris 8. When I do 'make install' it stops with the following error messages: === [..] /usr/root/web/httpd-2.2.0/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthreads -L/usr/root/web/httpd-2.2.0/srclib/apr-util/xml/expat/lib -L/openssl-0.9.8a/lib -R/openssl-0.9.8a/lib -ldl -o ab -static ab.lo -lm /usr/root/web/httpd-2.2.0/srclib/pcre/libpcre.la /usr/root/web/httpd-2.2.0/srclib/apr-util/libaprutil-1.la /usr/root/web/httpd-2.2.0/srclib/apr-util/xml/expat/lib/libexpat.la /usr/root/web/httpd-2.2.0/srclib/apr/libapr-1.la -lsendfile -lrt -lsocket -lnsl -lpthread -lssl -lcrypto ld: fatal: symbol `SHA256_Transform' is multiply-defined: To fix this issue, you can download this patch: http://people.apache.org/~jorton/apr-1.2.2-random.patch and apply it like this: cd srclib/apr patch -p1 apr-1.2.2-random.patch this should be fixed out-of-the-box for the next httpd release. joe -- - It has been said that there are only two businesses that refer to customers as users: illegal drug trade and the computer industry. - Nico De Ranter Senior System Administrator Sony Service Center (NSCE) The Corporate Village, Da Vincilaan 7-D1 B-1935 Zaventem, Belgium Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22 - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] sumbol multiple-defined when compiling httpd 2.2.0 on Solaris 8
On Mon, Feb 06, 2006 at 09:51:10AM +0100, Nico De Ranter wrote: thanks but I don't seem to be able to apply the patch (on a fresh httpd-2.2.0 directory) mena.[root]# cd httpd-2.2.0/srclib/apr mena.[root]# patch -p1 apr-1.2.2-random.patch Looks like a unified context diff. Hunk #1 failed at line 57. Hunk #2 failed at line 5. Maybe the patch has been mangled in the download? If not perhaps try a GNU patch rather than whatever comes with Solaris. The patch applies cleanly to a 2.2.0 tarball. joe - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] sumbol multiple-defined when compiling httpd 2.2.0 on Solaris 8
On Mon, 2006-02-06 at 11:31 +, Joe Orton wrote: On Mon, Feb 06, 2006 at 09:51:10AM +0100, Nico De Ranter wrote: thanks but I don't seem to be able to apply the patch (on a fresh httpd-2.2.0 directory) mena.[root]# cd httpd-2.2.0/srclib/apr mena.[root]# patch -p1 apr-1.2.2-random.patch Looks like a unified context diff. Hunk #1 failed at line 57. Hunk #2 failed at line 5. Maybe the patch has been mangled in the download? If not perhaps try a GNU patch rather than whatever comes with Solaris. The patch applies cleanly to a 2.2.0 tarball. Yep, you're right. Using patch on linux worked without problems. Nico joe -- - It has been said that there are only two businesses that refer to customers as users: illegal drug trade and the computer industry. - Nico De Ranter Senior System Administrator Sony Service Center (NSCE) The Corporate Village, Da Vincilaan 7-D1 B-1935 Zaventem, Belgium Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22 - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] sumbol multiple-defined when compiling httpd 2.2.0 on Solaris 8
Hi, I'm trying to compile httpd 2.2.0 on Solaris 8. When I do 'make install' it stops with the following error messages: === [..] /usr/root/web/httpd-2.2.0/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthreads -L/usr/root/web/httpd-2.2.0/srclib/apr-util/xml/expat/lib -L/openssl-0.9.8a/lib -R/openssl-0.9.8a/lib -ldl -o ab -static ab.lo -lm /usr/root/web/httpd-2.2.0/srclib/pcre/libpcre.la /usr/root/web/httpd-2.2.0/srclib/apr-util/libaprutil-1.la /usr/root/web/httpd-2.2.0/srclib/apr-util/xml/expat/lib/libexpat.la /usr/root/web/httpd-2.2.0/srclib/apr/libapr-1.la -lsendfile -lrt -lsocket -lnsl -lpthread -lssl -lcrypto ld: fatal: symbol `SHA256_Transform' is multiply-defined: (file /usr/root/web/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o) type=FUNC; file /openssl-0.9.8a/lib/libcrypto.a(sha256.o) type=FUNC); ld: fatal: symbol `SHA256_Init' is multiply-defined: (file /usr/root/web/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o) type=FUNC; file /openssl-0.9.8a/lib/libcrypto.a(sha256.o) type=FUNC); ld: fatal: symbol `SHA256_Final' is multiply-defined: (file /usr/root/web/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o) type=FUNC; file /openssl-0.9.8a/lib/libcrypto.a(sha256.o) type=FUNC); ld: fatal: symbol `SHA256_Update' is multiply-defined: (file /usr/root/web/httpd-2.2.0/srclib/apr/.libs/libapr-1.a(sha2.o) type=FUNC; file /openssl-0.9.8a/lib/libcrypto.a(sha256.o) type=FUNC); ld: fatal: File processing errors. No output written to ab collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `ab' Current working directory /usr/root/web/httpd-2.2.0/support === Any idea how to fix this. I used the following parameters to configure it: export ZLIBVER=1.2.3 export SSLVER=0.9.8a export HTTPDVER=2.2.0 ./configure --prefix=${PREFIX}/httpd-${HTTPDVER} \ --with-z=${PREFIX}/zlib-${ZLIBVER}/lib/libz.so \ --with-ssl=${PREFIX}/openssl-${SSLVER} \ --enable-ssl \ --enable-static-support \ --enable-http \ --enable-dav \ --enable-dav-fs \ --enable-dav-lock \ --enable-rewrite \ --enable-so \ --enable-mime-magic \ --enable-expires \ --enable-headers \ --enable-usertrack \ --enable-unique-id \ --enable-auth-digest \ --enable-cgi Thanks in advance, Nico -- - It has been said that there are only two businesses that refer to customers as users: illegal drug trade and the computer industry. - Nico De Ranter Senior System Administrator Sony Service Center (NSCE) The Corporate Village, Da Vincilaan 7-D1 B-1935 Zaventem, Belgium Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22 - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]