Apache 2 configuration "present but cannot be compiled" errors

Apache 2 configuration "present but cannot be compiled" errors

am 09.11.2005 13:57:55 von Age Bosma

Hi,

I'm trying to compile Apache 2 because I'm in a situation where I can't use a pre-compiled release. Unfortunately I've got no experience with compiling software at all so I'm hoping you guys can help me out a bit, assuming this is the right place to ask for this.
I'm running Solaris 8 (UltraSparc 5) and to make thing even worse...this is basically the first time I ever touched a Solrais system :-D

When running the configuration (configure --prefix=/work/training/dg432/servsoft/apache2 --enable-mods-shared=all) I get presented with a series of errors all in the lines of:

checking dlfcn.h usability... no
checking dlfcn.h presence... yes
configure: WARNING: dlfcn.h: present but cannot be compiled
configure: WARNING: dlfcn.h: check for missing prerequisite headers?
configure: WARNING: dlfcn.h: see the Autoconf documentation
configure: WARNING: dlfcn.h: section "Present But Cannot Be Compiled"
configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
configure: WARNING: dlfcn.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for dlfcn.h... yes

This is happening for the following files:
- dlfcn.h
- fcntl.h
- iconv.h
- sys/socket.h
- pwd.h
- grp.h
- sys/processor.h
- sys/sem.h

Can these errors be considered Apache bugs?

I've looked in the Autoconf documentation but for me it's not making much sence and I don't realy know how I should continue to fix these issues. I hope you guys can get me started a bit.

The error also states "Report this to the AC_PACKAGE_NAME lists". Does this mean I have to change a list in some Apache source file or are they talking about a mailing list e.g.?

Sorry for my ignorance ;-)

Yours,

Age Bosma


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: Apache 2 configuration "present but cannot be compiled" errors

am 09.11.2005 19:22:54 von dodge

On Wed, 9 Nov 2005 agebosma@home.nl wrote:

> Hi,
>
> I'm trying to compile Apache 2 because I'm in a situation where I can't u=
se a pre-compiled release. Unfortunately I've got no experience with compil=
ing software at all so I'm hoping you guys can help me out a bit, assuming =
this is the right place to ask for this.
> I'm running Solaris 8 (UltraSparc 5) and to make thing even worse...this =
is basically the first time I ever touched a Solrais system :-D
>
> When running the configuration (configure --prefix=3D/work/training/dg432=
/servsoft/apache2 --enable-mods-shared=3Dall) I get presented with a series=
of errors all in the lines of:
>
> checking dlfcn.h usability... no
> checking dlfcn.h presence... yes
> configure: WARNING: dlfcn.h: present but cannot be compiled
> configure: WARNING: dlfcn.h: check for missing prerequisite headers?
> configure: WARNING: dlfcn.h: see the Autoconf documentation
> configure: WARNING: dlfcn.h: section "Present But Cannot Be Compiled"
> configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
> configure: WARNING: dlfcn.h: in the future, the compiler will take preced=
ence
> configure: WARNING: ## ------------------------------------------ ##
> configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
> configure: WARNING: ## ------------------------------------------ ##
> checking for dlfcn.h... yes
>
> This is happening for the following files:
> - dlfcn.h
> - fcntl.h
> - iconv.h
> - sys/socket.h
> - pwd.h
> - grp.h
> - sys/processor.h
> - sys/sem.h
>
> Can these errors be considered Apache bugs?
>
Do you have the Solaris compiler utilities (ar, cpp, ...) in your command
search path (/usr/ccs/bin)?


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


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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

Antw: Re: Apache 2 configuration "present but cannot be

am 10.11.2005 10:06:05 von Age Bosma

John P. Dodge wrote:

> >
> > I'm trying to compile Apache 2 because I'm in a situation where I can't use a pre-compiled release. Unfortunately I've got no experience with compiling software at all so I'm hoping you guys can help me out a bit, assuming this is the right place to ask for this.
> > I'm running Solaris 8 (UltraSparc 5) and to make thing even worse...this is basically the first time I ever touched a Solrais system :-D
> >
> > When running the configuration (configure --prefix=/work/training/dg432/servsoft/apache2 --enable-mods-shared=all) I get presented with a series of errors all in the lines of:

> Do you have the Solaris compiler utilities (ar, cpp, ...) in your command
> search path (/usr/ccs/bin)?
>

I fixed the problems using a later version of GCC (3.2.3) but now I'm stuck with a different issue. The configuration get's a long way without any problems untill it stops with the following error:

....
checking whether to enable mod_access... shared (all)
checking whether to enable mod_auth... shared (all)
checking whether to enable mod_auth_anon... shared (all)
checking whether to enable mod_auth_dbm... shared (all)
checking whether to enable mod_auth_digest... checking dependencies
You need APR random support to use mod_auth_digest.
Look at APR configure options --with-egd and --with-devrandom.
checking whether to enable mod_auth_digest... configure: error: mod_auth_digest has been requested but can not be built due to prerequisite failures

Isn't the APR stuff supposed to be included in the httpd source?
What can be done to fix this problem?

For the record: I'm trying to compile Apache 2.0.55.

Yours,

Age Bosma


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: Antw: Re: Apache 2 configuration "present butcannot be

am 10.11.2005 15:59:58 von dodge

On Thu, 10 Nov 2005 agebosma@home.nl wrote:

> John P. Dodge wrote:
>
> > >
> > > I'm trying to compile Apache 2 because I'm in a situation where I can=
't use a pre-compiled release. Unfortunately I've got no experience with co=
mpiling software at all so I'm hoping you guys can help me out a bit, assum=
ing this is the right place to ask for this.
> > > I'm running Solaris 8 (UltraSparc 5) and to make thing even worse...t=
his is basically the first time I ever touched a Solrais system :-D
> > >
> > > When running the configuration (configure --prefix=3D/work/training/d=
g432/servsoft/apache2 --enable-mods-shared=3Dall) I get presented with a se=
ries of errors all in the lines of:
>
> > Do you have the Solaris compiler utilities (ar, cpp, ...) in your comma=
nd
> > search path (/usr/ccs/bin)?
> >
>
> checking whether to enable mod_auth_digest... checking dependencies
> You need APR random support to use mod_auth_digest.
> Look at APR configure options --with-egd and --with-devrandom.
> checking whether to enable mod_auth_digest... configure: error: mod_auth_=
digest has been requested but can not be built due to prerequisite failures
>
> Isn't the APR stuff supposed to be included in the httpd source?
> What can be done to fix this problem?

Do you have the Solaris 8 /dev/random patch (112438-02)? It used to
compile fine without this but it wouldn't start if you included
mod_auth_digest. Maybe they changed that so it stops you during the
configure.


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


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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