You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Albert E. Whale, CISSP" <ae...@ABS-CompTech.com> on 2003/04/04 22:35:28 UTC

[users@httpd] Configure error for Apache 1.3.27

OK, I tried using the GCC Compiler, and when I did, the program failed 
to run.  I've downloaded the Sun C Compiler, and now it will not run the 
configure.

Here's what I've got.


# echo $EXTRA_LIBS

# echo $LIBS
/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.3.3:/usr/local/BerkeleyDB.3.3/lib
# echo $LDFLAGS
/usr/local/BerkeleyDB.3.3/lib
# echo $INCLUDES
/usr/local/BerkeleyDB.3.3/includes
# echo $LD_LIBRAY_PATH
/usr/openwin/lib:/usr/openwin/platform/sun4u/server/lib:/usr/openwin/server/lib:/usr/share/lib:/usr/platform/sun4u/lib:/usr/platform/sun4d/lib:/usr/lib:/usr/lib/help/lib:/usr/dt/lib:/usr/ccs/lib:/usr/xpg4/lib:/usr/proc/lib:/usr/snadm/lib:/usr/java1.1/lib:/usr/vmsys/lib:/usr/java1.2/jre/lib:/usr/java1.2/lib:/usr/local/lib:/usr/local/sparc-sun-solaris2.7/lib:/usr/local/Perl/lib:/usr/local/bind/lib:/usr/local/BerkeleyDB.3.3/lib:/usr/local/ssl/lib
# LIBS=-ldb-3
# ./configure --prefix=/usr/local/apache.new --enable-module=all 
--enable-shared=max --enable-rule=EAPI --with-layout=Apache
Configuring for Apache, Version 1.3.27
  + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
  + configured for Solaris 270 platform
  + setting C compiler to cc
  + setting C pre-processor to cc -E
  + checking for system header files
  + adding selected modules
     o rewrite_module uses ConfigStart/End
       disabling DBM support for mod_rewrite
       (perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
     o dbm_auth_module uses ConfigStart/End
     o db_auth_module uses ConfigStart/End
Error: None of Berkeley-DB 1.x, 2.x or 3.x libraries found.
        Either disable mod_auth_db or provide us with the paths
        to the Berkeley-DB include and library files.
        (Hint: INCLUDES, LDFLAGS, LIBS)
#

Any Ideas?



---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Configure error for Apache 1.3.27

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
On Fri, 4 Apr 2003, Albert E. Whale, CISSP wrote:

> OK, I tried using the GCC Compiler, and when I did, the program failed
> to run.  I've downloaded the Sun C Compiler, and now it will not run the
> configure.
>
> Here's what I've got.
>
>
> # echo $EXTRA_LIBS
>
> # echo $LIBS
> /usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.3.3:/usr/local/BerkeleyDB.3.3/lib
> # echo $LDFLAGS
> /usr/local/BerkeleyDB.3.3/lib
> # echo $INCLUDES/usr/local/BerkeleyDB.3.3/lib
> /usr/local/BerkeleyDB.3.3/includes
> # echo $LD_LIBRAY_PATH
> /usr/openwin/lib:/usr/openwin/platform/sun4u/server/lib:/usr/openwin/server/lib:/usr/share/lib:/usr/platform/sun4u/lib:/usr/platform/sun4d/lib:/usr/lib:/usr/lib/help/lib:/usr/dt/lib:/usr/ccs/lib:/usr/xpg4/lib:/usr/proc/lib:/usr/snadm/lib:/usr/java1.1/lib:/usr/vmsys/lib:/usr/java1.2/jre/lib:/usr/java1.2/lib:/usr/local/lib:/usr/local/sparc-sun-solaris2.7/lib:/usr/local/Perl/lib:/usr/local/bind/lib:/usr/local/BerkeleyDB.3.3/lib:/usr/local/ssl/lib
> # LIBS=-ldb-3
> # ./configure --prefix=/usr/local/apache.new --enable-module=all
> --enable-shared=max --enable-rule=EAPI --with-layout=Apache
> Configuring for Apache, Version 1.3.27
>   + using installation path layout: Apache (config.layout)
> Creating Makefile
> Creating Configuration.apaci in src
> Creating Makefile in src
>   + configured for Solaris 270 platform
>   + setting C compiler to cc
>   + setting C pre-processor to cc -E
>   + checking for system header files
>   + adding selected modules
>      o rewrite_module uses ConfigStart/End
>        disabling DBM support for mod_rewrite
>        (perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
>      o dbm_auth_module uses ConfigStart/End
>      o db_auth_module uses ConfigStart/End
> Error: None of Berkeley-DB 1.x, 2.x or 3.x libraries found.
>         Either disable mod_auth_db or provide us with the paths
>         to the Berkeley-DB include and library files.
>         (Hint: INCLUDES, LDFLAGS, LIBS)
> #
>
> Any Ideas?
>
>
That should be
LDFLAGS='-L/usr/local/BerkeleyDB.3.3/lib'

or try

./configure .... \
        --disable-module=auth_db \
        --disable-module=auth_dbm \
        --disable-module=example \


----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org