On Thu, Mar 04, 1999, Gilles L. Chong Hok Yuen wrote:
> here are my facts: UNIX solaris 2.6, Apache 1.3.4, SSLeay 0.9.0b,
> mod_ssl-2.2.3-1.3.4
>
> Ive installed SSLeay, Apache and going thru the installation process of
> mod_ssl. Configuring with Apache (./configure
> --with-apache=../apache_1.3.4) no prob.
As expected...
> But when i try to configure with
> SSLeay (./configure --with-ssleay=../SSLeay-0.9.0b) gives the error
> message:
> "./configure:Error: Bad argument line"
Correct. What should mod_ssl do with just SSLeay? Apache is not optional. Run
`./configure' or `./configure --help' and you clearly see (even in _BOLD_ on
xterms):
| ./configure:Error: Bad argument line
| ./configure:Usage: ./configure [mod_ssl options] [APACI options]
| mod_ssl feedback options:
| --help ...this message [OPTIONAL]
| --quiet ...configure totally quiet [OPTIONAL]
| --verbose ...configure with verbosity [OPTIONAL]
| --force ...configure with disabled checks [OPTIONAL]
| --expert ...configure without user hints [OPTIONAL]
| mod_ssl configure options:
| --with-apache=DIR ...path to Apache 1.3.x source tree [REQUIRED]
^^^^^^^^
| --with-apxs[=FILE] ...path to APXS program [OPTIONAL]
| --with-ssleay=DIR ...path to SSLeay 0.9.x source tree [OPTIONAL]
| --with-rsaref=DIR ...path to RSAref 2.0 source tree [OPTIONAL]
| --with-crt=FILE ...path to SSL X.509 certificate file [OPTIONAL]
| --with-key=FILE ...path to SSL RSA private key file [OPTIONAL]
| --with-patch=FILE ...path to your vendor 'patch' program [OPTIONAL]
| --with-eapi-only ...apply EAPI to Apache source only [OPTIONAL]
| APACI configure options: [OPTIONAL]
| --prefix=DIR ...installation prefix for Apache
| --... ...see INSTALL file of Apache for more options!
|
But ok, "Bad argument line" is perhaps too less. It's now replaced by "Bad
argument line: missing --with-apache=DIR".
> Also if i try the way:
> # ./configure --with-apache=../apache_1.3.4
> (runs well. Get the "Done: source extension and patches successfully
> applied." message)
>
> (From here, i follow the instructions given after the ./configure
> --with-apache=../apache_1.3.4 command)
> # cd ../apache_1.3.4
> #SSL_BASE=../SSLeay-0.9.0b ./configure ... --enable-module=ssl
> I get "SSL_BASE=../SSLeay-0.9.0b: Command not found"
>
> Then obviously i cant run the "make certificate" command.
Then you're not using a Bourne-Shell like shell. Instead I guess you're using
a C-Shell like shell. Then either use
$ env SSL_BASE=../SSLeay-0.9.0b ./configure ... --enable-module=ssl
or
$ setenv SSL_BASE ../SSLeay-0.9.0b
$ ./configure ... --enable-module=ssl
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]