Hi

I am trying to install OOFEM-1.8 on Solaris. I am facing problem when I compile using "make".

Following is the output from the ./configure and make commands.


abhishek@abhishek-zone$ ./configure OOFEM_TARGET=unopt
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking OOFEM_DIR... /gdzusers/abhishek/oofem-1.8
configuring OOFEM_TARGET=unopt
existing target directory found
target directory configured
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... no
checking whether CC accepts -g... yes
checking how to run the C++ preprocessor... CC -E
checking for a BSD-compatible install... ./install.sh -c
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -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... uname: error in setting name: Not owner

checking OOFEM version... 1.8
configure: creating ./config.status
config.status: creating makefile
config.status: creating targets/unopt/include/oofemdef.h
config.status: creating targets/unopt/makefile
config.status: creating targets/unopt/lib/oofemlib/makefile
config.status: creating targets/unopt/lib/sm/makefile
config.status: creating targets/unopt/lib/tm/makefile
config.status: creating targets/unopt/lib/fm/makefile
config.status: creating targets/unopt/lib/dss/makefile
config.status: creating targets/unopt/lib/main/makefile
config.status: creating tools/makefile
config.status: creating targets/unopt/include/oofemcfg.h
config.status: targets/unopt/include/oofemcfg.h is unchanged

Modules to be included: oofemlib sm tm fm
Target configured: unopt
PROG_NAME: oofem
abhishek@abhishek-zone$ make OOFEM_TARGET=unopt
if [ -d targets/unopt ]; then \
        cd targets/unopt; make OOFEM_TARGET=unopt;\
        echo;\
        echo unopt target done;\
        echo;\
else\
        echo ;\
        echo Error: unopt not configured;\
        echo ;\
fi
make: Fatal error in reader: makefile, line 9: Unexpected end of line seen
Current working directory /gdzusers/abhishek/oofem-1.8/targets/unopt
*** Error code 1
make: Fatal error: Command failed for target `all'



Kindly help me in this regards