www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland San Luis <rsanl...@home.com>
Subject general/4956: combo-compile of php3/mysql/mod_ssl outputs -rpath compile errors
Date Fri, 03 Sep 1999 07:36:30 GMT

>Number:         4956
>Category:       general
>Synopsis:       combo-compile of php3/mysql/mod_ssl outputs -rpath compile errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Sep  3 00:40:01 PDT 1999
>Last-Modified:
>Originator:     rsanluis@home.com
>Organization:
apache
>Release:        1.3.9
>Environment:
[roland@codified ~]$ uname -a
Linux codified.alex1.va.home.com 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown
RedHat 6.0
>Description:
I've compiled Apache 1.3.9 with php+mysql support and it compiles fine, but the
combination of mod_ssl/openssl yields a -rpath compile error.

ranlib libstandard.a
gcc -c -I../../../../mm-1.0.10 -I../../os/unix -I../../include   -DLINUX=2 -DMOD_SSL=204101
-DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fpic -DSHARED_MODULE
mod_vhost_alias.c && mv mod_vhost_alias.o mod_vhost_alias.lo
gcc -rpath /usr/local/lib/mysql -shared -o mod_vhost_alias.so mod_vhost_alias.logcc: unrecognized
option `-rpath'
/usr/local/lib/mysql: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[4]: *** [mod_vhost_alias.so] Error 1

I went to the previous Apache 1.3.6 using mod_ssl-2.3.11-1.3.6, php-3.0.12, 
openssl-0.9.4, rsaref20.1996.tar.Z, mysql-3.22.25, mm-1.0.10.tar.gz and 
it compiles fine.
>How-To-Repeat:
sorry guys, the info i gotta give has to be a little bit more detailed ;-)

( this was attempted on a freshly installed redhat 6.0 system )
apache_1.3.9.tar.gz        --> www.apache.org
mod_ssl-2.4.1-1.3.9.tar.gz --> www.modssl.org
openssl-0.9.4.tar.gz       --> www.openssl.org
php-3.0.12.tar.gz          --> www.php3.net
mysql-3.22.25.tar.gz       --> www.mysql.net
mm-1.0.10.tar.gz           --> www.engelschall.com/sw/mm
rsaref20.1996.tar.Z        --> ftp://ftp.replay.com/pub/crypto/crypto/LIBS/rsa/

tar xvfz apache_1.3.9.tar.gz
tar xvfz mod_ssl-2.4.1-1.3.9.tar.gz
tar xvfz openssl-0.9.4.tar.gz
tar xvfz php-3.0.12.tar.gz
tar xvfz mysql-3.22.25.tar.gz
tas xvfz mm-1.0.10.tar.gz
cd rsaref-2.0; tar xvfz ../rsaref20.1996.tar.gz
cp -rp install/unix local
make
mv rsaref.a librsaref.a
cd ../..

cd mysql-3.22.25
./configure
make 
make install
cd ..

# execute Apache's configure script to intialize for APACI compile method
cd apache_1.3.9
./configure
cd ..

cd mm-1.0.10
./configure --disable-shared
make
make install
cd ..

cd openssl-0.9.4
sh config -L`pwd`/../rsaref-2.0/local/rsaref
make
make test
make install
cd ..

cd mod_ssl-2.4.1-1.3.9
./configure --with-apache=../apache_1.3.9
cd ..

cd php-3.0.12
./configure --with-apache=../apache_1.3.9 --with-mysql
make
make install
cd ..

SSL_BASE=../openssl-0.9.4
RSA_BASE=../rsaref-2.0/local
EAPI_MM=../mm-1.0.10

./configure --prefix=/usr/local/apache --enable-module=ssl --enable-module=most \
                                       --enable-shared=max \
                                       --activate-module=src/modules/php3/libphp3.a
                                       --enable-module=php3
make
make install
>Fix:
within 1.3.6, no config or makefile doesn't contain any  -rpath   entries that look like
this:

gcc -rpath /usr/local/lib/mysql -shared -o mod_vhost_alias.so mod_vhost_alias.logcc: unrecognized
option `-rpath'

i'm still trying to fix the compile error....(it's now taking too long)  ...just 
wanted to see if anyone can spot the problem a lot quicker
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]




Mime
View raw message