David Thompson wrote: > > > Actually it is, if you look through the script DX_PATH_XM--it should be > looking for Motif and including the directories where these are found. > You need to do a little more investigation to determine why it is not > finding your /usr/X11R6.
OK, I'll investigate, but need help. Without the LDFLAGS="-L/usr/X11R6/lib", all seems to go well until: [...] Making all in dxexec gmake[3]: Entering directory `/home/lahaye/SOFTWARE/dx/src/exec/dxexec' sh ../../../libtool --mode=link /usr/local/bin/gcc33 -O -pipe -Wall -g -O2 -I/usr/local/include -I/usr/X11R6/include -D_GNU_SOURCE -o dxexec -Wl,-export-dynamic main.o ../dpexec/libDPEXEC.la ../dxmods/libDXMODS.la ../dxmods/user.lo ../dxmods/libDXMODSN.la ../libdx/libLIBDX.la ../libdx/mem.lo ../libdx/memory.lo ../hwrender/libHW.la ../hwrender/opengl/libOPENGL.la -ldf -lXpm -lXm -lXp -L/usr/X11R6/lib -L/usr/local/lib -lMagick -ljbig -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lfpx -lwmflite -ldpstk -ldps -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm /usr/local/bin/gcc33 -O -pipe -Wall -g -O2 -I/usr/local/include -I/usr/X11R6/include -D_GNU_SOURCE -o dxexec -Wl,-export-dynamic main.o ../dxmods/user.o ../libdx/mem.o ../libdx/memory.o ../dpexec/.libs/libDPEXEC.a -L/usr/X11R6/lib -L/usr/local/lib ../dxmods/.libs/libDXMODS.a ../dxmods/.libs/libDXMODSN.a ../libdx/.libs/libLIBDX.a ../hwrender/.libs/libHW.a ../hwrender/opengl/.libs/libOPENGL.a -ldf -lXpm -lXm -lXp /usr/local/lib/libMagick.so -ljbig -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lfpx -lwmflite -ldpstk -ldps -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib /usr/local/lib/libjasper.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libg2c.so.1: warning: tempnam() possibly used unsafely; consider using mkstemp() ../hwrender/opengl/.libs/libOPENGL.a(hwPortOGL.o): In function `remGLXContext': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwPortOGL.c:114: undefined reference to `glIsList' /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwPortOGL.c:115: undefined reference to `glDeleteLists' ../hwrender/opengl/.libs/libOPENGL.a(hwPortOGL.o): In function `_dxf_CREATE_WINDOW': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwPortOGL.c:390: undefined reference to `glXQueryExtension' /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwPortOGL.c:396: undefined reference to `glXChooseVisual' /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwPortOGL.c:485: undefined reference to `glXCreateContext' [...] ../hwrender/opengl/.libs/libOPENGL.a(hwInteractorEchoOGL.o): In function `_dxf_SET_ZBUFFER_STATUS': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwInteractorEchoOGL.c:578: undefined reference to `glEnable' /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwInteractorEchoOGL.c:580: undefined reference to `glDisable' ../hwrender/opengl/.libs/libOPENGL.a(hwInteractorEchoOGL.o): In function `_dxf_SET_LINE_ATTRIBUTES': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwInteractorEchoOGL.c:663: undefined reference to `glDisable' /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwInteractorEchoOGL.c:659: undefined reference to `glLineStipple' ../hwrender/opengl/.libs/libOPENGL.a(hwInteractorEchoOGL.o): In function `_dxf_DRAW_LINE': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwInteractorEchoOGL.c:679: undefined reference to `glEnd' ../hwrender/opengl/.libs/libOPENGL.a(hwInteractorEchoOGL.o): In function `_dxf_DRAW_CURSOR_COORDS': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwInteractorEchoOGL.c:893: undefined reference to `glFlush' ../hwrender/opengl/.libs/libOPENGL.a(hwDisplayListsOGL.o): In function `_delete_displayListObjectOGL': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwDisplayListsOGL.c:34: undefined reference to `glDeleteLists' ../hwrender/opengl/.libs/libOPENGL.a(hwDisplayListsOGL.o): In function `_dxf_openDisplayListOGL': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwDisplayListsOGL.c:58: undefined reference to `glGenLists' /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwDisplayListsOGL.c:62: undefined reference to `glNewList' ../hwrender/opengl/.libs/libOPENGL.a(hwDisplayListsOGL.o): In function `_dxf_endDisplayListOGL': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwDisplayListsOGL.c:80: undefined reference to `glEndList' ../hwrender/opengl/.libs/libOPENGL.a(hwDisplayListsOGL.o): In function `_dxf_callDisplayListOGL': /home/lahaye/SOFTWARE/dx/src/exec/hwrender/opengl/hwDisplayListsOGL.c:46: undefined reference to `glCallList' collect2: ld returned 1 exit status
