Problem compiling ElmerGUI on 64bit Fedora 14

Discussion about building and installing Elmer
Post Reply
constanton
Posts: 3
Joined: 02 Jan 2011, 06:29

Problem compiling ElmerGUI on 64bit Fedora 14

Post by constanton »

Hello everybody,

Here is my problem. I downloaded the trunk folder of elmerfem and I try to compile it using the compile.sh script with the addition of :

Code: Select all

#the compiler flags
export CFLAGS=""
export FCFLAGS=""
export F77FLAGS=""
export FFLAGS=""
export CXXFLAGS="-I/usr/include/FTGL -I/usr/lib64/tk8.5 -I/usr/lib64/tcl8.5"
#linking
export LDFLAGS=""
#paths
export ELMER_HOME="/home/user/Programs/elmerfem/trunk"
I tried many variations of specifying the correct library folders (like putting the line of CXXFLAGS at CFLAGS. All libraries exist and the paths are correct. Nothing has worked so far. Specifically, I can't get through the compilation of the "post" folder which has to do with ElmerGUI. The compiler can't find the tcl, tk and FTGL libraries!

Code: Select all

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for default compilation flags... optimized
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for ranlib... ranlib
checking for ar... ar
checking for ar flags... cru
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 for 64 bit compilation flags... let's see what happens
checking for 64 bit CFLAGS... -m64 -fPIC
checking for 64 bit FCFLAGS... -m64 -fPIC
checking for 64 bit CXXFLAGS... -m64 -fPIC	
checking for 64 bit FFLAGS... -m64 -fPIC
checking for void*... yes
checking size of void*... 8
checking to see if we got 64 bits... oh yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran...  -L/usr/lib/gcc/x86_64-redhat-linux/4.5.1 -L/usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../.. -lgfortran -lm
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking whether we are using the Microsoft C compiler... no
checking for Fortran char* mangling scheme... char_ptr
checking for mtc_init in -lmatc... yes
checking for X... libraries , headers 
checking for ANSI C header files... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking whether we are using the Microsoft C compiler... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... -lGL
checking for OpenGL Utility library... -lGLU
checking for -ltcl8.6 -ltk8.6 libs in -L/usr/lib... no
checking for -ltcl8.5 -ltk8.5 libs in -L/usr/lib... yes
checking for tcl.h in -I/usr/include... ok
checking for tk.h in -I/usr/include... no
checking for tcl.h in -I/usr/include/tcl8.6... ok
checking for tk.h in -I/usr/include/tk8.6... no
checking for tcl.h in -I/usr/include/tcl8.5... ok
checking for tk.h in -I/usr/include/tk8.5... no
checking for tcl.h in -I/usr/include/tcl8.4... ok
checking for tk.h in -I/usr/include/tk8.4... no
checking for tcl.h in -I/usr/include/tcl8.3... ok
checking for tk.h in -I/usr/include/tk8.3... no
checking for tcl.h in -I/usr/include/tcl8.2... ok
checking for tk.h in -I/usr/include/tk8.2... no
checking for tcl.h in -I/usr/include/tcl8.1... ok
checking for tk.h in -I/usr/include/tk8.1... no
checking for tcl.h in -I/usr/include/tcl86... ok
checking for tk.h in -I/usr/include/tk86... no
checking for tcl.h in -I/usr/include/tcl85... ok
checking for tk.h in -I/usr/include/tk85... no
checking for tcl.h in -I/usr/include/tcl84... ok
checking for tk.h in -I/usr/include/tk84... no
checking for tcl.h in -I/usr/include/tcl83... ok
checking for tk.h in -I/usr/include/tk83... no
checking for tcl.h in -I/usr/include/tcl82... ok
checking for tk.h in -I/usr/include/tk82... no
checking for tcl.h in -I/usr/include/tcl81... ok
checking for tk.h in -I/usr/include/tk81... no
checking for tcl.h in -I/usr/local/include... ok
checking for tk.h in -I/usr/local/include... no
checking for tcl.h in -I/usr/local/include/tcl8.6... ok
checking for tk.h in -I/usr/local/include/tk8.6... no
checking for tcl.h in -I/usr/local/include/tcl8.5... ok
checking for tk.h in -I/usr/local/include/tk8.5... no
checking for tcl.h in -I/usr/local/include/tcl8.4... ok
checking for tk.h in -I/usr/local/include/tk8.4... no
checking for tcl.h in -I/usr/local/include/tcl8.3... ok
checking for tk.h in -I/usr/local/include/tk8.3... no
checking for tcl.h in -I/usr/local/include/tcl8.2... ok
checking for tk.h in -I/usr/local/include/tk8.2... no
checking for tcl.h in -I/usr/local/include/tcl8.1... ok
checking for tk.h in -I/usr/local/include/tk8.1... no
checking for tcl.h in -I/usr/local/include/tcl86... ok
checking for tk.h in -I/usr/local/include/tk86... no
checking for tcl.h in -I/usr/local/include/tcl85... ok
checking for tk.h in -I/usr/local/include/tk85... no
checking for tcl.h in -I/usr/local/include/tcl84... ok
checking for tk.h in -I/usr/local/include/tk84... no
checking for tcl.h in -I/usr/local/include/tcl83... ok
checking for tk.h in -I/usr/local/include/tk83... no
checking for tcl.h in -I/usr/local/include/tcl82... ok
checking for tk.h in -I/usr/local/include/tk82... no
checking for tcl.h in -I/usr/local/include/tcl81... ok
checking for tk.h in -I/usr/local/include/tk81... no
checking for tcl.h in -I/include... ok
checking for tk.h in -I/include... no
checking for tcl.h in -I/include/tcl8.6... ok
checking for tk.h in -I/include/tk8.6... no
checking for tcl.h in -I/include/tcl8.5... ok
checking for tk.h in -I/include/tk8.5... no
checking for tcl.h in -I/include/tcl8.4... ok
checking for tk.h in -I/include/tk8.4... no
checking for tcl.h in -I/include/tcl8.3... ok
checking for tk.h in -I/include/tk8.3... no
checking for tcl.h in -I/include/tcl8.2... ok
checking for tk.h in -I/include/tk8.2... no
checking for tcl.h in -I/include/tcl8.1... ok
checking for tk.h in -I/include/tk8.1... no
checking for tcl.h in -I/include/tcl86... ok
checking for tk.h in -I/include/tk86... no
checking for tcl.h in -I/include/tcl85... ok
checking for tk.h in -I/include/tk85... no
checking for tcl.h in -I/include/tcl84... ok
checking for tk.h in -I/include/tk84... no
checking for tcl.h in -I/include/tcl83... ok
checking for tk.h in -I/include/tk83... no
checking for tcl.h in -I/include/tcl82... ok
checking for tk.h in -I/include/tk82... no
checking for tcl.h in -I/include/tcl81... ok
checking for tk.h in -I/include/tk81... no
checking for tcl.h in -I/usr/swf/include... ok
checking for tk.h in -I/usr/swf/include... no
checking for tcl.h in -I/usr/swf/include/tcl8.6... ok
checking for tk.h in -I/usr/swf/include/tk8.6... no
checking for tcl.h in -I/usr/swf/include/tcl8.5... ok
checking for tk.h in -I/usr/swf/include/tk8.5... no
checking for tcl.h in -I/usr/swf/include/tcl8.4... ok
checking for tk.h in -I/usr/swf/include/tk8.4... no
checking for tcl.h in -I/usr/swf/include/tcl8.3... ok
checking for tk.h in -I/usr/swf/include/tk8.3... no
checking for tcl.h in -I/usr/swf/include/tcl8.2... ok
checking for tk.h in -I/usr/swf/include/tk8.2... no
checking for tcl.h in -I/usr/swf/include/tcl8.1... ok
checking for tk.h in -I/usr/swf/include/tk8.1... no
checking for tcl.h in -I/usr/swf/include/tcl86... ok
checking for tk.h in -I/usr/swf/include/tk86... no
checking for tcl.h in -I/usr/swf/include/tcl85... ok
checking for tk.h in -I/usr/swf/include/tk85... no
checking for tcl.h in -I/usr/swf/include/tcl84... ok
checking for tk.h in -I/usr/swf/include/tk84... no
checking for tcl.h in -I/usr/swf/include/tcl83... ok
checking for tk.h in -I/usr/swf/include/tk83... no
checking for tcl.h in -I/usr/swf/include/tcl82... ok
checking for tk.h in -I/usr/swf/include/tk82... no
checking for tcl.h in -I/usr/swf/include/tcl81... ok
checking for tk.h in -I/usr/swf/include/tk81... no
checking for tcl.h in -I/sw/include... ok
checking for tk.h in -I/sw/include... no
checking for tcl.h in -I/sw/include/tcl8.6... ok
checking for tk.h in -I/sw/include/tk8.6... no
checking for tcl.h in -I/sw/include/tcl8.5... ok
checking for tk.h in -I/sw/include/tk8.5... no
checking for tcl.h in -I/sw/include/tcl8.4... ok
checking for tk.h in -I/sw/include/tk8.4... no
checking for tcl.h in -I/sw/include/tcl8.3... ok
checking for tk.h in -I/sw/include/tk8.3... no
checking for tcl.h in -I/sw/include/tcl8.2... ok
checking for tk.h in -I/sw/include/tk8.2... no
checking for tcl.h in -I/sw/include/tcl8.1... ok
checking for tk.h in -I/sw/include/tk8.1... no
checking for tcl.h in -I/sw/include/tcl86... ok
checking for tk.h in -I/sw/include/tk86... no
checking for tcl.h in -I/sw/include/tcl85... ok
checking for tk.h in -I/sw/include/tk85... no
checking for tcl.h in -I/sw/include/tcl84... ok
checking for tk.h in -I/sw/include/tk84... no
checking for tcl.h in -I/sw/include/tcl83... ok
checking for tk.h in -I/sw/include/tk83... no
checking for tcl.h in -I/sw/include/tcl82... ok
checking for tk.h in -I/sw/include/tk82... no
checking for tcl.h in -I/sw/include/tcl81... ok
checking for tk.h in -I/sw/include/tk81... no
checking for tcl.h in -I/sw/usr/include... ok
checking for tk.h in -I/sw/usr/include... no
checking for tcl.h in -I/sw/usr/include/tcl8.6... ok
checking for tk.h in -I/sw/usr/include/tk8.6... no
checking for tcl.h in -I/sw/usr/include/tcl8.5... ok
checking for tk.h in -I/sw/usr/include/tk8.5... no
checking for tcl.h in -I/sw/usr/include/tcl8.4... ok
checking for tk.h in -I/sw/usr/include/tk8.4... no
checking for tcl.h in -I/sw/usr/include/tcl8.3... ok
checking for tk.h in -I/sw/usr/include/tk8.3... no
checking for tcl.h in -I/sw/usr/include/tcl8.2... ok
checking for tk.h in -I/sw/usr/include/tk8.2... no
checking for tcl.h in -I/sw/usr/include/tcl8.1... ok
checking for tk.h in -I/sw/usr/include/tk8.1... no
checking for tcl.h in -I/sw/usr/include/tcl86... ok
checking for tk.h in -I/sw/usr/include/tk86... no
checking for tcl.h in -I/sw/usr/include/tcl85... ok
checking for tk.h in -I/sw/usr/include/tk85... no
checking for tcl.h in -I/sw/usr/include/tcl84... ok
checking for tk.h in -I/sw/usr/include/tk84... no
checking for tcl.h in -I/sw/usr/include/tcl83... ok
checking for tk.h in -I/sw/usr/include/tk83... no
checking for tcl.h in -I/sw/usr/include/tcl82... ok
checking for tk.h in -I/sw/usr/include/tk82... no
checking for tcl.h in -I/sw/usr/include/tcl81... ok
checking for tk.h in -I/sw/usr/include/tk81... no
checking for tcl.h in -I/really/weird/place... ok
checking for tk.h in -I/really/weird/place... no
checking for tcl.h in -I/really/weird/place/tcl8.6... ok
checking for tk.h in -I/really/weird/place/tk8.6... no
checking for tcl.h in -I/really/weird/place/tcl8.5... ok
checking for tk.h in -I/really/weird/place/tk8.5... no
checking for tcl.h in -I/really/weird/place/tcl8.4... ok
checking for tk.h in -I/really/weird/place/tk8.4... no
checking for tcl.h in -I/really/weird/place/tcl8.3... ok
checking for tk.h in -I/really/weird/place/tk8.3... no
checking for tcl.h in -I/really/weird/place/tcl8.2... ok
checking for tk.h in -I/really/weird/place/tk8.2... no
checking for tcl.h in -I/really/weird/place/tcl8.1... ok
checking for tk.h in -I/really/weird/place/tk8.1... no
checking for tcl.h in -I/really/weird/place/tcl86... ok
checking for tk.h in -I/really/weird/place/tk86... no
checking for tcl.h in -I/really/weird/place/tcl85... ok
checking for tk.h in -I/really/weird/place/tk85... no
checking for tcl.h in -I/really/weird/place/tcl84... ok
checking for tk.h in -I/really/weird/place/tk84... no
checking for tcl.h in -I/really/weird/place/tcl83... ok
checking for tk.h in -I/really/weird/place/tk83... no
checking for tcl.h in -I/really/weird/place/tcl82... ok
checking for tk.h in -I/really/weird/place/tk82... no
checking for tcl.h in -I/really/weird/place/tcl81... ok
checking for tk.h in -I/really/weird/place/tk81... no
checking for tcl.h in -I/ok/I/quit... ok
checking for tk.h in -I/ok/I/quit... no
checking for tcl.h in -I/ok/I/quit/tcl8.6... ok
checking for tk.h in -I/ok/I/quit/tk8.6... no
checking for tcl.h in -I/ok/I/quit/tcl8.5... ok
checking for tk.h in -I/ok/I/quit/tk8.5... no
checking for tcl.h in -I/ok/I/quit/tcl8.4... ok
checking for tk.h in -I/ok/I/quit/tk8.4... no
checking for tcl.h in -I/ok/I/quit/tcl8.3... ok
checking for tk.h in -I/ok/I/quit/tk8.3... no
checking for tcl.h in -I/ok/I/quit/tcl8.2... ok
checking for tk.h in -I/ok/I/quit/tk8.2... no
checking for tcl.h in -I/ok/I/quit/tcl8.1... ok
checking for tk.h in -I/ok/I/quit/tk8.1... no
checking for tcl.h in -I/ok/I/quit/tcl86... ok
checking for tk.h in -I/ok/I/quit/tk86... no
checking for tcl.h in -I/ok/I/quit/tcl85... ok
checking for tk.h in -I/ok/I/quit/tk85... no
checking for tcl.h in -I/ok/I/quit/tcl84... ok
checking for tk.h in -I/ok/I/quit/tk84... no
checking for tcl.h in -I/ok/I/quit/tcl83... ok
checking for tk.h in -I/ok/I/quit/tk83... no
checking for tcl.h in -I/ok/I/quit/tcl82... ok
checking for tk.h in -I/ok/I/quit/tk82... no
checking for tcl.h in -I/ok/I/quit/tcl81... ok
checking for tk.h in -I/ok/I/quit/tk81... no
configure: WARNING: Couldn't determine tcl.h and tk.h location. Specify it manually with CFLAGS and CXXFLAGS
checking how to run the C++ preprocessor... g++ -E
checking for /usr/local/bin/freetype-config... no
checking for /usr/bin/freetype-config... yes

   FT_LIBS:            -lfreetype
   FT_CFLAGS:          -I/usr/include/freetype2
   
checking for printf in -lftgl... yes
checking FTGL/ftgl.h usability... no
checking FTGL/ftgl.h presence... no
checking for FTGL/ftgl.h... no

   ********************************************
   ***    WARNING: FTGL/ftgl.h not found    ***
   ***    Trying to locate the old style    ***
   ***         FTGL/FTGL.h instead          ***
   ********************************************
  
checking FTGL/FTGL.h usability... no
checking FTGL/FTGL.h presence... no
checking for FTGL/FTGL.h... no
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for floor... no
checking for gettimeofday... yes
checking for memset... yes
checking for sqrt... no
checking for strerror... yes
checking for shl_load in -ldld... no
checking for shl_load... no
checking for shl_findsym... no
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for dlsym... yes
checking for dlerror... yes
checking for dlclose... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/camera/Makefile
config.status: creating src/elements/Makefile
config.status: creating src/graphics/Makefile
config.status: creating src/modules/Makefile
config.status: creating src/objects/Makefile
config.status: creating src/sico2elmer/Makefile
config.status: creating src/glaux/Makefile
config.status: creating src/tk/Makefile
config.status: creating src/tcl/Makefile
config.status: creating src/visuals/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

ElmerPost build options:
  Version                   5.5.0
  Install prefix            /home/tmac/Programs/elmerfem/trunk
  CFLAGS                    -I/usr/include/FTGL -I/usr/lib64/tk8.5 -I/usr/lib64/tcl8.5 -m64 -fPIC -I/home/tmac/Programs/elmerfem/trunk/include -pthread -pthread -I/usr/include/freetype2
  CXXFLAGS                  -I/usr/include/FTGL -I/usr/lib64/tk8.5 -I/usr/lib64/tcl8.5 -m64 -fPIC -pthread -pthread -I/usr/include/freetype2
  FCFLAGS                   -O -m64 -fPIC -I. -I/home/tmac/Programs/elmerfem/trunk/include

  LDFLAGS                   -L.  -L/home/tmac/Programs/elmerfem/trunk/lib
  LIBS                      -lftgl -ldl -L.  -L/home/tmac/Programs/elmerfem/trunk/lib -lGL  -lm -lGLU -lGL  -lm -lmatc -L/usr/lib -ltk8.5 -ltcl8.5 -lfreetype -lftgl

Compilers:
  Fortran 90 compiler       gfortran
  CC                        gcc
  C++                       g++

Libs:
  OpenGL                    -lGL  -lm -lGLU -lGL  -lm
  MATC			    -lmatc
  Tcl/Tk		    -L/usr/lib -ltk8.5 -ltcl8.5
  FTGL                      -lftgl -lfreetype

Making clean in src
make[1]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src'
Making clean in elements
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/elements'
test -z "libelements.a" || rm -f libelements.a
rm -f *.o
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/elements'
Making clean in tcl
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/tcl'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/tcl'
Making clean in visuals
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/visuals'
test -z "libvisuals.a" || rm -f libvisuals.a
rm -f *.o
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/visuals'
Making clean in objects
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/objects'
test -z "libobjects.a" || rm -f libobjects.a
rm -f *.o
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/objects'
Making clean in sico2elmer
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/sico2elmer'
test -z "sico2elmer" || rm -f sico2elmer
rm -f *.o
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/sico2elmer'
Making clean in modules
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/modules'
test -z "libmodule.a" || rm -f libmodule.a
rm -f *.o
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/modules'
Making clean in graphics
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/graphics'
test -z "libgraphics.a" || rm -f libgraphics.a
rm -f *.o
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/graphics'
Making clean in camera
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/camera'
test -z "libcamera.a" || rm -f libcamera.a
rm -f *.o
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/camera'
Making clean in glaux
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/glaux'
test -z "libglaux.a" || rm -f libglaux.a
rm -f *.o
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/glaux'
Making clean in tk
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src/tk'
test -z "libtk.a" || rm -f libtk.a
rm -f *.o
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src/tk'
Making clean in .
make[2]: Entering directory `/home/tmac/Programs/elmerfem/trunk/post/src'
test -z "ElmerPost QueryGLXExt" || rm -f ElmerPost QueryGLXExt
rm *.so
rm: cannot remove `*.so': No such file or directory
make[2]: *** [clean-local] Error 1
make[2]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src'
make[1]: *** [clean-recursive] Error 1
make[1]: Leaving directory `/home/tmac/Programs/elmerfem/trunk/post/src'
make: *** [clean-recursive] Error 1
ElmerGrid and ElmerMesh2D are installed.
Any ideas? I need Elmer to work on a project for simulating waveguides in 3D and it looks really cool and capable of doing things like that but I can't get it fully installed.
constanton
Posts: 3
Joined: 02 Jan 2011, 06:29

Re: Problem compiling ElmerGUI on 64bit Fedora 14

Post by constanton »

For the tcl, tk problems I just forgot to install the tk-devel.

But still, FTGL won't work.
tzwinger
Site Admin
Posts: 100
Joined: 24 Aug 2009, 12:20
Antispam: Yes

Re: Problem compiling ElmerGUI on 64bit Fedora 14

Post by tzwinger »

Hello,
this is just a guess, but you might be in need of either setting the libraries in LD_LIBRARY_PATH or the LDFLAGS ...

Best wishes,

Thomas
constanton
Posts: 3
Joined: 02 Jan 2011, 06:29

Re: Problem compiling ElmerGUI on 64bit Fedora 14

Post by constanton »

I tried that too :(
hazelsct
Posts: 153
Joined: 05 Oct 2009, 17:02
Location: Boston, MA, USA
Contact:

Re: Problem compiling ElmerGUI on 64bit Fedora 14

Post by hazelsct »

I know Debian and not Fedora, but here are a few ideas:

You can try using the "alien" utility to convert the .deb to an .rpm... Dependencies will be kind of messed up though.

Or try looking at the Debian package compile scripts in http://www.opennovation.org/ubuntu/pool ... ian.tar.gz . The most relevant files are: control, which has the list of build dependency packages (will be very similar in Fedora), and rules, which is essentially a makefile for building the whole package.

Or use VirtualBox to install Debian or Ubuntu and run there...
elmerUser
Posts: 21
Joined: 26 Mar 2010, 17:57

Re: Problem compiling ElmerGUI on 64bit Fedora 14

Post by elmerUser »

Im a fedora packager, I can look at this in about 10 hours, though I promise nothing.

I thought Elmer was already present in fedora, but it turns out I was wrong.
elmerUser
Posts: 21
Joined: 26 Mar 2010, 17:57

Re: Problem compiling ElmerGUI on 64bit Fedora 14

Post by elmerUser »

rm: cannot remove `*.so': No such file or directory
btw, to solve that immediate error, ie

change the "rm *.so" line in the Makefile.am (line 32 of SVN rev 4611) to:

rm -f *.so

OR
-rm *.so
Freebau
Posts: 2
Joined: 05 Oct 2011, 14:53
Antispam: Yes

Re: Problem compiling ElmerGUI on 64bit Fedora 14

Post by Freebau »

I think fedora can boot from anywhere on the disk, primary or logical partition, but this sounds like an address problem in the BIOS.Error 1: Selected cylinder exceeds maximum suported by BIOS. Terabyte-size drives were rare in the AMD64 era and BIOSes were not yet written to accommodate them. A 32-bit address can only reach so far into the disk.
Post Reply