[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    kdebase/kate/plugins/katepartktts CVS
From:       Peter Hyman <pete4abw () comcast ! net>
Date:       2004-12-26 14:43:39
Message-ID: 1104072219.20448.16.camel () localhost
[Download RAW message or body]

Recently, I decided to clean out my KDEDIR to rid it of old modules that
may have been affecting recent problems.

Of course, I always follow the compile and install sequence
Arts/Kdelibs/Kdebase....

While compiling kdebase, I ran into a small problem.

make[2]: Entering directory `/mnt/src/kde/kdebase/kate/plugins/katepartktts'
/bin/sh ../../../libtool --silent --tag=CXX --mode=link g++  -Wnon-virtual-dtor -Wno-long-long -W
undef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -
W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exception
s -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT
_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE    -o libkatepartktts
dplugin.la -rpath /opt/kde33/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undef
ined -Wl,--allow-shlib-undefined -R /opt/kde33/lib -R /usr/lib/qt/lib -R /usr/X11R6/lib  -L/opt/k
de33/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib -Wl,--as-needed -Wl,--enable-new-dtags  katepartkttsd
.lo -lkparts -lkateinterfaces
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find
-lkateinterfaces
collect2: ld returned 1 exit status
make[2]: *** [libkatepartkttsdplugin.la] Error 1
make[2]: Leaving directory `/mnt/src/kde/kdebase/kate/plugins/katepartktts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/src/kde/kdebase/kate/plugins'
make: *** [all-recursive] Error 1

And I later received this error

make[2]: Entering directory `/mnt/src/kde/kdebase/kate/plugins/katepartktts'
/bin/sh ../../../libtool --silent --tag=CXX --mode=link g++  -Wnon-virtual-dtor -Wno-long-long 
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall 
-W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions 
-fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE    
-o libkatepartkttsdplugin.la -rpath /opt/kde33/lib/kde3 -module -avoid-version -module -no-undefined 
-Wl,--no-undefined -Wl,--allow-shlib-undefined -R /opt/kde33/lib -R /usr/lib/qt/lib -R /usr/X11R6/lib 
 -L/opt/kde33/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib -Wl,--as-needed -Wl,--enable-new-dtags  
katepartkttsd.lo -lkparts -lkateinterfaces 
grep: /opt/kde33/lib/libkateutils.la: No such file or directory
/usr/bin/sed: can't read /opt/kde33/lib/libkateutils.la: No such file or directory
libtool: link: `/opt/kde33/lib/libkateutils.la' is not a valid libtool archive


I found the missing libraries in kate/app and kate/utils respectively. I
tried adjusting LDFLAGS, but it would not complete compile. I was able
to workaround this by making and installing kate/app and kate/util, THEN
compile the rest of kate.

I supposed I never noticed this because I always built new KDE CVS pulls
with an existing KDE installed. This time, while rebuilding, I had
removed the install directories.

I think Makefile may need an additional -L flag to make sure it is
picking up needed libraries in kate/app and kate/util.
-- 
Peter

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic