Installing software with scons but cannot locate motif library
I'm trying to install a software package that uses scons for the installation and I'm having problems. The scons config file has been set up according to the instructions I've been given and this includes the paths to the X11 and motif libraries and include files.
I'm using Ubuntu 11.10 and have motif 2.3.3-5ubuntu1 installed. When scons tries to build the software components it fails at the code: /usr/bin/gfortran -o build/components/contrib/test -Wl,-undefined,suppress -m64 build/components/contrib/test_main.o -L/usr/lib/X11 -L/usr/lib/ -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1 -Lbuild/libs -lXm -lXt -lX11 -ltest -lgfortran -lm -lstdc++ The errors I get include multiple lines of: undefined referece to '_XmStrings'. I've searched the errors and it seems to be due to failure to locate the motif libraries. When I 'locate libXm*' the results state that these files are located at /usr/lib/. So this is what I used in the scons config file. I'm assuming that the '-L' parameters in the code above refer to the location of various libraries, and '-l' is to do with the include files? It appears that this is more likely a linux setup issue rather than a software issue, as others have successfully installed it without this problem. Any advice would be appreciated! |
Quote:
Quote:
All libraries used at compile time must be (lib)<name>-dev. Quote:
The lowercase -l : The particular libraries.so that you want included in the build result. Example : -lXm means libXm.so - |
The software currently has restricted use as it's in beta form so I don't think I'm in a position to say what it is. It's specialist software for a particular purpose so I don't think anyone on this forum would know it anyway.
I have libmotif-dev installed, so it should be okay. |
All times are GMT -5. The time now is 08:49 PM. |