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
*** Bug 84824 has been marked as a duplicate of this bug. ***
*** Bug 84822 has been marked as a duplicate of this bug. ***
*** Bug 84825 has been marked as a duplicate of this bug. ***
Lay off the refreshes/submits please... :)
sorry... first time bug commiter...;)
not a problem. Might want to attach the config.log :)
Created attachment 53165 [details] Grace config.log
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
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).
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.
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
remerge motif-config,openmotif and the grace
Created attachment 53237 [details] emerge motif-config
Created attachment 53238 [details] emerge openmotif
Created attachment 53239 [details] emerge openmotif (cont.)
Created attachment 53240 [details] emerge grace
Created attachment 53241 [details] Grace config.log is there something that I'm doing wrong?
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?
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.
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.