[Gmsh] installing gmsh from source

LUK ShunTim shuntim.luk at polyu.edu.hk
Tue Apr 21 07:18:51 CEST 2009


Zahi Batkilin wrote:
> hello
> 
> I am using gmsh for some time now. Untill I installed gmsh from a debian
> package.
> I tried to install the latest version from source (gmsh 2.3.1) from source.
> The following error appeared:
> 
> szahib at szahib-laptop:~/gmsh-2.3.1$ ./configure
> 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 g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking for ranlib... ranlib
> checking for ar... /usr/bin/ar
> checking for fltk-config... no
> configure: error: Could not find fltk-config. Try --with-fltk-prefix?
> 
> What shoul I do?
> 
> I installed fltk and got the following message:

You (also) need to install the fltk development package. In debian/sid,
it's called libfltk1.1-dev.

Regards,
ST
--