You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ag...@home.nl on 2005/11/09 13:57:55 UTC

[users@httpd] Apache 2 configuration "present but cannot be compiled" errors

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 <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] Apache 2 configuration "present but cannot be compiled" errors

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
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 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?
>
Do you have the Solaris compiler utilities (ar, cpp, ...) in your command
search path (/usr/ccs/bin)?


----------------------------------------
"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