Forum Moderators: phranque

Message Too Old, No Replies

error in instalation

solaris 9.0 apache_1.3.33

         

mikel4u

11:15 pm on Mar 23, 2005 (gmt 0)

10+ Year Member



I'm installing apache 1.3.33 but when i gunzip the file i get this error

./helpers/test compile:make : not found

i download the file from the apache web page.

thanks in advanced.

sitz

2:18 am on Mar 24, 2005 (gmt 0)

10+ Year Member



Sounds like you don't have a development environment installed. To build from source, you need 'make' (and gcc, and a bunch of other stuff). If you're on win32, you could just download the binaries (if you're running Linux, you could install Apache using whatever packaging system your distribution uses; rpm, apt, what have you).

mikel4u

2:35 pm on Mar 28, 2005 (gmt 0)

10+ Year Member



hi sitz, i'm using solaris 9.0 the thing is that i had apache running, but we have an electric failure so when my server reboot i can't restart apache so i tried to reinstall it and that's the error i get, any guess will help, thanks.

O.S.

sitz

2:38 pm on Mar 28, 2005 (gmt 0)

10+ Year Member



What's the precise command you're issuing to gunzip the file?

mikel4u

3:03 pm on Mar 28, 2005 (gmt 0)

10+ Year Member



gunzip < apache_1.3.33.tar.gz ¦ tar xvf -

sitz

10:37 pm on Mar 28, 2005 (gmt 0)

10+ Year Member



that command by itself isn't going to trigger anything being executed; can you paste in everything from your terminal, starting from the gunzip command up to and including the error? include both the commands you type and the output they return.

mikel4u

1:02 am on Mar 29, 2005 (gmt 0)

10+ Year Member



hi sitz, sorry you were rigth the command it's

./configure (once the gunzip command does his thing)
and the output i get its:

./configure: make: not found
+ using builtin Expat
./helpers/Testcompile: make : not found
./helpers/Testcompile: make : not found
./helpers/Testcompile: make : not found
./helpers/Testcompile: make : not found
./helpers/Testcompile: make : not found
./helpers/Testcompile: make : not found
+ checking sizeof various data types
./helpers/Testcompile: make : not found
+ 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 requiresan ANSI C Compiler such as gcc.

========Error output for sanity check===============
./helpers/Testcompile: make : not found
=======End of error report===================
Aborting!

thanks again

sitz

10:45 pm on Mar 29, 2005 (gmt 0)

10+ Year Member



Ah, well. There you are, then. the 'configure' script requires 'make' (and a compiler, and a linker, and other dev-related things) in order to work. Sun installs its own 'make' in /usr/ccs/bin, but if you don't have Sun's compiler installed, you'll need to install one. And really, if you need to install a compiler (gcc), you may as well install GNU make on that host. gcc (and GNU make) binaries for Solaris can be downloaded from (among other places) [sunfreeware.com ]. Not the prettiest interface in the world, but it gets the job done. =)

Just make sure that GNU 'make' and gcc are in your $PATH. =)

mikel4u

4:42 pm on Mar 30, 2005 (gmt 0)

10+ Year Member



ok sitz, thanks i'll check first the $PATH cause they should be already installed.

mikel4u

7:46 pm on Mar 30, 2005 (gmt 0)

10+ Year Member



ok the path it's fixed but now when i type the ./configure now i get this error:

=======Error Output for Sanity Check=================
cd..; -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT-I./lib/expat -lite -DNO_DL_NEEDED ´./apaci´ -o helpers/dummy helpers/dummy.c -lsocket -lnsl -lpthread /usr/ucs/cc: language optional software package not installed ***Error code 1
make: fatal error: command Failed for target ´dummy´
============End of error report========================
i don't know what this could be.

thanks one more time, foy you're help.

mikel

mikel4u

7:46 pm on Mar 30, 2005 (gmt 0)

10+ Year Member



ok the path it's fixed but now when i type the ./configure now i get this error:

=======Error Output for Sanity Check=================
cd..; -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT-I./lib/expat -lite -DNO_DL_NEEDED ´./apaci´ -o helpers/dummy helpers/dummy.c -lsocket -lnsl -lpthread /usr/ucs/cc: language optional software package not installed ***Error code 1
make: fatal error: command Failed for target ´dummy´
============End of error report========================
i don't know what this could be.

thanks one more time, foy you're help.

mikel

sitz

9:57 pm on Mar 30, 2005 (gmt 0)

10+ Year Member



/usr/ucs/cc: language optional software package not installed ***Error code 1

That error means:

a) you're using 'cc' and not 'gcc', and
b) you've not purchased the Sun Development packages

Two options:

1) purchase them (at the cost of, if memory serves, $800-$1200)
2) install gcc, verify that gcc is in your path, and set the 'CC' variable to 'gcc'. This can be done in the Makefile or by setting a variable:


CC=/path/to/gcc ./configure $configure_args

mikel4u

12:07 am on Mar 31, 2005 (gmt 0)

10+ Year Member



one more time you're rigth, next error i get is when i put the make command i get this:

In file included from http_main.c:597:
/usr/include/pthread.h:291:error:parse error before ´*´ token
***Error code 1
make : Fatal error :command Failed for target ´http_main.o´ current working directory /var/mikel/apache_1.3.33/src/main
***Error code 1
The foloing command caused the error:
for i in regex os/unix ap main lib modules; do \
echo "===>src/$i"; \
case ".solaris 2100" in \
.OS390 ¦ .TPF) (cd $i && make SDP=´src/´OPTIM=´´)¦¦exit 1;;\
*)(cd $i && make SDP=´src´ CC=´gcc´ AUX_CFLAGS=´-DSOL aris2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED {./apaci´ ´RANLIB=´ranlib ´OPTIM=´)¦¦ exit 1;; \ esac;\
eho"<===src/$i" ; \ done
make: Fatal error:command failed for target ´subdirs´ curent directory /var/mikel/apache_1.3.33/src

and one more time thanks for you're help.

Mikel.

sitz

12:11 pm on Mar 31, 2005 (gmt 0)

10+ Year Member



We're starting to get out of my area of expertise a little here, but this smells a little like a dev environment issue; things to check:

1) which 'make' are you using? /usr/ccs/bin/make or the GNU make? 'which make' can tell you.

2) Which version of gcc did you install? for which platform? My box here shows:


bash-2.04$ gcc -dumpversion
2.95.3
bash-2.04$ gcc -dumpmachine
sparc-sun-solaris2.8

mikel4u

3:39 pm on Mar 31, 2005 (gmt 0)

10+ Year Member



hi sitz, ok here is the information:
yes i'm using de /usr/ccs/bin/make, the gcc version is: 3.4.2

and the plataform is : sparc-sun-solaris2.9