Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43682 - mandrake-artwork won't compile
Summary: mandrake-artwork won't compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 108183 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-03 21:28 UTC by Tom Kiermaier
Modified: 2006-05-29 03:54 UTC (History)
4 users (show)

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


Attachments
patch (mandrake-artwork.patch,1.22 KB, patch)
2005-07-06 05:57 UTC, basic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Kiermaier 2004-03-03 21:28:15 UTC
I have -kde in my use flags but mandrake-artwork still apparently tries to use it. The configure script looks for KDE and fails. 
I don't know if it's relevant but I get this right after it unpacks the source:

configure.in:60: error: m4_popdef: undefined macro: AC_Dest
autoconf/status.m4:848: AC_CONFIG_FILES is expanded from...
configure.in:60: the top level
autom4te-2.59: /usr/bin/m4 failed with exit status: 1


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




Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-rc1-mm2)
=================================================================
System uname: 2.6.4-rc1-mm2 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/
ftp://mirror.iawnet.sandia.gov/pub/gentoo/
http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apache2 apm arts avi berkdb bindist cdr crypt cups
encode esd fam flac foomaticdb gd gd-external gdbm gif gimpprint gnome gpm gtk
gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla moznocompose
moznoirc mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png
python quicktime readline samba sdl slang spell ssl svga tcltk tcpd tiff
truetype x86 xml2 xmms xv zlib"
Comment 1 unlord 2004-03-21 02:10:10 UTC
I have the same problem, here is the relevant error in the configuration process:

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

It certainly seems like this GTK them shouldn't need any KDE installed to build. Looks like a great theme, I'd love to use it.
Comment 2 Brad Laue (RETIRED) gentoo-dev 2004-03-21 08:52:03 UTC
I'm a little mystified. Removing it from configure.in used to be a functional solution. KDE herd, can you provide any insight?
Comment 3 Ben Carrell 2004-03-23 12:46:15 UTC
i get the m4 error, but it continues through the configure and dies on not finding qt (i dont have qt installed):
checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Comment 4 Anders Rune Jensen (RETIRED) gentoo-dev 2004-03-23 17:01:29 UTC
I've gotten mine compiled now. 

There was two problems, the first that the package inherited from kde which means that I had to install kde-env. Secondly autoconf is not working, that is the reason why it still requires QT.

Furthermore is seems redundant to run automake twice:

                sed -si s/thememdk// Makefile.am
                sed -si s/thememdk// Makefile.in
                automake
                sed -si s/thememdk// Makefile.am
                sed -si s/thememdk// Makefile.in
                automake


So the relevant part that fixes this (sorry for the autoconf hardcode, didn't know how to do it otherwise)

        else
                sed -si s/KDE_CHECK_FINAL// configure.in
                sed -si s/AC_PATH_KDE// configure.in
                autoconf-2.13
                sed -si s/thememdk// Makefile.am
                sed -si s/thememdk// Makefile.in
                automake
        fi


Hip hip hurray for auto****
Comment 5 Anders Rune Jensen (RETIRED) gentoo-dev 2004-05-01 06:20:05 UTC
Without the hardcoded autoconf:

        else
                sed -si s/KDE_CHECK_FINAL// configure.in
                sed -si s/AC_PATH_KDE// configure.in
                WANT_AUTOCONF=2.1 autoconf
                sed -si s/thememdk// Makefile.am
                sed -si s/thememdk// Makefile.in
                automake
        fi


Comment 6 Tom Wesley 2004-05-01 12:46:09 UTC
I have a similar problem with version 1.0.0 checking for qt.  I also have -qt -kde in USE

checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
 
!!! ERROR: x11-themes/mandrake-artwork-1.0.0 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-mp -fstack-protector -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-mp -fstack-protector -fomit-frame-pointer"
DISTDIR="/usr/portage-distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.heanet.ie/pub/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.tiscali.nl/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://gentoo.mirror.sdv.fr"
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="3dnow X aalib alsa apm avi berkdb bonobo cdr crypt cups directfb dvd dvdr encode foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib ipv6 java jpeg ldap libg++ libwww linguas_en_GB mad mikmod mmx motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl pic png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex truetype video_cards_radeon x86 xml2 xmms xv zlib"
Comment 7 Kathy Wills 2004-05-01 15:12:23 UTC
Changing the ebuild as per the without hardcoded autoconf from Anders Rune.Jensen let it emerge for me.
Comment 8 basic 2005-07-06 05:57:54 UTC
Created attachment 62747 [details, diff]
patch

1) adds WANT_AUTOCONF=2.1
2) grep out mcopidl/artsc-config check when kde is enabled, so that it will
compile without arts installed
3) removed double thememdk removal
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 06:12:19 UTC
Re-assigning, maybe someone else wants to maintain this. 
Comment 10 Chris Torske 2005-10-05 14:26:32 UTC
*** Bug 108183 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-05-12 07:59:58 UTC
Re-assign wrt Bug 133109.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-05-29 03:54:09 UTC
Not going anywhere. If you have issues w/ latest stable version (1.0.2), file a *new* bug.