Find the answer to your Linux question:
Results 1 to 7 of 7
I am trying to install software on my PC and it has to be be compiled but when I run the ./configure command I receive the following message... [nazty@194 kbedic-4.0]$ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Nazty's Avatar
    Join Date
    Jun 2005
    Location
    Middle of Nowhere
    Posts
    44

    Software Installation Problem


    I am trying to install software on my PC and it has to be be compiled but when I run the
    ./configure command I receive the following message...

    [nazty@194 kbedic-4.0]$ su
    Password:
    [root@194 kbedic-4.0]# ./configure
    loading cache ./config.cache
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets ${MAKE}... yes
    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 whether gcc accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for c++... no
    checking for g++... no
    checking for gcc... gcc
    checking whether the C++ compiler (gcc ) works... no
    configure: error: installation or configuration problem: C++ compiler cannot create executables.
    ......and I cannot continue with the installation. Does anyone know what can cause this problem and how to solve it? Is there something missing on my system?!

  2. #2
    Linux Newbie sabin's Avatar
    Join Date
    Apr 2005
    Posts
    207
    Awww, I already had that error message, that meant there was one c++ package that I had not installed, and it compiled only after installation of this package...
    But which one was it I don't remember >_<
    Most probably gcc-c++

    I suggest that you check on the website of that software what are the required packages and then install them using urpmi or mandrake control center... and if it's not clear, install gcc-c++

  3. #3
    Just Joined! Nazty's Avatar
    Join Date
    Jun 2005
    Location
    Middle of Nowhere
    Posts
    44
    I suggest that you check on the website of that software what are the required packages and then install them using urpmi or mandrake control center... and if it's not clear, install gcc-c++
    I found some .mdk packages in the Software Installer...Do you have any idea which versions and .mdk files I should install....?

  4. #4
    Linux Newbie sabin's Avatar
    Join Date
    Apr 2005
    Posts
    207
    Mandrake Control Center, software installation menu

    Don't take no offense, but I don't know how newbie (or not) you might be, so here it comes :
    - go to http://easyurpmi.zarb.org : that is the Penguin Liberation Front, the greatest Mandrake contrib RPM source. Follow the steps, add the media in root mode in the console (use "su" command to log as root)
    - start mandrake control center (KDE start icon > Manage your computer > Configure your system; My menu is in french so it's a guessed translation, you might also just make alt-F2 and enter "mcc"), and go to the source media selection, and unselect all the cdroms and DVDs, just keep PLF, updates and main as selected sources
    - now, in the MCC, in the software installation page, enter "c++" as keyword, and in the list, find the entry with also "gcc"... that'll most likely be the one. (You'd better not do the opposite, for gcc you'll most likely get tons and tons of results to sort, unline with c++.) And if there are more than one entry for gcc AND c++, install both

    Hope that was the solution from the start anyway, if that's not the package you needed i'll feel bad

  5. #5
    Just Joined! Nazty's Avatar
    Join Date
    Jun 2005
    Location
    Middle of Nowhere
    Posts
    44
    Right !!! Thank you very much for the detailled instructions! Now I have the compiler on the PC but there is a new problem this is the error message that I receive in the console....
    Can you read something in here? For me it is a total nonsense....



    Good news! Look that you have all needed packages installed
    Type 'make' (or 'gmake') to compile the program
    After that type 'make install' to install the program and data
    For 'make install' you must be root (su)
    At the end in a X terminal window type 'kbedic' to run the program

    [root@194 kbedic-4.0]# make
    Making all in src
    make[1]: Entering directory `/home/nazty/Downloads/kbedic-4.0/src'
    source='win.cpp' object='win.o' libtool=no \
    depfile='.deps/win.Po' tmpdepfile='.deps/win.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    c++ -DPACKAGE=\"kbedic\" -DVERSION=\"4.0\" -DSTDC_HEADERS=1 -DWITH_KDE=1 -I. -I. -I/usr/X11R6/include -I/usr/lib/qt3//include -INO -Wall -O2 -c -o win.o `test -f win.cpp || echo './'`win.cpp
    win.cpp:49:18: kapp.h: No such file or directory
    win.cpp:50:22: kmenubar.h: No such file or directory
    win.cpp:51:25: kfontdialog.h: No such file or directory
    win.cpp: In constructor `Win::Win(QWidget*, const char*)':
    win.cpp:280: error: `qApp' undeclared (first use this function)
    win.cpp:280: error: (Each undeclared identifier is reported only once for each function it appears in.)
    win.cpp:310: error: `KMenuBar' undeclared (first use this function)
    win.cpp:310: error: `menu' undeclared (first use this function)
    win.cpp:310: error: `KMenuBar' has not been declared
    win.cpp:373: error: `KApplication' has not been declared
    win.cpp:373: error: `clipboard' undeclared (first use this function)
    win.cpp: In member function `void Win::menu_Font()':
    win.cpp:1059: error: `KFontDialog' has not been declared
    win.cpp:1059: error: `getFont' undeclared (first use this function)
    win.cpp: In member function `void Win::setView(int)':
    win.cpp:1172: error: invalid use of undefined type `struct QMenuBar'
    /usr/lib/qt3//include/qmainwindow.h:50: error: forward declaration of `struct QMenuBar'
    win.cpp: In member function `virtual void Win::resizeEvent(QResizeEvent*)':
    win.cpp:1243: error: invalid use of undefined type `struct QMenuBar'
    /usr/lib/qt3//include/qmainwindow.h:50: error: forward declaration of `struct QMenuBar'
    make[1]: *** [win.o] Error 1
    make[1]: Leaving directory `/home/nazty/Downloads/kbedic-4.0/src'
    make: *** [all-recursive] Error 1
    [root@194 kbedic-4.0]#



    This is what I get when I ./configure --with-kde the software that I want to install and then
    type in the "make" command....

  6. #6
    Linux Newbie sabin's Avatar
    Join Date
    Apr 2005
    Posts
    207
    *searched for what kind of software kbedict might be*

    *found its homepage, http://kbedic.sourceforge.net/ *

    *100% of the texts are in cyrillic*

    *«ZOMFGWTFBBQ !!!1one!»*

    *«ooookay, it's been ten years I didn't use any of the russian I leared during five years, let's try to refresh it...»*

    Oh, damn, i'm sorry but from what I found you have all the required dependancies (you have QT3 don't you ? Check if in the MCC, when you ask for a program uninstallation, "QT" is found - if yes, keep it, don't uninstall it !).
    You ran ./configure --with-kde as required, and no more should have been needed.

    But the "make" program (it compiles the software source code) could not locate the KDE elements, which means the configure step failed.

    Maybe (I didn't understand the line about it) kbedic can only work when bgoffice is already installed ? There's something written about bgoffice written, but it was beyond my knoweledge sorry ^^

  7. #7
    Just Joined! Nazty's Avatar
    Join Date
    Jun 2005
    Location
    Middle of Nowhere
    Posts
    44
    Maybe there's something missing ! Thank you for your help!

Posting Permissions

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