Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDEmultimedia wont compile :(
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jw3525
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 114
Location: Moscow, ID

PostPosted: Tue Sep 16, 2003 4:28 pm    Post subject: KDEmultimedia wont compile :( Reply with quote

Here is the output from compile:
--------------------
-3.1.3/doc/kghostview'
/usr/kde/3.1/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
/usr/kde/3.1/bin/meinproc: error while loading shared libraries: /usr/lib/libGL.so.1: cannot read file data: Error 21
make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/doc/kghostview'
Making all in kpovmodeler
make[3]: Entering directory `/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/doc/kpovmodeler'
/usr/kde/3.1/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
/usr/kde/3.1/bin/meinproc: error while loading shared libraries: /usr/lib/libGL.so.1: cannot read file data: Error 21
make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/doc/kpovmodeler'
make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/doc'
Making all in kamera
make[2]: Entering directory `/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/kamera'
Making all in kcontrol
make[3]: Entering directory `/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/kamera/kcontrol'
/usr/qt/3/bin/moc ./kamera.h -o kamera.moc
/usr/qt/3/bin/moc ./kameradevice.h -o kameradevice.moc
/usr/qt/3/bin/moc ./kameraconfigdialog.h -o kameraconfigdialog.moc
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/include/gphoto2 -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o kamera.lo `test -f 'kamera.cpp' || echo './'`kamera.cpp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/include/gphoto2 -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o kameradevice.lo `test -f 'kameradevice.cpp' || echo './'`kameradevice.cpp
In file included from /usr/include/gphoto2/gphoto2-port.h:24,
from /usr/include/gphoto2/gphoto2.h:40,
from kameradevice.cpp:19:
/usr/include/gphoto2/gphoto2-port-info-list.h:28: error: comma at end of
enumerator list
In file included from /usr/include/gphoto2/gphoto2.h:41,
from kameradevice.cpp:19:
/usr/include/gphoto2/gphoto2-port-log.h:71:34: warning: ISO C does not permit named variadic macros
/usr/include/gphoto2/gphoto2-port-log.h:95:29: warning: ISO C does not permit named variadic macros
In file included from /usr/include/gphoto2/gphoto2-camera.h:33,
from /usr/include/gphoto2/gphoto2.h:45,
from kameradevice.cpp:19:
/usr/include/gphoto2/gphoto2-file.h:101: error: comma at end of enumerator list
In file included from /usr/include/gphoto2/gphoto2-port.h:24,
from /usr/include/gphoto2/gphoto2.h:40,
from kameraconfigdialog.h:10,
from kamera.cpp:33:
/usr/include/gphoto2/gphoto2-port-info-list.h:28: error: comma at end of
enumerator list
In file included from /usr/include/gphoto2/gphoto2.h:41,
from kameraconfigdialog.h:10,
from kamera.cpp:33:
/usr/include/gphoto2/gphoto2-port-log.h:71:34: warning: ISO C does not permit named variadic macros
/usr/include/gphoto2/gphoto2-port-log.h:95:29: warning: ISO C does not permit named variadic macros
In file included from /usr/include/gphoto2/gphoto2-camera.h:33,
from /usr/include/gphoto2/gphoto2.h:45,
from kameraconfigdialog.h:10,
from kamera.cpp:33:
/usr/include/gphoto2/gphoto2-file.h:101: error: comma at end of enumerator list
kameradevice.cpp: In member function `void KameraDeviceSelectDialog::load()':
kameradevice.cpp:394: warning: suggest parentheses around assignment used as
truth value
make[3]: *** [kameradevice.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
kamera.cpp: In function `static void KKameraConfig::cbGPIdle(GPContext*, void*)
':
kamera.cpp:357: warning: unused variable `KKameraConfig*self'
kamera.cpp:356: warning: unused parameter `GPContext*context'
kamera.cpp: In function `static GPContextFeedback
KKameraConfig::cbGPCancel(GPContext*, void*)':
kamera.cpp:363: warning: unused parameter `GPContext*context'
make[3]: *** [kamera.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/kamera/kcontrol'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/kamera'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdegraphics-3.1.3 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make
----------------------
Here is my output from 'emerge info'
-----------------------
bash-2.05b# emerge info
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 1700+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache -autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss crypt encode mad mikmod ncurses quicktime truetype xmms xv directfb gdbm berkdb slang tetex aalib nas bonobo svga ggi tcltk guile sdl gpm python esd imlib oggvorbis gtk motif gphoto2 scanner acpi apache2 apm arts avi cdr cups doc foomaticdb gif gnome imap innodb java jpeg kde libg++ libwww maildir mbox mmx mozilla mpeg nls mysql oci8 odbc opengl pam pdflib perl png postgres prelude qt readline samba sasl slp snmp spell ssl tcpd usb videos wmf X xml xml2 xosd zlib x86"



--------
Any help would be great. I am running kde 3.1.1 But, I'd really like to know what is up.

Perhaps I am using unstable compiler and glib versions. If that is the case I am screwed right because you cant downgrade glib?

Thanks
Joe
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Tue Sep 16, 2003 8:39 pm    Post subject: Reply with quote

I do not know how serious this is, but KDE requires
Quote:

a C++ compiler which supports exceptions, preferably gcc-2.95.x, gcc-3.1 or gcc-3.2.


Can you downgrade?
Back to top
View user's profile Send private message
jw3525
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 114
Location: Moscow, ID

PostPosted: Tue Sep 16, 2003 10:16 pm    Post subject: Reply with quote

Well,

I would imagine that the gcc compiler isnt so much of a change from the 3.2.3 that I would need to downgrade to install kde. I realize the point you're making but I just cant imagine that would be necessary. Also, my glib 2.2.3 is compiled with the 3.3.1 compiler and if I downgrade either my suspicion is that I would be much less happy than I currently am.

Thanks,
Joe
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Wed Sep 17, 2003 1:39 am    Post subject: Reply with quote

On the other hand, gcc may not be a problem.
I checked the KDE 3.1.2 to 3.1.3 changelog and one thing they fixed is
Quote:

build system updates, gcc 3.4+ compilation fixes (Dirk Mueller)


Dp something else, change the CFLAGS.
Back to top
View user's profile Send private message
jw3525
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 114
Location: Moscow, ID

PostPosted: Wed Sep 17, 2003 2:07 am    Post subject: Reply with quote

Changing the cflags does seem like a reasonable idea. However, I dont have any idea what to change them to. I put the ones that are recommened for my Athlon XP 1700 processor and I tried the good ol defaults.


How would you go about looking up something like CFLAG configurations?

Thanks
Joe
Back to top
View user's profile Send private message
jstubbs
Retired Dev
Retired Dev


Joined: 05 Jul 2003
Posts: 126
Location: Tokyo

PostPosted: Wed Sep 17, 2003 3:05 am    Post subject: Reply with quote

Looking at the errors it is more than likely gcc331. You should be able to downgrade to gcc323, leaving glibc (not glib) as it is, without any problems.

gcc33 brought in much stricter syntax checking and what not to comply with standards. Many packages were hurt by it but most have been fixed now. Even kdemultimedia will probably compile if you USE="-gphoto2".

I'm currently re-emergeing everything and kdemultimedia has also failed for me. Although I haven't checked for what reason yet, I suspect it is probably the same thing. Once the world compilation is finished, I'll go back and look at kdemultimedia and see if I can't find a fix...
Back to top
View user's profile Send private message
rodrigrj
n00b
n00b


Joined: 01 Apr 2003
Posts: 42
Location: Clarkson University

PostPosted: Thu Sep 18, 2003 5:14 am    Post subject: Reply with quote

I tried that USE="-gphoto2" both in the command and in make.conf, but still no go... as you can see....

Code:
mkdir -p -- /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./gravis.cfg /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./gsdrum.cfg /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./midia.cfg /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./mt32.cfg /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./timidity.cfg /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./wowpats.cfg /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./chaos12-voices /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./chaos8-voices /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./megadrum /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./megainst /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./pila-voices /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./sound-canvas-drums /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./guitar /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./piano /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./piano+guitar /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./drums /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./tkpanel.tcl /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./browser.tcl /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
/bin/install -c -p -m 644 ./misc.tcl /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config
if [ ! -f "/var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config/tclIndex" -a -f "/var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config/misc.tcl" ] ; then  \
  (cd /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config; sed -e s@%TCL_DIR%@/usr/kde/3.1/share/apps/kmidi/config@g ./tkmidity.ptcl > tkmidity.tcl ) ; \
  (cd /var/tmp/portage/kdemultimedia-3.1.3/image//usr/kde/3.1/share/apps/kmidi/config; echo 'auto_mkindex . *.tcl; exit' | tclsh ) ; \
fi
sed: can't read ./tkmidity.ptcl: No such file or directory
tclsh: /usr/lib/libc.so.6: no version information available (required by tclsh)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libsandbox.so)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libsandbox.so)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libsandbox.so)
tclsh: /usr/lib/libc.so.6: no version information available (required by /usr/lib/libtcl8.3.so)
tclsh: /usr/lib/libc.so.6: no version information available (required by /usr/lib/libtcl8.3.so)
tclsh: /usr/lib/libc.so.6: no version information available (required by /usr/lib/libtcl8.3.so)
tclsh: /usr/lib/libc.so.6: no version information available (required by /usr/lib/libtcl8.3.so)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libdl.so.2)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libdl.so.2)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libdl.so.2)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libdl.so.2)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libdl.so.2)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libm.so.6)
tclsh: /usr/lib/libc.so.6: no version information available (required by /lib/libm.so.6)
Inconsistency detected by ld.so: do-lookup.h: 115: do_lookup_versioned: Assertion `version->filename == ((void *)0) || ! _dl_name_match_p (version->filename, map)' failed!
make[4]: *** [install-data-local] Error 127
make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/kmidi/config'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/kmidi/config'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/kmidi/config'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/kmidi'
make: *** [install-recursive] Error 1

!!! ERROR: kde-base/kdemultimedia-3.1.3 failed.
!!! Function kde_src_install, Line 162, Exitcode 2
!!! died running make install, kde_src_install:make


I don't get it... I've tried this thing like a dozen times (each time taking an hour until it gets here.....) grrrrrrrrr :evil:

Any ideas???

BTW:
I checked and libc.so.6 is there.... I don't get why its doing that...

Its glibc, right... I'm gonna compile it again and see what happens....
Back to top
View user's profile Send private message
jw3525
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 114
Location: Moscow, ID

PostPosted: Thu Sep 18, 2003 5:19 am    Post subject: Reply with quote

I feel your pain gentoo brother. I have no idea how the hell the error could be in the code. I doubt it would be this far. Certainly I just dont have something setup correctly.

I will add though, my problem is different than yours.

Let me know if you solve it. I would lOVE to hear the answer.

Thanks
Back to top
View user's profile Send private message
jstubbs
Retired Dev
Retired Dev


Joined: 05 Jul 2003
Posts: 126
Location: Tokyo

PostPosted: Thu Sep 18, 2003 5:29 am    Post subject: Reply with quote

After all my rebuilding finished, I tried kdemultimedia again and had no problems. I don't know what went wrong the first time but I have gphoto2 in my USE flags.

rodrigrj: Your problem doesn't look like it's got anything to do with kmultimedia. It looks like either tclsh, glibc or the gcc you built it with is corrupt in some way. I'd try running tclsh from bash and seeing what that gives you.

others: have you synced your portage tree lately? Perhaps and emerge sync followed by another attempt and see what that gives you.
Back to top
View user's profile Send private message
jw3525
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 114
Location: Moscow, ID

PostPosted: Thu Sep 18, 2003 6:12 am    Post subject: Reply with quote

I am still not having any luck. Here is the failed kdemultimedia output.

NEED HELP
------------------
dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o cdconfigimp.o `test -f 'cdconfigimp.cpp' || echo './'`cdconfigimp.cpp
In file included from /usr/include/linux/cdrom.h:14,
from cdconfigimp.cpp:78:
/usr/include/asm/byteorder.h:38: syntax error before `(' token
/usr/include/asm/byteorder.h:42: '__u64' is used as a type, but is not defined
as a type.
/usr/include/asm/byteorder.h:43: syntax error before `}' token
/usr/include/asm/byteorder.h:44: syntax error before `.' token
/usr/include/asm/byteorder.h:50: syntax error before `.' token
/usr/include/asm/byteorder.h:51: syntax error before `.' token
/usr/include/asm/byteorder.h:52: syntax error before `:' token
In file included from /usr/include/linux/byteorder/little_endian.h:11,
from /usr/include/asm/byteorder.h:65,
from /usr/include/linux/cdrom.h:14,
from cdconfigimp.cpp:78:
/usr/include/linux/byteorder/swab.h:199: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:209: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:213: `__u64' was not declared in this scope
/usr/include/linux/byteorder/swab.h:213: `addr' was not declared in this scope
/usr/include/linux/byteorder/swab.h:214: variable or field `__swab64s' declared
void
/usr/include/linux/byteorder/swab.h:214: `__swab64s' declared as an `inline'
variable
/usr/include/linux/byteorder/swab.h:214: syntax error before `{' token
cdconfigimp.cpp:81: syntax error before `}' token
make[3]: *** [cdconfigimp.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/kaudiocreator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/kaudiocreator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3'
make: *** [all] Error 2

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

bash-2.05b#
Back to top
View user's profile Send private message
jstubbs
Retired Dev
Retired Dev


Joined: 05 Jul 2003
Posts: 126
Location: Tokyo

PostPosted: Thu Sep 18, 2003 6:26 am    Post subject: Reply with quote

jw3525: what gcc version are you running?
Back to top
View user's profile Send private message
jw3525
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 114
Location: Moscow, ID

PostPosted: Thu Sep 18, 2003 6:28 am    Post subject: Reply with quote

[code]bash-2.05b# emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 1700+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache -autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss crypt encode mad mikmod ncurses quicktime truetype xmms xv directfb gdbm berkdb slang tetex aalib nas bonobo svga ggi tcltk guile sdl gpm python esd imlib oggvorbis gtk motif gphoto2 scanner acpi apache2 apm arts avi cdr cups doc foomaticdb gif gnome imap innodb java jpeg kde libg++ libwww maildir mbox mmx mozilla mpeg nls mysql oci8 odbc opengl pam pdflib perl png postgres prelude qt readline samba sasl slp snmp spell ssl tcpd usb videos wmf X xml xml2 xosd zlib x86"

[/code]
Back to top
View user's profile Send private message
jw3525
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 114
Location: Moscow, ID

PostPosted: Fri Sep 19, 2003 1:35 am    Post subject: PROBLEM SOLVED!!! Reply with quote

Ok, after several days I found the problem.

It appears as though /usr/lib/libGL.so.1 was is just a simlink to my glx libraries libGL.so.1

When you compile nvidia-glx it tells you to run a command at the end. I ran that command and voila.

Enjoy!
Back to top
View user's profile Send private message
fx_68
n00b
n00b


Joined: 28 Feb 2003
Posts: 6
Location: Dark side of the moon

PostPosted: Tue Oct 28, 2003 1:51 am    Post subject: Reply with quote

so since i am not a programmer ......as of yet.... where should i look to fix this error. on my compile of kdemultimedia.



Quote:

aw_c.c: In function `ctl_current_time':
xaw_c.c:194: warning: unused variable `flags'
xaw_c.c: In function `ctl_lyric':
xaw_c.c:296: warning: unused variable `lyric'
xaw_c.c:297: warning: unused variable `lyric_col'
xaw_c.c:298: warning: unused variable `lyric_buf'
xaw_c.c:294: warning: unused parameter `lyricid'
xaw_c.c: In function `ctl_open':
xaw_c.c:303: warning: unused parameter `using_stdin'
xaw_c.c:303: warning: unused parameter `using_stdout'
xaw_c.c: In function `ctl_file_name':
xaw_c.c:383: warning: unused parameter `name'
xaw_c.c: In function `ctl_pass_playing_list':
xaw_c.c:616: warning: empty body in an if-statement
xaw_c.c: At top level:
xaw_c.c:749: warning: no previous prototype for `a_pipe_nread'
xaw_c.c: In function `a_pipe_write_msg':
xaw_c.c:761: warning: unused variable `p'
xaw_c.c:761: warning: unused variable `q'
xaw_c.c: In function `ctl_reset':
xaw_c.c:883: warning: unused variable `bank'
xaw_c.c: At top level:
xaw_c.c:930: warning: no previous prototype for `interface_a_loader'
xaw_c.c:295: warning: `ctl_lyric' defined but not used
/bin/sh ../../libtool --silent --mode=link gcc -DDEFAULT_PATH=\"/usr/kde/3.1/share/apps/kmidi/config\" -DAU_OSS -DAU_ESD -DIA_NCURSES -DIA_SLANG -DIA_MOTIF -DTCLTK -DIA_XAW -DQT_THREAD_SUPPORT -D_REENTRANT -fasm -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon -O2 -pipe `/usr/kde/3.1/bin/artsc-config --libs` -o timidity timidity.o common.o readmidi.o playmidi.o resample.o mix.o instrum.o tables.o controls.o output.o filter.o wave_a.o raw_a.o dumb_c.o fffload.o sndfont.o readsbk.o effects.o reverb_e.o chorus_e.o phaser_e.o celeste_e.o resample_l.o resample_f.o cfg.o b_out.o hpux_a.o linux_a.o linux_a2.o sun_a.o dec_a.o hpux_d_a.o alsa_a.o arts_a.o bsd20_a.o esd_a.o nas_a.o ncurs_c.o slang_c.o tk_c.o gtk_i.o ctl.o motif_c.o motif_i.o motif_p.o xaw_i.o xaw_c.o -lncurses -lslang -lXm -ltcl -ltk -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -lXaw -lXt -lX11 -L/usr/X11R6/lib -lkdefakes -lm -L/usr/lib -lesd -laudiofile -lm
collect2: ld terminated with signal 11 [Segmentation fault]
common.o(.text+0x2ca): In function `open_file':
: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
make[3]: *** [timidity] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/kmidi/TIMIDITY'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/kmidi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4'
make: *** [all] Error 2

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



On another Post i was reading a comment to emerge -C sys-kernel/linux-headers-2.4.21 and downgrade to 2.4.19-r1

i did that and recompiled getting the above response....
_________________
Would you buy a car with the hood welded shut?
Back to top
View user's profile Send private message
ShockValue
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 137

PostPosted: Tue Oct 28, 2003 3:34 am    Post subject: Reply with quote

I was having tons of problems with kdemultimedia too.

After much poking around on the WWW and IRC, i figured out I needed to downgrade my linux-headers to .19-r1.

I then re-emerged kde with no errors.

Maybe that will help you too?
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Wed Oct 29, 2003 2:09 pm    Post subject: Reply with quote

"After much poking around on the WWW and IRC, i figured out I needed to downgrade my linux-headers to .19-r1."

You do not need to downgrade the linux headers.

All you need is to append " --disable-strict --disable-warnings" to myconf in the ebuild

For details, check this thread:

https://forums.gentoo.org/viewtopic.php?p=614632#614632
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum