Bug 74156 - kdeaddons-3.2.0/noatun-plugins/blurscope linking breaks ( looks like bad args to libtool)
Summary: kdeaddons-3.2.0/noatun-plugins/blurscope linking breaks ( looks like bad args...
Status: RESOLVED NOT A BUG
Alias: None
Product: noatun
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Charles Samuels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 19:37 UTC by jgluckca
Modified: 2004-03-20 17:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
make it link using SDL_LIBS and SDL_CFLAGS as defined in configure.in.in (844 bytes, patch)
2004-02-09 18:39 UTC, Stefan Gehn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jgluckca 2004-02-04 19:37:46 UTC
Version:           kdeaddons-3.2.0 (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
OS:          Linux

I've compile pretty much all of kde-3.2 without problems.

When I try to compile kdeaddons, the following happens. I've tried messing with the command to fix it but I guess I don't understand it well enough. I've simply removed blurscope for rhe make and the rest works fine.

following is the actual error:

Making all in blurscope
make[3]: Entering directory `/usr/src/kde/kde-3.2/kdeaddons-3.2.0/noatun-plugins/blurscope'
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. `/usr/local/bin/sdl-config --cflags` -I/opt/kde-3.2/include -I/usr/lib/qt/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT sdlscope.lo -MD -MP -MF ".deps/sdlscope.Tpo" \
  -c -o sdlscope.lo `test -f 'sdlscope.cpp' || echo './'`sdlscope.cpp; \
then mv -f ".deps/sdlscope.Tpo" ".deps/sdlscope.Plo"; \
else rm -f ".deps/sdlscope.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. `/usr/local/bin/sdl-config --cflags` -I/opt/kde-3.2/include -I/usr/lib/qt/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT scopedisplayer.lo -MD -MP -MF ".deps/scopedisplayer.Tpo" \
  -c -o scopedisplayer.lo `test -f 'scopedisplayer.cpp' || echo './'`scopedisplayer.cpp; \
then mv -f ".deps/scopedisplayer.Tpo" ".deps/scopedisplayer.Plo"; \
else rm -f ".deps/scopedisplayer.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o noatunblurscope.la -rpath /opt/kde-3.2/lib/kde3 -L/usr/X11R6/lib -L/usr/lib/qt/lib -L/opt/kde-3.2/lib  -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined `/usr/local/bin/sdl-config --libs` sdlscope.lo scopedisplayer.lo -lkio -lnoatun -lm
libtool: link: cannot find the library `'
make[3]: *** [noatunblurscope.la] Error 1
make[3]: Leaving directory `/usr/src/kde/kde-3.2/kdeaddons-3.2.0/noatun-plugins/blurscope'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kde/kde-3.2/kdeaddons-3.2.0/noatun-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kde/kde-3.2/kdeaddons-3.2.0'
make: *** [all] Error 2
Comment 1 Stephan Kulow 2004-02-04 20:52:35 UTC
I guess the command "/usr/local/bin/sdl-config --libs" outputs nonsense for your installation
Comment 2 jgluckca 2004-02-05 03:59:45 UTC
With all due respect... 

I made sure it doesn't output crap before sending out a bug report. The problem is, as far as I can see real. See below:

john:~> /usr/local/bin/sdl-config --libs
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread
john:~>

john:~> ls -l /usr/local/lib/*SDL*
lrwxr-xr-x    1 root     root           19 Dec 12 19:32 /usr/local/lib/libSDL-1.2.so.0 -> libSDL-1.2.so.0.0.5*
-rwxr-xr-x    1 root     root      2805770 Dec 12 19:32 /usr/local/lib/libSDL-1.2.so.0.0.5*
-rw-r--r--    1 root     root      5491658 Dec 12 19:32 /usr/local/lib/libSDL.a
-rwxr-xr-x    1 root     root          977 Dec 12 19:32 /usr/local/lib/libSDL.la*
lrwxr-xr-x    1 root     root           19 Dec 12 19:32 /usr/local/lib/libSDL.so -> libSDL-1.2.so.0.0.5*
-rw-r--r--    1 root     root         2126 Dec 12 19:32 /usr/local/lib/libSDLmain.a


Stephan Kulow <coolo@kde.org> wrote:

Comment 3 Joshua 2004-02-09 17:54:37 UTC
Just want to confirm this. I get the same error as well
Comment 4 Stefan Gehn 2004-02-09 18:39:12 UTC
Created attachment 4598 [details]
make it link using SDL_LIBS and SDL_CFLAGS as defined in configure.in.in

I have no idea why the configure.in.in check was added without making use of
the two vars substituted in there.
Comment 5 Florin Braescu 2004-02-16 10:31:23 UTC
I use Lunar Linux (an source based distro www.lunar-linux.org), so i have installed kde 3.2.0 from sources. I use linux kernel 2.6.3-rc3 and gcc 3.3.2. Me and other two users have the same problem with kdeaddons compiling, and want to confirm also the problem.
Comment 6 Stefan Gehn 2004-03-07 19:06:49 UTC
If nobody tries the patch it won't get committed.
Comment 7 Matthias Kilian 2004-03-13 10:34:27 UTC
Unfortunately, it doesn't work, either. Same error (for KDE_3_2_1_RELEASE):

libtool: link: cannot find the library `'

FYI, I'm using:

autoconf-2.57
automake-1.7.3
libtool-1.4
Comment 8 Matthias Kilian 2004-03-13 13:08:24 UTC
After all, Stephan Kulows first guess wasn't that wrong, but it wasn't sdl-config but libSDL.la built with a much too old libtool (libtool 1.3.x). 

This has been fixed in libSDL-1.2.7. After an upgrade, kdeaddons builds without problems.

Perhaps someone could add a note in http://www.kde.org/info/requirements/3.2.php?
Comment 9 Stefan Gehn 2004-03-20 17:37:18 UTC
Not a KDE bug.