\Hi,
I have just downloaded apache 1.3.26 from apache.org.
I have GCC 3.1 installed from sun freeware as a package.
I have ran the following configure command.
./configure --enable-module=cern_meta --enable-module=example --enable-modul
e=headers --enable-module=info --enable-module=log_agent --enable-module=log
_referer --enable-module=so --enable-module=unique_id --enable-module=usertr
ack --enable-module=vhost_alias --with-perl=/usr/bin
This doesn't run ok
I get
bash-2.05#
./configure --enable-module=cern_meta --enable-module=example --enab
le-module=headers --enable-module=info --enable-module=log_agent --enable-mo
dul
e=log_referer --enable-module=so --enable-module=unique_id --enable-module=u
ser
track --enable-module=vhost_alias --with-perl=/usr/bin
Configuring for Apache, Version 1.3.26
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Solaris 280 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ======== Aborting! It seems to be complaining that gcc is not an ANSI C compiler. What do I have to alert to get this working ? Thanks, matt.
cd ..; gcc -DSOLARIS2=280 -DUSE_EXPAT -I./lib/expat-lite `./apaci` -o
helpe
rs/dummy helpers/dummy.c -lsocket -lnsl -lpthread
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../../sparc-sun-solar
s2.8
/bin/ld: cannot open values-Xa.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Also can apache be compiled in 64 bit mode ? is this worth doing ?