Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84826 - Grace 5.1.14 configure: error: M*tif has not been found
Summary: Grace 5.1.14 configure: error: M*tif has not been found
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donnie Berkholz (RETIRED)
URL:
Whiteboard:
Keywords:
: 84822 84824 84825 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-11 01:34 UTC by Faustin Roman
Modified: 2005-04-15 04:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Grace config.log (grace.config.log,22.02 KB, text/plain)
2005-03-11 02:32 UTC, Faustin Roman
Details
emerge motif-config (2451-motif-config-0.4.log,466 bytes, text/plain)
2005-03-12 02:46 UTC, Faustin Roman
Details
emerge openmotif (2452-openmotif-2.2.3-r5.log,517.30 KB, text/plain)
2005-03-12 02:46 UTC, Faustin Roman
Details
emerge openmotif (cont.) (2453-openmotif-2.2.3-r5.log,72 bytes, text/plain)
2005-03-12 02:48 UTC, Faustin Roman
Details
emerge grace (2453-grace-5.1.14.log,11.96 KB, text/plain)
2005-03-12 02:49 UTC, Faustin Roman
Details
Grace config.log (config.log,22.02 KB, text/plain)
2005-03-12 02:50 UTC, Faustin Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Faustin Roman 2005-03-11 01:34:28 UTC
checking for a Motif >= 1002 compatible API... no
configure: error: M*tif has not been found

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/grace-5.1.14/work/grace-5.1.14/config.log

!!! ERROR: media-gfx/grace-5.1.14 failed.
!!! Function econf, Line 485, Exitcode 0

# motif-config -l
[1] lesstif-2.1
[2] openmotif-2.2 *

Reproducible: Always
Steps to Reproduce:
1. emerge grace
2.
3.




Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r2 i686)
=================================================================
System uname: 2.6.11-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 28 2005, 14:10:20)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.4_p6, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org
http://ftp.lug.ro/gentoo http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acpi acpi4linux alsa apache2 avi bash-completion berkdb
bitmap-fonts bzip2 bzlib c++ cdparanoia cdr codecs crypt css cups dga divx4linux
dpms dvdvd dvdr dvdread edl emboss emoticon encode esd ethereal exif extensions
f2c faad fam fbcon fftw firebird flac flash flood font-server foomaticdb fortran
ftp gdbm geoip gif gmail gpm gs gstreamer gtk gtk2 high-ints httpd imlib java
javascript jikes jpeg jpeg2k kde lesstif libcaca libclamav libg++ libwww
lm_sensors logitech-mouse lzo lzw-tiff mad matroska mbox mikmod milter ming mmx
mmx2 mng monkey motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg
mpeg4 mpi mplayer msn nas ncurses netcdf network nfsv4 nls nocardbus nojoystick
nomac nomotif nosendmail nptl ntlm nvidia oav ogg oggvorbis opengl operanom2 pam
pdflib perl plotutils png posix ppds python qt quicktime readline real rtc samba
sasl scanner sdl silc slang sockets spamassassin spell sse sse2 ssl stream svga
sysvipc tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb
userlocales utf8 v4l2 vorbis xanim xfs xml2 xmms xpm xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Faustin Roman 2005-03-11 01:35:01 UTC
*** Bug 84824 has been marked as a duplicate of this bug. ***
Comment 2 Faustin Roman 2005-03-11 01:35:58 UTC
*** Bug 84822 has been marked as a duplicate of this bug. ***
Comment 3 Brian Harring (RETIRED) gentoo-dev 2005-03-11 01:36:58 UTC
*** Bug 84825 has been marked as a duplicate of this bug. ***
Comment 4 Brian Harring (RETIRED) gentoo-dev 2005-03-11 01:37:44 UTC
Lay off the refreshes/submits please... :)
Comment 5 Faustin Roman 2005-03-11 01:52:00 UTC
sorry... first time bug commiter...;)
Comment 6 Brian Harring (RETIRED) gentoo-dev 2005-03-11 02:23:14 UTC
not a problem.
Might want to attach the config.log :)
Comment 7 Faustin Roman 2005-03-11 02:32:30 UTC
Created attachment 53165 [details]
Grace config.log
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-03-11 12:38:07 UTC
configure:8002: gcc -o conftest  -O2 -march=pentium4 -fomit-frame-pointer   conftest.c -ldnet  -lm  1>&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet
Comment 9 Patrick Kursawe (RETIRED) gentoo-dev 2005-03-11 13:47:07 UTC
Donnie: Ok, looks like the libdnet dep is missing. But about the Motif problem, that seems to be motif-config related. At least I can't reproduce it (and I still don't use motif-config).
Comment 10 Patrick Kursawe (RETIRED) gentoo-dev 2005-03-11 13:53:06 UTC
Shot too fast regarding dnet...

checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no

and configure continues happily. The comments in the configure script also look like it's not necessary.
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2005-03-11 13:57:35 UTC
Bah. HEre's a happier version.

configure:8756: gcc -o conftest   -O2 -march=pentium4 -fomit-frame-pointer     conftest.c -lXm -lXpm -lXp -lXmu -lXt -lXext -lX11  -lSM -lICE  1>&5
configure:8739:22: Xm/XmAll.h: No such file or directory
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-11 23:08:02 UTC
remerge motif-config,openmotif and the grace
Comment 13 Faustin Roman 2005-03-12 02:46:16 UTC
Created attachment 53237 [details]
emerge motif-config
Comment 14 Faustin Roman 2005-03-12 02:46:49 UTC
Created attachment 53238 [details]
emerge openmotif
Comment 15 Faustin Roman 2005-03-12 02:48:51 UTC
Created attachment 53239 [details]
emerge openmotif (cont.)
Comment 16 Faustin Roman 2005-03-12 02:49:13 UTC
Created attachment 53240 [details]
emerge grace
Comment 17 Faustin Roman 2005-03-12 02:50:32 UTC
Created attachment 53241 [details]
Grace config.log

is there something that I'm doing wrong?
Comment 18 Faustin Roman 2005-03-12 02:54:08 UTC
1) emerge --sync
2) emerge motif-config openmotif
3) emerge grace

checking for a Motif >= 1002 compatible API... no
configure: error: M*tif has not been found

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/grace-5.1.14/work/grace-5.1.14/config.log

!!! ERROR: media-gfx/grace-5.1.14 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Is there something that I'm doing wrong?
Comment 19 Faustin Roman 2005-03-12 05:12:50 UTC
It seems is not grace broken or openmotif but motif-config because 
Grace compiles with lesstif also, but I couldn't make it work with it.

I've unmerged lesstif and applyed the workaround described here(Bug 84243
motif-config installs incorrect includes - http://bugs.gentoo.org/show_bug.cgi?id=84243):

"I ran 'motif-config --uninstall openmotif-2.2', manually removed /usr/include/{Xm,uil,Mrm} and ran 'motif-config --install openmotif-2.2'"

Now emerging grace works.
Comment 20 Alexander Benedix 2005-04-15 04:41:07 UTC
I got the same problem here, but (re)-emerging / unmerging lead always to the same error-messages. I changed into the work-directory and did ./configure manually with no option and it worked. So I would say this is a bug in the ebuild of grace and no openmotif/motif-config issue.

Although USE-FLAGS are set to "+fftw +jpeg +netcdf +pdflib +png" I get

checking for netCDF API version >= 3.0... no
--> support for netCDF is disabled
checking for FFTW library >= 2.1.3... no
--> using legacy unoptimized FFT code
checking for zlib >= 1.0.3... no
checking for IJG JPEG software >= 61... no
--> JPEG backend is disabled
checking for libpng >= 0.9.6... no
--> PNG backend is disabled
checking for libtiff >= 19960307... no
checking for PDFlib >= 4.0.3... no
--> PDF driver is disabled
in addition to the motif-error, but a simple manual ./configure finds every lib...

that's funny:
just tried something new: after configuring manually, i tried to emerge grace (which configured grace again) and it succeeded. just double-checked.