Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 31st July 2009, 02:21 PM
centguy Offline
Registered User
 
Join Date: Dec 2008
Posts: 53
linuxfirefox
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..
Reply With Quote
  #2  
Old 31st July 2009, 09:53 PM
mhatch Offline
Registered User
 
Join Date: Jul 2009
Posts: 1
windows_xp_2003firefox
The current release of OpenMotif (v2.3.2) is available for F10 at:

http://www.openmotif.org/filebrowser...otif/2.3/2.3.2

There are also older versions of OM available (2.2.x + 2.3.x) but not for F10 because they predated F10.

Mark
Reply With Quote
  #3  
Old 31st July 2009, 10:04 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Have you tried grace?


http://plasma-gate.weizmann.ac.il/Grace/

Code:
su
yum install grace
Reply With Quote
  #4  
Old 1st August 2009, 12:28 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,292
linuxopera
Quote:
But openmotif.rpm seems to have been dropped..
Or: Try:
yum install lesstif lesstif-devel

V
Reply With Quote
  #5  
Old 1st August 2009, 05:11 AM
centguy Offline
Registered User
 
Join Date: Dec 2008
Posts: 53
linuxfirefox
yum install grace install xmgrace alright, but there is a slight glitch (may be more) with the labels inside black boxes. Don't know what causes it.

Don't know the exact relations between lesstif and openmotif.

I have lesstif but cannot install openmotif.

Essential info:

Quote:
[root@f10-dell-port2 Download]# uname -a
Linux f10-dell-port2 2.6.27.25-170.2.72.fc10.i686 #1 SMP Sun Jun 21 19:03:24 EDT 2009 i686 i686 i386 GNU/Linux
[root@f10-dell-port2 Download]# rpm -qva | grep lesstiflesstif-0.95.0-26.fc10.i386
lesstif-devel-0.95.0-26.fc10.i386
[root@f10-dell-port2 Download]# rpm -qva | grep openmotif
[root@f10-dell-port2 Download]# rpm -ivh openmotif-2.3.2-1.fc9.i386.rpm
Preparing... ########################################### [100%]
file /usr/lib/libMrm.so from install of openmotif-2.3.2-1.i386 conflicts with file from package lesstif-devel-0.95.0-26.fc10.i386
file /usr/lib/libUil.so from install of openmotif-2.3.2-1.i386 conflicts with file from package lesstif-devel-0.95.0-26.fc10.i386
file /usr/lib/libXm.so from install of openmotif-2.3.2-1.i386 conflicts with file from package lesstif-devel-0.95.0-26.fc10.i386

Of course, I am still hitting:
Quote:
checking for XpmCreatePixmapFromData in -lXpm... no
checking for a Motif >= 1002 compatible API... no
configure: error: M*tif has not been found
Trying to uninstall lesstif:

Quote:
[root@f10-dell-port2 Download]# rpm -e lesstif-0.95.0-26.fc10.i386 lesstif-devel-0.95.0-26.fc10.i386
error: Failed dependencies:
libXm.so.2 is needed by (installed) xlockmore-motif-5.26.1-1.fc10.i386
libXm.so.2 is needed by (installed) xpdf-1:3.02-13.fc10.i386
libXm.so.2 is needed by (installed) xbae-4.60.4-10.fc10.i386
libXm.so.2 is needed by (installed) nedit-5.5-20.fc10.i386
libXm.so.2 is needed by (installed) grace-5.1.22-2.fc10.i386
lesstif is needed by (installed) xbae-4.60.4-10.fc10.i386
lesstif is needed by (installed) nedit-5.5-20.fc10.i386
Reply With Quote
  #6  
Old 1st August 2009, 05:23 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,292
linuxopera
OK, so lesstif was a bust, so remove it (and matching lesstif-devel), then (re)install openmotif AND matching openmotif-devel from the link by mhatch. I see RPMs for F10 there....

Then try to compile xmgrace again if desired.

BTW, we had a discussion a while back about grace and font/rendering problems. You might want to search the forums... try my username and keywords: grace [font]

V

P.S. Somehow I missed the last bit about the failed removal. Since none of these packages is critical to OS operation, remove lesstif[-devel] by force:
rpm -ev --nodeps lesstif lesstif-devel

Last edited by Hlingler; 1st August 2009 at 05:29 AM.
Reply With Quote
  #7  
Old 1st August 2009, 05:32 AM
centguy Offline
Registered User
 
Join Date: Dec 2008
Posts: 53
linuxfirefox
okay. i have not been careful. But will try out openmotif for f10 to avoid the conflicts (somehow I get
fc9, may be I got it from pbone, well, there is always something with the legacy issues and one wrong
step leads to another.

oh yes, the equivalent openmotif-devel will be installed too. But I have boot to another OS to do some real work. Will report back.
Reply With Quote
  #8  
Old 1st August 2009, 01:36 PM
centguy Offline
Registered User
 
Join Date: Dec 2008
Posts: 53
linuxfirefox
okay with the following:

Quote:
rpm -e lesstif-devel-0.95.0-26.fc10.i386
rpm -ivh openmotif-2.3.2-1.fc10.i386.rpm
rpm -ivh openmotif-devel-2.3.2-1.fc10.i386.rpm
but still

Quote:
checking for XpmCreatePixmapFromData in -lXpm... no
checking for a Motif >= 1002 compatible API... no
configure: error: M*tif has not been found
give up for now..
Reply With Quote
  #9  
Old 20th August 2009, 04:39 PM
centguy Offline
Registered User
 
Join Date: Dec 2008
Posts: 53
linuxfirefox
Just found this texts in black rectangles problem in another post.

Seem like no one is able to solve this problem yet in Fedora 10 yet..

http://forums.fedoraforum.org/showthread.php?p=1132569

Help!! I need grace on Fedora 10. I just did yum update just now and the problem still persists.

the situation now is: I cannot build grace from source (even though I was able to build it many times in other OS, and I don't consider I am new in this game) and grace rpm is still broken.. sigh!!

Last edited by centguy; 20th August 2009 at 04:49 PM.
Reply With Quote
  #10  
Old 20th August 2009, 08:06 PM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,292
linuxopera
Suggestion: since you still can't build [xm]grace from source code, due to that error: "checking for a Motif >= 1002 compatible API... no", try to re-build the F10 SRPM against those openmotif* packages that you now have installed. Since grace requires either lesstif OR equivalent (in this case: openmotif*), perhaps this will correct the problem. You will need the RPM development tools, and set up your RPM development tree, then download and re-build grace from the F10 SRPM.

Good Luck,
V
Reply With Quote
  #11  
Old 22nd August 2009, 03:36 PM
centguy Offline
Registered User
 
Join Date: Dec 2008
Posts: 53
linuxfirefox
I was able to compile xmgrace from source again on Fedora 10 (there is a big BUT, read on).

I following Post 5 of
http://plasma-gate.weizmann.ac.il/Gr...8b00746c3a8a16

specifically :

Quote:
I had a very similar problem with compilation under Fedora 10. "configure" reports that it can't find a working version of M*tif (although I have one installed in the usual directories /usr/lib and /usr/include) and I spent a fair bit of time trying to figure out why configure could not find them. Then I looked at the config.log and realised that the actual error is "unrecognized command line option -m486". When I went looking for this error on the Forum discussions I found a post from the moderator about simply dropping the -m486 option from the the configure file. I replaced all mentions of m486 with blanks. This solved the problem completely, and "configure" , "make", and "make install" worked smoothly.

Incidentally, it might be useful to mention in the User Guide what the names of the common M*tif libraries are, such as libXm... so that the unskilled user knows what to look for when the error message about missing M*tif appears. It might also be better to have the error message that appears after configure fails on compilation be to "read config.log" rather than the blanket "can't find M*tif".

Anyway, the bottom line is that I am so dependent on xmgrace, and I love it so dearly, that I HAVE to have a working version on my computer (I'm an astrophysicist). Thank you to all the developers and supporters.

Did a quick check, the newly built binary xmgrace runs well, but then the black texts still persists.
This may have to do with the graphic driver and I haven't got a chance to run my portable F10 OS
on a ATI graphic card yet.
Reply With Quote
  #12  
Old 22nd August 2009, 06:33 PM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,292
linuxopera
Unreal. The stated error message(s) certainly did not point to such an issue, but seemed to indicate something else entirely (wrong *motif* API).

'-m486' is an illegal flag: it should be '-m32' and/or '-march=i486' (or i386, i586, etc.), or simply omit as you did. These compiler flags should not be in the source code anyway; they should be left to person who compiles, to be specified on command line. You can try re-compile with the flags shown, but I seriously doubt that would help, since they are ARCH optimization flags.

Since I assume that you still have the openmotif* RPMs installed, but got exactly the same results as with lesstif*, it appears that a video driver and/or [xm]grace bug exists, which leads to the font corruption, as discussed in the other thread.

V
Reply With Quote
  #13  
Old 23rd August 2009, 03:29 AM
centguy Offline
Registered User
 
Join Date: Dec 2008
Posts: 53
linuxfirefox
Thanks!

I hope the following information will shed some light into the font problem:

Quote:
[ckgan@f10-dell-port2 bin]$ ldd /opt/grace-5.1.20/grace/bin/xmgrace | sort
libc.so.6 => /lib/libc.so.6 (0x007ab000)
libdl.so.2 => /lib/libdl.so.2 (0x0094c000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00c16000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00d5c000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00cb5000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x04cdf000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x05290000)
/lib/ld-linux.so.2 (0x00786000)
libm.so.6 => /lib/libm.so.6 (0x00921000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00d8d000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x04d8f000)
libuuid.so.1 => /lib/libuuid.so.1 (0x0049d000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x0039c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00c0a000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00ae1000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00add000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00aff000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00d4a000)
libXft.so.2 => /usr/lib/libXft.so.2 (0x05423000)
libXm.so.4 => /usr/lib/libXm.so.4 (0x00101000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0x0075d000)
libXp.so.6 => /usr/lib/libXp.so.6 (0x00953000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00de9000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x04b6e000)
libz.so.1 => /lib/libz.so.1 (0x00a72000)
linux-gate.so.1 => (0x00ba4000)





[ckgan@f10-dell-port2 bin]$ ldd /usr/bin/xmgrace | sort
libc.so.6 => /lib/libc.so.6 (0x007ab000)
libdl.so.2 => /lib/libdl.so.2 (0x0094c000)
libfftw.so.2 => /usr/lib/libfftw.so.2 (0x00a13000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00cb5000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x04cdf000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x05290000)
/lib/ld-linux.so.2 (0x00786000)
libm.so.6 => /lib/libm.so.6 (0x00921000)
libnetcdf.so.4 => /usr/lib/libnetcdf.so.4 (0x0095d000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00d8d000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x04d8f000)
libt1.so.5 => /usr/lib/libt1.so.5 (0x00c0f000)
libuuid.so.1 => /lib/libuuid.so.1 (0x0026b000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00b07000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00c0a000)
libXbae.so.4 => /usr/lib/libXbae.so.4 (0x00a88000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00ae1000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00add000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00aff000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00d4a000)
libXm.so.2 => /usr/lib/libXm.so.2 (0x00101000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0x0075d000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0x04bca000)
libXp.so.6 => /usr/lib/libXp.so.6 (0x00953000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x04b6e000)
libz.so.1 => /lib/libz.so.1 (0x00a72000)
linux-gate.so.1 => (0x004fb000)



[ckgan@f10-dell-port2 bin]$ rpm -qva | grep motif
openmotif-2.3.2-1.i386
xlockmore-motif-5.26.1-1.fc10.i386
openmotif-devel-2.3.2-1.i386



[ckgan@f10-dell-port2 bin]$ rpm -qva | grep tiff
libtiff-3.8.2-14.fc10.i386
Reply With Quote
  #14  
Old 23rd August 2009, 04:08 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,292
linuxopera
Interesting that there are so many differences (items not in one list, but in the other). I see no obvious conflicts/discrepancies, though. But neither do I see anything that sheds light on the font issue, although I wouldn't really know what to look for. Maybe someone else will have ideas....

Afraid I can't help any more.

libtiff is entirely unrelated to M*tif.

V
Reply With Quote
  #15  
Old 24th August 2009, 11:38 AM
centguy Offline
Registered User
 
Join Date: Dec 2008
Posts: 53
linuxfirefox
about xmgrace on F10 with ATI graphic card, I am afraid I can't test it since for some weird reason, the BIOS refuses to boot the portable OS .. sorry.

Anyway, anyone with some free time at hand might just download grace source code from the web
and compile it in no time (just ./configure and make, that simple!). Wish someone with a different graphic card can do an independent check.
Thanks!
Reply With Quote
Reply

Tags
>, 1002, api, compatible, compile, failed, fedora10, motif, xmgrace

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat failed after fedora10 installation amitshruti123 Installation, Upgrades and Live Media 11 4th March 2009 03:50 PM
X motif libraries bharat211 Using Fedora 6 10th May 2007 10:01 PM
Motif issue righteous Programming & Packaging 3 19th March 2006 01:59 PM
ClamAV 0.8 compile failed on FC3 release simonxyz EOL (End Of Life) Versions 3 17th December 2004 08:18 AM


Current GMT-time: 10:52 (Wednesday, 27-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat