On Thu, Oct 01, 1998, [EMAIL PROTECTED] wrote:
> I continued and received the following from the
> SSL_BASE=../SSLeay-0.9.0b RSA_BASE=../rsaref-2.0/local
> CFLAGS="-DMILLENIAL_COOKIES" ./configure
> --prefix=/EasyWWW/packages/apache --enable-module=ssl
> --enable-module=status --enable-module=usertrack --enable-module=rewrite
> --enable-suexec --suexec-uidmin=901 --sysconfdir=config (maybe, I should
> use full path for SSL_BASE and RSA_BASE?)
No, libssl.module automatically makes absolute paths out of
relative ones. So, it's ok this way.
> I am lost, but not without hope :)
> I apologize for the "junk" that accompanies the necessary.
>
> ==========output from above command
> Configuring for Apache, Version 1.3.2
> Creating Makefile
> Creating Configuration.apaci in src
> ld: fatal: library -lrsaref: not found
^^^^^^^^^^^^^^^^
> ld: fatal: File processing errors. No output written to helpers/dummy
> make: Fatal error: Command failed for target `dummy'
> Creating Makefile in src
> + configured for Solaris 251 platform
> + setting C compiler to gcc
> + setting C pre-processor to gcc -E
> + checking for system header files
> + adding selected modules
> o rewrite_module uses ConfigStart/End
> enabling DBM support for mod_rewrite
> o ssl_module uses ConfigStart/End
> + SSL interface: mod_ssl/2.0.11
> + SSL library path: /home/sam/text/proto/SSLeay-0.9.0b
> + SSL library type: source tree only (stand-alone)
> + SSL library version: SSLeay 0.9.0b 29-Jun-1998
> + SSL library plugin mode: RSAref (explicitly configured)
> + SSL library plugin path: /home/sam/text/proto/rsaref-2.0/local/librsaref.a
^^^^^^^^^^^
> + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed. This is most likely because your C compiler
> ** is not ANSI. Apache requires an ANSI C Compiler, such
> ** as gcc. The above error message from your compiler
> ** will also provide a clue.
Oh, shit. Seems like you fall into every RSAref pitfall from mod_ssl 2.0.11.
It's not your fault, of course. It's my fault because there is one more little
bug for RSAref support in 2.0.11 which I already fixed, but which is available
with 2.0.12 the first time.
Either apply the following patch to libssl.module (can be done also manually,
of course):
Index: libssl.module
===================================================================
RCS file: /e/apache/SSL/REPOS/mod_ssl-2.0/pkg.apache/src/modules/ssl/libssl.module,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- libssl.module 1998/09/16 08:27:29 1.10
+++ libssl.module 1998/09/27 10:53:36 1.11
@@ -277,7 +277,7 @@
else
my_found=no
if [ -f "$RSA_BASE/librsaref.a" ]; then
- SSL_LDFLAGS="$SSL_LDFLAGS -L$RSA_BASE/lib"
+ SSL_LDFLAGS="$SSL_LDFLAGS -L$RSA_BASE"
SSL_LIBS="$SSL_LIBS -lrsaref"
echo "$my_prefix SSL library plugin path: $RSA_BASE/librsaref.a"
my_found=yes
Or as a workaround use an additional
``LDFLAGS="-L/home/sam/text/proto/rsaref-2.0/local/"''
on your configure line in the meantime.
It's fixed in 2.0.12 which is released in a few hours.
> I ran ksh -x on the command line for the ./configure statement
> and found that the problem is in etc/prop.sh. Ran sh -x etc/prop.sh
>
> ----sh -x etc/prop.sh
> line=
> + which perl
> Unknown user: rpm
Hmmm... strange. But ok, the `which' command usually is nothing more than a
shell script iterating over $PATH, so we can do it ourself and this way reduce
some platform problem. Here is a patch I want to commit for 2.0.12:
Index: prop.sh
===================================================================
RCS file: /e/apache/SSL/REPOS/mod_ssl-2.0/pkg.mod_ssl/etc/prop.sh,v
retrieving revision 1.2
diff -u -r1.2 prop.sh
--- prop.sh 1998/08/09 15:42:58 1.2
+++ prop.sh 1998/10/02 06:06:21
@@ -6,12 +6,19 @@
line="$*"
-if [ ".x`which perl`" != . ]; then
+perl=''
+for dir in `echo $PATH | sed -e 's/:/ /g'` .; do
+ if [ -f "$dir/perl" ]; then
+ perl="$dir/perl"
+ break
+ fi
+done
+if [ ".$perl" != . ]; then
#
# Perl is preferred because writing to STDERR in
# Perl really writes immediately as one would expect
#
- perl -e '
+ $perl -e '
@p = ("|","/","-","\\");
$i = 0;
while (<STDIN>) {
Try it out and give some feedback, please.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]