Forum Moderators: phranque

Message Too Old, No Replies

error installing

apache 1.3.33 in solaris 9.

         

mikel4u

3:04 pm on Apr 5, 2005 (gmt 0)

10+ Year Member



I GET THIS ERROR AFTER I TYPE THE MAKE COMMAND I'LL APRECIATE ANY HELP.

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

THANKS FOR YOU'RE HELP.

Omar Sotres.

jdMorgan

1:12 am on Apr 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Omar,

I don't know anything about this, but it appears than several left parentheses are missing. Are you sure that the make file is not corrupted?

Jim

sitz

5:25 am on Apr 6, 2005 (gmt 0)

10+ Year Member



Sorry, I thought I replied to this in the other thread [webmasterworld.com]. I'm NOT an expert on this sort of thing by any stretch, but it looks a bit like a broken development environment; possibly a missing header or some such. If you can't download the apache tarball from a trusted source (like apache.org) and run

./configure && make

on a supported platform and have it succeed, the problem is almost certainly in your environment someplace. I've tried this on Solaris 9 using Sun's make and GNU make, with Sun's compiler (I have a license for it) and gcc 2.95.3; all build attempts have succeeded.

mikel4u

9:30 pm on Apr 6, 2005 (gmt 0)

10+ Year Member



ok sitz, thanks again, let me download it again and start all over,

regards.