LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-31-2009, 09:24 AM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 398
Blog Entries: 1

Rep: Reputation: 35
compile xmgrace on Fedora10 failed: Motif >= 1002 compatible API.


Hi,

Thought I can keep up with the linux kernel and distros that why I am starting to migrate slowly
to Fedora 10.
A tool I have been using for more than 10 year is xmgrace, which I believe is developing.
It is a brilliant software compare to gnuplot with its slightly better GUI.

Anyway, I tried to build it on F10, but I hit something during ../configure.


Quote:
checking for a Motif >= 1002 compatible API... no
configure: error: M*tif has not been found
Since I have built xmgrace a millions times (.. not entirely true, any way.. a lot of times), I know that motif is not installed.
But openmotif.rpm seems to have been dropped..
This is unfortunate, since I believe there is nothing better than xmgrace right now.

What can I do ? downgrade to lower version of Fedora or look for a distro that support motif or xmgrace ?

This kind of things are most afraid by most Linux users I guess..
Edit/Delete Message
 
Old 07-31-2009, 11:32 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
It may just want the library which you can get by installing lesstif instead of motif. Lesstif should be in the Fedora repositories. They don't provide Motif because of logo or license not fitting into their way of doing things.

Dag Wieers site probably has a motif rpm for Fedora 10 if you absolutely have to have it.
 
Old 07-31-2009, 11:34 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
cd grace.5.1.xx
./configure
... and I get 'no' to a lot of things, already installed.
'lesstif-devel' is available, so is openmotif-devel, from
rpm.pbone http://rpm.pbone.net/
But no luck with any of those.

So why not use # yum install grace
... you will get grace-5.1.22, providing /usr/bin/xmgrace .
.....
 
Old 07-31-2009, 01:07 PM   #4
centguy
Member
 
Registered: Feb 2008
Posts: 398
Blog Entries: 1

Original Poster
Rep: Reputation: 35
still hit this for grace 5.1.20:

Quote:
checking for XpmCreatePixmapFromData in -lXpm... no
checking for a Motif >= 1002 compatible API... no
configure: error: M*tif has not been found
[ckgan@f10-dell-port2 grace-5.1.20]$
This happens despite :

Quote:
[ckgan@f10-dell-port2 grace-5.1.20]$ rpm -qva | grep tif
notify-python-0.1.1-4.fc10.i386
notification-daemon-0.3.7.90-1.svn3009.fc10.i386
lesstif-0.95.0-26.fc10.i386
ca-certificates-2008-7.noarch
startup-notification-0.9-4.fc9.i386
libnotify-0.4.4-12.fc10.i386
notification-daemon-engine-nodoka-0.1.0-3.fc10.i386
libtiff-3.8.2-14.fc10.i386
xlockmore-motif-5.26.1-1.fc10.i386
lesstif-devel-0.95.0-26.fc10.i386
yum install grace is okay, but then the labels in the graph in xmgrace window are inside
black boxes. This make xmgrace labels very unreadable. I doubt it is a font problem. Might have to do with customization ?.. I haven't seen things like this
before in xmgrace.. Seems like more hunting is to be done!

The issue is not resolved yet!
 
Old 07-31-2009, 03:06 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
wget http://download.fedora.redhat.com/pu...2.fc10.src.rpm

# yum install netcdf-devel fftw2-devel t1lib-devel xbae-devel

# rpmbuild -bb grace.spec
... and a package is created :
/root/rpmbuild/RPMS/i386/grace-5.1.22-2.fc10.i386.rpm

# cp -a /root/rpmbuild/BUILD/grace-5.1.22/ /home/"user"/<new-dir>/

# chown -R <user> grace-5.1.22/
cd grace-5.1.22/ ; 'make clean'
and I tried using the configure line in grace.spec,
but still no to a Motif >= 1002 compatible API, etc.:

Code:
./configure \
    --enable-editres \
    --with-editor=nedit \
    --with-helpviewer="xdg-open %s" \
    --with-printcmd="lpr" \
    --disable-pdfdrv \
    --with-x \
    --with-f77=gfortran \
    --with-extra-incpath=/usr/include/netcdf \
    --with-bundled-xbae=no
Have a look in the 'grace.spec' and the patches and see
if you can sort it out.
.....

Last edited by knudfl; 07-31-2009 at 03:07 PM.
 
Old 07-31-2009, 11:58 PM   #6
centguy
Member
 
Registered: Feb 2008
Posts: 398
Blog Entries: 1

Original Poster
Rep: Reputation: 35
download openmotif-2.2.2-12.i386 from pbone, but still failed at ./configure.

Quote:
[root@f10-dell-port2 Download]# rpm -qis openmotif-2.2.2-12.i386
Name : openmotif Relocations: /usr/X11R6
Version : 2.2.2 Vendor: Red Hat, Inc.
Release : 12 Build Date: Tue 27 Aug 2002 07:16:41 AM SGT
Install Date: Sat 01 Aug 2009 11:54:26 AM SGT Build Host: stripples.devel.redhat.com
Group : System Environment/Libraries Source RPM: openmotif-2.2.2-12.src.rpm
Size : 3696175 License: Open Group Public License
Signature : DSA/SHA1, Wed 04 Sep 2002 05:32:14 AM SGT, Key ID 219180cddb42a60e
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.motifzone.org/
Summary : Open Motif runtime libraries and executables.
Description :
This is the Open Motif 2.2.2 runtime environment. It includes the
Motif shared libraries, needed to run applications which are dynamically
linked against Motif, and the Motif Window Manager "mwm".
normal /etc/X11/xinit/xinitrc.d/xmbind
normal /usr/X11R6/bin/mwm
normal /usr/X11R6/bin/xmbind
normal /usr/X11R6/include/X11/bitmaps/xm_error
normal /usr/X11R6/include/X11/bitmaps/xm_hour16
normal /usr/X11R6/include/X11/bitmaps/xm_hour16m
normal /usr/X11R6/include/X11/bitmaps/xm_hour32
normal /usr/X11R6/include/X11/bitmaps/xm_hour32m
normal /usr/X11R6/include/X11/bitmaps/xm_information
normal /usr/X11R6/include/X11/bitmaps/xm_noenter16
normal /usr/X11R6/include/X11/bitmaps/xm_noenter16m
normal /usr/X11R6/include/X11/bitmaps/xm_noenter32
normal /usr/X11R6/include/X11/bitmaps/xm_noenter32m
normal /usr/X11R6/include/X11/bitmaps/xm_question
normal /usr/X11R6/include/X11/bitmaps/xm_warning
normal /usr/X11R6/include/X11/bitmaps/xm_working
normal /usr/X11R6/lib/X11/bindings
normal /usr/X11R6/lib/X11/bindings/acorn
normal /usr/X11R6/lib/X11/bindings/apollo
normal /usr/X11R6/lib/X11/bindings/dec
normal /usr/X11R6/lib/X11/bindings/dg_AViiON
normal /usr/X11R6/lib/X11/bindings/doubleclick
normal /usr/X11R6/lib/X11/bindings/hal
normal /usr/X11R6/lib/X11/bindings/hitachi
normal /usr/X11R6/lib/X11/bindings/hp
normal /usr/X11R6/lib/X11/bindings/ibm
normal /usr/X11R6/lib/X11/bindings/intergraph
normal /usr/X11R6/lib/X11/bindings/intergraph17
normal /usr/X11R6/lib/X11/bindings/megatek
normal /usr/X11R6/lib/X11/bindings/motorola
normal /usr/X11R6/lib/X11/bindings/ncr_at
normal /usr/X11R6/lib/X11/bindings/ncr_vt
normal /usr/X11R6/lib/X11/bindings/pc
normal /usr/X11R6/lib/X11/bindings/sgi
normal /usr/X11R6/lib/X11/bindings/siemens_9733
normal /usr/X11R6/lib/X11/bindings/siemens_wx200
normal /usr/X11R6/lib/X11/bindings/sni
normal /usr/X11R6/lib/X11/bindings/sni_97801
normal /usr/X11R6/lib/X11/bindings/sony
normal /usr/X11R6/lib/X11/bindings/sun
normal /usr/X11R6/lib/X11/bindings/sun_at
normal /usr/X11R6/lib/X11/bindings/tek
normal /usr/X11R6/lib/X11/bindings/xmbind.alias
normal /usr/X11R6/lib/X11/system.mwmrc
normal /usr/X11R6/lib/libMrm.so.3
normal /usr/X11R6/lib/libMrm.so.3.0.1
normal /usr/X11R6/lib/libUil.so.3
normal /usr/X11R6/lib/libUil.so.3.0.1
normal /usr/X11R6/lib/libXm.so.3
normal /usr/X11R6/lib/libXm.so.3.0.1
normal /usr/X11R6/man/man1/mwm.1.gz
normal /usr/X11R6/man/man1/xmbind.1.gz
normal /usr/share/doc/openmotif-2.2.2
normal /usr/share/doc/openmotif-2.2.2/COPYRIGHT.MOTIF
normal /usr/share/doc/openmotif-2.2.2/README
normal /usr/share/doc/openmotif-2.2.2/RELEASE
normal /usr/share/doc/openmotif-2.2.2/RELNOTES
 
Old 08-01-2009, 02:44 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Yes, I know, the openmotif isn't found, ref. post # 3.
And I used packages for Fedora 10 :
openmotif-2.3.0-0.3.fc10.ccrma.i386.rpm
openmotif-devel-2.3.0-0.3.fc10.ccrma.i386.rpm

And they are not from from 2002, like the one
shown in post # 6, and is not the issue.
I also used to compile grace / xmgrace with no errors.
.....
 
Old 08-01-2009, 08:42 AM   #8
centguy
Member
 
Registered: Feb 2008
Posts: 398
Blog Entries: 1

Original Poster
Rep: Reputation: 35
manage to put in

Quote:
[root@f10-dell-port2 Download]# rpm -qva | grep openmotif
openmotif-2.3.2-1.i386
openmotif-devel-2.3.2-1.i386
rpm are from http://www.openmotif.org/filebrowser...otif/2.3/2.3.2

still no luck with ./configure.

I can still use the "crappy" xmgrace from "yum install grace" but then
I have to tolerate the invisible texts for the labels in black boxes.

Seems like a tough game here.


Further info:
Quote:
Name : openmotif-devel Relocations: /usr
Version : 2.3.2 Vendor: (none)
Release : 1 Build Date: Thu 19 Mar 2009 12:41:37 AM SGT
Install Date: Sat 01 Aug 2009 08:33:02 PM SGT Build Host: localhost.localdomain
Group : Development/Libraries Source RPM: openmotif-2.3.2-1.src.rpm
Size : 6934314 License: Open Group Public License
Signature : (none)
URL : http://www.motifzone.org/
Summary : Open Motif development libraries and header files.
Description :
This is the Open Motif 2.3.2 development environment. It includes the
static libraries and header files necessary to build Motif applications.

Last edited by centguy; 08-01-2009 at 08:45 AM.
 
Old 08-01-2009, 08:46 AM   #9
centguy
Member
 
Registered: Feb 2008
Posts: 398
Blog Entries: 1

Original Poster
Rep: Reputation: 35
probably ./configure of grace is so outdated... Anyone know how to hack their ./configure and save the world ?
 
Old 08-22-2009, 10:40 AM   #10
centguy
Member
 
Registered: Feb 2008
Posts: 398
Blog Entries: 1

Original Poster
Rep: Reputation: 35
now I can compile xmgrace on Fedora 10 using someone's help.

See an update on http://forums.fedoraforum.org/showth...=1#post1257054

But the black text problem is still unresolved. It may prove to be
very interesting to find out exactly the reason why.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connect to juniper vpn failed@fedora10:Firefox3.05 xbuffalo Linux - Networking 0 01-16-2009 12:49 PM
Dual Boot Fedora10/WindowsXP (Fedora10 installed first) jalf86 Fedora 8 12-26-2008 04:40 PM
Can't compile a Xen compatible glibc lanart Slackware 4 12-07-2007 02:26 AM
Motif/SuSE10.1 compile error Geoff_Mac Programming 1 11-15-2006 06:47 PM
Can't get MOTIF to compile with my libraries... jwblair Programming 2 04-28-2002 07:35 PM


All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration