scsh-users
[Top] [All Lists]

Problems compiling SCSH under Cygwin

To: scsh-news@zurich.ai.mit.edu
Subject: Problems compiling SCSH under Cygwin
From: quixote72@hotmail.com (Pedro Pinto)
Date: 11 Jul 2002 10:15:10 -0700
Organization: http://groups.google.com/
Hi there,

I am having some trouble compiling scsh 0.6.2 on my Windows 2000
box. I have the latest cygwin (1.3.12-2) and I have it configured
to use the Unix convention for CR/LF. 

I have narrowed the problem down to line 26 in 
build/build-usual-image:

,translate =scheme48/ $lib/

When the this line is sent to scshvm.exe the following is returned:

Error: too many command arguments
       #{Input-port #{Input-channel "standard input"}}
make: *** [scheme48.image] Error 1

Does anyone have any ideas? 

A complete build log is appended. Thanks in advance,

-pp

scsh-0.6.2 $ ./configure
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
defining signal constants
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for working const... yes
checking whether byte ordering is bigendian... no
checking for main in -lm... yes
checking for main in -ldl... no
checking for main in -lmld... no
checking for main in -lnsl... no
checking for main in -lgen... no
checking for main in -lsocket... no
checking for getpwnam in -lsun... no
checking for crypt in -lc... no
checking for crypt in -lcrypt... yes
checking for main in -lelf... no
checking for RISC/OS POSIX library lossage
checking for working const... (cached) yes
checking return type of signal handlers... void
checking how to run the C preprocessor... gcc -E
checking for libgen.h... no
checking for sys/timeb.h... yes
checking for posix/time.h... no
checking for sys/select.h... yes
checking for nlist.h... no
checking for sys/un.h... yes
checking for crypt.h... yes
checking for gettimeofday... yes
checking for ftime... yes
checking for nlist... no
checking for select... yes
checking for setitimer... yes
checking for sigaction... yes
checking for socklen_t... yes
checking for dlopen... yes
checking for socket... yes
checking for chroot... yes
checking for strerror... yes
checking for seteuid... yes
checking for setegid... yes
checking n_name... no
checking __NEXT__... no
checking underscore before symbols... yes
checking link with -rdynamic... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking for gmtoff... no
checking for const sys_errlist... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating scsh/endian.scm
creating scsh/static.scm
creating c/sysdep.h
scsh-0.6.2 $ make
gcc -c -O2 -o c/main.o \
        -DDEFAULT_IMAGE_NAME=\"/usr/local/lib/scsh/scheme48.image\" \
         -DHAVE_CONFIG_H c/main.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/process_args.o
scsh/process_args.c

gcc -c -O2 -o c/init.o \
        -DDEFAULT_IMAGE_NAME=\"/usr/local/lib/scsh/scheme48.image\" \
         -DHAVE_CONFIG_H c/init.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/scheme48vm.o
c/scheme48vm.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/scheme48heap.o
c/scheme48heap.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/extension.o
c/extension.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/external.o
c/external.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o cig/libcig.o
cig/libcig.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o cig/libcig1.o
cig/libcig1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/cstuff.o
scsh/cstuff.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/dirstuff1.o
scsh/dirstuff1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/fdports1.o
scsh/fdports1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/flock1.o
scsh/flock1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o
scsh/machine/time_dep1.o scsh/machine/t
ime_dep1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/signals1.o
scsh/signals1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/machine/libansi.o
scsh/machine/lib
ansi.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/network1.o
scsh/network1.c
scsh/network1.c: In function `host_ent2host_info':
scsh/network1.c:545: warning: passing arg 1 of `s48_enter_string'
discards qualifiers f
rom pointer target type
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/putenv.o
scsh/putenv.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/rx/regexp1.o
scsh/rx/regexp1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/sleep1.o
scsh/sleep1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/syscalls1.o
scsh/syscalls1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/syslog1.o
scsh/syslog1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/time1.o
scsh/time1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/tty1.o
scsh/tty1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/userinfo1.o
scsh/userinfo1.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/sighandlers1.o
scsh/sighandlers1.c

gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/proc2.o
scsh/proc2.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/unix/misc.o
c/unix/misc.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/unix/io.o
c/unix/io.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/unix/fd-io.o
c/unix/fd-io.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/unix/event.o
c/unix/event.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/unix/socket.o
c/unix/socket.c
gcc -g -c  -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/unix/dynamo.o
c/unix/dynamo.c
rm -f /tmp/s48_external_$$.c &&                                 \
build/build-external-modules /tmp/s48_external_$$.c                   
 \
        s48_init_additional_inits s48_init_socket
s48_init_external_lookup s48_init_sys
log s48_init_posix_regexp s48_init_userinfo s48_init_sighandlers
s48_init_syscalls s48_
init_network s48_init_flock s48_init_dirstuff s48_init_time
s48_init_tty s48_init_cig s
48_init_cig &&                                  \
gcc -g  -O2 -o scshvm c/main.o scsh/process_args.o c/init.o
c/scheme48vm.o c/scheme48he
ap.o c/extension.o c/external.o  cig/libcig.o cig/libcig1.o
scsh/cstuff.o scsh/dirstuff
1.o scsh/fdports1.o scsh/flock1.o scsh/machine/time_dep1.o
scsh/signals1.o scsh/machine
/libansi.o scsh/network1.o scsh/putenv.o scsh/rx/regexp1.o
scsh/sleep1.o scsh/syscalls1
.o scsh/syslog1.o scsh/time1.o scsh/tty1.o scsh/userinfo1.o
scsh/sighandlers1.o scsh/pr
oc2.o c/unix/misc.o c/unix/io.o c/unix/fd-io.o c/unix/event.o         
 \
        /tmp/s48_external_$$.c                                  \
        c/unix/socket.o c/unix/dynamo.o                         \
         -lcrypt -lm  &&                                              
 \
rm -f /tmp/s48_external_$$.c
build/build-usual-image . "`pwd`/scheme" 'scheme48.image' './scshvm' \
        'build/initial.image'
./scheme/env/init-defpackage.scm
#{Unspecific}
./scheme/more-interfaces.scm
./scheme/link-packages.scm
./scheme/more-packages.scm
[command-levels ./scheme/env/command-level.scm]
[command-processor ./scheme/env/read-command.scm
./scheme/env/command.scm ./scheme/env/
version-info.scm]
#{Unspecific}
[basic-commands ./scheme/env/basic-command.scm]
[build ./scheme/env/build.scm]
[shadowing ./scheme/env/shadow.scm]
[disclosers ./scheme/env/disclosers.scm]
[package-mutation ./scheme/env/pedit.scm]
[package-commands ./scheme/env/pacman.scm]
[time ./scheme/rts/time.scm]
[debugging ./scheme/env/debug.scm]
[inspector ./scheme/env/inspect.scm]
[disassembler ./scheme/env/disasm.scm]
[usual-commands]
#{Unspecific}
[debuginfo ./scheme/env/debuginfo.scm]
[extended-numbers ./scheme/rts/xnum.scm]
[bignums ./scheme/rts/bignum.scm
Analyzing...
Calls will be compiled in line: (subtract-magnitudes add-magnitudes
bignum-magnitude bi
gnum-sign)
]
[ratnums ./scheme/rts/ratnum.scm]
[recnums ./scheme/rts/recnum.scm]
[innums ./scheme/rts/innum.scm]
[usual-features]
Reading ./build/initial.debug

Error: too many command arguments
       #{Input-port #{Input-channel "standard input"}}
make: *** [scheme48.image] Error 1

<Prev in Thread] Current Thread [Next in Thread>