scsh-users
[Top] [All Lists]

How to compile scsh on Solaris?

To: <scsh-bugs@zurich.ai.mit.edu>
Subject: How to compile scsh on Solaris?
From: "Niels van Dijke" <Niels.van.Dijke@Concert.Net>
Date: Thu, 9 Aug 2001 18:53:44 +0200
Importance: Normal
Hi,
 
Not sure wether this is the right e-mail addres, but I have difficulties in compiling scsh on solaris (2.5.1, 2.6 and 2.8).
 
I'm using:
 
gnu gcc-2.95.3
gnu autoconf 2.14
gnu automake 1.4
gnu m4 1.4
gnu make 3.79.1
 
This is how my build looks like:
 
    LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH
    LD_RUN_PATH=/usr/local/lib:/usr/local/lib export LD_RUN_PATH
    PATH=/data/tree/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/SUNWspro/bin:/usr/ccs/bin export PATH
    cd src/scsh-0.5.3
    ./configure --help
    ./configure --prefix=/usr/local sparc-sun-solaris || exit
    touch .notify || exit
    make || exit
    make install || exit
 
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print `checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
creating cache ./config.cache
checking host system type... sparc-sun-solaris2
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
checking for POSIXized ISC... no
checking for a BSD compatible install... ./install-sh -c
checking for ranlib... ranlib
checking for working const... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking whether byte ordering is bigendian... yes
checking for sqrt in -lm... yes
checking for pathfind in -lgen... yes
checking for gethostbyaddr in -lnsl... yes
checking for socket in -lsocket... yes
checking for nlist in -lelf... yes
checking for ldopen in -lld... no
checking for dlopen in -ldl... yes
checking for shl_findsym in -ldld... no
checking return type of signal handlers... void
checking how to run the C preprocessor... gcc -E
checking for libgen.h... yes
checking for sys/timeb.h... yes
checking for posix/time.h... no
checking for sys/select.h... yes
checking for nlist.h... yes
checking for sys/un.h... yes
checking for strerror... yes
checking for dlopen... yes
checking for gettimeofday... yes
checking for ftime... yes
checking for nlist... yes
checking for select... yes
checking for setitimer... yes
checking for sigaction... yes
checking for socket... yes
checking for chroot... yes
checking for RISC/OS POSIX library lossage... no
checking whether we can use -O2... preset
checking for underscore before symbols... no
checking for n_name... yes
checking for _cnt... yes
checking for tzname... yes
checking for gmtoff... no
checking for const sys_errlist... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating scsh/regexp/Makefile
creating scsh/endian.scm
creating scsh/static.scm
creating sysdep.h
make scshvm PACKAGES=
make[1]: Entering directory `/src/scsh-0.5.3'
gcc -c -o main.o -DDEFAULT_IMAGE_NAME=\"/usr/local/lib/scsh/scsh.image\" \
    -I./cig -I./scsh/regexp -g -O2 ./main.c
gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O2 -o unix.o unix.c
(echo ,bench; \
 echo ,load-package big-scheme; echo ,open big-scheme; \
 echo ,load link/generate-c-header.scm; \
 echo \(make-c-header-file \"scheme48.h\" \
                           \"./vm/arch.scm\" \"./vm/data.scm\"\)) \
| scsh -s-
/bin/sh: scsh: not found
make[1]: *** [scheme48.h] Error 1
make[1]: Leaving directory `/src/scsh-0.5.3'
make: *** [filenames.make] Error 2
+ exit
 
Thanks in advance,
Niels

--
Niels van Dijke - Internet System Specialist
Tactical Product Support IP, Performance & Enhancements
Concert - EMEA Assurance, Amsterdam, The Netherlands
AIM:PerlBoy1967, ICQ:12824880
Mailto: Niels.van.Dijke@Concert.net

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