[vtkusers] Problem with VTK build process on GNU/Linux Debian

Lauren O'Donnell odonnell at ai.mit.edu
Wed Jul 11 08:38:32 EDT 2001


Actually, the -l parameter is fine.  My user make is as follows (on
Solaris, but I have used the -l under Debian Linux as well):

TCL_INCLUDE=-I/opt/sfw/include
TCL_LIB=-L/opt/sfw/lib -ltcl8.3

TK_INCLUDE=-I/opt/sfw/include
TK_LIB=-L/opt/sfw/lib -ltk8.3

and etc...

(Not that this solves the build problem, but at least it gives a little
more information.)
Lauren


On Wed, 11 Jul 2001, Charl P. Botha wrote:

On Wed, Jul 11, 2001 at 03:55:28AM -0700, Francois Rameau wrote:
> Buit to no avail. I always get the some error. My user.make file is
> the following:

AFAIK, your specification of the _LIB should not contain the -l parameter,
but rather be full path specifications.  My user.make (I have tcl/tk 8.2
installed, your setup may differ):

TCL_INCLUDE=-I/usr/include/tcl8.2/generic
TCL_LIB=/usr/lib/libtcl8.2.so

TK_INCLUDE=-I/usr/include/tk8.2/generic
TK_LIB=/usr/lib/libtk8.2.so

MESA_INCLUDE=-I/usr/include/GL
MESA_LIB=/usr/lib/libGL.so

# for python you must set this 
PYTHON_INCLUDES=-I/usr/include/python

# Add additional CFLAGS and CXXFLAGS for compilation
# uncomment the following two lines to set your own flags
USER_CFLAGS = -O3 -g
USER_CXXFLAGS = -O3 -g

---

And then I configure with:
./configure  --prefix=/home/cpbotha/build/vtk --with-opengl --with-shared\
--with-tcl --with-python --with-tkwidget --with-contrib --with-patented

> When compiling everything goes smoothly until:
> make[1]: *** [targets.make] Segmentation fault
> make[1]: *** Deleting file `targets.make'

Hmmm, segfault during the build process?  This normally points to something
seriously wrong with your configuration (hardware and/or software).  Can you
successfully compile a kernel?  Have you successfully built other large C++
projects?








More information about the vtkusers mailing list