Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Mandriva Linux Help > Software Installation Problem

Forgot Password?
 Mandriva Linux Help   For help and discussion about Mandriva (formally Mandrake) Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-28-2005   #1 (permalink)
Just Joined!
 
Nazty's Avatar
 
Join Date: Jun 2005
Location: Middle of Nowhere
Posts: 44
Send a message via ICQ to Nazty
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...

Quote:
[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?!
Nazty is offline  


Reply With Quote
Old 06-28-2005   #2 (permalink)
Linux Newbie
 
sabin's Avatar
 
Join Date: Apr 2005
Posts: 200
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++
sabin is offline   Reply With Quote
Old 06-29-2005   #3 (permalink)
Just Joined!
 
Nazty's Avatar
 
Join Date: Jun 2005
Location: Middle of Nowhere
Posts: 44
Send a message via ICQ to Nazty
Quote:
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....?
Nazty is offline   Reply With Quote
Old 06-29-2005   #4 (permalink)
Linux Newbie
 
sabin's Avatar
 
Join Date: Apr 2005
Posts: 200
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
sabin is offline   Reply With Quote
Old 06-30-2005   #5 (permalink)
Just Joined!
 
Nazty's Avatar
 
Join Date: Jun 2005
Location: Middle of Nowhere
Posts: 44
Send a message via ICQ to Nazty
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....



Quote:
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....
Nazty is offline   Reply With Quote
Old 06-30-2005   #6 (permalink)
Linux Newbie
 
sabin's Avatar
 
Join Date: Apr 2005
Posts: 200
*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 ^^
sabin is offline   Reply With Quote
Old 06-30-2005   #7 (permalink)
Just Joined!
 
Nazty's Avatar
 
Join Date: Jun 2005
Location: Middle of Nowhere
Posts: 44
Send a message via ICQ to Nazty
Maybe there's something missing ! Thank you for your help!
Nazty is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:36 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2