|
From: rod h. <rh...@St...> - 2002-08-29 03:28:54
|
I am revisiting my compile problems. I gave up for a month or so but I
would really like to get VPython running on Mandrake 8.2. I have attached
the compilation output. In xgl.h; if I use /gtk/... then it makes it to
"convex" before segfaulting. If I use gtk-1.2/gtk/... as suggested on the
web site then it segfaults in the "box" module. I have included a full
output for a "convex" case and the last few lines of three successive runs.
The case where it fails in "box" is similar.
Are my libraries incompatible - how can I test and fix? I really do not
know what to do from this point?
Thanks
Rod
############ run 1
./install
Preparing... ########################################### [100%]
package gtkglarea-1.2.2-10 is already installed
1:gtkglarea ########################################### [100%]
running install
running build
running build_py
not copying Lib/ArrayPrinter.py (output up-to-date)
not copying Lib/Numeric.py (output up-to-date)
not copying Lib/Precision.py (output up-to-date)
not copying Lib/UserArray.py (output up-to-date)
not copying Lib/numeric_version.py (output up-to-date)
not copying Lib/LinearAlgebra.py (output up-to-date)
not copying Lib/MLab.py (output up-to-date)
not copying Lib/Matrix.py (output up-to-date)
not copying Lib/RandomArray.py (output up-to-date)
not copying Packages/FFT/Lib/FFT.py (output up-to-date)
not copying Packages/FFT/Lib/__init__.py (output up-to-date)
not copying Packages/MA/Lib/MA_version.py (output up-to-date)
not copying Packages/MA/Lib/__init__.py (output up-to-date)
not copying Packages/MA/Lib/MA.py (output up-to-date)
not copying Packages/Properties/Lib/Properties.py (output up-to-date)
not copying Packages/Properties/Lib/__init__.py (output up-to-date)
not copying Packages/Properties/Lib/Properties_version.py (output up-to-date)
not copying Packages/RNG/Lib/__init__.py (output up-to-date)
not copying Packages/RNG/Lib/Statistics.py (output up-to-date)
not copying Packages/kinds/Lib/__init__.py (output up-to-date)
not copying Packages/kinds/Lib/kinds.py (output up-to-date)
not copying Packages/kinds/Lib/kinds_version.py (output up-to-date)
running build_ext
skipping '_numpy' extension (up-to-date)
skipping 'multiarray' extension (up-to-date)
skipping 'umath' extension (up-to-date)
skipping 'arrayfns' extension (up-to-date)
skipping 'ranlib' extension (up-to-date)
skipping 'lapack_lite' extension (up-to-date)
skipping 'FFT.fftpack' extension (up-to-date)
skipping 'RNG.RNG' extension (up-to-date)
skipping 'kinds._kinds' extension (up-to-date)
running install_lib
not copying build/lib.linux-i586-2.2/ArrayPrinter.py (output up-to-date)
not copying build/lib.linux-i586-2.2/Numeric.py (output up-to-date)
not copying build/lib.linux-i586-2.2/Precision.py (output up-to-date)
not copying build/lib.linux-i586-2.2/UserArray.py (output up-to-date)
not copying build/lib.linux-i586-2.2/numeric_version.py (output up-to-date)
not copying build/lib.linux-i586-2.2/LinearAlgebra.py (output up-to-date)
not copying build/lib.linux-i586-2.2/MLab.py (output up-to-date)
not copying build/lib.linux-i586-2.2/Matrix.py (output up-to-date)
not copying build/lib.linux-i586-2.2/RandomArray.py (output up-to-date)
not copying build/lib.linux-i586-2.2/FFT/FFT.py (output up-to-date)
not copying build/lib.linux-i586-2.2/FFT/__init__.py (output up-to-date)
not copying build/lib.linux-i586-2.2/FFT/fftpack.so (output up-to-date)
not copying build/lib.linux-i586-2.2/MA/MA_version.py (output up-to-date)
not copying build/lib.linux-i586-2.2/MA/__init__.py (output up-to-date)
not copying build/lib.linux-i586-2.2/MA/MA.py (output up-to-date)
not copying build/lib.linux-i586-2.2/PropertiedClasses/Properties.py
(output up-to-date)
not copying build/lib.linux-i586-2.2/PropertiedClasses/__init__.py (output
up-to-date)
not copying
build/lib.linux-i586-2.2/PropertiedClasses/Properties_version.py (output
up-to-date)
not copying build/lib.linux-i586-2.2/RNG/__init__.py (output up-to-date)
not copying build/lib.linux-i586-2.2/RNG/Statistics.py (output up-to-date)
not copying build/lib.linux-i586-2.2/RNG/RNG.so (output up-to-date)
not copying build/lib.linux-i586-2.2/kinds/__init__.py (output up-to-date)
not copying build/lib.linux-i586-2.2/kinds/kinds.py (output up-to-date)
not copying build/lib.linux-i586-2.2/kinds/kinds_version.py (output
up-to-date)
not copying build/lib.linux-i586-2.2/kinds/_kinds.so (output up-to-date)
not copying build/lib.linux-i586-2.2/_numpy.so (output up-to-date)
not copying build/lib.linux-i586-2.2/multiarray.so (output up-to-date)
not copying build/lib.linux-i586-2.2/umath.so (output up-to-date)
not copying build/lib.linux-i586-2.2/arrayfns.so (output up-to-date)
not copying build/lib.linux-i586-2.2/ranlib.so (output up-to-date)
not copying build/lib.linux-i586-2.2/lapack_lite.so (output up-to-date)
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/ArrayPrinter.py to
ArrayPrinter.pycskipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/Numeric.py to Numeric.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/Precision.py to Precision.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/UserArray.py to UserArray.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/numeric_version.py to
numeric_version.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/LinearAlgebra.py to
LinearAlgebra.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/MLab.py to MLab.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/Matrix.py to Matrix.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/RandomArray.py to
RandomArray.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/FFT/FFT.py to FFT.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/FFT/__init__.py to __init__.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/MA/MA_version.py to
MA_version.pyc skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/MA/__init__.py to __init__.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/MA/MA.py to MA.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/PropertiedClasses/Properties.
py to Properties.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/PropertiedClasses/__init__.py
to __init__.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/PropertiedClasses/Properties_
version.py to Properties_version.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/RNG/__init__.py to __init__.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/RNG/Statistics.py to
Statistics.pycskipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/kinds/__init__.py to
__init__.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/kinds/kinds.py to kinds.pyc
skipping byte-compilation of
/usr/local/lib/python2.2/site-packages/Numeric/kinds/kinds_version.py to
kinds_version.pyc
running install_headers
not copying Include/Numeric/arrayobject.h (output up-to-date)
not copying Include/Numeric/ufuncobject.h (output up-to-date)
not copying Include/Numeric/f2c.h (output up-to-date)
not copying Include/Numeric/ranlib.h (output up-to-date)
creating /usr/local/lib/python2.2/site-packages/Numeric.pth
MA Version 11.1.0
Properties Version 2.2
kinds Version 1.1
Numeric Version 21.0b1
g++ -I. -I./CXX/Include -I/usr/local/include/python2.2
-I/usr/local/include/python2.2/Numeric -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include -w -c -o convex.o convex.cpp
In file included from pvector.h:6,
from cvisual.h:6,
from display.h:5,
from arrprim.h:5,
from convex.cpp:2:
CXX/Include/CXX_Objects.h:1039: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make: *** [convex.o] Error 1
cp: cannot stat `cvisualmodule.so': No such file or directory
##############run 2
MA Version 11.1.0
Properties Version 2.2
kinds Version 1.1
Numeric Version 21.0b1
g++ -I. -I./CXX/Include -I/usr/local/include/python2.2
-I/usr/local/include/python2.2/Numeric -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include -w -c -o convex.o convex.cpp
In file included from /usr/include/gtk-1.2/gdk/gdk.h:31,
from xgl.h:9,
from convex.cpp:3:
/usr/include/gtk-1.2/gdk/gdktypes.h:215: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make: *** [convex.o] Error 1
cp: cannot stat `cvisualmodule.so': No such file or directory
#####################run 3
MA Version 11.1.0
Properties Version 2.2
kinds Version 1.1
Numeric Version 21.0b1
g++ -I. -I./CXX/Include -I/usr/local/include/python2.2
-I/usr/local/include/python2.2/Numeric -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include -w -c -o convex.o convex.cpp
In file included from /usr/include/gtk-1.2/gdk/gdk.h:31,
from xgl.h:9,
from convex.cpp:3:
/usr/include/gtk-1.2/gdk/gdktypes.h:215: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make: *** [convex.o] Error 1
cp: cannot stat `cvisualmodule.so': No such file or directory
#####################run 4
MA Version 11.1.0
Properties Version 2.2
kinds Version 1.1
Numeric Version 21.0b1
g++ -I. -I./CXX/Include -I/usr/local/include/python2.2
-I/usr/local/include/python2.2/Numeric -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include -w -c -o convex.o convex.cpp
In file included from /usr/include/g++-3/map:33,
from CXX/Include/CXX_Extensions.h:16,
from pvector.h:7,
from cvisual.h:6,
from display.h:5,
from arrprim.h:5,
from convex.cpp:2:
/usr/include/g++-3/stl_map.h:64: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make: *** [convex.o] Error 1
cp: cannot stat `cvisualmodule.so': No such file or directory
|
|
From: Andrew M. <mor...@ph...> - 2002-08-29 19:49:26
|
<I meant to send my previous reply to the list. Sorry.>
I don't know exactly what the segfault means. I do know that I had
problems compiling with Mandrake8.1, but I got it done eventually.
A simple reason the compile may start off successfully but fail in the
middle is that the library is not called in the first couple dozen files
the compile accesses. I don't know this. I am merely speculating. =20
From your posted output:
g++ -I. -I./CXX/Include -I/usr/local/include/python2.2
-I/usr/local/include/python2.2/Numeric -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include -w -c -o convex.o convex.cpp
In file included from pvector.h:6,
from cvisual.h:6,
from display.h:5,
from arrprim.h:5,
from convex.cpp:2:
CXX/Include/CXX_Objects.h:1039: Internal error: Segmentation fault.
Are all the paths above correct? ie... does
/usr/local/include/python2.2/Numeric exist? What is being called at
line 1039 in CXX_Objects.h? =20
Sorry to be grasping at straws. I did not do this on Mandrake8.2, and
my mandrake box is at home.
Andrew
On Thu, 2002-08-29 at 13:31, rod holland wrote:
> Am I misunderstanding something here? Can a segfault mean that the
> libraries are not found? Or are you saying that it is finding libraries,
> but not the right ones? I would think if it did not find the libraries I
> would get a different error message. And why does it apparently
> succesfully compile a few of the modules but get stuck on others?
>=20
> Rod
>=20
> At 11:24 AM 8/29/2002 -0400, you wrote:
> >On Wed, 2002-08-28 at 23:28, rod holland wrote:
> >> I am revisiting my compile problems. I gave up for a month or so but =
I
> >> would really like to get VPython running on Mandrake 8.2. I have atta=
ched
> >> the compilation output. In xgl.h; if I use /gtk/... then it makes it =
to
> >> "convex" before segfaulting. If I use gtk-1.2/gtk/... as suggested on=
the
> >> web site then it segfaults in the "box" module. I have included a ful=
l
> >> output for a "convex" case and the last few lines of three successive =
runs.
> >> The case where it fails in "box" is similar.
> >>=20
> >> Are my libraries incompatible - how can I test and fix? I really do no=
t
> >> know what to do from this point?
> >>=20
> >> Thanks
> >>=20
> >> Rod
> >>=20
> >
> >Rod,=20
> >
> >I know installation is frustrating. (I don't know why it is, but it
> >is.) Have you followed the tips on the website for mandrake 8?
> >(http://www.vpython.org/morelinux.html)
> >
> >Try seeing that the libraries that you have installed are in the
> >directories that the compile is looking in. I had to symlink some libs
> >that were in /usr/lib but the compiler was looking in /usr/local/lib.
> >
> >Luck!
> >
> >Andrew
> >
> >
> >
> >Attachment Converted: "c:\eudora\attach\signature2.asc"
> >
>=20
>=20
|
|
From: Andy D. <dou...@la...> - 2002-08-29 21:06:29
|
On Wed, 28 Aug 2002, rod holland wrote: > I am revisiting my compile problems. I gave up for a month or so but I > would really like to get VPython running on Mandrake 8.2. I have attached > the compilation output. In xgl.h; if I use /gtk/... then it makes it to > "convex" before segfaulting. If I use gtk-1.2/gtk/... as suggested on the > web site then it segfaults in the "box" module. I have included a full > output for a "convex" case and the last few lines of three successive runs. > The case where it fails in "box" is similar. > > Are my libraries incompatible - how can I test and fix? I really do not > know what to do from this point? > g++ -I. -I./CXX/Include -I/usr/local/include/python2.2 > -I/usr/local/include/python2.2/Numeric -I/usr/include/gtk-1.2 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT > -I/usr/X11R6/include -w -c -o convex.o convex.cpp > In file included from pvector.h:6, > from cvisual.h:6, > from display.h:5, > from arrprim.h:5, > from convex.cpp:2: > CXX/Include/CXX_Objects.h:1039: Internal error: Segmentation fault. > Please submit a full bug report. > See <URL:https://qa.mandrakesoft.com/> for instructions. My suspicion today is the same as it was the last time you reported this. It should be impossible for Vpython to cause g++ to generate an "Internal error" and cause a Segmentation fault. Did you follow the suggestion above and "submit a full bug report"? One very real possiblity is a compiler bug of some sort. Also, the last time you reported this, you noted that running the same command several times in succession gave different segmentation faults. That's often a sign of either a hardware problem or a disk file system corruption problem. Did you follow up on my suggestions last month to look into those issues? -- Andy Dougherty dou...@la... Dept. of Physics Lafayette College, Easton PA 18042 |