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

From: Sabi ud din Mufti <mufti.sabiuddin_at_gmail.com>
Date: Tue, 15 Mar 2011 11:17:14 +0530

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 different
> version it wont work.
> 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 Webs=
ite
>
> 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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0
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=3D0 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=3D0
-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: =91PyTypeObject=92 does not name a type
geoviewer.cc:98: error: =91PyTypeObject=92 does not name a type
geoviewer.cc:117: error: =91PyObject_HEAD=92 does not name a type
geoviewer.cc:130: error: =91PyObject_HEAD=92 does not name a type
geoviewer.cc:175: error: variable or field =91PyList_AsMatrix4=92 declared =
void
geoviewer.cc:175: error: =91PyObject=92 was not declared in this scope
geoviewer.cc:175: error: =91obj=92 was not declared in this scope
geoviewer.cc:175: error: expected primary-expression before =91&=92 token
geoviewer.cc:175: error: =91matrix=92 was not declared in this scope
make: *** [geoviewer.o] Error 1
>
>

Mufti

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

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