LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   compile xmgrace on Fedora10 failed: Motif >= 1002 compatible API. (http://www.linuxquestions.org/questions/linux-software-2/compile-xmgrace-on-fedora10-failed-motif-%3D-1002-compatible-api-744147/)

centguy 07-31-2009 08:24 AM

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

MensaWater 07-31-2009 10:32 AM

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.

knudfl 07-31-2009 10:34 AM

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 .
.....

centguy 07-31-2009 12:07 PM

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!

knudfl 07-31-2009 02:06 PM

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.
.....

centguy 07-31-2009 10:58 PM

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

knudfl 08-01-2009 01:44 AM

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.
.....

centguy 08-01-2009 07:42 AM

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.

centguy 08-01-2009 07:46 AM

probably ./configure of grace is so outdated... Anyone know how to hack their ./configure and save the world ?

centguy 08-22-2009 09:40 AM

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.


All times are GMT -5. The time now is 02:49 AM.