Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

make error

Status
Not open for further replies.

mistkhan

Technical User
May 31, 2003
14
0
0
IN
Hi All

I was installing SWIG on Solaris 8. When I execute the command "make install" I am getting the following error.
*** Error code 2
make: Fatal error: Command failed for target `install-lib'
Can anybody help me in solving this issue

Thanking you in advance
Regards
Aman

Below is the copy of the whole procedure

bash-2.03# ./configure --with-clconfig=/usr/local/tcl84/lib/
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for a BSD-compatible install... Tools/config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
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 suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc
checking for bison... no
checking for byacc... no
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking for ar... ar
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking SO... .so
checking LDSHARED... ld -G
checking CXXSHARED... ld -G
checking TRYLINKINGWITHCXX... CXXSHARED= g++ -Wl,-G
checking CCSHARED...
checking RPATH... -R. -R$(exec_prefix)/lib
checking LINKFORSHARED...

Checking for installed packages.
Note : None of the following packages are required to compile SWIG

checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for swill_init in -lswill... no
checking for main in -lieee... no
checking for crypt in -lcrypt... yes
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking for Tcl configuration... found /usr/local/tcl84/lib/tclConfig.sh
checking for Tcl header files... -I/usr/local/tcl84/include
checking for Tcl library... -L/usr/local/tcl84/lib -ltcl8.4${TCL_DBGX}
checking for python... no
checking for python2.4... no
checking for python2.3... no
checking for python2.2... no
checking for python2.1... no
checking for python2.0... no
checking for python1.6... no
checking for python1.5... no
checking for python1.4... no
checking for python... no
checking for perl... perl
checking for Perl5 header files... /usr/perl5/5.00503/sun4-solaris/CORE
checking for Perl5 library... perl.so
checking for Perl5 compiler options... not found
checking for java... java
checking for javac... javac
checking for java include file jni.h... /usr/java/include
checking for java include file jni_md.h... /usr/java/include/solaris
checking for guile-config... no
checking for mzc... no
checking for ruby... no
checking for Ruby header files... could not figure out how to run ruby
checking for php... no
checking for PHP4 header files... not found
checking for Ocaml DL load generator... checking for ocamldlgen... no
checking for Ocaml package tool... checking for ocamlfind... no
checking for Ocaml compiler... checking for ocamlc... no
checking for Ocaml interpreter... checking for ocaml... no
checking for Ocaml toplevel creator... checking for ocamlmktop... no
checking for Ocaml header files... not found
checking for pike... no
checking for Pike header files... not found
checking for chicken... no
checking for chicken-config... no
checking for ilrun... no
checking for mono... no
checking for cscc... no
checking for mcs... mcs
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Source/Makefile
config.status: creating Runtime/Makefile
config.status: creating Examples/Makefile
config.status: creating Examples/guile/Makefile
config.status: creating Examples/GIFPlot/Makefile
config.status: creating Examples/GIFPlot/Lib/Makefile
config.status: creating Source/Include/swigconfig.h
config.status: Source/Include/swigconfig.h is unchanged
config.status: executing depfiles commands
configure: configuring in Tools
configure: running /bin/bash './configure' --prefix=/usr/local '--with-tclconfig=/usr/local/tcl84/lib/' --cache-file=/dev/null --srcdir=.
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
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 suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking for a sed that does not truncate output... /usr/xpg4/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
*** create self contained shared libraries on Solaris systems, without
*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
*** -no-undefined support, which will at least allow you to build shared
*** libraries. However, you may find that when you link such libraries
*** into an application without using GCC, you have to manually add
*** `gcc --print-libgcc-file-name` to the link command. We urge you to
*** upgrade to a newer version of GCC. Another option is to rebuild your
*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.

yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
configure: creating ./config.status
bash-2.03# make
make all-am
cp eswig ../swig
rm -f swigtcl8.c
cat ./../Lib/common.swg ./../Lib/tcl/swigtcl8.swg >> swigtcl8.c
../Tools/libtool gcc -c -I/usr/local/tcl84/include -DSWIG_GLOBAL swigtcl8.c
rm -f .libs/swigtcl8.lo
gcc -c -I/usr/local/tcl84/include -DSWIG_GLOBAL swigtcl8.c -fPIC -DPIC -o .libs/swigtcl8.lo
gcc -c -I/usr/local/tcl84/include -DSWIG_GLOBAL swigtcl8.c -o swigtcl8.o >/dev/null 2>&1
mv -f .libs/swigtcl8.lo swigtcl8.lo
../Tools/libtool gcc -o libswigtcl8.la swigtcl8.lo -rpath /usr/local/lib -avoid-version
rm -fr .libs/libswigtcl8.la .libs/libswigtcl8.* .libs/libswigtcl8.*
/usr/ccs/bin/ld -G -h libswigtcl8.so -o .libs/libswigtcl8.so swigtcl8.lo -lc
ar cru .libs/libswigtcl8.a swigtcl8.o
ranlib .libs/libswigtcl8.a
creating libswigtcl8.la
(cd .libs && rm -f libswigtcl8.la && ln -s ../libswigtcl8.la libswigtcl8.la)
config.status: creating swig.spec
config.status: executing depfiles commands
`swig' is up to date.

bash-2.03# make install
bash-2.03# make install
Installing SWIG executable
Installing /usr/local/bin/swig
Installing the SWIG library
Installing /usr/local/lib/swig1.3/_std_deque.i
Installing /usr/local/lib/swig1.3/carrays.i
Installing /usr/local/lib/swig1.3/cdata.i
Installing /usr/local/lib/swig1.3/cmalloc.i
Installing /usr/local/lib/swig1.3/constraints.i
Installing /usr/local/lib/swig1.3/cpointer.i
Installing /usr/local/lib/swig1.3/cstring.i
Installing /usr/local/lib/swig1.3/exception.i
Installing /usr/local/lib/swig1.3/math.i
Installing /usr/local/lib/swig1.3/pointer.i
Installing /usr/local/lib/swig1.3/std_deque.i
Installing /usr/local/lib/swig1.3/stl.i
Installing /usr/local/lib/swig1.3/common.swg
Installing /usr/local/lib/swig1.3/swig.swg
Installing /usr/local/lib/swig1.3/tcl/cstring.i
Installing /usr/local/lib/swig1.3/tcl/std_map.i
Installing /usr/local/lib/swig1.3/tcl/std_string.i
Installing /usr/local/lib/swig1.3/tcl/std_vector.i
Installing /usr/local/lib/swig1.3/tcl/tclsh.i
Installing /usr/local/lib/swig1.3/tcl/typemaps.i
Installing /usr/local/lib/swig1.3/tcl/wish.i
Installing /usr/local/lib/swig1.3/tcl/swigtcl8.swg
Installing /usr/local/lib/swig1.3/tcl/tcl8.swg
Installing /usr/local/lib/swig1.3/perl5/perlmain.i
Installing /usr/local/lib/swig1.3/perl5/std_map.i
Installing /usr/local/lib/swig1.3/perl5/std_string.i
Installing /usr/local/lib/swig1.3/perl5/std_vector.i
Installing /usr/local/lib/swig1.3/perl5/typemaps.i
Installing /usr/local/lib/swig1.3/perl5/perl5.swg
Installing /usr/local/lib/swig1.3/perl5/perlrun.swg
Installing /usr/local/lib/swig1.3/perl5/Makefile.pl
Installing /usr/local/lib/swig1.3/perl5/noembed.h
Installing /usr/local/lib/swig1.3/python/cstring.i
Installing /usr/local/lib/swig1.3/python/embed.i
Installing /usr/local/lib/swig1.3/python/embed15.i
Installing /usr/local/lib/swig1.3/python/fragments.i
Installing /usr/local/lib/swig1.3/python/std_common.i
Installing /usr/local/lib/swig1.3/python/std_complex.i
Installing /usr/local/lib/swig1.3/python/std_deque.i
Installing /usr/local/lib/swig1.3/python/std_list.i
Installing /usr/local/lib/swig1.3/python/std_map.i
Installing /usr/local/lib/swig1.3/python/std_string.i
Installing /usr/local/lib/swig1.3/python/std_vector.i
Installing /usr/local/lib/swig1.3/python/typemaps.i
Installing /usr/local/lib/swig1.3/python/defarg.swg
Installing /usr/local/lib/swig1.3/python/director.swg
Installing /usr/local/lib/swig1.3/python/pyrun.swg
Installing /usr/local/lib/swig1.3/python/python.swg
Installing /usr/local/lib/swig1.3/guile/cplusplus.i
Installing /usr/local/lib/swig1.3/guile/guile.i
Installing /usr/local/lib/swig1.3/guile/guilemain.i
Installing /usr/local/lib/swig1.3/guile/interpreter.i
Installing /usr/local/lib/swig1.3/guile/list-vector.i
Installing /usr/local/lib/swig1.3/guile/pointer-in-out.i
Installing /usr/local/lib/swig1.3/guile/ports.i
Installing /usr/local/lib/swig1.3/guile/std_common.i
Installing /usr/local/lib/swig1.3/guile/std_map.i
Installing /usr/local/lib/swig1.3/guile/std_string.i
Installing /usr/local/lib/swig1.3/guile/std_vector.i
Installing /usr/local/lib/swig1.3/guile/typemaps.i
Installing /usr/local/lib/swig1.3/guile/guile.swg
Installing /usr/local/lib/swig1.3/guile/guiledec.swg
Installing /usr/local/lib/swig1.3/java/arrays_java.i
Installing /usr/local/lib/swig1.3/java/std_map.i
Installing /usr/local/lib/swig1.3/java/std_string.i
Installing /usr/local/lib/swig1.3/java/std_vector.i
Installing /usr/local/lib/swig1.3/java/typemaps.i
Installing /usr/local/lib/swig1.3/java/various.i
Installing /usr/local/lib/swig1.3/java/java.swg
Installing /usr/local/lib/swig1.3/java/javahead.swg
Installing /usr/local/lib/swig1.3/mzscheme/mzscheme.i
Installing /usr/local/lib/swig1.3/mzscheme/std_common.i
Installing /usr/local/lib/swig1.3/mzscheme/std_map.i
Installing /usr/local/lib/swig1.3/mzscheme/std_string.i
Installing /usr/local/lib/swig1.3/mzscheme/std_vector.i
Installing /usr/local/lib/swig1.3/mzscheme/typemaps.i
Installing /usr/local/lib/swig1.3/mzscheme/mzscheme.swg
Installing /usr/local/lib/swig1.3/mzscheme/mzschemedec.swg
Installing /usr/local/lib/swig1.3/ruby/embed.i
Installing /usr/local/lib/swig1.3/ruby/fragments.i
Installing /usr/local/lib/swig1.3/ruby/std_common.i
Installing /usr/local/lib/swig1.3/ruby/std_deque.i
Installing /usr/local/lib/swig1.3/ruby/std_map.i
Installing /usr/local/lib/swig1.3/ruby/std_string.i
Installing /usr/local/lib/swig1.3/ruby/std_vector.i
Installing /usr/local/lib/swig1.3/ruby/typemaps.i
Installing /usr/local/lib/swig1.3/ruby/ruby.swg
Installing /usr/local/lib/swig1.3/ruby/rubydec.swg
Installing /usr/local/lib/swig1.3/ruby/rubydef.swg
Installing /usr/local/lib/swig1.3/ruby/rubyhead.swg
Installing /usr/local/lib/swig1.3/ruby/Makefile.swig
Installing /usr/local/lib/swig1.3/ruby/extconf.rb
Installing /usr/local/lib/swig1.3/php4/std_map.i
Installing /usr/local/lib/swig1.3/php4/std_string.i
Installing /usr/local/lib/swig1.3/php4/std_vector.i
Installing /usr/local/lib/swig1.3/php4/typemaps.i
Installing /usr/local/lib/swig1.3/php4/utils.i
Installing /usr/local/lib/swig1.3/php4/php4.swg
Installing /usr/local/lib/swig1.3/php4/php4run.swg
Installing /usr/local/lib/swig1.3/ocaml/carray.i
Installing /usr/local/lib/swig1.3/ocaml/cstring.i
Installing /usr/local/lib/swig1.3/ocaml/ocaml.i
Installing /usr/local/lib/swig1.3/ocaml/std_common.i
Installing /usr/local/lib/swig1.3/ocaml/std_complex.i
Installing /usr/local/lib/swig1.3/ocaml/std_deque.i
Installing /usr/local/lib/swig1.3/ocaml/std_list.i
Installing /usr/local/lib/swig1.3/ocaml/std_map.i
Installing /usr/local/lib/swig1.3/ocaml/std_string.i
Installing /usr/local/lib/swig1.3/ocaml/std_vector.i
Installing /usr/local/lib/swig1.3/ocaml/typecheck.i
Installing /usr/local/lib/swig1.3/ocaml/typemaps.i
Installing /usr/local/lib/swig1.3/ocaml/director.swg
Installing /usr/local/lib/swig1.3/ocaml/libswigocaml.swg
Installing /usr/local/lib/swig1.3/ocaml/mlheading.swg
Installing /usr/local/lib/swig1.3/ocaml/mliheading.swg
Installing /usr/local/lib/swig1.3/ocaml/ocaml.swg
Installing /usr/local/lib/swig1.3/ocaml/ocamldec.swg
Installing /usr/local/lib/swig1.3/ocaml/typeregister.swg
Installing /usr/local/lib/swig1.3/ocaml/libswigocaml.h
*** Error code 2
make: Fatal error: Command failed for target `install-lib'
 
Error 2 is 'file not found'. Maybe either /usr/local/lib/swig1.3/ocaml/libswigocaml.h
does not exist, or perhaps the programme that is used to install it.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top