You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Manoj Samudra <sa...@conceptware.de> on 1999/09/17 21:32:10 UTC

general/5035: Configuring to enable mod_so and then Building Apache with "make"

>Number:         5035
>Category:       general
>Synopsis:       Configuring to enable mod_so and then Building Apache with "make"
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Fri Sep 17 12:40:02 PDT 1999
>Last-Modified:
>Originator:     sam@conceptware.de
>Organization:
apache
>Release:        1.3.3
>Environment:
Sun Solaris 5.6 , Compiler GNU GCC2.8.1 , 
>Description:
It is a web based project, where we are using Cold Fusion Web development tool
& Application Server on Sun Solaris 5.6 platform with Apache 1.3.3 as Web Server.

I have an urgent problem for which solution is required so i have
taken the freedom to ask you.

After installing Cold Fusion Application Server, we have to
configure Apache again to enable the DSO module_so and then
follow steps to LoadModule mod_coldfusion.so to the httpd.conf

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 .

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#  


Your kind help in this regard will be greatly appreciated.
We had no problem configuring the Apache Web Server 1.3.6 on
other Sun Solaris, but unfortunately we had to return the machine.

>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!     ]