Compile Fails: cannot find -lkfile

Help
Michael
2006-09-30
2013-04-29
  • Michael

    Michael - 2006-09-30

    Hi,

    I got configure sorted out on suse 9.3 with the --with-kde and pointing to /opt/kde3, but make fails.

    It looks like it goes bad when make enters the plugins folder.  Let me know what I'm missing.

    make[2]: Entering directory `/home/mpapet/plptools-0.15/kde2/plugins'
    /usr/lib/qt3/bin/moc ./plpprops.h -o plpprops.moc
    if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include  -I. -I../../lib    -g -O2  -MT plpprops.lo -MD -MP -MF ".deps/plpprops.Tpo" -c -o plpprops.lo plpprops.cc; \ then mv -f ".deps/plpprops.Tpo" ".deps/plpprops.Plo"; else rm -f ".deps/plpprops.Tpo"; exit 1; fi
    mkdir .libs
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT plpprops.lo -MD -MP -MF .deps/plpprops.Tpo -c plpprops.cc  -fPIC -DPIC -o .libs/plpprops.o
    plpprops.cc: In constructor `PlpPropsPlugin::PlpPropsPlugin(KPropertiesDialog*)
       ':
    plpprops.cc:156: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc:158: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc: In constructor `
       PlpFileAttrPage::PlpFileAttrPage(KPropertiesDialog*)':
    plpprops.cc:307: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc: In member function `void
       PlpFileAttrPage::slotSetSpecialFinished(KIO::Job*)':
    plpprops.cc:425: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc: In member function `void
       PlpFileAttrPage::slotGetSpecialFinished(KIO::Job*)':
    plpprops.cc:432: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc: In constructor `
       PlpDriveAttrPage::PlpDriveAttrPage(KPropertiesDialog*)':
    plpprops.cc:519: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc: In member function `void
       PlpDriveAttrPage::slotSpecialFinished(KIO::Job*)':
    plpprops.cc:649: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc:677: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc: In constructor `PlpMachinePage::PlpMachinePage(KPropertiesDialog*)
       ':
    plpprops.cc:757: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc:805: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc:868: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc: In member function `void
       PlpMachinePage::slotJobFinished(KIO::Job*)':
    plpprops.cc:1025: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc: In constructor `PlpOwnerPage::PlpOwnerPage(KPropertiesDialog*)':
    plpprops.cc:1042: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    plpprops.cc: In member function `void
       PlpOwnerPage::slotSpecialFinished(KIO::Job*)':
    plpprops.cc:1078: warning: `dialog' is deprecated (declared at
       /opt/kde3/include/kpropertiesdialog.h:273)
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT plpprops.lo -MD -MP -MF .deps/plpprops.Tpo -c plpprops.cc -o plpprops.o >/dev/null 2>&1
    /usr/lib/qt3/bin/moc ./plppropsFactory.h -o plppropsFactory.moc
    if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include  -I. -I../../lib    -g -O2  -MT plppropsFactory.lo -MD -MP -MF ".deps/plppropsFactory.Tpo" -c -o plppropsFactory.lo plppropsFactory.cc; \ then mv -f ".deps/plppropsFactory.Tpo" ".deps/plppropsFactory.Plo"; else rm -f ".deps/plppropsFactory.Tpo"; exit 1; fi
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT plppropsFactory.lo -MD -MP -MF .deps/plppropsFactory.Tpo -c plppropsFactory.cc  -fPIC -DPIC -o .libs/plppropsFactory.o
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT plppropsFactory.lo -MD -MP -MF .deps/plppropsFactory.Tpo -c plppropsFactory.cc -o plppropsFactory.o >/dev/null 2>&1
    if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include  -I. -I../../lib    -g -O2  -MT pie3dpiece.lo -MD -MP -MF ".deps/pie3dpiece.Tpo" -c -o pie3dpiece.lo pie3dpiece.cpp; \ then mv -f ".deps/pie3dpiece.Tpo" ".deps/pie3dpiece.Plo"; else rm -f ".deps/pie3dpiece.Tpo"; exit 1; fi
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT pie3dpiece.lo -MD -MP -MF .deps/pie3dpiece.Tpo -c pie3dpiece.cpp  -fPIC -DPIC -o .libs/pie3dpiece.o
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT pie3dpiece.lo -MD -MP -MF .deps/pie3dpiece.Tpo -c pie3dpiece.cpp -o pie3dpiece.o >/dev/null 2>&1
    if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include  -I. -I../../lib    -g -O2  -MT pie3dwidget.lo -MD -MP -MF ".deps/pie3dwidget.Tpo" -c -o pie3dwidget.lo pie3dwidget.cpp; \ then mv -f ".deps/pie3dwidget.Tpo" ".deps/pie3dwidget.Plo"; else rm -f ".deps/pie3dwidget.Tpo"; exit 1; fi
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT pie3dwidget.lo -MD -MP -MF .deps/pie3dwidget.Tpo -c pie3dwidget.cpp  -fPIC -DPIC -o .libs/pie3dwidget.o
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT pie3dwidget.lo -MD -MP -MF .deps/pie3dwidget.Tpo -c pie3dwidget.cpp -o pie3dwidget.o >/dev/null 2>&1
    creating libplpprops_la_meta_unload.cc
    rm -f libplpprops_la_meta_unload.cc
    cat  plppropsFactory.moc plpprops.moc | grep 'char.*className' | sed -e 's/.*[^A-Za-z0-9_:]\([A-Za-z0-9_:]*\)::className.*$/\"\1\",/' | sort | uniq >> libplpprops_la_meta_unload.cc
    if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include  -I. -I../../lib    -g -O2  -MT libplpprops_la_meta_unload.lo -MD -MP -MF ".deps/libplpprops_la_meta_unload.Tpo" -c -o libplpprops_la_meta_unload.lo libplpprops_la_meta_unload.cc; \ then mv -f ".deps/libplpprops_la_meta_unload.Tpo" ".deps/libplpprops_la_meta_unload.Plo"; else rm -f ".deps/libplpprops_la_meta_unload.Tpo"; exit 1; fi
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT libplpprops_la_meta_unload.lo -MD -MP -MF .deps/libplpprops_la_meta_unload.Tpo -c libplpprops_la_meta_unload.cc  -fPIC -DPIC -o .libs/libplpprops_la_meta_unload.o
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -MT libplpprops_la_meta_unload.lo -MD -MP -MF .deps/libplpprops_la_meta_unload.Tpo -c libplpprops_la_meta_unload.cc -o libplpprops_la_meta_unload.o >/dev/null 2>&1
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -c libplpprops_la_closure.cc  -fPIC -DPIC -o .libs/libplpprops_la_closure.o
    g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I../../lib -g -O2 -c libplpprops_la_closure.cc -o libplpprops_la_closure.o >/dev/null 2>&1
    g++ -g -O2 -o .libs/libplpprops.la.closure .libs/libplpprops_la_closure.o .libs/plpprops.o .libs/plppropsFactory.o .libs/pie3dpiece.o .libs/pie3dwidget.o .libs/libplpprops_la_meta_unload.o  -L/home/mpapet/plptools-0.15/lib/.libs -L/opt/kde3/lib ../../lib/.libs/libplp.so /opt/kde3/lib/libkio.so -lkfile -lnsl
    /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: cannot find -lkfile
    collect2: ld returned 1 exit status
    make[2]: *** [libplpprops.la.closure] Error 1
    make[2]: Leaving directory `/home/mpapet/plptools-0.15/kde2/plugins'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/mpapet/plptools-0.15/kde2'
    make: *** [all-recursive] Error 1

     
    • Reuben Thomas

      Reuben Thomas - 2006-09-30

      You haven't convinced the configure script you have KDE 3: this is a symptom that it thinks you're using KDE 2. Is kde-config in your path? Reconfigure and check the output.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks