> Hi, > Has anyone had this error occur for kdelibs-3.5.10 > > 10/lib -R /opt/kde-3.5.10/lib -R /usr/lib -o khotnewstuff > khotnewstuff.o libknewstuff.la <http://libknewstuff.la> > g++: ./.libs/libknewstuff.so: No such file or directory > make[2]: *** [khotnewstuff] Error 1 > make[2]: Leaving directory > `/sources/blfs/kdelibs/kdelibs-3.5.10/knewstuff' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/sources/blfs/kdelibs/kdelibs-3.5.10 > make: *** [all] Error 2 > > This is after applying the charset-1 patch from the book and the > gcc_4.4-2.patch. > It has had me by the goat for a long time. > It is similar to a DCOP error in that the directory dcop/.libs was > missing a library and this, knewstuff/.libs has the following > contents. - or lack of. > -rw-r--r-- 1 root root 277220 Apr 3 11:19 downloaddialog.o > -rw-r--r-- 1 root root 95680 Apr 3 11:19 engine.o > -rw-r--r-- 1 root root 84092 Apr 3 11:19 entry.o > -rw-r--r-- 1 root root 24444 Apr 3 11:19 knewstuffbutton.o > -rw-r--r-- 1 root root 31348 Apr 3 11:19 knewstuffgeneric.o > -rw-r--r-- 1 root root 9208 Apr 3 11:19 knewstuff.o > -rw-r--r-- 1 root root 58092 Apr 3 11:19 knewstuffsecure.o > lrwxrwxrwx 1 root root 18 Apr 3 11:19 libknewstuff.la > <http://libknewstuff.la> -> ../libknewstuff.la <http://libknewstuff.la> > -rw-r--r-- 1 root root 2165 Apr 3 11:19 libknewstuff.lai > lrwxrwxrwx 1 root root 21 Apr 3 11:19 libknewstuff.so -> > libknewstuff.so.1.0.0 > lrwxrwxrwx 1 root root 21 Apr 3 11:19 libknewstuff.so.1 -> > libknewstuff.so.1.0.0 > -rw-r--r-- 1 root root 27092 Apr 3 11:19 providerdialog.o > -rw-r--r-- 1 root root 47868 Apr 3 11:19 provider.o > -rw-r--r-- 1 root root 68792 Apr 3 11:19 security.o > -rw-r--r-- 1 root root 48044 Apr 3 11:19 uploaddialog.o > > libknewstuff.so.1.0.0 is not present? > Regards, > >
No this is what has worked for me: I used the following dependencies: Makefile CHAPTER26 = aRts Kdelibs Kdebase Kde.Core.Config Kdepim Kdeadmin Kdenetwork Akode chapter26: $(CHAPTER26) $(CHAPTER26): @Chapter-26/$...@.sh aRts: Qt-3 GLib-2 libjpeg Kdelibs: Qt-3 aRts libjpeg libart_lgpl libxml2 libxslt PCRE Gamin OpenSSL Libidn LibTIFF Aspell CUPS ALSA-Library JasPer Sudo Graphviz Doxygen Kdebase: Kdelibs libjpeg libart_lgpl libxml2 OpenSSL JDK libusb-compat HAL Sudo Graphviz Doxygen imake Kde.Core.Config: Kdebase Kdepim: Kdebase libjpeg libxml2 GnuPG GnuPG-2 OpenSSL Kdeadmin: Kdebase libjpeg libxml2 Kdenetwork: Kdebase libjpeg libxslt OpenSSL Graphviz Wireless-Tools ALSA-Library Akode: FLAC libmad ALSA-Library FFmpeg libvorbis chapter26-clean: rm -f $(CHAPTER26) || true This is my build script: Chapter-26/Kdelibs.sh #!/bin/bash -e THIS=$(basename ${0} | sed 's|.sh$||') CWD=$(pwd) SRC=${CWD}/Sources LOG=${CWD}/Logs/${THIS} PKG=kdelibs VER=3.5.10 _VER= export KDE_PREFIX=/usr echo "UnPacking tarball: ${PKG}-${VER}" tar -xf ${SRC}/${PKG}-${VER}.tar.bz2 [ -d ${PKG}-${VER} ] && cd ${PKG}-${VER} [ -d ${PKG}-${_VER} ] && cd ${PKG}-${_VER} ( patch -Np1 -i ${SRC}/kdelibs-3.5.10-charset-1.patch 2>&1 | tee ${LOG} && exit ${PIPESTATUS} ) ( patch -Np1 -i ${SRC}/kdelibs-3.5.10-gcc44-1.patch 2>&1 | tee -a ${LOG} && exit ${PIPESTATUS} ) ( sed -i -e 's|linux/inotify|sys/inotify|' \ -e '/^static inline int inotify_init/,/^}/d' \ -e '/^static inline int inotify_add_watch/,/^}/d' \ -e '/^static inline int inotify_rm_watch/,/^}/d' \ kio/kio/kdirwatch.cpp 2>&1 | tee -a ${LOG} && exit ${PIPESTATUS} ) ( ./configure --prefix=$KDE_PREFIX \ --sysconfdir=/etc/kde \ --disable-debug \ --disable-dependency-tracking 2>&1 | tee -a ${LOG} && exit ${PIPESTATUS} ) ( make -j4 2>&1 | tee -a ${LOG} && exit ${PIPESTATUS} ) ( make -j4 apidox 2>&1 | tee -a ${LOG} && exit ${PIPESTATUS} ) ( sudo make install 2>&1 | tee -a ${LOG} && exit ${PIPESTATUS} ) # Cleanup cd ${CWD} [ -d ${PKG}-${VER} ] && rm -rf ${PKG}-${VER} [ -d ${PKG}-${_VER} ] && rm -rf ${PKG}-${_VER} [ -d ${PKG}-build ] && rm -rf ${PKG}-build ( echo "Complete" 2>&1 | tee -a ${LOG} && exit ${PIPESTATUS} ) touch ${THIS} _______________________________________ I Just finished up with Kdelibs-3.5.10. I was looking at your patches and the gcc44-1 patch was quite a bit different that the one I was applying to the source, It was from debian archives somewhere(kdelibs-3.5.10-4.4.2.patch) The kdelibs-3-5-10-gcc44-1 patch was a bit tricky to find, but it worked and that is all that counts. Thanks, Dale Stein
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page