Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 11:31
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Problems building Open Motif 2.1.32 (for ddd build)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
RobertHardy

Joined: 24 Nov 2012
Posts: 5
Location: London, UK

PostPosted: Wed 05 Dec 2012, 19:31    Post subject:  Problems building Open Motif 2.1.32 (for ddd build)  

[ Actually, I am trying to install Open Motif because ultimately I want to get ddd running (one of the front-ends for gdb), so if anyone wants to suggest an alternative front-end that is easier to build then please do. ]

The instructions for building and installing OpenMotif are contained in the RELNOTES file, and are as follows.
I will put the issues I am having at the appropriate points:

1) Unpack the tarball into a directory called something like MotifSource.
2) Create another directory called MotifBuild and symbolic-copy the source directory tree to MotifSource using the command lndir

Problem: I do not have lndir available in my Puppy 4.3.1, so I cannot do this part (but see footnote below).
Instead I just go ahead and build within the same directory tree that I got when I unpacked the tarball.

3) Customize the file site.def 'to reflect local preferences for install locations, compilers, paths. etc.'

Me: I do not change anything in that file, since I really do not have a strong opinion on anything that the file contains.
Obviously, I am used to the usual concept of '--prefix=$HOME' as part of a configure/make build process, so somehow I feel like I would like to apply that same principle here.
There are a few lines within the site.def file which look like they could/should be updated to fit my Puppy install usuals, they start with
Code:
# undef DefaultUserPath ...


4) The build instructions now say 'If you are building with imports (the default setup in site.def ... '

Me: Well I guess I am doing the default stuff, so I follow this point and create 3 symbolic links in a directory I create called /import/X11.

5) Next bit in RELNOTES is tricky again: you are asked to see if <vendor>.cf contains mention of BootstrapCFlags, and if not then build with
Code:
make World >& world.log


Me: There are lots of different something.cf files, and the obvious candidate seems to be linux.cf. Within that file there is no mention of this parameter, so I go with this build option.

Things happen and I finish with
Code:
make install >& install.log


Problem: now when I build ddd I get a message saying that Motif is not available. Precisely, it grumbles that 'the Motif include file /XmXm.h could not be found'.

Well, I have a browse and find that the Open Motif install process has created a few directories, and in particular one being
Code:
/usr/OpenMotif-2.1.32
.

If I look at the log file world.log I find plenty of error messages; not really surprising but there you go.

Footnote: the build process for Open Motif has nonetheless given me the lndir command in the directory
Code:
/usr/OprnMotif-2.1.32/bin


It strikes me as odd that the lndir command is provided by the build process when it was actually stated as being used during the build process?

Many thanks for any help.

Last edited by RobertHardy on Sat 15 Dec 2012, 06:52; edited 1 time in total
Back to top
View user's profile Send private message 
RobertHardy

Joined: 24 Nov 2012
Posts: 5
Location: London, UK

PostPosted: Wed 05 Dec 2012, 20:09    Post subject: Update: got ddd working with LessTif
Subject description: (So didn't need to get Open Motif working in the end)
 

I took an alternative approach to the problem, remembering that I had somewhere seen mention of LessTif as an alternative to Motif.

The LessTif build process was the familiar configure/make with --prefix=$HOME.

All worked without a single problem, and now I have ddd up and running!

However, if someone does know how I could install Open Motif I am still interested to find out why I was having problems.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0439s ][ Queries: 12 (0.0043s) ][ GZIP on ]