Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 168112

Summary: net-www/gnash-0.7.2_p20099999 ebuild does not detect installed qt libraries
Product: Gentoo Linux Reporter: Sarath Menon <gentoo>
Component: New packagesAssignee: Stefan Schweizer (RETIRED) <genstef>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gnash ebuild diff

Description Sarath Menon 2007-02-23 11:29:56 UTC
Hello,

I am trying to emerge gnash cvs version with these USE flags:

[ebuild  N    ] net-www/gnash-0.7.2_p20099999  USE="ffmpeg kde nsplugin xml -agg -gstreamer" VIDEO_CARDS="i810" 0 kB

The script fetches the sources, but compile fails because of this error:

Configured paths for x86_64-pc-linux-gnu are:
        DocBook document processing disabled (default)
        XML flags are: -I/usr/include/libxml2
        XML libs are: -lxml2 -lz -lm
        KDE flags are: -I/usr/kde/3.5/include/kde -I/usr/kde/3.5/include/kde/kio
        KDE libs are: -L/usr/kde/3.5/lib -lkdeui -lkdecore -lkdeprint
        ERROR: No QT development package installed!
               Reconfigure with --disable-klash to continue
               and/or change to a different gui

<snip />
        Z flags are: default include path
        Z libs are: -L/lib -lz
        KDE flags are: -I/usr/kde/3.5/include/kde -I/usr/kde/3.5/include/kde/kio
        KDE libs are: -L/usr/kde/3.5/lib -lkdeui -lkdecore -lkdeprint
        ERROR: No QT development package installed!
               Reconfigure with --disable-klash to continue
               and/or change to a different gui

configure: error: Please install required packages



Reproducible: Always

Steps to Reproduce:
1. echo 'net-www/gnash  **' >> /etc/portage/package.keywords
2. USE=kde emerge net-www/gnash

Actual Results:  
This should not happen because gentoo installs all files provided by qt and I have both qt3 and qt4 installed. Adding --with-qt-incl=/usr/qt/3/include/ --with-qt-lib=/usr/qt/3/lib64/ to the configure statement fizes the issue. I am attaching the diff of the ebuild that I've used to compile it.
Comment 1 Sarath Menon 2007-02-23 11:32:20 UTC
Created attachment 111040 [details, diff]
gnash ebuild diff
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2007-02-23 12:38:22 UTC
thanks, I fixed it, using some advanced ebuild magic - please check if the tree ebuild works for you in a few hours.
Comment 3 Sarath Menon 2007-02-23 20:03:06 UTC
The version in the tree works. Thank you.