On Tue, Sep 07, 1999, Mehul N. Sanghvi wrote:

>   I have upgraded my webserver to Apache 1.3.9 and was also in
> the process of upgrading my mod_ssl.  Of course with the newer mod_ssl
> I need to use the MM package. 

No, you don't _HAVE_ to use MM. It's just recommended.
But it's not a requirement.

> I am having difficulty in getting the
> configurations process itself to complete for MM.  Here is the
> configuration line I am using:
> 
>   prompt% ./configure --prefix=/opt --enable-debug  --with-shm=IPCSHM \
>     --with-sem=IPCSEM --enable-shared
> 
>        Despite haveing --enable-shared it does not want to build
> shared libraries.  Here is related output .... 
> 
>        checking for gcc option to produce PIC... -fPIC
>        checking if gcc PIC flag -fPIC works... no
> 
> Now I know that I can produce shared libraries with gcc (I have done
> that for other packages like LessTif, swig, XmHTML, guile, etc) so I
> am not sure why MM thinks it cant produce PIC code.

The stuff is based on GNU libtool, so that's a problem with libtool 1.3.3, I
think. I cannot do anything here, except to recommend you to use
--disable-shared, of course.

> The place where the configuration dies is when doing the Virtual
> Memory Page Size stuff:
> 
>        Virtual Memory Page Size:
>        checking for unistd.h... (cached) yes
>        checking for getpagesize... no
>        checking for sysconf... no
>        checking for _SC_PAGESIZE in unistd.h... yes
>        ./configure:Error: decision on memory page size determination failed

Your problem is that although _SC_PAGESIZE is defined, no sysconf(3) function
can be found. So MM cannot make a decision (because getpagesize also does not
exists, but one the two has to exist). See in config.log _why_ sysconf is not
found and try to fix this.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to