Hello all
Thought I'd try 4.1.3 on my new Linux Mandrake 8 OS. I compiled from
source with netCDF, ImageMagick, JavaDX and dynamic loadable modules
included. I used SUN jdk 1.3.1.
The system almost built cleanly but I did encounter some (easily fixed)
problems which I list below:
PROBLEM:
DXChild.C:132: declaration of `int getdtablesize ()' throws different
exceptions
/usr/include/unistd.h:856: than previous declaration `int getdtablesize
() throw ()'
SOLUTION:
edit line 132 of ./src/uipp/dxuilib/DXChild.C and change it to:
extern "C" int getdtablesize() throw();
PROBLEM:
ImageWindow.C:130: declaration of `unsigned int sleep (unsigned int)'
throws different exceptions
/usr/include/unistd.h:371: than previous declaration `unsigned int
sleep (unsigned int) throw ()' [Followed by many other warnings]
SOLUTION:
edit line 130 of ./src/uipp/dxuilib/ImageWindow.C and change it to:
extern "C" unsigned int sleep(unsigned int) throw();
PROBLEM:
PacketIF.C:121: declaration of `int getdtablesize ()' throws different
exceptions
/usr/include/unistd.h:856: than previous declaration `int getdtablesize
() throw ()'
SOLUTION:
edit line 121 of ./src/uipp/dxuilib/PacketIF.C and change it to:
extern "C" int getdtablesize() throw();
As you can see, all the problems involved incompatibilities with function
definitions in /usr/include/unistd.h. JavaDX built without a problem (although
with many warnings) and seems to work fine. Starting the server (using the
startserver script) produces the following warnings which I did not see in
JavaDX 4.1.0:
java.lang.NullPointerException
at java.io.File.<init>(File.java:180)
at server.DXServer.ReadHostFile(DXServer.java:411)
at server.DXServer.main(DXServer.java:97)
at DXServer.main(DXServer.java:5)
Also, I could not shutdown JavaDX with the stopserver script (it just hangs) -
having to resort to a kill -9 instead. One other slight problem was that
JavaDX seems to expect dxexec to be in a directory bin_linux, but after
the install, a directory bin_INTEL was created. A symbolic link solved
the problem.
I have a Voodoo5 Graphics card and the OpenGL support seemed to be fine.
However, I noticed that whenever I used hardware rendering, the dxexec
process somehow got left behind after I exited dx and had to be killed
manually. Finally, I tried a subset of the samples - the UsingStreakline
net did not seem to work for me, coming up with the following error:
minmaxbox error
Reg_InitVectorPart error 1
Reg_InitVectorPart 0 return error 1
ERROR: Streakline: Internal error: DXBoundingBox called with error code set
but all the other examples I tried worked OK.
To summarize: OpenDX 4.1.3 works fine on Mandrake 8.0 but with a few problems
at the build stage and one or two minor glitches elsewhere.
My thanks to all the developers for the work you are
doing in supporting and maintaining this great package.
Jerry Hagon
Dept of Physics
University of Newcastle upon Tyne UK