LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-22-2005, 06:12 PM   #1
haydnw
LQ Newbie
 
Registered: Apr 2005
Distribution: Linspire 5.0
Posts: 1

Rep: Reputation: 0
Problems installing RPM on Linspire


Hi,

I'm trying to install RPM on Linspire 5.0, so that I can use Alien to convert the OpenOffice Beta 2.0 .rpm installation files to .deb files to run on Linspire. However, when I run Alien I get a message saying "sh: rpm: command not found", which I gather means I need to install RPM. I've downloaded RPM 4.4.1, and extracted it from the tar.gz it arrived in. I took a guess at running the ./configure to set it up, as I couldn't find any installation instructions on the rpm.org website. However, halfway through I get the following message:

Gateway:/tmp/rpm/rpm-4.4.1# ./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 whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
Gateway:/tmp/rpm/rpm-4.4.1#

I can post the contents of 'config.log' if that would help. I'm guessing the above message means I need to install all the packages that have a 'no' next to them - g++, c++, gpp etc. I've already ended up downloading RPM and Alien just to convert a few installation packages - do I really have to download all these extra packages too? And if so, is there some way I can find out ALL the required packages, and download them in one go?

I should point out that I have had Linux installed for approximately 27 hours now, so I may be on *completely* the wrong track here - please let me know if I am because I'm going mental trying to untangle all this!

Thanks,
h

edit: I should point out that I have done loads of searching about this, both on this website and the interweb in general, but have had no joy
 
Old 04-22-2005, 08:01 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,790

Rep: Reputation: 292Reputation: 292Reputation: 292
"I've downloaded RPM 4.4.1, and extracted it from the tar.gz it arrived in."

You are trying to install the rpm program from the source code. To do that you need to compile the source code using the gcc compiler. When you run ./configure it checks to see if you have everything you need to compile the rpm program. ./configure does not get very far before it says that it cannot find the gcc compiler under any of its many possible names. Do you have gcc installed? If you don't know then type in the command:
which gcc
which will tell you where gcc is if it is installed.


------------------------------
Steve Stites
 
Old 04-22-2005, 08:38 PM   #3
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 32
Talking

I have a feeling that Linspire ships without GCC, but it should be available from Linspire's Click n run repository. But don't quote me on this - I've never used Linspire..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing amsn with rpm begby Linux - Software 9 02-21-2005 05:26 PM
Installing RPM having problems jking2100 Linux - Newbie 2 09-05-2003 10:33 PM
problems with installing GNOME rpm krizan Linux - Newbie 0 08-24-2003 09:03 PM
RPM installing problems in RH 8.0 Oklahoma Linux - Software 15 11-12-2002 02:01 PM
Problems re-installing procps rpm for RH 7.2 Newbulus_Maximu Linux - General 4 08-30-2002 09:47 AM


All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration