Topic: Sub: Error in installing oofem-1.9 with ubuntu 9.04
Hello Sir!
I tried alot to install oofem-1.9(earlier versions also) on my ubuntu 9.04, but wasn't able to do so. As mentioned in the README of oofem, to fulfill the dependencies firstly Ckit & Elixir are needed to installed. I tried alot to install it on my machine but it always gave me error. Various methods were mentioned in the forum, I tried all of them but none of them worked for me. I am getting following errors:
in CKIT:
chetan@chetan:~$ cd Ckit/
chetan@chetan:~/Ckit$ cd src
chetan@chetan:~/Ckit/src$ ls
alistP.c expeval.c install.sh mathP.c skysol.o treeP.c
alistP.o expeval.o junk memoryP.c strfn.c treeP.o
config.cache gaussP.c libckit.a memoryP.o strfn.o vec_base.c
config.guess gaussP.o listP.c miscP.c stringP.c vec_norm.c
config.log getopts.c listP.o scanlP.c timeP.c vec_serv.c
config.status getopts.o Makefile scanlP.o timeP.o vectP.c
config.sub hashP.c Makefile.in skycol.c tokens.c vectP.o
configure hashP.o mallocP.c skycol.o tokens.o vvector.c
configure.in Imakefile mallocP.o skysol.c toks.c
chetan@chetan:~/Ckit/src$ ./configure
loading cache ./config.cache
checking whether make sets $MAKE... yes
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking for ranlib... (cached) ranlib
checking for gcc... yes
checking compile with prototypes... yes (gcc)
checking for unistd.h... yes
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for random... yes
checking for rand... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
chetan@chetan:~/Ckit/src$ make all
make: Nothing to be done for `all'.
chetan@chetan:~/Ckit/src$ make
make: Nothing to be done for `all'.
chetan@chetan:~/Ckit/src$ make install
for i in ../include/*.h; do \
cp $i junk; \
install.sh $i $HOME/include/`basename $i`; \
mv junk $i; \
done; \
install.sh libckit.a $HOME/lib/libckit.a
cp: cannot create regular file `junk': Permission denied
/bin/sh: install.sh: not found
mv: try to overwrite `../include/ScanLP.h', overriding mode 0444 (r--r--r--)? n
cp: cannot create regular file `junk': Permission denied
/bin/sh: install.sh: not found
mv: try to overwrite `../include/alistP.h', overriding mode 0444 (r--r--r--)? ^Cmake: *** [install] Interrupt
chetan@chetan:~/Ckit/src$ sudo make install
[sudo] password for chetan:
for i in ../include/*.h; do \
cp $i junk; \
install.sh $i $HOME/include/`basename $i`; \
mv junk $i; \
done; \
install.sh libckit.a $HOME/lib/libckit.a
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
make: *** [install] Error 127
chetan@chetan:~/Ckit/src$ cls
bash: cls: command not found
chetan@chetan:~/Ckit/src$ clear
chetan@chetan:~/Ckit/src$ sudo ./configure
loading cache ./config.cache
checking whether make sets $MAKE... yes
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking for ranlib... (cached) ranlib
checking for gcc... yes
checking compile with prototypes... yes (gcc)
checking for unistd.h... yes
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for random... yes
checking for rand... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
chetan@chetan:~/Ckit/src$ sudo make all
make: Nothing to be done for `all'.
chetan@chetan:~/Ckit/src$ sudo make install
for i in ../include/*.h; do \
cp $i junk; \
install.sh $i $HOME/include/`basename $i`; \
mv junk $i; \
done; \
install.sh libckit.a $HOME/lib/libckit.a
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
make: *** [install] Error 127
In Elixir:
chetan@chetan:~/Ckit/src$ cd ../../Elixir/src/
chetan@chetan:~/Elixir/src$ sudo ./configure
[sudo] password for chetan:
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 library containing strerror... none required
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for ranlib... ranlib
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... yes
checking compile with prototypes... yes (gcc )
checking for gm4... no
checking for gnum4... no
checking for m4... no
checking for _get_list_next in -lckit... no
checking guess of libckit.a location... ../../Ckit/src
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... yes
checking for unistd.h... yes
checking ckitcfg.h usability... no
checking ckitcfg.h presence... no
checking for ckitcfg.h... no
checking guess of Ckit includes location... ../../Ckit/include
checking Elixir.h usability... no
checking Elixir.h presence... no
checking for Elixir.h... no
checking guess of Elixir includes location... ../include
checking for an ANSI C-conforming const... yes
checking for getcwd... yes
checking for getwd... yes
checking for memcpy... yes
checking for qsort... yes
checking for random... yes
checking for rand... yes
checking for setpwent... yes
checking for strchr... yes
checking for strerror... yes
checking for mkstemp... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XawDialogGetValueString in -lXaw... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ../include/Ecfg.h
config.status: ../include/Ecfg.h is unchanged
chetan@chetan:~/Elixir/src$ sudo make all
make: Nothing to be done for `all'.
chetan@chetan:~/Elixir/src$ sudo make install
for i in ../include/*.h; do \
cp $i junk; \
install.sh $i $HOME/include/`basename $i`; \
mv junk $i; \
done; \
install.sh libelixir.a $HOME/lib/libelixir.a; \
install.sh libesi.a $HOME/lib/libesi.a
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
/bin/sh: install.sh: not found
make: *** [install] Error 127
in oofem:
chetan@chetan:~/Ckit/src$ cd ../../oofem-1.9/
chetan@chetan:~/oofem-1.9$ ls
base config.status doc install.sh src uncrustify.cfg
ChangeLog config.sub do_release makefile targets VERSION
config.guess configure gpl.txt makefile.in tests
config.log configure.in install README tools
chetan@chetan:~/oofem-1.9$ sudo ./install
[sudo] password for chetan:
install: no input file specified
chetan@chetan:~/oofem-1.9$ sudo ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking OOFEM_DIR... /home/chetan/oofem-1.9
OOFEM_TARGET not specified, using default
configuring OOFEM_TARGET=default
existing target directory found
target directory configured
checking for g++... g++
checking for C++ compiler default output file name... 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 g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strncasecmp... yes
checking for access... yes
checking for nearest... no
checking FALSE, TRUE enum/constants... no
checking typedef bool... yes
checking M_PI constant... yes
checking M_LN2 constant... yes
checking STL support... yes
checking Macro __VA_ARGS__ support... yes
checking Function Templates support... yes
checking for sqrt in -lm... yes
checking Determining hostname... chetan
checking OOFEM version... 1.9
configure: creating ./config.status
config.status: creating makefile
config.status: creating targets/default/include/oofemdef.h
config.status: creating targets/default/makefile
config.status: creating targets/default/lib/oofemlib/makefile
config.status: creating targets/default/lib/sm/makefile
config.status: creating targets/default/lib/tm/makefile
config.status: creating targets/default/lib/fm/makefile
config.status: creating targets/default/lib/dss/makefile
config.status: creating targets/default/lib/main/makefile
config.status: creating targets/default/include/oofemcfg.h
config.status: targets/default/include/oofemcfg.h is unchanged
Modules to be included: oofemlib sm tm fm
Target configured: default
PROG_NAME: oofem
Please help me. It's urgent, I have to start my master's thesis on this simultor. please help me.
Chetan Badiger
Master's Student
MNNIT Allahabad, INDIA