Error compiling Apache 1.3.12 on Solaris 7 (Intel)

Error compiling Apache 1.3.12 on Solaris 7 (Intel)

Post by Mizwa » Sun, 01 Oct 2000 09:33:08



Hi,
    I just set up a new small Intel box on Solaris 7. I've got gcc
v2.8.1 and wanted to
compile Apache 1.3.12. While compiling, I've got this error at the
beginning of
compiling process:

------------- Begin of error msg ----------------------
 + 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.

cd ..; gcc  -DSOLARIS2=270 -DNO_DBM_REWRITEMAP -DUSE_EXPAT
-I./lib/expat-lite `./apaci`     -o helpers/dummy helpers/dummy.c
-lsocket -lnsl
ld: fatal: file values-Xa.o: cannot open file: No such file or directory

ld: fatal: File processing errors. No output written to helpers/dummy
*** Error code 1
make: Fatal error: Command failed for target `dummy'
======== Error Output for sanity check ========
============= End of Error Report =============

 Aborting!
-------------------------- End of error msg
------------------------------

I tried to find the file "values-Xa.o" in the apache source dir, and
tried to look into
the Makefile* files to find whether this file gets created while
compiling, but I come
to a dead end.

Would anyone in this mailing list help me to locate where the error(s)
is(are)?

Mizwan

 
 
 

Error compiling Apache 1.3.12 on Solaris 7 (Intel)

Post by Yvan » Sun, 01 Oct 2000 04:00:00


Hi,

I'm not an expert but I read somewhere that, for solaris, it is due to your
compiler try to find another one.

Yvan

 
 
 

Error compiling Apache 1.3.12 on Solaris 7 (Intel)

Post by Drazen Kac » Sun, 01 Oct 2000 04:00:00



> cd ..; gcc  -DSOLARIS2=270 -DNO_DBM_REWRITEMAP -DUSE_EXPAT
> -I./lib/expat-lite `./apaci`     -o helpers/dummy helpers/dummy.c
> -lsocket -lnsl
> ld: fatal: file values-Xa.o: cannot open file: No such file or directory

> ld: fatal: File processing errors. No output written to helpers/dummy
> *** Error code 1
> make: Fatal error: Command failed for target `dummy'
> I tried to find the file "values-Xa.o" in the apache source dir, and
> tried to look into
> the Makefile* files to find whether this file gets created while
> compiling, but I come
> to a dead end.

It's on your Solaris CD. You probably installed end user cluster, which
does not contain development tools, ie. you can only run binaries on
such system, but you can't compile anything. You could add the missing
package from the CD, but then you'll find that you miss some other
tool or file. Then you can add the next package, but there's a lot
of them. So I'd suggest reinstalling Solaris. This time choose entire
distribution when the installation asks you.

--
 .-.   .-.    I don't work for my employer.
(_  \ /  _)


 
 
 

Error compiling Apache 1.3.12 on Solaris 7 (Intel)

Post by Mizwa » Tue, 03 Oct 2000 10:02:21


Hi,
I'm sorry, I didn't get you. What do you mean my compiler try to find another
one?
What it is looking for?

Mizwan.

p/s:: Could you point me to the article you read about this?


> Hi,

> I'm not an expert but I read somewhere that, for solaris, it is due to your
> compiler try to find another one.

> Yvan