#666 Compilation of clisp 2.48-3 under Cygwin x86 fails

build problems
open
nobody
None
5
2014-05-15
2014-05-15
No

I am trying to compile the clisp source package delivered along with Cygwin and have run into a compilation error. The detailed steps follow here.

Preparation

Install a fresh distribution of Cygwin to c:\cygwin with setup-x86.exe.
setup-version: 2.85 (acc. to setup.ini)
Running under Windows 8.1 Pro x64.
uname -a reports: CYGWIN_NT-6.3-WOW64 MyPC 1.7.29(0.272/5/3) 2014-04-07 13:44 i686 Cygwin

Install the following binary packages:
clisp (plus source package)
clisp-clx
clisp-gdi
clisp-gtk2
cygport
ffcall
gcc-core
gettext
gettext-devel
libiconv
libiconv2
libintl8
libncurses-devel
libncurses10
libncurses9
libncursesw-devel
libncursesw10
libreadline7
libsigsegv
libsigsegv2

libtool, autoconf, automake, make and other dependecies are installed automatically in the latest version.

The clisp interpreter can be started up on the command line successfully, so all the (runtime) dependencies are fulfilled.

As an exercise, I am going to try to compile the clisp package right from the source.

Compilation

The source package of clisp can be found under /usr/src.

rm -rf ~/build ; mkdir ~/build

cp -pv /usr/src/clisp* ~/build

cygport clisp-2.48-3.cygport prep

cygport clisp-2.48-3.cygport compile

./configure is successful, it doesn't report anything missing.

However make fails with the following error:

gcc -I/home/Admin/build/clisp-2.48-3/src/clisp-2.48/build/gllib -ggdb -O2 -pipe
-Wimplicit-function-declaration -g
-fdebug-prefix-map=/home/Admin/build/clisp-2.48-3/build=/usr/src/debug/clisp-2.48-3
-fdebug-prefix-map=/home/Admin/build/clisp-2.48-3/src/clisp-2.48=/usr/src/debug/clisp-2.48-3
-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type
-Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2
-fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -c
spvw.c In file included from
/home/Admin/build/clisp-2.48-3/src/clisp-2.48/src/lispbibl.d:1957:0, from
/home/Admin/build/clisp-2.48-3/src/clisp-2.48/src/spvw.d:23:
/home/Admin/build/clisp-2.48-3/src/clisp-2.48/src/unix.d:369:17: error: two or more data types in declaration specifiers #define Handle int / the type of a file descriptor / ^
/home/Admin/build/clisp-2.48-3/src/clisp-2.48/src/unix.d:369:17: error: two or more data types in declaration specifiers #define Handle int / the type of a file descriptor / ^
/home/Admin/build/clisp-2.48-3/src/clisp-2.48/src/unix.d:369:17: error: two or more data types in declaration specifiers #define Handle int / the type of a file descriptor / ^
/home/Admin/build/clisp-2.48-3/src/clisp-2.48/src/unix.d:369:17: error: two or more data types in declaration specifiers #define Handle int / the type of a file descriptor / ^
/home/Admin/build/clisp-2.48-3/src/clisp-2.48/src/unix.d:369:17: error: two or more data types in declaration specifiers #define Handle int / the type of a file descriptor / ^
/home/Admin/build/clisp-2.48-3/src/clisp-2.48/src/unix.d:369:17: error: two or more data types in declaration specifiers #define Handle int / the type of a file descriptor / ^ Makefile:1378: recipe for target 'spvw.o' failed make:
[spvw.o] Error 1
ERROR: make failed

-> All the libraries mentioned in the README and INSTALL files are in place and according to /usr/share/doc/clsip/cygwin.README, the build should run out of the box. Therefore I report this problem as a bug to the Cygwin and the CLISP project.

1 Attachments

Discussion