Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220497 - [science overlay] sci-visualization/udav-0.3.2 configuration still fails on fltk
Summary: [science overlay] sci-visualization/udav-0.3.2 configuration still fails on fltk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 23:38 UTC by François Bissey
Modified: 2008-05-11 23:12 UTC (History)
0 users

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


Attachments
new fltk patch for udav (udav-fltk.patch,935 bytes, patch)
2008-05-11 04:51 UTC, François Bissey
Details | Diff
revised ebuild using the new patch (udav-0.3.2.ebuild,786 bytes, text/plain)
2008-05-11 04:52 UTC, François Bissey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2008-05-05 23:38:05 UTC
I synced the science overlay at revision 1038 (it includes change 1036 relating
to the same issue apparently) and tried to emerge udav it fails with the following message:
checking for mgl/mgl_c.h... yes
checking for main in -lmgl... yes
checking fltk-1.1/FL/Fl_Export.H usability... yes
checking fltk-1.1/FL/Fl_Export.H presence... yes
checking for fltk-1.1/FL/Fl_Export.H... yes
checking for main in -lfltk... no
Please install FLTK library (libfltk)
---------
I have fltk-1.1.7-r2 installed. 

Reproducible: Always




merge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.6.1-r0, 2.6.23-gentoo-r9 i686)
=================================================================
System uname: 2.6.23-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
Timestamp of tree: Mon, 05 May 2008 07:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.citylink.co.nz/gentoo http://mirrors.tds.net/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.eliteitminds.com"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/scratch"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/local/portage /home/francois/Work/Gentoo-sage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl alsa amr ao asf audiofile berkdb bidi bootsplash branding bzip2 cairo cddb cdf cdparanoia cli composite cracklib crypt cups curl dbus dga dmi dri dts dv dvd dvdr dvdread encode exif expat fb fbcon ffmpeg fftw flac fontconfig foomaticdb fortran fpx gdbm geoip gif gimpprint glut gmp gpm graphviz gs gstreamer gtk gtk2 hal iconv id3tag idn imagemagick imlib imlib2 ipv6 isdnlog jack java jbig joystick jpeg jpeg2k kde kdehiddenvisibility kpathsea ladspa lame lapack latex lcms libsamplerate lzo mad matroska midi mikmod mime mmx mmx2 mmxext mng motif mp3 mp4 mpeg mplayer mudflap musepack musicbrainz ncurses netcdf network nls nptl nptlonly ogg openal openexr opengl openmp pcre pdf perl png portaudio posix ppds pppd python qt3 qt4 quicktime readline real reflection sdl session sndfile sox spell spl sqlite3 sse ssl svg svga szip tcl tcltk tcpd tetex tga theora tiff tk truetype unicode usb vcd vidix vorbis wavpack wmf x264 x86 xanim xattr xcb xcomposite xine xml xorg xpm xsl xv xvid xvmc zeroconf zlib" ALSA_CARDS="cmipci via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB fr" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 François Bissey 2008-05-11 04:50:43 UTC
Ok as it happens libfltk is in /usr/lib/libfltk-1.1 and the configure 
program as it is with the patch cannot find it.
After inspecting a few ebuild including fltk (cupsddk fltk patch was 
especially instructive) I decided to change things a little bit.
So here is an updated patch and ebuild which build on my system.
mathgl has the same problem and could use the same kind of love.
I may do that if I have time.  
Comment 2 François Bissey 2008-05-11 04:51:35 UTC
Created attachment 152805 [details, diff]
new fltk patch for udav
Comment 3 François Bissey 2008-05-11 04:52:44 UTC
Created attachment 152807 [details]
revised ebuild using the new patch

Sorry a bit too lazy to diff that one.
Comment 4 Andrey Grozin gentoo-dev 2008-05-11 21:16:13 UTC
Thank you, your solution is very nice. I applied it (together with a few more improvements), and also wrote something similar for mathgl (though there things are a bit more lengthy).
Comment 5 François Bissey 2008-05-11 23:12:44 UTC
Not to be a pain but it compiles and run on my ppc machine, can you
keyword them ppc as well?