[plt-scheme] trouble building drscheme on irix

From: TiM (salo at zooid.org)
Date: Fri Nov 28 23:51:53 EST 2003

greetings ... i hope someone can fix this problem:

IRIX64 iqc1 6.5 07141608 IP35
gcc version 2.95.3 20010315 (release)

i download the plt-205.src.x.tar and extract it, then run configure 
--prefix=/u/treid and get:

----> Installation will go to /u/treid:
---->   /u/treid/collects/...
---->   /u/treid/bin/...
---->   /u/treid/lib/...
---->   /u/treid/include/...
---->   /u/treid/man/...
---->   /u/treid/notes/...
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ranlib... :
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for cos in -lm... yes
checking for dlopen in -ldl... no
checking for inline keyword... yes
checking whether new and new[] are different... yes
checking whether need to use -fpermissive... no
checking whether X11/XKBlib.h is available... yes
checking for X11/extensions/Xrender.h... no
no Xrender headers; Xrender support disabled
checking for png.h... yes
checking for png_read_info in -lpng... yes
checking for jpeglib.h... yes
checking for jpeg_start_decompress in -ljpeg... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mzscheme/Makefile
config.status: creating mzscheme/src/Makefile
config.status: creating mzscheme/dynsrc/Makefile
config.status: creating mzscheme/gc/Makefile
config.status: creating mzscheme/sgc/Makefile
config.status: creating mzscheme/gc2/Makefile
config.status: creating mzscheme/guile/Makefile
config.status: creating mzscheme/palm/Makefile
config.status: creating mred/Makefile
config.status: creating mred/wxs/Makefile
config.status: creating mred/wxme/Makefile
config.status: creating mred/gc2/Makefile
config.status: creating wxcommon/libpng/Makefile
config.status: creating wxcommon/zlib/Makefile
config.status: creating wxxt/src/Makefile
config.status: creating wxxt/src/x/Makefile
config.status: creating wxxt/utils/image/src/Makefile
config.status: creating wxxt/contrib/xpm/lib/Makefile

all seems well, but then i run gmake and it compiles some stuff but then 
dies with:

ar: Warning: creating libmzscheme.a

        : libmzscheme.a
        make mzscheme
        gcc -g -O2  -Wall     -I../../drscheme/plt/src/mzscheme/include 
-c ../../drscheme/plt/src/mzscheme/main.c -o main.o
        gcc -o mzscheme main.o  libmzscheme.a libmzgc.a  -lm 
        make mred-stub
        cd mred; make
make: file `Makefile' line 121: Syntax error
*** Error code 1 (bu21)
*** Error code 1 (bu21)

i go into mred/Makefile and remove line 121 and rerun gmake, but again 
it dies after a while with a seemingly different error:

ar: Warning: creating libwxscheme.a

        : libwxscheme.a
        cd wxme; make
        g++   -I../../../drscheme/plt/src/mred/wxme/../../mzscheme/gc 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src/AIAI-include 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src 
-I../../../drscheme/plt/src/mred/wxme/../../mred/wxme/ 
-I../../../drscheme/plt/src/mred/wxme/../../mzscheme/include/ 
-DOPERATOR_NEW_ARRAY -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt  -Wall  -g 
-O2   -c ../../../drscheme/plt/src/mred/wxme/wx_style.cxx -o wx_style.o
        g++   -I../../../drscheme/plt/src/mred/wxme/../../mzscheme/gc 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src/AIAI-include 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src 
-I../../../drscheme/plt/src/mred/wxme/../../mred/wxme/ 
-I../../../drscheme/plt/src/mred/wxme/../../mzscheme/include/ 
-DOPERATOR_NEW_ARRAY -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt  -Wall  -g 
-O2   -c ../../../drscheme/plt/src/mred/wxme/wx_keym.cxx -o wx_keym.o
        g++   -I../../../drscheme/plt/src/mred/wxme/../../mzscheme/gc 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src/AIAI-include 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src 
-I../../../drscheme/plt/src/mred/wxme/../../mred/wxme/ 
-I../../../drscheme/plt/src/mred/wxme/../../mzscheme/include/ 
-DOPERATOR_NEW_ARRAY -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt  -Wall  -g 
-O2   -c ../../../drscheme/plt/src/mred/wxme/wx_mbuf.cxx -o wx_mbuf.o
        g++   -I../../../drscheme/plt/src/mred/wxme/../../mzscheme/gc 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src/AIAI-include 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src 
-I../../../drscheme/plt/src/mred/wxme/../../mred/wxme/ 
-I../../../drscheme/plt/src/mred/wxme/../../mzscheme/include/ 
-DOPERATOR_NEW_ARRAY -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt  -Wall  -g 
-O2   -c ../../../drscheme/plt/src/mred/wxme/wx_media.cxx -o wx_media.o
        g++   -I../../../drscheme/plt/src/mred/wxme/../../mzscheme/gc 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src/AIAI-include 
-I../../../drscheme/plt/src/mred/wxme/../../wxxt/src 
-I../../../drscheme/plt/src/mred/wxme/../../mred/wxme/ 
-I../../../drscheme/plt/src/mred/wxme/../../mzscheme/include/ 
-DOPERATOR_NEW_ARRAY -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt  -Wall  -g 
-O2   -c ../../../drscheme/plt/src/mred/wxme/wx_mpriv.cxx -o wx_mpriv.o
../../../drscheme/plt/src/mred/wxme/wx_mpriv.cxx: In method `void 
wxMediaEdit::Redraw(wxDC *, float, float, float, float, float, float, 
int, int)':
../../../drscheme/plt/src/mred/wxme/wx_mpriv.cxx:2303: internal 
error--unrecognizable insn:
(insn 2913 2912 1328 (set:SF (reg/v:SF 98)
        (if_then_else:SF (eq (reg:DI 739)
                (const_int 0 [0x0]))
            (reg/v:SF 95)
            (reg:SF 268))) -1 (insn_list 2912 (nil))
    (expr_list:REG_DEAD (reg:DI 739)
        (nil)))
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

any ideas?

all i really need is mzscheme and mzc, not any of the graphical stuff.

TiM



Posted on the users mailing list.