Menu

#39 build ok, but no executable

open
nobody
None
5
2003-07-12
2003-07-12
Jim Philips
No

I just built Kbear 3.0 alphab1 for my KDE 3.1.2. Make
install seems to have installed a lot of files, but no
executable! So, how am I supposed to run it?

Discussion

  • Bj�rn Sahlstr�m

    Logged In: YES
    user_id=145300

    Ofcourse we install a binary, what probably happend is that you
    installed it outside your path. Look for a line like this during install:
    /bin/sh ../libtool --silent --mode=install /usr/bin/install -c -p kbear
    /opt/kde3/bin/kbear
    The path is probably not the same a my example but this line
    tells you where it has been installed. Either add this to your path
    or reconfigure/build with
    --prefix=absolute_path_where_you_want_to_install_kbear
    Like this:
    configure --prefix=path --enable-final --enable-debug=full &&
    make

     
  • Jim Philips

    Jim Philips - 2003-07-12

    Logged In: YES
    user_id=272617

    It isn't just a path issue. Here is the output if I do a
    search from the root directory for "kbear":

    [root@localhost opt]# find / -name "kbear" -print
    /usr/local/kde/include/kbear
    /usr/local/kde/share/doc/HTML/en/kbear
    /usr/local/kde/share/doc/HTML/sv/kbear
    /usr/local/kde/share/doc/HTML/cs/kbear
    /usr/local/kde/share/doc/HTML/fr/kbear
    /usr/local/kde/share/apps/kbear

    I installed an rpm for kbear using checkinstall. When I
    query that rpm using "rpm -qpi -l" I get a lot of output,
    but no executable anywhere. Here is that output:

    Name : kbear Relocations: (not
    relocateable)
    Version : 3.0alpha1b Vendor: (none)
    Release : 1 Build Date: Fri
    11 Jul 2003 08:53:17 PM EDT
    Install Date: (not installed) Build Host:
    localhost
    Group : Applications/System Source RPM:
    kbear-3.0alpha1b-1.src.rpm
    Size : 2058498 License: GPL
    Signature : (none)
    Packager : checkinstall-1.5.3
    Summary : kbear
    Description :
    kbear
    /usr/doc/kbear-3.0alpha1b/AUTHORS
    /usr/doc/kbear-3.0alpha1b/COPYING
    /usr/doc/kbear-3.0alpha1b/COPYING.LIB
    /usr/doc/kbear-3.0alpha1b/ChangeLog
    /usr/doc/kbear-3.0alpha1b/INSTALL
    /usr/doc/kbear-3.0alpha1b/KNOWN_BUGS
    /usr/doc/kbear-3.0alpha1b/NEWS
    /usr/doc/kbear-3.0alpha1b/README
    /usr/doc/kbear-3.0alpha1b/TODO
    /usr/doc/kbear-3.0alpha1b/VERSION
    /usr/local/kde/include/kbear/connectionmanager.h
    /usr/local/kde/include/kbear/group.h
    /usr/local/kde/include/kbear/kbearapi.h
    /usr/local/kde/include/kbear/kbearchildviewiface.h
    /usr/local/kde/include/kbear/kbearconfigwidgetiface.h
    /usr/local/kde/include/kbear/kbearcore.h
    /usr/local/kde/include/kbear/kbeardetailview.h
    /usr/local/kde/include/kbear/kbeardirlisteriface.h
    /usr/local/kde/include/kbear/kbeardirview.h
    /usr/local/kde/include/kbear/kbeardomhelper.h
    /usr/local/kde/include/kbear/kbearfilesyspartiface.h
    /usr/local/kde/include/kbear/kbearfilesyswidget.h
    /usr/local/kde/include/kbear/kbeariconview.h
    /usr/local/kde/include/kbear/kbearmainwiniface.h
    /usr/local/kde/include/kbear/kbearpartiface.h
    /usr/local/kde/include/kbear/kbearpartmanageriface.h
    /usr/local/kde/include/kbear/kbearplugin.h
    /usr/local/kde/include/kbear/kbearpluginmanageriface.h
    /usr/local/kde/include/kbear/kbearsiteimportfilterpluginiface.h
    /usr/local/kde/include/kbear/kbeartabview.h
    /usr/local/kde/include/kbear/kbeartags.h
    /usr/local/kde/include/kbear/kbeartextedit.h
    /usr/local/kde/include/kbear/kbeartreeview.h
    /usr/local/kde/include/kbear/kbeartreeviewitem.h
    /usr/local/kde/include/kbear/kfilednddetailview.h
    /usr/local/kde/include/kbear/kfiledndiconview.h
    /usr/local/kde/include/kbear/kmdichildarea.h
    /usr/local/kde/include/kbear/kmdichildfrm.h
    /usr/local/kde/include/kbear/kmdichildfrmcaption.h
    /usr/local/kde/include/kbear/kmdichildview.h
    /usr/local/kde/include/kbear/kmdidefines.h
    /usr/local/kde/include/kbear/kmdiiterator.h
    /usr/local/kde/include/kbear/kmdilistiterator.h
    /usr/local/kde/include/kbear/kmdimainfrm.h
    /usr/local/kde/include/kbear/kmdinulliterator.h
    /usr/local/kde/include/kbear/kmditaskbar.h
    /usr/local/kde/include/kbear/misc.h
    /usr/local/kde/include/kbear/siteinfo.h
    /usr/local/kde/include/kbear/transfer.h
    /usr/local/kde/include/kbear/transfergroup.h
    /usr/local/kde/include/kbear/transfermanager.h
    /usr/local/kde/lib/kde3/kio_kbearftp.la
    /usr/local/kde/lib/kde3/kio_kbearftp.so
    /usr/local/kde/lib/libkbearqextmdi.la
    /usr/local/kde/lib/libkbearqextmdi.so
    /usr/local/kde/lib/libkbearqextmdi.so.3
    /usr/local/kde/lib/libkbearqextmdi.so.3.0.0
    /usr/local/kde/share/apps/kbear/detailview_thumb.jpg
    /usr/local/kde/share/apps/kbear/icons/hicolor/16x16/actions/kde1.png
    /usr/local/kde/share/apps/kbear/icons/hicolor/16x16/actions/kde2.png
    /usr/local/kde/share/apps/kbear/icons/hicolor/16x16/actions/kde3.png
    /usr/local/kde/share/apps/kbear/icons/hicolor/16x16/actions/kde4.png
    /usr/local/kde/share/apps/kbear/icons/hicolor/16x16/actions/kde5.png
    /usr/local/kde/share/apps/kbear/icons/hicolor/16x16/actions/kde6.png
    /usr/local/kde/share/apps/kbear/iconview_thumb.jpg
    /usr/local/kde/share/apps/kbear/kbear-logo-bottom.jpg
    /usr/local/kde/share/apps/kbear/kbear-logo-top.jpg
    /usr/local/kde/share/apps/kbear/kbearfilesyspartiface.rc
    /usr/local/kde/share/doc/HTML/cs/kbear/index.cache.bz2
    /usr/local/kde/share/doc/HTML/cs/kbear/index.docbook
    /usr/local/kde/share/doc/HTML/cs/kbear/index_cs.po
    /usr/local/kde/share/doc/HTML/en/kbear/index-shifted.docbook
    /usr/local/kde/share/doc/HTML/en/kbear/index.cache.bz2
    /usr/local/kde/share/doc/HTML/en/kbear/index.docbook
    /usr/local/kde/share/doc/HTML/en/kbear/index_en.pot
    /usr/local/kde/share/doc/HTML/fr/kbear/index.cache.bz2
    /usr/local/kde/share/doc/HTML/fr/kbear/index.docbook
    /usr/local/kde/share/doc/HTML/fr/kbear/index_fr.po
    /usr/local/kde/share/doc/HTML/sv/kbear/index.cache.bz2
    /usr/local/kde/share/doc/HTML/sv/kbear/index.docbook
    /usr/local/kde/share/doc/HTML/sv/kbear/index_sv.po
    /usr/local/kde/share/icons/hicolor/16x16/actions/dirsynch.png
    /usr/local/kde/share/icons/hicolor/16x16/actions/dirsynch_new.png
    /usr/local/kde/share/icons/hicolor/16x16/actions/kbearsitemanager.png
    /usr/local/kde/share/icons/hicolor/16x16/apps/kbear.png
    /usr/local/kde/share/icons/hicolor/32x32/actions/dirsynch.png
    /usr/local/kde/share/icons/hicolor/32x32/actions/dirsynch_new.png
    /usr/local/kde/share/icons/hicolor/32x32/actions/kbear-firewall.png
    /usr/local/kde/share/icons/hicolor/32x32/actions/kbearsitemanager.png
    /usr/local/kde/share/icons/hicolor/32x32/apps/kbear.png
    /usr/local/kde/share/icons/hicolor/48x48/actions/kbearsitemanager.png
    /usr/local/kde/share/icons/hicolor/48x48/apps/kbear.png
    /usr/local/kde/share/locale/cs/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/de/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/es/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/fr/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/he/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/id/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/it/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/ja/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/nl/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/pl/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/pt/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/pt_BR/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/ro/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/ru/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/sv/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/locale/zh_TW/LC_MESSAGES/kbear.mo
    /usr/local/kde/share/services/kbearftp.protocol
    /usr/local/kde/share/servicetypes/kbearfilesyspart.desktop
    /usr/local/kde/share/servicetypes/kbearpart.desktop
    /usr/local/kde/share/servicetypes/kbearplugin.desktop
    /usr/local/kde/share/servicetypes/kbearsiteimportfilterplugin.desktop

     
  • Bj�rn Sahlstr�m

    Logged In: YES
    user_id=145300

    From where did you get the rpm ? We never provided one, so I
    suggest you contact the packager of the rpm since it seems to
    be corrupt. Or did I missnderstood you ? so you did the rpm ?
    Could you send me the output from make install ?

     
  • Jim Philips

    Jim Philips - 2003-07-12

    Logged In: YES
    user_id=272617

    Bjorn,

    I have an RPM because I originally used checkinstall to
    install Kbear. Not everybody who provides a source package
    is kind enough to include a "make uninstall" option, so I
    like that program. Anyway, I captured output from "make
    install" and I think I see the problem. Look at the error in
    the lines below:

    Making install in jobclasses
    make[3]: Entering directory
    `/home/rebus/kdefiles/kbear-3.0alpha1b/kbear/lib/job
    classes'
    if /bin/sh ../../../libtool --silent --mode=compile
    --tag=CXX g++ -DHAVE_CONFIG_
    H -I. -I. -I../../.. -I../../../kbear/lib/interfaces
    -I/usr/local/kde/include -I
    /usr/local/qt/include -I/usr/X11R6/include
    -DQT_THREAD_SUPPORT -D_REENTRANT
    -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
    -Wpointer-arith -Wm
    issing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
    -D_BSD_SOURCE -Wcast
    -align -Wconversion -O2 -fno-exceptions -fno-check-new -MT
    kbearsynchjob.lo -MD
    -MP -MF ".deps/kbearsynchjob.Tpo" \ -c -o kbearsynchjob.lo `test -f 'kbearsynchjob.cpp' ||
    echo './'`kbearsynchjob
    .cpp; \ then mv ".deps/kbearsynchjob.Tpo" ".deps/kbearsynchjob.Plo"; \ else rm -f ".deps/kbearsynchjob.Tpo"; exit 1; \ fi
    kbearsynchjob.cpp: In member function `void
    KBear::KBearSynchJob::makeSourceList(KURL::List&)':
    kbearsynchjob.cpp:75: `ConnectionManager' undeclared (first
    use this function)
    kbearsynchjob.cpp:75: (Each undeclared identifier is
    reported only once for
    each function it appears in.)
    kbearsynchjob.cpp:75: syntax error before `::' token
    make[3]: *** [kbearsynchjob.lo] Error 1

     
  • Bj�rn Sahlstr�m

    Logged In: YES
    user_id=145300

    Add this line to kbear/lib/jobclasses/kbearsynchjob.cpp:

    #include "connectionmanager.h"

     
  • Jim Philips

    Jim Philips - 2003-07-13

    Logged In: YES
    user_id=272617

    Okay. Adding that include statement got the whole thing to
    compile and install. Thanks.

     

Log in to post a comment.