+++ cawa sorix [2013-10-08 08:17 +0200]:
>    Hi,
> 
>    To build therion on debian, I install first packages below:
>    wx2.8-headers
>    libwxgtk2.8-dev
>    wx-common
>    mesa-common-dev
>    libglu1-mesa-dev
>    libfreetype6-dev
>    libvtk5-dev

And the packaging adds $(VTKLIBS) to PLIBS in the makefile:

--- therion-5.3.11.orig/loch/Makefile   2013-09-03 03:59:17.912863415
+0100
+++ therion-5.3.11/loch/Makefile        2013-09-06 03:07:56.662776189
+0100
@@ -33,10 +33,10 @@
 CC = gcc
 POBJECTS = lxR2P.o
 VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics
-lvtkFiltering -lvtkCommon -lfreetype
-CXXPFLAGS = -DLXLINUX $(shell wx-config --cxxflags) -Wno-deprecated $(shell 
freetype-config --cflags) -I$(VTKPATH)
+CXXPFLAGS = -DLXLINUX $(shell wx-config --cxxflags) $(shell freetype-config 
--cflags) -I$(VTKPATH)
 CCPFLAGS = -DLXLINUX  $(shell wx-config --cflags)   LXLIBDIR = linux
-PLIBS = $(shell wx-config --libs --gl-libs) -L$(VTKLIBPATH) $(VTKLIBS) -lGLU 
-lpthread -lz
+PLIBS = $(shell wx-config --libs --gl-libs) $(VTKLIBS) -lpthread -lz $(shell 
pkg-config --libs libpng glu) -ljpeg -lX11
 LXPLATFORM = LINUX

  # PLATFORM WIN32

>      I suspect the problem is in the command line option
>      "-L/usr/lib/vtk-5.4". �The
>      system by default does not have this directory. �I added a symbolic 
> link
>      to
>      the location of vtk (/usr/include/vtk-5.4) but it made no difference.

Debian is up to vtk-5.8. I'd expect Fedora to have a newer version by
now too? But the makefile in 5.3.11 doesn't actually specify an
explicit version any more. It uses: 
VTKVERSION = $(shell tclsh ./getvtkver.tcl version)

I guess RPMworld needs a caving packager :-)

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/

Reply via email to