[plt-scheme] Re: Compiling v3.50 in OpenBSD v3.9 AMD64 fails

From: Pekka Niiranen (pekka.niiranen at wlanmail.com)
Date: Fri Jul 21 06:50:17 EDT 2006



Matthew Flatt wrote:
> At Mon, 19 Jun 2006 18:56:08 -0500, Matthew Flatt wrote:
>> At Mon, 19 Jun 2006 21:41:38 +0300, Pekka Niiranen wrote:
>>> has anybody managed to build v3.50 in OpenBSD v3.9 AMD64?
>>> I tried both:
>>>
>>> ./configure --disable-foreign  => "make" failed on GC.
>>> ./configure --disable-foreign --enable-sgc => "make" failed mysteriously
>>>
>>> Since Boehm-GC-v6.2 is available in OpenBSD's ports
>>> is there a way to compile PLT with it?
>> [...] 
>>
>> I can both fix SGC and upgrade our copy of the Boehm GC, but probably
>> not until next week.
> 
> ...or the week after.
> 
> Done in SVN, finally.
> 
> Matthew
> 
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
Hi again,

I downloaded plt-src.tgz on 20.July from http://pre.plt-scheme.org/
(PLT Nightly Builds) and tried again in OpenBSD v3.9/AMD64.
Here are the results:

------------------------------------------------
1)	./configure --disable-foreign

# make
make mz
cd mzscheme; make
make g-c
cd gc; make ../libmzgc.a
gcc  -I./include -DNO_SIGNALS -g -O2  -Wall   -DNO_EXECUTE_PERMISSION \
-DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE 
-DINITIAL_MARK_STACK_SIZE=8192 -c ./alloc.c
In file included from include/private/gc_priv.h:66,
                  from alloc.c:19:
include/private/gcconfig.h:470: error: syntax error before '--' token
In file included from include/private/gc_priv.h:66,
                  from alloc.c:19:
include/private/gcconfig.h:469:1: unterminated #ifndef
include/private/gcconfig.h:25:1: unterminated #ifndef
In file included from alloc.c:19:
include/private/gc_priv.h:65:1: unterminated #ifndef
include/private/gc_priv.h:19:1: unterminated #ifndef
*** Error code 1
Stop in /usr/local/src/plt/src/mzscheme/gc (line 687 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src/mzscheme (line 99 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src/mzscheme (line 52 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src (line 75 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src (line 25 of Makefile).

------------------------------------------------


2)	./configure --disable-foreign --enable-sgc

# make
make mz
cd mzscheme; make
make g-c
cd sgc; make ../libmzgc.a
gcc -g -O2   -Wall   -DUSE_SENORA_GC -I.. -c ./sgc.c -o sgc.o
make gcobjects
ar ruv ../libmzgc.a sgc.o
ar: creating ../libmzgc.a
a - sgc.o
ranlib ../libmzgc.a
make foreign-nothing
echo no foreign
no foreign
make llvm-nothing
echo no llvm
no llvm
make normal-bin
make dynlib
cd src; make mzheaders
echo -n "#define SCHEME_PLATFORM_LIBRARY_SUBPATH " > schsys.h
./sysname >> schsys.h
if [ "" = '' ] ; then touch ./../include/gmzwin.def ; else  -s -- 
./makex -gwinex < ./schemef.h > ./../include/gmzwin.def ; fi
cd dynsrc; make dynlib
make ../mzdyn.o
gcc -fPIC -g -O2  -Wall  -I./.. -I./../include -I./../src  -DMZ_NO_ICONV 
-DDONT_USE_FOREIGN -c ./mzdyn.c -o ../mzdyn.o
make ../starter
gcc -g -O2  -Wall  -I./.. -I./../include -I./../src  -DMZ_NO_ICONV 
-DDONT_USE_FOREIGN -o ../starter ./ustart.c
make mzlibrary
cd src; make all
make  mzheaders
make  mzobjects
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./salloc.c -o salloc.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./bignum.c -o bignum.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./bool.c -o bool.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./builtin.c -o builtin.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./char.c -o char.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./complex.c -o complex.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./dynext.c -o dynext.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./env.c -o env.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./error.c -o error.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./eval.c -o eval.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./file.c -o file.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./fun.c -o fun.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./gmp/gmp.c -o gmp.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./hash.c -o hash.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./image.c -o image.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./jit.c -o jit.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./list.c -o list.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./module.c -o module.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./network.c -o network.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./numarith.c -o numarith.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./number.c -o number.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./numcomp.c -o numcomp.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./numstr.c -o numstr.o
gcc -g -O2  -Wall    -DUSE_SENORA_GC  -DMZ_NO_ICONV -DDONT_USE_FOREIGN 
-I./.. -I./../include -c ./port.c -o port.o
port.c: In function `scheme_file_buffer':
port.c:4288: error: `MZ_FLUSH_NEVER' undeclared (first use in this function)
port.c:4288: error: (Each undeclared identifier is reported only once
port.c:4288: error: for each function it appears in.)
port.c:4290: error: `MZ_FLUSH_BY_LINE' undeclared (first use in this 
function)
port.c:4292: error: `MZ_FLUSH_ALWAYS' undeclared (first use in this 
function)
port.c: In function `file_buffer_mode':
port.c:4403: error: `MZ_FLUSH_NEVER' undeclared (first use in this function)
port.c:4405: error: `MZ_FLUSH_BY_LINE' undeclared (first use in this 
function)
port.c: In function `subprocess':
port.c:7323: warning: implicit declaration of function `make_fd_input_port'
port.c:7323: warning: pointer/integer type mismatch in conditional 
expression
port.c:7324: warning: implicit declaration of function `make_fd_output_port'
port.c:7324: warning: pointer/integer type mismatch in conditional 
expression
port.c:7325: warning: pointer/integer type mismatch in conditional 
expression
*** Error code 1

Stop in /usr/local/src/plt/src/mzscheme/src (line 191 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src/mzscheme/src (line 101 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src/mzscheme (line 123 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src/mzscheme (line 58 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src/mzscheme (line 52 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src (line 75 of Makefile).
*** Error code 1
Stop in /usr/local/src/plt/src (line 25 of Makefile).

------------------------------------------------

3)	Currently installed packages in my machine:

atk-1.10.3p1
autoconf-2.13p0
autoconf-2.59
automake-1.9.6p0
bison-2.1p0
boehm-gc-6.2p1      garbage collection for C and C++
bzip2-1.0.3
cabextract-1.1
cairo-1.0.2p0
emacs-21.4p0
emacs-leim-21.4
esound-0.2.34p0
expat-1.95.6p1
gettext-0.14.5p1
ghostscript-7.05p7
ghostscript-fonts-6.0p0
ghostview-1.5
glib2-2.8.4
glitz-0.4.4
gmake-3.80p1
gmp-4.1.4p0
gtk+2-2.6.10p1
help2man-1.29
jpeg-6bp3
libIDL-0.8.5p0
libaudiofile-0.2.6p0
libiconv-1.9.2p3
libltdl-1.5.22p1
libtool-1.5.22
libungif-4.1.4
metaauto-0.5
mozilla-firefox-1.5.0.4
msttcorefonts-1.2
mtools-3.9.10.20050317p0
nano-1.2.5
pango-1.10.2p0
pkgconfig-0.19p0
png-1.2.8
popt-1.7p0
samba-3.0.21bp2
tcl-8.4.7p1
tiff-3.7.3p0
tk-8.4.7
unzip-5.52
wget-1.10.2p0
windowmaker-0.92.0p1
windowmaker-extra-0.1
zip-2.3p0

------------------------------------------------

4)	Config.log for the case "./configure --disable-foreign"
	contains warnings about "strcpy()", strcat() and sprintf():

define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define STACK_DIRECTION -1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBM 1
| #define HAVE_CODESET 1
| #define HAVE_GETADDRINFO 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <iconv.h>
configure:9234: result: no
configure:9238: checking iconv.h presence
configure:9248: gcc -E  conftest.c
conftest.c:31:19: iconv.h: No such file or directory
configure:9254: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define STACK_DIRECTION -1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBM 1
| #define HAVE_CODESET 1
| #define HAVE_GETADDRINFO 1
| /* end confdefs.h.  */
| #include <iconv.h>
configure:9274: result: no
configure:9309: checking for iconv.h
configure:9316: result: no
configure:9419: checking iconv is usable
configure:9422: result: no
configure:9429: checking for mbsrtowcs
configure:9449: gcc -o conftest -g -O2   conftest.c -lm  -rdynamic >&5
conftest.c: In function `main':
conftest.c:35: warning: passing arg 2 of `mbsrtowcs' from incompatible 
pointer type
configure:9452: $? = 0
configure:9454: ./conftest
configure:9457: $? = 0
configure:9473: result: yes
configure:9559: checking whether C++ compiler works
configure:9574: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lm  -rdynamic >&5
configure:9577: $? = 0
configure:9579: ./conftest
configure:9582: $? = 0
configure:9595: result: yes
configure:9607: checking whether new and new[] are different
configure:9627: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lm  -rdynamic >&5
configure:9630: $? = 0
configure:9632: ./conftest
configure:9635: $? = 0
configure:9651: result: yes
configure:9659: checking whether need to use -fpermissive
configure:9677: g++ -c -g -O2   -I/usr/X11R6/include conftest.cc >&5
configure:9683: $? = 0
configure:9687: test -z
			 || test ! -s conftest.err
configure:9690: $? = 0
configure:9693: test -s conftest.o
configure:9696: $? = 0
configure:9709: result: no
configure:9726: checking X11/Xlib.h usability
configure:9738: g++ -c -g -O2   -I/usr/X11R6/include conftest.cc >&5
configure:9744: $? = 0
configure:9748: test -z
			 || test ! -s conftest.err
configure:9751: $? = 0
configure:9754: test -s conftest.o
configure:9757: $? = 0
configure:9767: result: yes
configure:9771: checking X11/Xlib.h presence
configure:9781: g++ -E   -I/usr/X11R6/include conftest.cc
configure:9787: $? = 0
configure:9807: result: yes
configure:9842: checking for X11/Xlib.h
configure:9849: result: yes
configure:9870: checking X11/Intrinsic.h usability
configure:9882: g++ -c -g -O2   -I/usr/X11R6/include conftest.cc >&5
configure:9888: $? = 0
configure:9892: test -z
			 || test ! -s conftest.err
configure:9895: $? = 0
configure:9898: test -s conftest.o
configure:9901: $? = 0
configure:9911: result: yes
configure:9915: checking X11/Intrinsic.h presence
configure:9925: g++ -E   -I/usr/X11R6/include conftest.cc
configure:9931: $? = 0
configure:9951: result: yes
configure:9986: checking for X11/Intrinsic.h
configure:9993: result: yes
configure:10004: checking for XFlush in -lX11
configure:10034: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lX11  -L/usr/X11R6/lib -lm  -rdynamic >&5
/usr/X11R6/lib/libX11.so.9.0: warning: strcpy() is almost always 
misused, please use strlcpy()
/usr/X11R6/lib/libX11.so.9.0: warning: sprintf() is often misused, 
please use snprintf()
/usr/X11R6/lib/libX11.so.9.0: warning: strcat() is almost always 
misused, please use strlcat()
configure:10040: $? = 0
configure:10044: test -z
			 || test ! -s conftest.err
configure:10047: $? = 0
configure:10050: test -s conftest
configure:10053: $? = 0
configure:10066: result: yes
configure:10074: checking for XSyncQueryExtension in -lXext
configure:10104: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lXext  -L/usr/X11R6/lib -lX11 -lm  -rdynamic >&5
/usr/X11R6/lib/libX11.so.9.0: warning: strcpy() is almost always 
misused, please use strlcpy()
/usr/X11R6/lib/libXext.so.9.0: warning: sprintf() is often misused, 
please use snprintf()
/usr/X11R6/lib/libX11.so.9.0: warning: strcat() is almost always 
misused, please use strlcat()
configure:10110: $? = 0
configure:10114: test -z
			 || test ! -s conftest.err
configure:10117: $? = 0
configure:10120: test -s conftest
configure:10123: $? = 0
configure:10136: result: yes
configure:10144: checking for XtDestroyWidget in -lXt
configure:10174: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lXt  -L/usr/X11R6/lib -lX11 -lXext -lm  -rdynamic >&5
/usr/X11R6/lib/libXt.so.9.0: warning: strcpy() is almost always misused, 
please use strlcpy()
/usr/X11R6/lib/libXt.so.9.0: warning: sprintf() is often misused, please 
use snprintf()
/usr/X11R6/lib/libXt.so.9.0: warning: strcat() is almost always misused, 
please use strlcat()
configure:10180: $? = 0
configure:10184: test -z
			 || test ! -s conftest.err
configure:10187: $? = 0
configure:10190: test -s conftest
configure:10193: $? = 0
configure:10206: result: yes
configure:10214: checking for XmuInternAtom in -lXmu
configure:10244: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lXmu  -L/usr/X11R6/lib -lXt -lX11 -lXext -lm  -rdynamic >&5
/usr/X11R6/lib/libXmu.so.9.0: warning: strcpy() is almost always 
misused, please use strlcpy()
/usr/X11R6/lib/libXmu.so.9.0: warning: sprintf() is often misused, 
please use snprintf()
/usr/X11R6/lib/libXmu.so.9.0: warning: strcat() is almost always 
misused, please use strlcat()
configure:10250: $? = 0
configure:10254: test -z
			 || test ! -s conftest.err
configure:10257: $? = 0
configure:10260: test -s conftest
configure:10263: $? = 0
configure:10276: result: yes
configure:10284: checking for vendorShellClassRec in -lXaw
configure:10314: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lXaw  -L/usr/X11R6/lib -lXmu -lXt -lX11 -lXext -lm 
-rdynamic >&5
/usr/X11R6/lib/libXaw.so.11.0: warning: strcpy() is almost always 
misused, please use strlcpy()
/usr/X11R6/lib/libXaw.so.11.0: warning: sprintf() is often misused, 
please use snprintf()
/usr/X11R6/lib/libXmu.so.9.0: warning: strcat() is almost always 
misused, please use strlcat()
configure:10320: $? = 0
configure:10324: test -z
			 || test ! -s conftest.err
configure:10327: $? = 0
configure:10330: test -s conftest
configure:10333: $? = 0
configure:10346: result: yes
configure:10368: checking whether X11/XKBlib.h is available
configure:10386: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lm  -rdynamic >&5
configure:10389: $? = 0
configure:10391: ./conftest
configure:10394: $? = 0
configure:10410: result: yes
configure:10447: checking GL/glx.h usability
configure:10459: g++ -c -g -O2   -I/usr/X11R6/include conftest.cc >&5
configure:10465: $? = 0
configure:10469: test -z
			 || test ! -s conftest.err
configure:10472: $? = 0
configure:10475: test -s conftest.o
configure:10478: $? = 0
configure:10488: result: yes
configure:10492: checking GL/glx.h presence
configure:10502: g++ -E   -I/usr/X11R6/include conftest.cc
configure:10508: $? = 0
configure:10528: result: yes
configure:10563: checking for GL/glx.h
configure:10570: result: yes
configure:10588: checking for glXChooseVisual in -lGL
configure:10618: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lGL  -L/usr/X11R6/lib -lX11 -lXext -lm  -rdynamic >&5
/usr/X11R6/lib/libGL.so.4.0: warning: strcpy() is almost always misused, 
please use strlcpy()
/usr/X11R6/lib/libGL.so.4.0: warning: sprintf() is often misused, please 
use snprintf()
/usr/X11R6/lib/libX11.so.9.0: warning: strcat() is almost always 
misused, please use strlcat()
configure:10624: $? = 0
configure:10628: test -z
			 || test ! -s conftest.err
configure:10631: $? = 0
configure:10634: test -s conftest
configure:10637: $? = 0
configure:10650: result: yes
configure:10774: checking X11/extensions/Xrender.h usability
configure:10786: g++ -c -g -O2   -I/usr/X11R6/include conftest.cc >&5
configure:10792: $? = 0
configure:10796: test -z
			 || test ! -s conftest.err
configure:10799: $? = 0
configure:10802: test -s conftest.o
configure:10805: $? = 0
configure:10815: result: yes
configure:10819: checking X11/extensions/Xrender.h presence
configure:10829: g++ -E   -I/usr/X11R6/include conftest.cc
configure:10835: $? = 0
configure:10855: result: yes
configure:10890: checking for X11/extensions/Xrender.h
configure:10897: result: yes
configure:10909: checking for XRenderQueryExtension in -lXrender
configure:10939: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lXrender  -L/usr/X11R6/lib -lX11 -lXext -lXrender -lm 
-rdynamic >&5
/usr/X11R6/lib/libX11.so.9.0: warning: strcpy() is almost always 
misused, please use strlcpy()
/usr/X11R6/lib/libX11.so.9.0: warning: sprintf() is often misused, 
please use snprintf()
/usr/X11R6/lib/libX11.so.9.0: warning: strcat() is almost always 
misused, please use strlcat()
configure:10945: $? = 0
configure:10949: test -z
			 || test ! -s conftest.err
configure:10952: $? = 0
configure:10955: test -s conftest
configure:10958: $? = 0
configure:10971: result: yes
configure:11263: checking for cairo_create in -lcairo
configure:11293: g++ -o conftest -g -O2   -I/usr/X11R6/include 
conftest.cc -lcairo  -L/usr/X11R6/lib  -lGL -lXrender -L/usr/X11R6/lib 
-lXft -lXrender -lX11 -lXext -lfontconfig -lfreetype   -L/usr/X11R6/lib 
-L/usr/local/lib -lfreetype -lcairo   -lm  -rdynamic >&5
/usr/X11R6/lib/libGL.so.4.0: warning: strcpy() is almost always misused, 
please use strlcpy()
/usr/X11R6/lib/libGL.so.4.0: warning: sprintf() is often misused, please 
use snprintf()
/usr/X11R6/lib/libX11.so.9.0: warning: strcat() is almost always 
misused, please use strlcat()
configure:11299: $? = 0
configure:11303: test -z
			 || test ! -s conftest.err
configure:11306: $? = 0
configure:11309: test -s conftest
configure:11312: $? = 0
configure:11325: result: yes
configure:11349: checking cairo-xlib.h usability
configure:11361: g++ -c -g -O2   -I/usr/X11R6/include 
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include 
-I/usr/local/include/cairo   conftest.cc >&5
configure:11367: $? = 0
configure:11371: test -z
			 || test ! -s conftest.err
configure:11374: $? = 0
configure:11377: test -s conftest.o
configure:11380: $? = 0
configure:11390: result: yes
configure:11394: checking cairo-xlib.h presence
configure:11404: g++ -E   -I/usr/X11R6/include 
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include 
-I/usr/local/include/cairo   conftest.cc
configure:11410: $? = 0
configure:11430: result: yes
configure:11465: checking for cairo-xlib.h
configure:11472: result: yes
configure:11509: checking png.h usability
configure:11521: g++ -c -g -O2   -I/usr/X11R6/include 
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include 
-I/usr/local/include/cairo   conftest.cc >&5
conftest.cc:65:17: png.h: No such file or directory
configure:11527: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define STACK_DIRECTION -1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBM 1
| #define HAVE_CODESET 1
| #define HAVE_GETADDRINFO 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <png.h>
configure:11550: result: no
configure:11554: checking png.h presence
configure:11564: g++ -E   -I/usr/X11R6/include 
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include 
-I/usr/local/include/cairo   conftest.cc
conftest.cc:31:17: png.h: No such file or directory
configure:11570: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define STACK_DIRECTION -1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBM 1
| #define HAVE_CODESET 1
| #define HAVE_GETADDRINFO 1
| /* end confdefs.h.  */
| #include <png.h>
configure:11590: result: no
configure:11625: checking for png.h
configure:11632: result: no
configure:11746: checking jpeglib.h usability
configure:11758: g++ -c -g -O2   -I/usr/X11R6/include 
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include 
-I/usr/local/include/cairo   conftest.cc >&5
conftest.cc:65:21: jpeglib.h: No such file or directory
configure:11764: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define STACK_DIRECTION -1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBM 1
| #define HAVE_CODESET 1
| #define HAVE_GETADDRINFO 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <jpeglib.h>
configure:11787: result: no
configure:11791: checking jpeglib.h presence
configure:11801: g++ -E   -I/usr/X11R6/include 
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include 
-I/usr/local/include/cairo   conftest.cc
conftest.cc:31:21: jpeglib.h: No such file or directory
configure:11807: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define STACK_DIRECTION -1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBM 1
| #define HAVE_CODESET 1
| #define HAVE_GETADDRINFO 1
| /* end confdefs.h.  */
| #include <jpeglib.h>
configure:11827: result: no
configure:11862: checking for jpeglib.h
configure:11869: result: no
configure:12409: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59.  Invocation command line was

   CONFIG_FILES    =
   CONFIG_HEADERS  =
   CONFIG_LINKS    =
   CONFIG_COMMANDS =
   $ ./config.status

on pekkaobsd.pekkanet.org

config.status:735: creating Makefile
config.status:735: creating mzscheme/Makefile
config.status:735: creating mzscheme/src/Makefile
config.status:735: creating mzscheme/dynsrc/Makefile
config.status:735: creating mzscheme/gc/Makefile
config.status:735: creating mzscheme/sgc/Makefile
config.status:735: creating mzscheme/gc2/Makefile
config.status:735: creating mred/Makefile
config.status:735: creating mred/wxs/Makefile
config.status:735: creating mred/wxme/Makefile
config.status:735: creating mred/gc2/Makefile
config.status:735: creating wxcommon/libpng/Makefile
config.status:735: creating wxcommon/zlib/Makefile
config.status:735: creating wxxt/src/Makefile
config.status:735: creating wxxt/src/x/Makefile
config.status:735: creating wxxt/utils/image/src/Makefile
config.status:735: creating wxxt/contrib/xpm/lib/Makefile
config.status:838: creating mzscheme/mzconfig.h
configure:13550: configuring in wxcommon/jpeg
configure:13667: running /bin/sh './configure' 
--prefix=/usr/local/src/plt  '--disable-foreign' --cache-file=/dev/null 
--srcdir=.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_connect=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_remove=yes
ac_cv_func_shmat=yes
ac_cv_have_x='have_x=yes 		ac_x_includes=/usr/X11R6/include 
ac_x_libraries=/usr/X11R6/lib'
ac_cv_header_GL_glx_h=yes
ac_cv_header_X11_Intrinsic_h=yes
ac_cv_header_X11_Xlib_h=yes
ac_cv_header_X11_extensions_Xrender_h=yes
ac_cv_header_cairo_xlib_h=yes
ac_cv_header_iconv_h=no
ac_cv_header_inttypes_h=yes
ac_cv_header_jpeglib_h=no
ac_cv_header_memory_h=yes
ac_cv_header_png_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_GL_glXChooseVisual=yes
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_lib_X11_XFlush=yes
ac_cv_lib_Xaw_vendorShellClassRec=yes
ac_cv_lib_Xext_XSyncQueryExtension=yes
ac_cv_lib_Xmu_XmuInternAtom=yes
ac_cv_lib_Xrender_XRenderQueryExtension=yes
ac_cv_lib_Xt_XtDestroyWidget=yes
ac_cv_lib_cairo_cairo_create=yes
ac_cv_lib_dl_dlopen=no
ac_cv_lib_m_cos=yes
ac_cv_objext=o
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_sizeof_char=1
ac_cv_sizeof_int=4
ac_cv_sizeof_long=8
ac_cv_sizeof_long_long=8
ac_cv_sizeof_short=2
ac_cv_type_char=yes
ac_cv_type_int=yes
ac_cv_type_long=yes
ac_cv_type_long_long=yes
ac_cv_type_short=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
ARFLAGS='ruv'
AS='as'
CC='gcc'
CC_FOR_BUILD='gcc'
CFLAGS='-g -O2'
CGCOPTIONS=''
COLLECTS_PATH='../collects'
COMPFLAGS=' -Wall'
CPP='gcc -E'
CPPFLAGS='  -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 
-I/usr/X11R6/include -I/usr/local/include/cairo  '
CXX='g++'
CXXCPP='g++ -E'
CXXFLAGS='-g -O2'
DEFS='-DHAVE_CONFIG_H'
DYN_CFLAGS='-fPIC'
ECHO_C=''ECHO_N=''
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
EXE_SUFFIX=''
EXTRA_GMP_OBJ=''
EXTRA_OSK_LIBS=''
FOREIGNTARGET='foreign-nothing'
FOREIGN_CONVENIENCE=''
FOREIGN_LIB_IF_USED=''
FOREIGN_OBJSLIB='$(FOREIGN_OBJS)'
FOREIGN_OBJSLIB_IF_USED=''
FRAMEWORK_INSTALL_DIR=''
FRAMEWORK_REL_INSTALL=''
GC2OPTIONS=' -DNEWGC_BTC_ACCOUNT'
GCDIR='gc'
ICP='cp'
INCLUDEDEP='#'
INSTALL_ORIG_TREE='yes'
JPEG_A='$(JPEG_A)'
JPEG_INC='$(JPEG_INC)'
LDFLAGS=''
LIBFINISH='echo'
LIBMRED_DEP=''
LIBMZSCHEME_DEP=''
LIBOBJS=''
LIBS='-lm  -rdynamic '
LIBSFX='a'
LLVMTARGET='llvm-nothing'
LTA='a'
LTLIBOBJS=''
LTO='o'
MAKE_COPYTREE=''
MAKE_FINISH=''
MAKE_MRED3M='mr3m'
MAKE_MRED='mr'
MAKE_MREDINSTALL3M='mrinstall3m'
MAKE_MREDINSTALL='mrinstall'
MAKE_WBUILD=''
MREDLINKER='g++'
MRLIBINSTALL='install-no-lib'
MROPTIONS=' -DOPERATOR_NEW_ARRAY -DUSE_GL -DWX_USE_XRENDER -DWX_USE_XFT 
-DWX_USE_CAIRO'
MZBINTARGET='normal-bin'
MZINSTALLTARGET='normal-install'
MZLINKER='gcc'
MZOPTIONS=' -DMZ_NO_ICONV -DDONT_USE_FOREIGN'
NOT_OSX=''
OBJEXT='o'
OPTIONS=''
OSKHOME=''
OSX='.osx'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
PLAIN_CC='gcc'
PNG_A='$(PNG_A)'
PREFLAGS=''
PROFFLAGS=''
RANLIB='ranlib'
REZ='/Developer/Tools/Rez'
SED=''
SHELL='/bin/sh'
STATIC_AR='ar'
USE_WXPRECOMP=''
WBUILD='sh $(PLTSRCDIR)/wxxt/src/XWidgets/dummy.wbuild'
WXLIBS='WXLIBSNORM'
WXPRECOMP=''
WXVARIANT='wx_xt'
WX_MMD_FLAG=''
X_CFLAGS=' -I/usr/X11R6/include -I/usr/X11R6/include 
-I/usr/X11R6/include/freetype2   -I/usr/X11R6/include/freetype2 
-I/usr/X11R6/include -I/usr/local/include/cairo  '
X_EXTRA_LIBS=' -lGL -lXrender -L/usr/X11R6/lib -lXft -lXrender -lX11 
-lXext -lfontconfig -lfreetype   -L/usr/X11R6/lib -L/usr/local/lib 
-lfreetype -lcairo  '
X_LIBS=' -L/usr/X11R6/lib'
X_PRE_LIBS=' -lSM -lICE'
ZLIB_A='$(ZLIB_A)'
ZLIB_INC='$(ZLIB_INC)'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_RANLIB='ranlib'
bindir='${prefix}/bin'
build_alias=''
collectsdir='${prefix}/collects'
datadir='${prefix}/share'
docdir='${prefix}/doc'
exec_prefix='${prefix}'
host_alias=''
includedir='${prefix}/include'
includepltdir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libpltdir='${prefix}/lib'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local/src/plt'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' wxcommon/jpeg '
sysconfdir='${prefix}/etc'
target_alias=''
x_includes='/usr/X11R6/include'
x_libraries='/usr/X11R6/lib'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_CODESET 1
#define HAVE_GETADDRINFO 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBM 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define SIZEOF_SHORT 2
#define STACK_DIRECTION -1
#define STDC_HEADERS 1
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;
configure: exit 0

---------------------------------------------------

-pekka-





Posted on the users mailing list.