Sorry to follow up my own post here, but I got the sysadm to give me
temporary root privs, and was then able to 'configure', 'make' and 'make
install' LessTif OK.

But, when I then attempted to 'configure' and 'make' the 'ddd' (Dynamic
Display Debugger) from GNU, that fell over with the following:

==================================
if g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -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
/usr/local/include/Xm/VendorSP.h:58: error: conflicts with new declaration
with 'C' linkage
make[2]: *** [ScrolledGE.o] Error 1
make[2]: Leaving directory `/home/kwillis/downloads/ddd-3.3.9/ddd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kwillis/downloads/ddd-3.3.9/ddd'
make: *** [all-recursive] Error 1
==================================

which looks to me rather like the LessTif headers conflicting with the X11
headers.

Just for completeness, I have also tried OpenMotif, but couldn't even get
that to build at all :-(

Regards,
Keith
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Willis
Sent: 07 January 2008 13:02
To: lesstif List
Subject: [Lesstif-discuss] Build question


Hello,

I have been trying to build and install the lesstif package on this machine
which is running Redhat linux[1].

Since I do not have root access, I tried the normal mechanism for a local
install:

./configure --prefix=/home/kwillis
this completed successfully.

make
this completed successfully.

make install
this failed with:

make[3]: Entering directory
`/home/kwillis/downloads/lesstif-0.95.0/scripts/autoconf'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/aclocal" || mkdir -p -- "/usr/share/aclocal"
 /usr/bin/install -c -m 644 'ac_find_motif.m4'
'/usr/share/aclocal/ac_find_motif.m4'
/usr/bin/install: cannot create regular file
`/usr/share/aclocal/ac_find_motif.m4': Permission denied

Can someone please help me out with what I need to do to get a local install
working?

TIA!
Keith

1. uname -a gives:
Linux CF3 2.6.18-8.1.8.el5 #1 SMP Mon Jun 25 17:06:19 EDT 2007 i686


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Lesstif-discuss mailing list
Lesstif-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Lesstif-discuss mailing list
Lesstif-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss

Reply via email to