httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Randall <crand...@matchlogic.com>
Subject 2.0 mm build fails on Solaris 2.6
Date Thu, 17 Feb 2000 12:05:06 GMT
Using Solaris 2.6, gcc 2.8.1, Solaris make, and a fresh copy of the 2.0
source via rsync,

	% ./configure
	% make

results in,

--- snip ---
===> src/lib/apr/shmem/unix
make: Fatal error in reader: Makefile, line 23: Badly formed macro
assignment
Current working directory /tmp/cfr/apache-2.0/src/lib/apr/shmem/unix
*** Error code 1
--- snip ---

With line numbers the Makefile looks like,

    21  
    22  .c.o:
    23          $(CC) $(CFLAGS) -c $(INCLUDES) $<
    24  


Taking a shot in the dark and trying GNU make with,

	% env MAKE=gmake ./configure
	% env MAKE=gmake gmake

results in,

--- snip ---
./libtool --quiet gcc -c -DSOLARIS2=260 -D_POSIX_PTHREAD_SEMANTICS mm_test.c
./libtool --quiet gcc -o mm_test mm_test.lo libmm.la
cp mm/*.o .
cp: cannot access mm/*.o
gmake[5]: *** [libshmem.a] Error 2
--- snip ---

This command sequence seems to result in a successful build (with my
PATH_MAX vs MAX_PATH patch for rotatelogs.c),

	% env MAKE=gmake ./configure
	% env MAKE=gmake gmake
	% cd ./src/lib/apr/shmem/unix/mm
	% gmake
	# back to top
	% cd ../../../../../..
	% env MAKE=gmake gmake

Can anyone else repeat this?

Hopefully that'll provide enough clues for someone else.

FYI,
Charles

	

Mime
View raw message