CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Gerris software installation (http://www.cfd-online.com/Forums/main/10260-gerris-software-installation.html)

mer November 12, 2005 05:14

Gerris software installation
 
Hi, Is there here any person how has installed succesfully the Gerris software on a pc with red hat 9.0.

I try to install it with different versions, but I encountred errors with make in compiling Glib library and GTS library.

I follow the steps of installation: 1) ./configure ...................ok 2) make install ............with warnings and some errors 3) make ..............fails

my system show the pc as i686

any help please.


Harish November 12, 2005 08:34

Re: Gerris software installation
 
what exact error message does it give.Usually the reason for failure might be incompatible libraries or you might need to install some other software. - h

mer November 12, 2005 09:50

Re: Gerris software installation
 
The errors are soo long then I write you the necessary:

[mer@merrouche gts-0.7.4]$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU 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 dependency style of gcc... gcc3 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for egrep... 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 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/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for gawk... (cached) gawk checking for strerror in -lcposix... no checking for ANSI C header files... (cached) yes checking for pgm_init in -lnetpbm... no configure: WARNING: libnetpbm not found. Some programs will not be available. checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.4.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. checking for glib-config... /usr/bin/glib-config checking for GLIB - version >= 1.2.8... yes configure: WARNING: "C preprocessor does not support warning directive." checking fpu_control.h usability... yes checking fpu_control.h presence... yes checking for fpu_control.h... yes checking floatingpoint.h usability... no checking floatingpoint.h presence... no checking for floatingpoint.h... no checking for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long... yes configure: creating ./config.status config.status: creating Makefile config.status: creating gts.pc config.status: creating gts.spec config.status: creating src/Makefile config.status: creating src/gts-config config.status: creating tools/Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating test/Makefile config.status: creating test/boolean/Makefile config.status: creating test/delaunay/Makefile config.status: creating test/coarsen/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands creating src/gtsconfig.h

make make all-recursive make[1]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4' Making all in src make[2]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/src' ./predicates_init > ./predicates_init.h make all-am make[3]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/src' source='object.c' object='object.lo' libtool=yes \ depfile='.deps/object.Plo' tmpdepfile='.deps/object.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"Gts\" -g -O2 -Wall -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o object.lo `test -f 'object.c' || echo './'`object.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"Gts\" -g -O2 -Wall -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c object.c -MT object.lo -MD -MP -MF .deps/object.TPlo -fPIC -o .libs/object.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"Gts\" -g -O2 -Wall -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c object.c -MT object.lo -MD -MP -MF .deps/object.TPlo -o object.o >/dev/null 2>&1 source='point.c' object='point.lo' libtool=yes \ depfile='.deps/point.Plo' tmpdepfile='.deps/point.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"Gts\" -g -O2 -Wall -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o point.lo `test -f 'point.c' || echo './'`point.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"Gts\" -g -O2 -Wall -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c point.c -MT point.lo -MD -MP -MF .deps/point.TPlo -fPIC -o .libs/point.o point.c: In function 'gts_point_in_triangle_circle': point.c:297: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c:298: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c:299: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c: In function 'gts_point_triangle_distance2': point.c:511: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c:512: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c:513: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c: In function 'gts_point_triangle_closest': point.c:592: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c:593: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c:594: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c: In function 'ray_intersects_triangle': point.c:785: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c:786: warning: dereferencing type-punned pointer will break strict-aliasing rules point.c:787: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"Gts\" -g -O2 -Wall -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c point.c -MT point.lo -MD -MP -MF .deps/point.TPlo -o point.o >/dev/null

[mer@merrouche gts-0.7.4]$ make make all-recursive make[1]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4' Making all in src make[2]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/src' make all-am make[3]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/src' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/src' make[2]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/src' Making all in tools make[2]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/tools' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/tools' Making all in examples make[2]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/examples' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/examples' Making all in doc make[2]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/doc' Making all in test make[2]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/test' Making all in boolean make[3]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/test/boolean' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/test/boolean' Making all in delaunay make[3]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/test/delaunay' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/test/delaunay' Making all in coarsen make[3]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/test/coarsen' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/test/coarsen' make[3]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4/test' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/test' make[2]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4/test' make[2]: Entering directory `/home/mer/Gerris/utilities/gts-0.7.4' make[2]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4' make[1]: Leaving directory `/home/mer/Gerris/utilities/gts-0.7.4'



All times are GMT -4. The time now is 05:35.