Install issue in Mandrake 10.0 Official

2004-08-09
2004-08-11
  • apimente.br

    apimente.br - 2004-08-09

    I've installed kxstitch rpm, but when I run the program it crashes if I do a right clic. Then I removed it and tried to install the tar.bz2 package with this results:
    # export KDEDIR=/usr/lib/kde3/
    # echo $KDEDIR
    /usr/lib/kde3/
    # cd kxstitch-0.5
    # ./configure
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for -p flag to install... yes
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... none
    checking whether g++ supports -Wundef... no
    checking whether g++ supports -Wno-long-long... no
    checking whether g++ supports -Wnon-virtual-dtor... no
    checking how to run the C++ preprocessor... /lib/cpp
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.
    Can anyone help me? I'm a kind of newbie.
    Thanks in advance

     
    • Stephen Allewell

      The results of the ./configure are saying that there has been no c++ compiler found.  You will need to install g++, although I'm not sure which Mandrake package will provide this!

      You will no doubt need to install other development packages for QT and KDE, ImageMagick, Magick++, etc.  The results of ./configure will indicate what you need.

       
    • apimente.br

      apimente.br - 2004-08-10

      Sorry, but I'm in trouble with QT.

      Now I'm having this error:

      checking for Qt... configure: error: Qt (>= Qt 3.1.0) (library qt-mt) not found. Please check your installation!
      For more details about this problem, look at the end of config.log.
      Make sure that you have compiled Qt with thread support!

      I've done a search with this results:

      urpmf qt-mt
      libqt3:/usr/lib/qt3/lib/libqt-mt.la
      libqt3:/usr/lib/qt3/lib/libqt-mt.prl
      libqt3:/usr/lib/qt3/lib/libqt-mt.so.3
      libqt3:/usr/lib/qt3/lib/libqt-mt.so.3.2
      libqt3:/usr/lib/qt3/lib/libqt-mt.so.3.2.3
      libqt3-devel:/usr/lib/qt3/lib/libqt-mt.so
      libqt3-devel:/usr/lib/qt3/lib/pkgconfig/qt-mt.pc
      libqt3:/usr/lib/qt3/lib/libqt-mt.la
      libqt3:/usr/lib/qt3/lib/libqt-mt.prl
      libqt3:/usr/lib/qt3/lib/libqt-mt.so.3
      libqt3:/usr/lib/qt3/lib/libqt-mt.so.3.2
      libqt3:/usr/lib/qt3/lib/libqt-mt.so.3.2.3
      libqt3-devel:/usr/lib/qt3/lib/libqt-mt.so
      libqt3-devel:/usr/lib/qt3/lib/pkgconfig/qt-mt.pc
      libqt3:/usr/lib/qt3/lib/libqt-mt.la
      libqt3:/usr/lib/qt3/lib/libqt-mt.prl
      libqt3:/usr/lib/qt3/lib/libqt-mt.so.3
      libqt3:/usr/lib/qt3/lib/libqt-mt.so.3.2
      libqt3:/usr/lib/qt3/lib/libqt-mt.so.3.2.3
      libqt3-devel:/usr/lib/qt3/lib/libqt-mt.so
      libqt3-devel:/usr/lib/qt3/lib/pkgconfig/qt-mt.pc

      Please give me a direction, what is missing?

      Thanks in advance.

       
    • Stephen Allewell

      Check that you have the environment variable QTDIR defined correctly to point to the installation of QT. e.g. with 'env | grep QTDIR'.

      If this isn't set then do 'export QTDIR=/usr/lib/qt3' (assuming you are using the bash shell).

      You will probably have to do the same with KDEDIR and point that to the installation of KDE.

      If you plan on doing a lot of compiling with KDE/QT it is a good idea to add these to the .bashrc file so that they are initialised when you log on.

       

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

Sign up for the SourceForge newsletter:





No, thanks