Why is it using /usr/kde/3/lib instead of /usr/kde/3.1/lib???? gcc -shared codeckeeper.lo Uncompressed.lo -Wl,--whole-archive aviplay/.libs/libaviplay.al aviread/.libs/libaviread.al aviwrite/.libs/libaviwrite.al common/.libs/libcommon.al subtitle/.libs/libsubtitle.al video/.libs/libvideo.al -Wl,--no-whole-archive -L/usr/X11R6/lib -L/usr/kde/3/lib -lz -L/usr/lib /usr/lib/libSDL.so -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lvga /usr/lib/libaa.so -lSM -lICE -lXinerama -lXv -lXrender -lXft -lXxf86vm -lXxf86dga -lXi /usr/lib/libfreetype.so -lXext -lX11 -lpthread -lnsl -ldl -Wl,-soname -Wl,libaviplay-0.7.so.0 -o .libs/libaviplay-0.7.so.0.0.25 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc collect2: ld returned 1 exit status make[2]: *** [libaviplay.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.25.20030114/work/avifile0.7-0.7.25/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.25.20030114/work/avifile0.7-0.7.25/lib' make: *** [all-recursive] Error 1 !!! ERROR: media-video/avifile-0.7.25.20030114 failed. !!! Function src_compile, Line 84, Exitcode 2 !!! (no error message)
Have you updated your environment and config files since updating to the kde 3.1 series? (env-update etc-update) $KDEDIR is referenced in the ebuild for determining the lib directory so this should be a non-problem. Please let me know how things faire after those updates.
Yes I did. But there's something wrong somewhere... Take a look at this (fist part of the ebuild process.) --with-extra-libraries=/usr/kde/3.1 but linker still wants /usr/kde/3/lib creating cache ./config.cache avifile configure options: --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-quiet --disable-tsc --with-fpic --enable-x86opt --with-qt-dir=/usr/qt/3 --enable-sdl --enable-vorbis --enable-kde --with-extra-libraries=/usr/kde/3.1
I have upgraded to to arts-1.1.0_rc6 and kdelibs-3.1_rc6. I have successfully emerged the avifile package without a problem. Is it possible that you still have the previous kde 3.0 on your system? Could you please paste your config.log to this bug report? I'd like to see if configure is getting confused.
Created attachment 7443 [details] config.log No I don't have kde 3.0 in my system. The only kde here is 3.1_rc5.
Hrm... the config.log didn't mention anything about kde or arts... i suppose that didn't help... As a reference I just compiled again. I had a warning that came up regarding Xft but I recompiled qt and the warning disappeared after emerging avifile again successfully... Could you attach a log of your latest compile attempt so I can take the error in context? Also maybe try updating to kdelibs-3.1_rc6 and arts-1.1.0_rc6?
Created attachment 7456 [details] Whole "emerge avifile" log About upgrading to rc6, I doubt. I'm on a dialup connection so I prefer to wait 'til 3.1 final.
I don't know what I did, but I've emerged avifile successfully. I first re-emerged arts-1.1.0_rc5 and kdelibs-3.1_rc5, but it didn't help. I went to sleep, and this morning I did and 'emerge rsync' and then upgraded to gcc-config-1.3.1. After this, emerge avifile ran flawsless. Perhaps, re-emerging arts would be enough, but maybe I forgot to update my envrironment, I'll never know what happen. Thanks, Norberto
This ebuild of avifile will be released as stable soon.