Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2312 - gtk-perl cannot be built without gnome.
Summary: gtk-perl cannot be built without gnome.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-01 12:28 UTC by Sebastian Sjöberg
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Sjöberg 2002-05-01 12:28:48 UTC
When trying to compile gimp with USE='-gnome' gtk-perl failed to build with the
following errors:
>>> emerge dev-perl/gtk-perl-0.7008 to /
>>> md5 ;-) Gtk-Perl-0.7008.tar.gz
>>> Unpacking source...
>>> Unpacking Gtk-Perl-0.7008.tar.gz
>>> Source unpacked.

Can't exec "gnome-config": No such file or directory at Makefile.PL line 141.
Can't exec "gdk-pixbuf-config": No such file or directory at Makefile.PL line 141.
Can't exec "gnome-config": No such file or directory at Makefile.PL line 141.
Can't exec "gnome-config": No such file or directory at Makefile.PL line 141.
Submodule gnome is needed to build gnomeprint but it appears 
it's misdetected or not selected for compilation.
Available modules: gtk gtkhtml gtkglarea gdkimlib gdkpixbuf gtkxmhtml gnome
gnomeprint applets glade.

You can disable the inclusion of a module using --without-pkgname.
If a package is misdetected and you still want it to compile 
use --with-pkgname-force.
To disable autodetection of modules use --without-guessing.
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 7, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/dev-perl/gtk-perl/gtk-perl-0.7008.ebuild .


It seems like this line in the ebuild script doesn't evaluete to the right thing:
if [ -z "`use gnome`" ] ; then

because if I print the myconf variable after the if statement it doesn't contain
the "--without-guessing" value it should. I guess it's an easy fix but I haven't
dwelled deeper into the ebuild thing yet.
Comment 1 Spider (RETIRED) gentoo-dev 2002-05-06 14:01:23 UTC
emerge rsync, later versions are changed a lot.