Re: [Gfs-devel] gfsview installation problem

16 views
Skip to first unread message

Justin Goldsmith

unread,
Aug 31, 2016, 4:19:47 PM8/31/16
to gfs-...@lists.sourceforge.net
I should specify that I'm installing from source on Fedora 23

Thanks,
Justin D Goldsmith
IT Manager
Office: CRH2007  -  Phone: 256-961-7787

On Wed, Aug 31, 2016 at 2:56 PM, Justin Goldsmith <jdg...@uah.edu> wrote:
Hi guys, I just signed up for this list, so I hope I'm asking the right list about this.

I've got the whole gerris suite installed except for gfsview. When I try to run ./configure, this is my readout:

---------------------------------
[root@2014lab4 gfsview-snapshot-121130]# ./configure 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for mpicc... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 dependency style of gcc... gcc3
checking for library containing strerror... none required
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GERRIS2D... yes
checking for GERRIS3D... yes
checking for OSMESA... yes
checking for GTK... no
configure: WARNING: GTK dependencies not met.
checking for FTGL... no
configure: WARNING: FTGL dependencies not met.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating view/Makefile
config.status: creating view/desktop/Makefile
config.status: creating gl2ps/Makefile
config.status: creating gl/Makefile
config.status: creating batch/Makefile
config.status: creating debian/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
[root@2014lab4 gfsview-snapshot-121130]#
---------------------------------





Then when I try and make, this is what happens

---------------------------------
[root@2014lab4 gfsview-snapshot-121130]# make
make  all-recursive
make[1]: Entering directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130'
Making all in gl2ps
make[2]: Entering directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl2ps'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl2ps'
Making all in gl
make[2]: Entering directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share/gfsview"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -DG_LOG_DOMAIN=\"GfsGl\" -I..    -DFTT_2D=1 -pthread -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -g -O2 -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -MT libgfsgl2D_la-gfsgl.lo -MD -MP -MF .deps/libgfsgl2D_la-gfsgl.Tpo -c -o libgfsgl2D_la-gfsgl.lo `test -f 'gfsgl.c' || echo './'`gfsgl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/local/share/gfsview\" -DPACKAGE_LOCALE_DIR=\"/usr/local//locale\" -DG_LOG_DOMAIN=\"GfsGl\" -I.. -DFTT_2D=1 -pthread -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -MT libgfsgl2D_la-gfsgl.lo -MD -MP -MF .deps/libgfsgl2D_la-gfsgl.Tpo -c gfsgl.c  -fPIC -DPIC -o .libs/libgfsgl2D_la-gfsgl.o
gfsgl.c:56:22: fatal error: GL/glu.h: No such file or directory
compilation terminated.
Makefile:358: recipe for target 'libgfsgl2D_la-gfsgl.lo' failed
make[2]: *** [libgfsgl2D_la-gfsgl.lo] Error 1
make[2]: Leaving directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl'
Makefile:335: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130'
Makefile:264: recipe for target 'all' failed
make: *** [all] Error 2
[root@2014lab4 gfsview-snapshot-121130]#
---------------------------------






Then of course, make install fails as well

---------------------------------
[root@2014lab4 gfsview-snapshot-121130]# make install
Making install in gl2ps
make[1]: Entering directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl2ps'
make[2]: Entering directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl2ps'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl2ps'
make[1]: Leaving directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl2ps'
Making install in gl
make[1]: Entering directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share/gfsview"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -DG_LOG_DOMAIN=\"GfsGl\" -I..    -DFTT_2D=1 -pthread -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -g -O2 -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -MT libgfsgl2D_la-gfsgl.lo -MD -MP -MF .deps/libgfsgl2D_la-gfsgl.Tpo -c -o libgfsgl2D_la-gfsgl.lo `test -f 'gfsgl.c' || echo './'`gfsgl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/local/share/gfsview\" -DPACKAGE_LOCALE_DIR=\"/usr/local//locale\" -DG_LOG_DOMAIN=\"GfsGl\" -I.. -DFTT_2D=1 -pthread -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -MT libgfsgl2D_la-gfsgl.lo -MD -MP -MF .deps/libgfsgl2D_la-gfsgl.Tpo -c gfsgl.c  -fPIC -DPIC -o .libs/libgfsgl2D_la-gfsgl.o
gfsgl.c:56:22: fatal error: GL/glu.h: No such file or directory
compilation terminated.
Makefile:358: recipe for target 'libgfsgl2D_la-gfsgl.lo' failed
make[1]: *** [libgfsgl2D_la-gfsgl.lo] Error 1
make[1]: Leaving directory '/home/jgoldsmith/Downloads/gfsview-snapshot-121130/gl'
Makefile:335: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
[root@2014lab4 gfsview-snapshot-121130]#
---------------------------------



Any help or recommendations you might have would be greatly appreciated.



Thanks,
Justin D Goldsmith
IT Manager
Office: CRH2007  -  Phone: 256-961-7787

Justin Goldsmith

unread,
Aug 31, 2016, 4:27:14 PM8/31/16
to gfs-...@lists.sourceforge.net

Stephane Popinet

unread,
Sep 1, 2016, 3:12:42 AM9/1/16
to GFS developper discussion list
Hi Justin,

Several required libraries are missing/badly configured on your system:

> checking for OSMESA... yes
> checking for GTK... no
> configure: WARNING: GTK dependencies not met.

You will only have gfsview-batch, not gfsview (which requires GTK for
the graphical interface).

> checking for FTGL... no
> configure: WARNING: FTGL dependencies not met.

You won't have "text" objects in gfsview.

> gfsgl.c:56:22: fatal error: GL/glu.h: No such file or directory
> compilation terminated.

OpenGL/Mesa is not installed/configured properly on your system.

hope this helps

Stephane

------------------------------------------------------------------------------
_______________________________________________
Gfs-devel mailing list
Gfs-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gfs-devel

Justin Goldsmith

unread,
Sep 6, 2016, 12:04:26 PM9/6/16
to GFS developper discussion list
Any idea what the names of the packages are for those dependencies for Fedora 23 (through either dnf or a manual download)? I thought I had them installed, but it may be the wrong versions or wrong packages in general.



Thanks,
Justin D Goldsmith
IT Manager
Office: CRH2007  -  Phone: 256-961-7787

Justin Goldsmith

unread,
Sep 16, 2016, 11:15:44 AM9/16/16
to GFS developper discussion list
I have ftgl and several versions of gtk installed. Is gfsview dependent on specific versions of these?

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GERRIS2D... yes
checking for GERRIS3D... yes
checking for OSMESA... yes
checking for GTK... no
configure: WARNING: GTK dependencies not met.
checking for FTGL... no
configure: WARNING: FTGL dependencies not met.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating view/Makefile
config.status: creating view/desktop/Makefile
config.status: creating gl2ps/Makefile
config.status: creating gl/Makefile
config.status: creating batch/Makefile
config.status: creating debian/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
[root@2014lab4 gfsview-snapshot-121130]# dnf install gtk1 gtk2 gtk3 ftgl
Last metadata expiration check: 0:24:56 ago on Fri Sep 16 09:26:13 2016.
Package gtk+-1:1.2.10-82.fc24.x86_64 is already installed, skipping.
Package gtk2-2.24.31-1.fc24.x86_64 is already installed, skipping.
Package gtk3-3.20.9-1.fc24.x86_64 is already installed, skipping.
Package ftgl-2.1.3-0.14.rc5.fc24.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!


Thanks,
Justin D Goldsmith
IT Manager
Office: CRH2007  -  Phone: 256-961-7787

Vladimir Kolobov

unread,
Sep 16, 2016, 1:04:55 PM9/16/16
to GFS developper discussion list
Justin,

we use the latest version of gtk:

gtkglext-1.2.0.tar.bz2.

All the best,

Vladimir
Reply all
Reply to author
Forward
0 new messages