RE: Flair not able to find geometry viewer in Suse linux 10.3

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Tue, 15 Mar 2011 14:41:48 +0000

Dear Sabi,
you are missing the development packages for python and tk/tcl
they have a different name for each distribution as

python-dev, python-devel, tk-dev, tk8.5-dev, tk-devel

Please install these packages and then it should compile with no problem

Vasilis
________________________________________
From: Sabi ud din Mufti [mufti.sabiuddin_at_gmail.com]
Sent: 15 March 2011 06:47
To: Vasilis Vlachoudis
Cc: fluka-discuss_at_fluka.org
Subject: Re: Flair not able to find geometry viewer in Suse linux 10.3

On 3/14/11, Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch> wrote:
> Hi Sabi,
> Did you compile the geoviewer or installed the binary?
> The binary was made for the libtk8.5, but if your system has a differe>version it
> Try to download the source code of geoviewer and compile it with
> make and then install the geoviewer.so with "make install" or copy the
> geoviewer.so to the flair directory.
>
> Vasilis Vlachoudis
>
> ________________________________________
> From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on
> behalf of Sabi ud din Mufti [mufti.sabiuddin_at_gmail.com]
> Sent: 14 March 2011 11:25
> To: fluka-discuss_at_fluka.org
> Subject: Flair not able to find geometry viewer in Suse linux 10.3
>
> Dear Fluka Users,
>
> When I start flair. I get the following message.
> Starting flair V0.9.1
> Geometry viewer not found
> Error: Libtk8.5.so can not open shared object file or directory
>
> Although flair starts but without the Geoviewer interface.
> I installed the flair 0.9.1 and geoviewer as per instructions on the Website
>
> cheers
>
> -----------------------------------------------------------
> S Mufti
> -----------------------------------------------------------
>

Make generates the following errors during compilation in suse 10.3
and suse 11.2.

linux-jq3t:/home/mufti/flair-geoviewer-0.9 # make
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
array.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
bbox.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
bintree.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
bmath.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
body.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
conic.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
dxfexport.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
fortran.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
geometry.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
list.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
matrix.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
painter.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
quad.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
region.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
timer.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
usrbin.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
vector.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
vertex.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
viewport.cc
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
voxel.cc
rm -f libgeoviewer.a
ar rv libgeoviewer.a array.o bbox.o bintree.o bmath.o body.o conic.o
dxfexport.o fortran.o geometry.o list.o matrix.o painter.o quad.o
region.o timer.o usrbin.o vector.o vertex.o viewport.o voxel.o
ar: creating libgeoviewer.a
a - array.o
a - bbox.o
a - bintree.o
a - bmath.o
a - body.o
a - conic.o
a - dxfexport.o
a - fortran.o
a - geometry.o
a - list.o
a - matrix.o
a - painter.o
a - quad.o
a - region.o
a - timer.o
a - usrbin.o
a - vector.o
a - vertex.o
a - viewport.o
a - voxel.o
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
geoviewer-test.cc
c++ -o geoviewer-test -W -Wall -Wcast-align -Wcast-qual -Wconversion
-Wextra -Wformat -Wpointer-arith -Wredundant-decls -Wshadow
-Wwrite-strings -DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g
-DNDEBUG -D_DEBUG=0 geoviewer-test.o -L. -L/usr/X11R6/lib -lgeoviewer
-lX11 -lm -lpthread
c++ -c -W -Wall -Wcast-align -Wcast-qual -Wconversion -Wextra
-Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wwrite-strings
-DUNIX -fwrapv -fPIC -m32 -O3 -funroll-loops -g -DNDEBUG -D_DEBUG=0
-fno-strict-aliasing -I/usr/include -I/usr/include/python2.5
geoviewer.cc
geoviewer.cc:59:20: error: Python.h: No such file or directory
geoviewer.cc:60:26: error: structmember.h: No such file or directory
geoviewer.cc:69:16: error: tk.h: No such file or directory
geoviewer.cc:70:17: error: tcl.h: No such file or directory
geoviewer.cc:97: error: ‘PyTypeObject’ does not name a type
geoviewer.cc:98: error: ‘PyTypeObject’ does not name a type
geoviewer.cc:117: error: ‘PyObject_HEAD’ does not name a type
geoviewer.cc:130: error: ‘PyObject_HEAD’ does not name a type
geoviewer.cc:175: error: variable or field ‘PyList_AsMatrix4’ declared void
geoviewer.cc:175: error: ‘PyObject’ was not declared in this scope
geoviewer.cc:175: error: ‘obj’ was not declared in this scope
geoviewer.cc:175: error: expected primary-expression before ‘&’ token
geoviewer.cc:175: error: ‘matrix’ was not declared in this scope
make: *** [geoviewer.o] Error 1
>
>

Mufti

-----------------------------------------------------------
Received on Tue Mar 15 2011 - 17:46:37 CET

This archive was generated by hypermail 2.2.0 : Tue Mar 15 2011 - 17:46:37 CET