You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Sam Zemerson <sa...@conceptware.de> on 1999/09/20 15:05:22 UTC
config/5046: Cannot locate header files
>Number: 5046
>Category: config
>Synopsis: Cannot locate header files
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Sep 20 06:10:01 PDT 1999
>Last-Modified:
>Originator: sam@conceptware.de
>Organization:
apache
>Release: 1.3.3
>Environment:
Sun Solaris 2.6 , GNU GCC2.8.1
>Description:
I have an urgent problem for which solution is required so i have
taken the freedom to ask you.
To enable the Dynamic Shared Object(DSO) module_so ,
we have to execute the following command at the prompt :
$ env LIBS=/usr/lib/libC.so.5 CFLAGS=-fPIC ./configure --enable-module=so
(Instead of just ./configure, we have to use the env ... coz we
are using gcc compiler, also the $PATH is /usr/sbin:/usr/bin:/usr/ucb:/usr/ccs/bin:/opt/GCC281/bin)
The configuration executes fine
ls1-cw# env LIBS=/usr/lib/libC.so.5 CFLAGS=-fPIC ./configure --enable-module=so
Configuring for Apache, Version 1.3.3
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Solaris 260 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
+ using -ldl for vendor DSO support
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/main
Creating Makefile in src/ap
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/modules/standard
BUT WHILE BUILDING WITH THE "make" OPTION IT FAILS AND GIVES
an output , listed below ,which i am not able to interpret .
Also for GCC header files it points out the right path as you can see below
i.e from /opt/GCC281/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/include/limits.h:11,
but still says no such file or directory. Rest of the header files are not on the
solaris system like errno.h, stdio.h in /usr/include
ls1-cw# make
===> src
===> src/os/unix
gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 -fPIC `../../apaci` os.c
In file included from os.c:6:
../../include/ap_config.h:84: sys/types.h: No such file or directory
../../include/ap_config.h:85: sys/stat.h: No such file or directory
In file included from os.c:6:
../../include/ap_config.h:96: sys/param.h: No such file or directory
../../include/ap_config.h:890: sys/types.h: No such file or directory
In file included from os.c:6:
../../include/ap_config.h:894: dirent.h: No such file or directory
../../include/ap_config.h:903: stdio.h: No such file or directory
../../include/ap_config.h:904: stdlib.h: No such file or directory
../../include/ap_config.h:905: string.h: No such file or directory
In file included from ../../include/ap_config.h:906,
from os.c:6:
../../include/ap_ctype.h:61: ctype.h: No such file or directory
In file included from os.c:6:
../../include/ap_config.h:908: sys/file.h: No such file or directory
../../include/ap_config.h:911: sys/socket.h: No such file or directory
../../include/ap_config.h:915: netinet/in.h: No such file or directory
../../include/ap_config.h:916: netdb.h: No such file or directory
../../include/ap_config.h:917: sys/ioctl.h: No such file or directory
../../include/ap_config.h:919: arpa/inet.h: No such file or directory
../../include/ap_config.h:921: sys/wait.h: No such file or directory
../../include/ap_config.h:922: pwd.h: No such file or directory
../../include/ap_config.h:923: grp.h: No such file or directory
../../include/ap_config.h:924: fcntl.h: No such file or directory
In file included from /opt/GCC281/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/include/syslimits.h:7,
from /opt/GCC281/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/include/limits.h:11,
from ../../include/ap_config.h:925,
from os.c:6:
/opt/GCC281/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/include/limits.h:116: limits.h: No such file or directory
In file included from os.c:6:
../../include/ap_config.h:938: time.h: No such file or directory
../../include/ap_config.h:939: signal.h: No such file or directory
../../include/ap_config.h:940: errno.h: No such file or directory
../../include/ap_config.h:942: memory.h: No such file or directory
../../include/ap_config.h:954: regex.h: No such file or directory
../../include/ap_config.h:967: sys/mman.h: No such file or directory
../../include/ap_config.h:1026: setjmp.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `os.o'
Current working directory /opt/apache_1.3.3/src/os/unix
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /opt/apache_1.3.3/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /opt/apache_1.3.3
*** Error code 1
make: Fatal error: Command failed for target `build'
ls1-cw#
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]