[Gmsh] Trouble with make

Tammo Heeren home at tammoheeren.com
Sat Nov 15 04:51:02 CET 2008


I am trying to compile gmsh-2.2.5-cvs-20081115 on ubuntu 8.10.
This is what I get:

make[1]: Entering directory
`/home/theeren/Desktop/gmsh-2.2.5-cvs-20081115/Common'
g++ -g -O2 -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN
-DHAVE_ANN -DHAVE_LIBPNG -DHAVE_FLTK  -I/usr/include/freetype2
-D_THREAD_SAFE -D_REENTRANT -DHAVE_GMM -DHAVE_CHACO -DHAVE_METIS
-I../Common -I../Geo -I../Mesh -I../Post -I../Graphics -I../Numeric
-I../Parser -I../Plugin -I../Fltk -I../contrib/MathEval
-I../contrib/ANN/include  -c Options.cpp
In file included from Options.cpp:8:
GmshUI.h:18:24: error: GL/glu.h: No such file or directory

I attached my config.log and variables.

Anybody out that can shed on light on this?

Tammo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 21162 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20081114/6e9063d8/attachment.log>
-------------- next part --------------
# Gmsh - Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
#
# See the LICENSE.txt file for license information. Please report all
# bugs and problems to <gmsh at geuz.org>.

# OS and host
UNAME=Linux
HOSTNAME=dell

# The names of the C and C++ compilers
CC=gcc
CXX=g++

# If you need to link to dynamic libraries installed in non-standard
# locations and are using the GNU linker, you may want to add
# '-Wl,--rpath,/path/to/dynamic/library' to the 'LINKER' variable
# below. Alternatively, you could edit the 'LD_LIBARY_PATH'
# environement variable or use the 'ldconfig' program.
LINKER=g++

# All compiler flags except optimization flags
FLAGS=-DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN -DHAVE_ANN -DHAVE_LIBPNG -DHAVE_FLTK  -I/usr/include/freetype2 -D_THREAD_SAFE -D_REENTRANT -DHAVE_GMM -DHAVE_CHACO -DHAVE_METIS

# Additional system includes
SYSINCLUDE=

# Compiler optimization flags
OPTIM=-g -O2

# Gmsh subdirectories
GMSH_DIRS=Common Geo Mesh Post Plugin Numeric Parser Graphics Fltk contrib/ANN contrib/Chaco contrib/Metis contrib/Netgen contrib/MathEval

# Gmsh libraries
GMSH_LIBS=-Llib -lGmshFltk -lGmshCommon -lGmshMesh -lGmshGeo -lGmshPost -lGmshPlugin -lGmshCommon -lGmshGraphics -lGmshParser -lGmshNumeric -Wl,-Bsymbolic-functions -lfltk_images -lfltk_gl -lfltk -lGLU -lGL -lpng -lGmshANN -lGmshChaco -lGmshMetis -lGmshNetgen -lGmshMathEval -lgsl -lgslcblas -lz -lm

# How you create a static library on this machine
AR=/usr/bin/ar ruvs
ARFLAGS=
RANLIB=ranlib

# The symbol used in front of compiler flags
DASH=-

# The extension to use for object files, libraries and executables
OBJEXT=.o
LIBEXT=.a
EXEEXT=

# File handling commands
RM=rm -f

# Installation directories
prefix=/usr/local
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
datadir=${datarootdir}
datarootdir=${prefix}/share
includedir=${prefix}/include
libdir=${exec_prefix}/lib
mandir=${datarootdir}/man
infodir=${datarootdir}/info