Results 1 to 3 of 3

Thread: KSnapshot

  1. #1

    KSnapshot

    Hi!

    I downloaded KSnapshot and tried to compile it, but all I get is:

    black666@starbase:~/downloads/tarballs/ksnapshot> ./configure
    creating cache ./config.cache
    checking host system type... i686-unknown-linux-gnu
    checking target system type... i686-unknown-linux-gnu
    checking build system type... i686-unknown-linux-gnu
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for working aclocal... missing
    checking for working autoconf... missing
    checking for working automake... missing
    checking for working autoheader... missing
    checking for working makeinfo... missing
    checking whether make sets ${MAKE}... yes
    checking for a C-Compiler...
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking how to run the C preprocessor... gcc -E
    checking for a C++-Compiler...
    checking for g++... no
    checking for CC... no
    checking for xlC... no
    checking for DCC... no
    configure: error: no acceptable C++-compiler found in $PATH

    My $PATH is:
    /usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:
    /opt//kde3/bin:/opt/kde2/bin:/usr/lib/java/bin:

    I can't think of a way that some $PATH entries or gcc components are missing, because I've compiled other progs before KSnapshot (successfully).

    Would be great if someone can give me a hint.

  2. #2

    Re: KSnapshot

    checking for a C++-Compiler...
    checking for g++... no
    In other words, install g++ and you should be fine. gcc will compile c code, but you need g++ for c++ code.

  3. #3

    Re: KSnapshot

    Thnx for help.
    First I couldn't find a package called something like g++ and the Suse Support Database didn't know it either. But after searching for C++ I found a package with a C++ compiler called "gpp" and that did it....somewhat tricky.

    And after managing some QT problems too (since I started compiling my own progs I have installed so many libs and files ) I'm now stuck with this message:

    Code:
    checking for QT... libraries /usr/lib/qt3/lib, headers /usr/lib/qt3/include
    checking if Qt compiles without flags... no
    checking for moc... ./configure: test: /usr/lib/qt3/bin: binary operator expected
    ./configure: test: too many arguments
    /usr/bin/moc
    checking for rpath... yes
    checking for bool... yes
    checking for KDE... will be installed in /usr/local/kde
    checking for extra includes... no
    checking for extra libs... no
    checking for KDE paths... problems
    configure: error: configure can not run a little KDE program to test the environment.
    Look at config.log for details. If you are not able to fix this, please contact Stephan Kulow <coolo@kde.org>

    The last lines of config.log are the following:

    configure:2877: checking for extra includes
    configure:2904: checking for extra libs
    configure:2973: checking for KDE paths
    configure:3067: /bin/sh ./libtool --mode=link g++ -o conftest -O2 -Wall -I/usr/local/kde/include -I/usr/lib/qt3/include -I/usr/X11R6/include -s -L/usr/local/kde/lib -L/usr/lib/qt3/lib -L/usr/X11R6/lib conftest.C -lkdecore -lqt -lXext -lX11 -rpath /usr/local/kde/lib -rpath /usr/lib/qt3/lib 1>&5
    g++ -o conftest -O2 -Wall -I/usr/local/kde/include -I/usr/lib/qt3/include -I/usr/X11R6/include -s -L/usr/local/kde/lib -L/usr/lib/qt3/lib -L/usr/X11R6/lib conftest.C -lkdecore -lqt -lXext -lX11 -Wl,--rpath -Wl,/usr/local/kde/lib -Wl,--rpath -Wl,/usr/lib/qt3/lib
    conftest.C:4: kapp.h: No such file or directory


    Maybe it's that kapp.h file. But I don't know where to get it ???

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •