I downloaded and built LessTif v0.95.0 from source. This was not of itself any problem.
The only option I gave to configure was "--prefix=/home/keith".
The first problem was when I did a "make install" it fell over trying to create '/usr/share/aclocal', so I simply went through all the Makefiles and changed all references to '/usr/share/aclocal' to '/home/keith/aclocal'. The "make install" then succeeded.
The output from 'uname -a' on my machine is:
Linux Box3 2.6.18-8.1.8.el5 #1 SMP Mon Jun 25 17:06:19 EDT 2007 i686
Now the real problem: I downloaded ddd (data display debugger) v3.3.9, and when compiling this, I get errors claiming (for example):
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /home/kwillis/include -O2 -g -Wall -W -Wwrite-strings -trigraphs -MT ScrolledGE.o -MD -MP -MF ".deps/ScrolledGE.Tpo" -c -o ScrolledGE.o ScrolledGE.C; \ then mv -f ".deps/ScrolledGE.Tpo" ".deps/ScrolledGE.Po"; else rm -f ".deps/ScrolledGE.Tpo"; exit 1; fi
/usr/include/X11/VendorP.h:87: error: previous declaration of ‘VendorShellClassRec vendorShellClassRec’ with ‘C++’ linkage
/home/keith/include/Xm/VendorSP.h:58: error: conflicts with new declaration with ‘C’ linkage
The cause seems to be the definition of XMLIBEXPORT in $(PREFIX)/include/Xm/Xm.h although I could well be mistaken here.
Log in to post a comment.