|
From:
<fre...@gb...> - 2007-12-23 11:09:37
|
On dimanche 23 d=E9cembre 2007, Bruce Sherwood wrote:
> I think some of your missing libraries are included in some of those
> listed in the INSTALL file, but if you find that not to be the case I'd
> appreciate knowing so that the file can be improved.
In fact, the only package missing was gtkglextmm; all others where=20
correctly installed. The problem comes from the configure script. When it=20
call pkg-config, to check mising packages, it gets:
configure:19706: checking for pkg-config
configure:19724: found /usr/bin/pkg-config
configure:19736: result: /usr/bin/pkg-config
configure:19765: checking pkg-config is at least version 0.9.0
configure:19768: result: yes
configure:19792: checking for GTK
configure:19800: $PKG_CONFIG --exists --print-errors "gtkglextmm-1.2 >=3D 1=
=2E2
pangoft2 glibmm-2.4 pangomm-1.4 libglademm-2.4 freetype2"
Package gtkglextmm-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkglextmm-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkglextmm-1.2' found
configure:19803: $? =3D 1
configure:19818: $PKG_CONFIG --exists --print-errors "gtkglextmm-1.2 >=3D 1=
=2E2=20
pangoft2 glibmm-2.4 pangomm-1.4 libglademm-2.4 freetype2"
Package gtkglextmm-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkglextmm-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkglextmm-1.2' found
configure:19821: $? =3D 1
No package 'gtkglextmm-1.2' found
configure:19849: result: no
configure:19851: error: gtkglextmm 1.2, pangoft2, glibmm-2.4, and=20
pangomm-1.4 libglademm-2.4 are required on Unix-like systems
As you can see, it outputs all libs, even if the only missing is=20
gtkglextmm. I compiled and installed it, and it now works fine :o)
But during the compilation phase, I still had problems of missing libs:=20
libboost-python (and -thread) is not checked in the configure. Once=20
installed, it works (it was the same in previous vpython versions).
And I have a another problem: vpython can't find the numpy/arrayobject.h=20
(imported from include/python/num_util.hpp). This file is in:
python-numpy:
usr/lib/python2.4/site-packages/numpy/core/include/numpy/arrayobject.h
But the configure script found an incorrect path:
=20
g++ -I/usr/include/python2.4 -I/usr/local/lib/python2.4/site-packages/numpy=
/core/include -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/includ
e/gtkglextmm-1.2 -I/usr/local/lib/gtkglextmm-1.2/include -I/usr/include/gtk=
glext-1.0 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/lib/g
tkglext-1.0/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -=
I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
=2DI/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/incl=
ude -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -=
I/u
sr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/cairomm-=
1.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/a
tk-1.0 -I/usr/include/atkmm-1.6 -I/usr/include/libglademm-2.4 -I/usr/lib/li=
bglademm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I..
/include/gtk2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include =
=2DI/usr/include/python2.4 -I/usr/local/lib/python2.4/site-packages/numpy/c=
ore
/include -fpic -DPIC -g -O2 -ftemplate-depth-120 -MMD -MF=20
convex.d -MT "convex.d=20
convex.lo" -c ./python/convex.cpp -fPIC -DPIC -o .libs/convex.o
In file included from ../include/python/convex.hpp:12,
from ./python/convex.cpp:6:
=2E./include/python/num_util.hpp:68:31: warning: numpy/arrayobject.h: No su=
ch=20
file or directory
It gave /usr/local/lib/..., instead of /usr/lib/... I don't have any numpy=
=20
package in /usr/local/lib... I made a symbolic link, and it compiled, but=20
it is not very clean.
=2D-=20
Fr=E9d=E9ric
http://www.gbiloba.org
|