> Date: Sun, 21 Oct 2018 01:40:27 -0700
> From: Matt Birkholz <m...@birchwood-abbey.net>
> 
> Something like this?
> 
> $ git clone git://git.savannah.gnu.org/mit-scheme.git
> $ cd mit-scheme
> $ prefix=$PWD
> $ cd src
> $ ./Setup.sh
> $ ./configure --prefix=$prefix
> $ make tags all check
> $ make install
> $ export MIT_SCHEME_EXE=$prefix/bin/mit-scheme
> $ for P in blowfish gdbm pgsql mcrypt x11 edwin x11-screen imail; do
> _ ( cd $P
> _   && ./autogen.sh
> _   && ./configure --prefix=$prefix
> _   && make tags all check install install-html install-pdf )
> _ done

Fails to build in x11.  Am I doing something wrong?  I see several .h
files with `typedef unsigned long SCM;', which doesn't seem right.

/bin/ksh ./libtool  --tag=CC    --mode=compile gcc -DPACKAGE_NAME=\"MIT/GNU\ 
Scheme\ x11\ plugin\" -DPACKAGE_TARNAME=\"mit-scheme-x11\" 
-DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"MIT/GNU\ Scheme\ x11\ plugin\ 
1.2\" -DPACKAGE_BUGREPORT=\"bug-mit-sch...@gnu.org\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"mit-scheme-x11\" -DVERSION=\"1.2\" -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 -DLT_OBJDIR=\".libs/\" -DHAVE_MALLOC_H=1  
-I.  -I/home/riastradh/scheme/mit/git/master/src/root/lib/mit-scheme-x86-64/   
-Wall -Wundef -Wpointer-arith -Winline -Wstrict-prototypes -Wnested-externs 
-Wredundant-decls -Wextra -Wno-sign-compare -Wno-unused-parameter 
-Wold-style-definition -Wunreachable-code -Wwrite-strings -I/usr/X11R7/include 
-g -O2 -MT x11-shim.lo -MD -MP -MF .deps/x11-shim.Tpo -c -o x11-shim.lo 
x11-shim.c
libtool: compile:  gcc "-DPACKAGE_NAME=\"MIT/GNU Scheme x11 plugin\"" 
-DPACKAGE_TARNAME=\"mit-scheme-x11\" -DPACKAGE_VERSION=\"1.2\" 
"-DPACKAGE_STRING=\"MIT/GNU Scheme x11 plugin 1.2\"" 
-DPACKAGE_BUGREPORT=\"bug-mit-sch...@gnu.org\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"mit-scheme-x11\" -DVERSION=\"1.2\" -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 -DLT_OBJDIR=\".libs/\" -DHAVE_MALLOC_H=1 -I. 
-I/home/riastradh/scheme/mit/git/master/src/root/lib/mit-scheme-x86-64/ -Wall 
-Wundef -Wpointer-arith -Winline -Wstrict-prototypes -Wnested-externs 
-Wredundant-decls -Wextra -Wno-sign-compare -Wno-unused-parameter 
-Wold-style-definition -Wunreachable-code -Wwrite-strings -I/usr/X11R7/include 
-g -O2 -MT x11-shim.lo -MD -MP -MF .deps/x11-shim.Tpo -c x11-shim.c  -fPIC 
-DPIC -o .libs/x11-shim.o
In file included from x11-shim.h:28:0,
                 from x11-shim.c:6:
x11.h:29:23: error: redefinition of typedef 'SCM'
/home/riastradh/scheme/mit/git/master/src/root/lib/mit-scheme-x86-64/mit-scheme.h:36:23:
 note: previous declaration of 'SCM' was here

_______________________________________________
MIT-Scheme-devel mailing list
MIT-Scheme-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/mit-scheme-devel

Reply via email to