Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30366 - media-sound/yammi fails to compile without kde installed.
Summary: media-sound/yammi fails to compile without kde installed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-05 00:11 UTC by Brandy Westcott (RETIRED)
Modified: 2003-10-23 16:01 UTC (History)
0 users

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


Attachments
proposed yammi-0.8.2-qt patch (yammi-0.8.2-gentoo.patch,1.63 KB, patch)
2003-10-05 00:23 UTC, Brandy Westcott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brandy Westcott (RETIRED) gentoo-dev 2003-10-05 00:11:48 UTC
'USE="-kde" emerge yammi' fails with the following error in configure:


....
checking if Qt needs -ljpeg... no
checking for rpath... yes
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!

!!! ERROR: media-sound/yammi-0.8.2 failed.
!!! Function econf, Line 324, Exitcode 1
!!! econf failed


This is caused by the ebuild incorrectly specifying the --disable-noatun
option rather than the --disable-KDE option when USE="-kde" is set.

However if we do specify the --disable-KDE option then the configure
script will not check our qt environment. This causes the compile to
die since it can't find any qt header files:


g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -march=pentium3 -O2 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new  -c -o CFrameHeader.o `test -f CFrameHeader.cpp || echo './'`CFrameHeader.cpp
In file included from CFrameHeader.cpp:1:
CFrameHeader.h:4:21: qstring.h: No such file or directory

.....

!!! ERROR: media-sound/yammi-0.8.2 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! emake failed


yammi-1.0-rc1 has been released but does not fix these errors.

I guess we could either make kde a fixed dependency of yammi
(which is a shame if we only want yammi to support xmms), or we could
patch the configure script to allow the qt environment to be checked
if --disable-KDE is specified in the ebuild.
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-10-05 00:23:24 UTC
Created attachment 18772 [details, diff]
proposed yammi-0.8.2-qt patch

This patch should allow yammi to be installed when USE="-kde" is set
and the ebuild changes the following line:

	use kde || myconf="--disable-noatun ${myconf}"

to

	use kde || myconf="--disable-KDE --disable-noatun ${myconf}"
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-10-23 10:34:57 UTC
Looks good Brandy..please commit.
Comment 3 Brandy Westcott (RETIRED) gentoo-dev 2003-10-23 16:01:26 UTC
in cvs.