Topic: Installation of oofem 2.1

Hey,

I am new to OOFEM and i am having some trouble installing this package.. I followed the sequence as instructed by this website                                    ( http://www.oofem.org/wiki/doku.php?id=installation )...

However, I am not able to run make to compile the required targets as make OOFEM_TARGET="target_name".... the error displayed is target_name not configured

The config.log file looks like the following

$ ./configure OOFEM_TARGET=oofem-release --enable-dss --enable-iml CXXFLAGS=-02

## --------- ##
## Platform. ##
## --------- ##

hostname = nvrk-HCL-Infosystems-Limited-BIOS-For-GA-X48-DS4
uname -m = i686
uname -r = 2.6.38-13-generic
uname -s = Linux
uname -v = #52-Ubuntu SMP Tue Nov 8 16:48:07 UTC 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2229: checking build system type
configure:2243: result: i686-pc-linux-gnu
configure:2263: checking host system type
configure:2276: result: i686-pc-linux-gnu
configure:2301: checking OOFEM_DIR
configure:2308: result: /home/nvrk/Desktop/OOF/oofem-2.1
configure:2405: checking for g++
configure:2421: found /usr/bin/g++
configure:2432: result: g++
configure:2459: checking for C++ compiler version
configure:2468: g++ --version >&5
g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2479: $? = 0
configure:2468: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/i386-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
configure:2479: $? = 0
configure:2468: g++ -V >&5
g++: '-V' option must have argument
configure:2479: $? = 1
configure:2468: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:2479: $? = 1
configure:2499: checking whether the C++ compiler works
configure:2521: g++ -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:2525: $? = 0
configure:2574: result: yes
configure:2577: checking for C++ compiler default output file name
configure:2579: result: a.out
configure:2585: checking for suffix of executables
configure:2592: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:2596: $? = 0
configure:2618: result:
configure:2640: checking whether we are cross compiling
configure:2648: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:2652: $? = 0
configure:2659: ./conftest
configure:2663: $? = 0
configure:2678: result: no
configure:2683: checking for suffix of object files
configure:2705: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:2709: $? = 0
configure:2730: result: o
configure:2734: checking whether we are using the GNU C++ compiler
configure:2753: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:2753: $? = 0
configure:2762: result: yes
configure:2771: checking whether g++ accepts -g
configure:2791: g++ -c -g  conftest.cpp >&5
configure:2791: $? = 0
configure:2832: result: yes
configure:2860: checking how to run the C++ preprocessor
configure:2887: g++ -E  conftest.cpp
configure:2887: $? = 0
configure:2901: g++ -E  conftest.cpp
conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:2901: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2926: result: g++ -E
configure:2946: g++ -E  conftest.cpp
configure:2946: $? = 0
configure:2960: g++ -E  conftest.cpp
conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:2960: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3008: checking for a BSD-compatible install
configure:3076: result: /usr/bin/install -c
configure:3130: checking for ranlib
configure:3146: found /usr/bin/ranlib
configure:3157: result: ranlib
configure:3179: checking whether make sets $(MAKE)
configure:3201: result: yes
configure:3214: checking for grep that handles long lines and -e
configure:3272: result: /bin/grep
configure:3277: checking for egrep
configure:3339: result: /bin/grep -E
configure:3344: checking for ANSI C header files
configure:3364: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3364: $? = 0
configure:3437: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:3437: $? = 0
configure:3437: ./conftest
configure:3437: $? = 0
configure:3448: result: yes
configure:3461: checking for sys/types.h
configure:3461: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for sys/stat.h
configure:3461: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for stdlib.h
configure:3461: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for string.h
configure:3461: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for memory.h
configure:3461: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for strings.h
configure:3461: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for inttypes.h
configure:3461: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for stdint.h
configure:3461: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for unistd.h
configure:3461: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3461: $? = 0
configure:3461: result: yes
configure:3477: checking limits.h usability
configure:3477: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking limits.h presence
configure:3477: g++ -E  conftest.cpp
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking for limits.h
configure:3477: result: yes
configure:3477: checking malloc.h usability
configure:3477: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking malloc.h presence
configure:3477: g++ -E  conftest.cpp
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking for malloc.h
configure:3477: result: yes
configure:3477: checking for strings.h
configure:3477: result: yes
configure:3477: checking for unistd.h
configure:3477: result: yes
configure:3477: checking sys/time.h usability
configure:3477: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking sys/time.h presence
configure:3477: g++ -E  conftest.cpp
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking for sys/time.h
configure:3477: result: yes
configure:3477: checking sys/resource.h usability
configure:3477: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking sys/resource.h presence
configure:3477: g++ -E  conftest.cpp
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking for sys/resource.h
configure:3477: result: yes
configure:3489: checking whether time.h and sys/time.h may both be included
configure:3509: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3509: $? = 0
configure:3516: result: yes
configure:3528: checking for strstr
configure:3528: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:3528: $? = 0
configure:3528: result: yes
configure:3528: checking for strtod
configure:3528: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:3528: $? = 0
configure:3528: result: yes
configure:3528: checking for strtol
configure:3528: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:3528: $? = 0
configure:3528: result: yes
configure:3528: checking for strncasecmp
configure:3528: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:3528: $? = 0
configure:3528: result: yes
configure:3528: checking for access
configure:3528: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:3528: $? = 0
configure:3528: result: yes
configure:3541: checking for nearest
configure:3541: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
/tmp/ccv9lIbU.o: In function `main':
conftest.cpp:(.text+0x7): undefined reference to `nearest'
collect2: ld returned 1 exit status
configure:3541: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOD 1
| #define HAVE_STRTOL 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_ACCESS 1
| /* end confdefs.h.  */
| /* Define nearest to an innocuous variant, in case <limits.h> declares nearest.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define nearest innocuous_nearest
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char nearest (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef nearest
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char nearest ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_nearest || defined __stub___nearest
| choke me
| #endif
|
| int
| main ()
| {
| return nearest ();
|   ;
|   return 0;
| }
configure:3541: result: no
configure:3552: checking for cbrt
configure:3552: g++ -o conftest -02   conftest.cpp  >&5
g++: unrecognized option '-02'
configure:3552: $? = 0
configure:3552: result: yes
configure:3562: checking FALSE, TRUE enum/constants
configure:3575: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
conftest.cpp: In function 'int main()':
conftest.cpp:36:15: error: 'FALSE' was not declared in this scope
conftest.cpp:36:34: error: 'TRUE' was not declared in this scope
configure:3575: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOD 1
| #define HAVE_STRTOL 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_ACCESS 1
| #define HAVE_CBRT 1
| /* end confdefs.h.  */
| #include<stdio.h>
| int
| main ()
| {
| if (1) return FALSE; else return TRUE;
|   ;
|   return 0;
| }
configure:3585: result: no
configure:3591: checking typedef bool
configure:3604: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3604: $? = 0
configure:3606: result: yes
configure:3619: checking M_PI constant
configure:3632: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3632: $? = 0
configure:3634: result: yes
configure:3648: checking M_LN2 constant
configure:3661: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3661: $? = 0
configure:3663: result: yes
configure:3677: checking STL support
configure:3690: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3690: $? = 0
configure:3692: result: yes
configure:3705: checking Macro __VA_ARGS__ support
configure:3723: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3723: $? = 0
configure:3725: result: yes
configure:3739: checking Function Templates support
configure:3766: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3766: $? = 0
configure:3768: result: yes
configure:3779: checking Variable array size declaration
configure:3796: g++ -c -02  conftest.cpp >&5
g++: unrecognized option '-02'
configure:3796: $? = 0
configure:3798: result: yes
configure:4054: checking for sqrt in -lm
configure:4079: g++ -o conftest -02   conftest.cpp -lm   >&5
g++: unrecognized option '-02'
configure:4079: $? = 0
configure:4088: result: yes
configure:4121: checking IML module location

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value=-02
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OOFEM_DIR_set=
ac_cv_env_OOFEM_DIR_value=
ac_cv_env_OOFEM_TARGET_set=set
ac_cv_env_OOFEM_TARGET_value=oofem-release
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_access=yes
ac_cv_func_cbrt=yes
ac_cv_func_nearest=no
ac_cv_func_strncasecmp=yes
ac_cv_func_strstr=yes
ac_cv_func_strtod=yes
ac_cv_func_strtol=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_m_sqrt=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

CFLAGS=''
CKIT_INCLUDES=''
CKIT_LIB=''
CPPFLAGS=''
CXX='g++'
CXXCPP='g++ -E'
CXXFLAGS='-02'
DEFS=''
DSS_DIR=''
DSS_INCLUDES=''
DSS_MODULE_SYMBOL=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ELIXIR_INCLUDES=''
ELIXIR_LIBS=''
EXEEXT=''
FM_INCLUDES=''
GREP='/bin/grep'
HOST_NAME=''
IML_INCLUDES=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS='-lm '
LOCAL_LIBS=''
LTLIBOBJS=''
MODULE_INCLUDES=''
MODULE_LIST=''
MODULE_SYMBOLS='-D__OOFEM'
MODULE_TOBUILD=''
MPI_INCLUDES=''
OBJEXT='o'
OOFEG_DIRECTIVES=''
OOFEMLIB_INCLUDES=''
OOFEMLIB_SUBMODULE_INCLUDES=''
OOFEM_DIR='/home/nvrk/Desktop/OOF/oofem-2.1'
OOFEM_LIBS=''
OOFEM_TARGET='oofem-release'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PARMETIS_INCLUDES=''
PARMETIS_LIB=''
PATH_SEPARATOR=':'
PETSC_ARCH=''
PETSC_BOPT=''
PETSC_DIR=''
PETSC_INCLUDES=''
PETSC_MAKE_INCLUDE=''
PROG_NAME='oofem'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
SLEPC_DIR=''
SLEPC_INCLUDES=''
SLEPC_MAKE_INCLUDE=''
SM_INCLUDES=''
SPOOLES_DIR=''
SPOOLES_INCLUDES=''
SPOOLES_MODULE_SYMBOL=''
TARGET_CONFIG_INCLUDES=''
TEST_TARGETS=''
TINYXML_DIR=''
TINYXML_INCLUDES=''
TM_INCLUDES=''
VERSION=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
srcdir='.'
sysconfdir='${prefix}/etc'
target_alias=''
top_srcdir=''
x_includes='NONE'
x_libraries='NONE'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_LIMITS_H 1
#define HAVE_MALLOC_H 1
#define HAVE_STRINGS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_RESOURCE_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_STRSTR 1
#define HAVE_STRTOD 1
#define HAVE_STRTOL 1
#define HAVE_STRNCASECMP 1
#define HAVE_ACCESS 1
#define HAVE_CBRT 1
#define HAVE_BOOLTYPE /**/
#define HAVE_M_PI /**/
#define HAVE_M_LN2 /**/
#define HAVE_MACRO_VA_ARGS /**/
#define HAVE_VARIABLE_ARRAY_SIZE /**/
#define HAVE_LIBM 1

configure: caught signal 2
configure: exit 1


Also i am not able to create a make.log when i run the make clean file..

Please help me out on this...

Re: Installation of oofem 2.1

You wrote
CXXFLAGS=-02
notice that is says zero-two
Should be
-O2

Re: Installation of oofem 2.1

Thanks for your reply... I rectified my error and reconfigured it.. I am however, still facing some issues...

My config.log files looks like the following...




  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = nvrk-HCL-Infosystems-Limited-BIOS-For-GA-X48-DS4
uname -m = i686
uname -r = 2.6.38-13-generic
uname -s = Linux
uname -v = #52-Ubuntu SMP Tue Nov 8 16:48:07 UTC 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2229: checking build system type
configure:2243: result: i686-pc-linux-gnu
configure:2263: checking host system type
configure:2276: result: i686-pc-linux-gnu
configure:2301: checking OOFEM_DIR
configure:2308: result: /home/nvrk/Desktop/OOF/oofem-2.1
configure:2405: checking for g++
configure:2421: found /usr/bin/g++
configure:2432: result: g++
configure:2459: checking for C++ compiler version
configure:2468: g++ --version >&5
g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2479: $? = 0
configure:2468: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/i386-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
configure:2479: $? = 0
configure:2468: g++ -V >&5
g++: '-V' option must have argument
configure:2479: $? = 1
configure:2468: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:2479: $? = 1
configure:2499: checking whether the C++ compiler works
configure:2521: g++    conftest.cpp  >&5
configure:2525: $? = 0
configure:2574: result: yes
configure:2577: checking for C++ compiler default output file name
configure:2579: result: a.out
configure:2585: checking for suffix of executables
configure:2592: g++ -o conftest    conftest.cpp  >&5
configure:2596: $? = 0
configure:2618: result:
configure:2640: checking whether we are cross compiling
configure:2648: g++ -o conftest    conftest.cpp  >&5
configure:2652: $? = 0
configure:2659: ./conftest
configure:2663: $? = 0
configure:2678: result: no
configure:2683: checking for suffix of object files
configure:2705: g++ -c   conftest.cpp >&5
configure:2709: $? = 0
configure:2730: result: o
configure:2734: checking whether we are using the GNU C++ compiler
configure:2753: g++ -c   conftest.cpp >&5
configure:2753: $? = 0
configure:2762: result: yes
configure:2771: checking whether g++ accepts -g
configure:2791: g++ -c -g  conftest.cpp >&5
configure:2791: $? = 0
configure:2832: result: yes
configure:2860: checking how to run the C++ preprocessor
configure:2887: g++ -E  conftest.cpp
configure:2887: $? = 0
configure:2901: g++ -E  conftest.cpp
conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:2901: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2926: result: g++ -E
configure:2946: g++ -E  conftest.cpp
configure:2946: $? = 0
configure:2960: g++ -E  conftest.cpp
conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:2960: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3008: checking for a BSD-compatible install
configure:3076: result: /usr/bin/install -c
configure:3130: checking for ranlib
configure:3146: found /usr/bin/ranlib
configure:3157: result: ranlib
configure:3179: checking whether make sets $(MAKE)
configure:3201: result: yes
configure:3214: checking for grep that handles long lines and -e
configure:3272: result: /bin/grep
configure:3277: checking for egrep
configure:3339: result: /bin/grep -E
configure:3344: checking for ANSI C header files
configure:3364: g++ -c -g -O2  conftest.cpp >&5
configure:3364: $? = 0
configure:3437: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:3437: $? = 0
configure:3437: ./conftest
configure:3437: $? = 0
configure:3448: result: yes
configure:3461: checking for sys/types.h
configure:3461: g++ -c -g -O2  conftest.cpp >&5
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for sys/stat.h
configure:3461: g++ -c -g -O2  conftest.cpp >&5
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for stdlib.h
configure:3461: g++ -c -g -O2  conftest.cpp >&5
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for string.h
configure:3461: g++ -c -g -O2  conftest.cpp >&5
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for memory.h
configure:3461: g++ -c -g -O2  conftest.cpp >&5
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for strings.h
configure:3461: g++ -c -g -O2  conftest.cpp >&5
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for inttypes.h
configure:3461: g++ -c -g -O2  conftest.cpp >&5
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for stdint.h
configure:3461: g++ -c -g -O2  conftest.cpp >&5
configure:3461: $? = 0
configure:3461: result: yes
configure:3461: checking for unistd.h
configure:3461: g++ -c -g -O2  conftest.cpp >&5
configure:3461: $? = 0
configure:3461: result: yes
configure:3477: checking limits.h usability
configure:3477: g++ -c -g -O2  conftest.cpp >&5
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking limits.h presence
configure:3477: g++ -E  conftest.cpp
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking for limits.h
configure:3477: result: yes
configure:3477: checking malloc.h usability
configure:3477: g++ -c -g -O2  conftest.cpp >&5
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking malloc.h presence
configure:3477: g++ -E  conftest.cpp
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking for malloc.h
configure:3477: result: yes
configure:3477: checking for strings.h
configure:3477: result: yes
configure:3477: checking for unistd.h
configure:3477: result: yes
configure:3477: checking sys/time.h usability
configure:3477: g++ -c -g -O2  conftest.cpp >&5
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking sys/time.h presence
configure:3477: g++ -E  conftest.cpp
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking for sys/time.h
configure:3477: result: yes
configure:3477: checking sys/resource.h usability
configure:3477: g++ -c -g -O2  conftest.cpp >&5
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking sys/resource.h presence
configure:3477: g++ -E  conftest.cpp
configure:3477: $? = 0
configure:3477: result: yes
configure:3477: checking for sys/resource.h
configure:3477: result: yes
configure:3489: checking whether time.h and sys/time.h may both be included
configure:3509: g++ -c -g -O2  conftest.cpp >&5
configure:3509: $? = 0
configure:3516: result: yes
configure:3528: checking for strstr
configure:3528: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:3528: $? = 0
configure:3528: result: yes
configure:3528: checking for strtod
configure:3528: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:3528: $? = 0
configure:3528: result: yes
configure:3528: checking for strtol
configure:3528: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:3528: $? = 0
configure:3528: result: yes
configure:3528: checking for strncasecmp
configure:3528: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:3528: $? = 0
configure:3528: result: yes
configure:3528: checking for access
configure:3528: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:3528: $? = 0
configure:3528: result: yes
configure:3541: checking for nearest
configure:3541: g++ -o conftest -g -O2   conftest.cpp  >&5
/tmp/ccZ0z7bf.o: In function `main':
/home/nvrk/Desktop/OOF/oofem-2.1/conftest.cpp:65: undefined reference to `nearest'
collect2: ld returned 1 exit status
configure:3541: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOD 1
| #define HAVE_STRTOL 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_ACCESS 1
| /* end confdefs.h.  */
| /* Define nearest to an innocuous variant, in case <limits.h> declares nearest.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define nearest innocuous_nearest
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char nearest (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef nearest
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char nearest ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_nearest || defined __stub___nearest
| choke me
| #endif
|
| int
| main ()
| {
| return nearest ();
|   ;
|   return 0;
| }
configure:3541: result: no
configure:3552: checking for cbrt
configure:3552: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:3552: $? = 0
configure:3552: result: yes
configure:3562: checking FALSE, TRUE enum/constants
configure:3575: g++ -c -g -O2  conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:36:15: error: 'FALSE' was not declared in this scope
conftest.cpp:36:34: error: 'TRUE' was not declared in this scope
configure:3575: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOD 1
| #define HAVE_STRTOL 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_ACCESS 1
| #define HAVE_CBRT 1
| /* end confdefs.h.  */
| #include<stdio.h>
| int
| main ()
| {
| if (1) return FALSE; else return TRUE;
|   ;
|   return 0;
| }
configure:3585: result: no
configure:3591: checking typedef bool
configure:3604: g++ -c -g -O2  conftest.cpp >&5
configure:3604: $? = 0
configure:3606: result: yes
configure:3619: checking M_PI constant
configure:3632: g++ -c -g -O2  conftest.cpp >&5
configure:3632: $? = 0
configure:3634: result: yes
configure:3648: checking M_LN2 constant
configure:3661: g++ -c -g -O2  conftest.cpp >&5
configure:3661: $? = 0
configure:3663: result: yes
configure:3677: checking STL support
configure:3690: g++ -c -g -O2  conftest.cpp >&5
configure:3690: $? = 0
configure:3692: result: yes
configure:3705: checking Macro __VA_ARGS__ support
configure:3723: g++ -c -g -O2  conftest.cpp >&5
configure:3723: $? = 0
configure:3725: result: yes
configure:3739: checking Function Templates support
configure:3766: g++ -c -g -O2  conftest.cpp >&5
configure:3766: $? = 0
configure:3768: result: yes
configure:3779: checking Variable array size declaration
configure:3796: g++ -c -g -O2  conftest.cpp >&5
configure:3796: $? = 0
configure:3798: result: yes
configure:4054: checking for sqrt in -lm
configure:4079: g++ -o conftest -g -O2   conftest.cpp -lm   >&5
configure:4079: $? = 0
configure:4088: result: yes
configure:5589: checking TINYXML module location
configure:5592: result: /home/nvrk/Desktop/OOF/oofem-2.1/tinyxml
configure:5664: checking Determining hostname
configure:5667: result: nvrk-HCL-Infosystems-Limited-BIOS-For-GA-X48-DS4
configure:5670: checking OOFEM version
configure:5673: result: 2.1
configure:5849: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on nvrk-HCL-Infosystems-Limited-BIOS-For-GA-X48-DS4

config.status:900: creating makefile
config.status:900: creating targets/target_name/include/oofemdef.h
config.status:900: creating targets/target_name/makefile
config.status:900: creating targets/target_name/lib/oofemlib/makefile
config.status:900: creating targets/target_name/lib/sm/makefile
config.status:900: creating targets/target_name/lib/tm/makefile
config.status:900: creating targets/target_name/lib/fm/makefile
config.status:900: creating targets/target_name/lib/dss/makefile
config.status:900: creating targets/target_name/lib/main/makefile
config.status:900: creating targets/target_name/include/oofemcfg.h
config.status:1066: targets/target_name/include/oofemcfg.h is unchanged

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OOFEM_DIR_set=
ac_cv_env_OOFEM_DIR_value=
ac_cv_env_OOFEM_TARGET_set=set
ac_cv_env_OOFEM_TARGET_value=target_name
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_access=yes
ac_cv_func_cbrt=yes
ac_cv_func_nearest=no
ac_cv_func_strncasecmp=yes
ac_cv_func_strstr=yes
ac_cv_func_strtod=yes
ac_cv_func_strtol=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_m_sqrt=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

CFLAGS=''
CKIT_INCLUDES=''
CKIT_LIB=''
CPPFLAGS=''
CXX='g++'
CXXCPP='g++ -E'
CXXFLAGS='-O'
DEFS='-DHAVE_CONFIG_H'
DSS_DIR=''
DSS_INCLUDES=''
DSS_MODULE_SYMBOL=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ELIXIR_INCLUDES=''
ELIXIR_LIBS=''
EXEEXT=''
FM_INCLUDES='-I/home/nvrk/Desktop/OOF/oofem-2.1/src/fm -I/home/nvrk/Desktop/OOF/oofem-2.1/src/fm/pfem'
GREP='/bin/grep'
HOST_NAME='nvrk-HCL-Infosystems-Limited-BIOS-For-GA-X48-DS4'
IML_INCLUDES=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS='-lm '
LOCAL_LIBS=''
LTLIBOBJS=''
MODULE_INCLUDES='-I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib -I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib/xfem -I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib/iga -I/home/nvrk/Desktop/OOF/oofem-2.1/src/tm/cemhyd -I/home/nvrk/Desktop/OOF/oofem-2.1/src/sm -I/home/nvrk/Desktop/OOF/oofem-2.1/src/tm -I/home/nvrk/Desktop/OOF/oofem-2.1/src/fm -I/home/nvrk/Desktop/OOF/oofem-2.1/src/fm/pfem '
MODULE_LIST='oofemlib sm tm fm tinyxml'
MODULE_SYMBOLS='-D__OOFEM -D__OOFEMLIB_MODULE -D__SM_MODULE -D__TM_MODULE -D__CEMHYD_MODULE -D__FM_MODULE -D__TINYXML_MODULE -DTIXML_USE_STL'
MODULE_TOBUILD='oofemlib sm tm fm'
MPI_INCLUDES=''
OBJEXT='o'
OOFEG_DIRECTIVES=''
OOFEMLIB_INCLUDES='-I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib -I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib/xfem -I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib/iga -I/home/nvrk/Desktop/OOF/oofem-2.1/src/tm/cemhyd'
OOFEMLIB_SUBMODULE_INCLUDES='-I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib/xfem -I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib/iga -I/home/nvrk/Desktop/OOF/oofem-2.1/src/tm/cemhyd'
OOFEM_DIR='/home/nvrk/Desktop/OOF/oofem-2.1'
OOFEM_LIBS='/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/fm/fmlib.a /home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/tm/tmlib.a /home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/sm/smlib.a /home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/oofemlib/oofemlib.a'
OOFEM_TARGET='target_name'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PARMETIS_INCLUDES=''
PARMETIS_LIB=''
PATH_SEPARATOR=':'
PETSC_ARCH=''
PETSC_BOPT=''
PETSC_DIR=''
PETSC_INCLUDES=''
PETSC_MAKE_INCLUDE=''
PROG_NAME='oofem'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
SLEPC_DIR=''
SLEPC_INCLUDES=''
SLEPC_MAKE_INCLUDE=''
SM_INCLUDES='-I/home/nvrk/Desktop/OOF/oofem-2.1/src/sm'
SPOOLES_DIR=''
SPOOLES_INCLUDES=''
SPOOLES_MODULE_SYMBOL=''
TARGET_CONFIG_INCLUDES='-I/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/include'
TEST_TARGETS='sm tm tmsm fm'
TINYXML_DIR='/home/nvrk/Desktop/OOF/oofem-2.1'
TINYXML_INCLUDES='-I/home/nvrk/Desktop/OOF/oofem-2.1'
TM_INCLUDES='-I/home/nvrk/Desktop/OOF/oofem-2.1/src/tm'
VERSION='2.1'
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
srcdir='.'
sysconfdir='${prefix}/etc'
target_alias=''
top_srcdir=''
x_includes='NONE'
x_libraries='NONE'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_LIMITS_H 1
#define HAVE_MALLOC_H 1
#define HAVE_STRINGS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_RESOURCE_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_STRSTR 1
#define HAVE_STRTOD 1
#define HAVE_STRTOL 1
#define HAVE_STRNCASECMP 1
#define HAVE_ACCESS 1
#define HAVE_CBRT 1
#define HAVE_BOOLTYPE /**/
#define HAVE_M_PI /**/
#define HAVE_M_LN2 /**/
#define HAVE_MACRO_VA_ARGS /**/
#define HAVE_VARIABLE_ARRAY_SIZE /**/
#define HAVE_LIBM 1

configure: exit 0



My make.log file looks the following


if [ -d targets/target_name ]; then \
        cd targets/target_name; make OOFEM_TARGET=target_name;\
        echo;\
        echo target_name target done;\
        echo;\
    else\
        echo ;\
        echo Error: target_name not configured;\
        echo ;\
    fi
make[1]: Entering directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name'
make -C lib/oofemlib all
make[2]: Entering directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/oofemlib'
echo all target done
all target done
make[2]: Leaving directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/oofemlib'
make -C lib/sm all
make[2]: Entering directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/sm'
echo all target done
all target done
make[2]: Leaving directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/sm'
make -C lib/tm all
make[2]: Entering directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/tm'
echo all target done
all target done
make[2]: Leaving directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/tm'
make -C lib/fm all
make[2]: Entering directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/fm'
echo all target done
all target done
make[2]: Leaving directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/fm'
cd lib/main; make all
make[2]: Entering directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/main'
g++ -c -I/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/include -I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib -I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib/xfem -I/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib/iga -I/home/nvrk/Desktop/OOF/oofem-2.1/src/tm/cemhyd -I/home/nvrk/Desktop/OOF/oofem-2.1/src/sm -I/home/nvrk/Desktop/OOF/oofem-2.1/src/tm -I/home/nvrk/Desktop/OOF/oofem-2.1/src/fm -I/home/nvrk/Desktop/OOF/oofem-2.1/src/fm/pfem  -I/home/nvrk/Desktop/OOF/oofem-2.1/tinyxml      -O -D__OOFEM -D__OOFEMLIB_MODULE -D__SM_MODULE -D__TM_MODULE -D__CEMHYD_MODULE -D__FM_MODULE -D__TINYXML_MODULE -DTIXML_USE_STL   /home/nvrk/Desktop/OOF/oofem-2.1/src/main/main.C -o main.o
g++ -O -D__OOFEM -D__OOFEMLIB_MODULE -D__SM_MODULE -D__TM_MODULE -D__CEMHYD_MODULE -D__FM_MODULE -D__TINYXML_MODULE -DTIXML_USE_STL   -o /home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/bin/oofem main.o oofeg.o usrdefsub.o /home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/fm/fmlib.a /home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/tm/tmlib.a /home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/sm/smlib.a /home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/oofemlib/oofemlib.a  -lm     -lm   
make[2]: Leaving directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name/lib/main'
make[1]: Leaving directory `/home/nvrk/Desktop/OOF/oofem-2.1/targets/target_name'

target_name target done


According to the website http://www.oofem.org/wiki/doku.php?id=installation, i am not able to perform the building verification tools as i am getting the error

nvrk@nvrk-HCL-Infosystems-Limited-BIOS-For-GA-X48-DS4:~/Desktop/OOF/oofem-2.1/tools$ make all
make: *** No rule to make target `all'.  Stop.



In addition, i  did the 4 steps as instructed in this link (http://www.oofem.org/forum/viewtopic.php?id=383)..  i am not able to do the 3rd step as i am getting an error

nvrk@nvrk-HCL-Infosystems-Limited-BIOS-For-GA-X48-DS4:~/Desktop/OOF/oofem-2.1/targets/default/bin$ ./oofem -f /Desktop/OOF/oofem-2.1/tests/sm/patch010.in

  OOFEM - Finite Element Solver           
        Copyright (C) 1994-2010 Borek Patzak       
____________________________________________________
_______________________________________________________
Error: (/home/nvrk/Desktop/OOF/oofem-2.1/src/oofemlib/oofemtxtdatareader.C:45)
OOFEMTXTDataReader::OOFEMTXTDataReader: Can't open input stream (/Desktop/OOF/oofem-2.1/tests/sm/patch010.in)


Thank you

Re: Installation of oofem 2.1

I believe the wiki instructions are wrong, I don't remember ever running make in the tools directory.
try going to the build directory
cd targets/default/
make tests
(or perhaps it was just "make test" ? I can't check right now)

Your last example fails because you didn't type in the path correctly. I highly recommend that you learn to always use tab-completion which easily spots these mistakes. In this case, your initial path is wrong
./oofem -f /Desktop/OOF/oofem-2.1/tests/sm/patch010.in
should be
./oofem -f ~/Desktop/OOF/oofem-2.1/tests/sm/patch010.in
or
./oofem -f ../../tests/sm/patch010.in

Re: Installation of oofem 2.1

Hey,

Thanks a lot.. I have OOFEM up and running...

Re: Installation of oofem 2.1

Thank you... also works with me!!