[Ecls-list] HELP: Building in OpenBSD v3.9 AMD64 fails

Pekka Niiranen pekka.niiranen at wlanmail.com
Sun Jun 11 13:43:00 UTC 2006


Hi there,

I downloaded cvs -version of ECL and tried to to compile that in
OpenBSD v3.9/AMD64. I tried it in 3 different ways:

1)	./configure && make
	The result was:

	gcc -fPIC -DPACKAGE_NAME=\"gc\"
	-DPACKAGE_TARNAME=\"gc\"
	-DPACKAGE_VERSION=\"6.5\" "-DPACKAGE_STRING=\"gc 6.5\""
	-DPACKAGE_BUGREPORT=\"Hans.Boehm at hp.com\" -DGC_VERSION_MAJOR=6
	-DGC_VERSION_MINOR=5 -DPACKAGE=\"gc\" -DVERSION=\"6.5\"
	-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
	-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
	-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
	-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1
	-DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1
	-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1
	-DATOMIC_UNCOLLECTABLE=1 -I/home/pekka/srcs/ecl/src/gc/include
	-fexceptions -g -O2 -fPIC -fstrict-aliasing -fexceptions
	-MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo
	-c /home/pekka/srcs/ecl/src/gc/allchblk.c -o allchblk.o
	In file included from
	/home/pekka/srcs/ecl/src/gc/include/private/gc_priv.h:66,
	from /home/pekka/srcs/ecl/src/gc/allchblk.c:19:
	/home/pekka/srcs/ecl/src/gc/include/private/gcconfig.h:458:
	error: syntax error before '--' token
	In file included from
	/home/pekka/srcs/ecl/src/gc/include/private/gc_priv.h:66,
	from /home/pekka/srcs/ecl/src/gc/allchblk.c:19:
	/home/pekka/srcs/ecl/src/gc/include/private/gcconfig.h:457:1:
	unterminated #ifndef
	/home/pekka/srcs/ecl/src/gc/include/private/gcconfig.h:25:1:
	unterminated #ifndef
	In file included from /home/pekka/srcs/ecl/src/gc/allchblk.c:19:
	/home/pekka/srcs/ecl/src/gc/include/private/gc_priv.h:65:1:
	unterminated #ifndef
	/home/pekka/srcs/ecl/src/gc/include/private/gc_priv.h:19:1:
	unterminated #ifndef

2)	I installed package "boehm-gc-6.2p1.tgz" and tried to compile
	ECL with:

		./configure --enable-boehm=system

	The result was:
	checking for library containing strerror... none required
	checking for GC_malloc in -lgc... no
	configure: error: System Boehm GC library requested but
	not found.

3)	Finally I tried (explained in ecls-list by Juan Jose Garcia
	Ripoll):

	CFLAGS="-I/usr/local/lib -g -O2" LDFLAGS="-L/usr/local/lib" \
	./configure --prefix=/usr/local --enable-boehm=system

	The result was:

	checking for tzset... yes
	checking gc.h usability... no
	checking gc.h presence... no
	checking for gc.h... no
	checking gc/gc.h usability... no
	checking gc/gc.h presence... no
	checking for gc/gc.h... no
	configure: error: Boehm-Weiser garbage collector's headers \
	not found

Any ideas anybody?

-pekka-

	





More information about the ecl-devel mailing list