Karthik Vishwanath wrote:
On Tue, 19 Oct 2004, at 10:39am, Denis Danilov wrote:
On Tue, Oct 19, 2004 at 01:08:31AM -0400, Karthik Vishwanath wrote:
How can I dx under debian for it to look/feel, behave like under redhat 9?
Any ideas?
1. It is better to recompile dx and link it against motif (because
debian team uses lesstif). Then the tab-issue can be solved, i think.
In order to try what was suggested, I downloaded the sources for 4.2.0 and
4.3.2, ran ./configure for each followed by a make for each of the sources
- I get different errors on each and can't seem to figure out whats
missing. I am running debian (sid) with a 2.4.18 kernel on an athlon 2100.
The diagnostics for a make of the 4.2.0 source were:
-------------
gcc -g -O2 -Wall -pthread -g -O2 -I/usr/X11R6/include -D_GNU_SOURCE -o
dxexec -Wl,-export-dynamic main.o ../dpexec/libDPEXEC.a
../dxmods/libDXMODS.a ../libdx/libLIBDX.a ../hwrender/libHW.a
../hwrender/opengl/libOPENGL.a -lnsl -lXpm -ldl -lXm -lXp -lGL
-L/usr/X11R6/lib -L/usr/lib -lMagick -llcms -ltiff -lfreetype -ljasper
-ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz
-lm -lpthread
../dpexec/libDPEXEC.a(loader.o)(.text+0x353): In function
`DXUnloadObjFile':
/home/karthik/Downloads/Trial/dx-4.2.0/src/exec/dpexec/loader.c:696:
warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r'
instead
../hwrender/opengl/libOPENGL.a(hwPortUtilOGL.o)(.text+0x1ad1d): In
function `loadTexture':
/home/karthik/Downloads/Trial/dx-4.2.0/src/exec/hwrender/opengl/hwPortUtilOGL.c:2200:
undefined reference to `gluBuild2DMipmaps'
collect2: ld returned 1 exit status
make[3]: *** [dxexec] Error 1
make[3]: Leaving directory
`/home/karthik/Downloads/Trial/dx-4.2.0/src/exec/dxexec'
-------------
Sources from 4.3.2 however never completed compiling. After running make,
the processor was consumed by cc1 at ~95% CPU usage for over 45 mins, all
the while being stuck at:
-------------
sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../../include -I../../../include -Dlinux -I/usr/include
-D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -g -O2 -Wall -pthread -g -O2
-I/usr/X11R6/include -D_GNU_SOURCE -c -o zclipQ.lo `test -f 'zclipQ.c' ||
echo './'`zclipQ.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -Dlinux
-I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -g -O2 -Wall
-pthread -g -O2 -I/usr/X11R6/include -D_GNU_SOURCE -c zclipQ.c -o zclipQ.o
-------------
On my amd 2000+ it took more than 50min to compile!
So give it another try.
I have openmotif, NVIDIA-supplied opengl libraries, Imagemagick, libtiff
etc. installed on the target machine. How can I attempt fixing the errors?
All help is appreciated.
Thanks!
-K