Chris wrote:

I am updating to kde 3.1.5, it got as far as kdemultimedia then stops with the following error.

--------------------------------------------------------------------------------
from /usr/include/asm/byteorder.h:65,
from /usr/include/linux/cdrom.h:14,
from cdromAccess_Linux.cpp:20,
from cdromAccess.cpp:26:
/usr/include/linux/byteorder/swab.h: In function `const __u32
__fswab24(unsigned int)':
/usr/include/linux/byteorder/swab.h:174: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h:174: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h: In function `__u32 __swab24p(__u32*)':
/usr/include/linux/byteorder/swab.h:178: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h:178: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h: In function `void __swab24s(__u32*)':
/usr/include/linux/byteorder/swab.h:182: error: ISO C++ forbids braced-groups
within expressions
/usr/include/linux/byteorder/swab.h:182: error: ISO C++ forbids braced-groups
within expressions
make[4]: *** [cdromAccess.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.5/work/kdemultimedia-3.1.5/mpeglib/lib/input'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.5/work/kdemultimedia-3.1.5/mpeglib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.5/work/kdemultimedia-3.1.5/mpeglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.5/work/kdemultimedia-3.1.5'
make: *** [all] Error 2


!!! ERROR: kde-base/kdemultimedia-3.1.5 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
!!! died running emake, kde_src_compile:make

-------------------------------------------------------------------------

I ran it through twice to be sure each time the same error. Any ideas on how to fix this?

--
Chris


-- [EMAIL PROTECTED] mailing list




I did two things, which I found in the forums. I had the same error as you and this worked. I tried number 1 first and it didn't work, then added number 2 and it worked. So, I don't know if I needed number 1 or not. It takes too long to compile for me to try it with number 2 only.

I guess autoconf can have multiple behaviors. If I do "autoconf --version" I get 2.13. If I set WANT_AUTOCONF=2.5, then "autoconf --version" returns 2.5. The forum thread indicates that autoconf caused problems for kde 3.1.4 so I tried this first.

1. WANT_AUTOCONF=2.5 emerge -u kdemultimedia

As I said, this didn't work. One post in the tread mentioned changing some compile time options directly in the ebuild (/usr/portage/kde-base/kdemultimedia/kdemultimedia-3.1.5.ebuild), which I did:

2. myconf="$myconf --disable-strict --disable-warnings". Add this after the other myconf lines toward the top of the file.

The forum thread is: http://forums.gentoo.org/viewtopic.php?t=122430

I also changed my USE variable to -esd, but I don't think that was related.

Hope this helps.

Cheers,
Kevin

--
[EMAIL PROTECTED] mailing list



Reply via email to