LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2003, 04:39 PM   #1
Keffin
LQ Newbie
 
Registered: Sep 2003
Location: England
Distribution: VectorLinux 4.0
Posts: 19

Rep: Reputation: 0
Angry Setting up an AOL connection.....


I've just installed Mandrake 9.1 (yes, I'm a complete newbie ), and after reading other threads on here and other places I know I need Penggy 0.2.1 (well, that's what I got anyway) to set up my AOL dial-up modem connection. So, I've gone through the process of downloading it in WinXP then rebooting to linux and pulling it over into my home directory (/home/keffin/PengAOL) and unzipping it (into /home/keffin/PengAOL/penggy-0.2.1).

Then the readme file says pull up a shell, get into the directory and run ./configure. I did that, and I'd love to just copy/paste what it said but I have to be in WinXP to post this... basically it said it couldn't find gcc. I'm pretty sure from what I've read that I should have gcc installed. So I reinstalled mandrake with all the bells and whistles, installed everything from the developers section on the CDs (and pretty much everything else for that matter), su'd to root and tried to ./configure it again. I got the exact same response.

No problem then, I'll just go to windows, download gcc and go through the same process... but it would appear I'd need to build THAT when I get it too. Please tell me I'm really stupid and there's a simple solution.

Thanks for any help you can give.
 
Old 09-09-2003, 05:06 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,333

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Your problem could either be that gcc is not installed or that gcc is installed and ./configure simply cannot find it.

From a terminal issue the command:
which gcc
That will tell you if gcc is on the PATH.

If which does not find gcc then try:
find / -iname "*gcc*"

That will search your entire system for gcc. If gcc cannot be found then gcc is not installed.

If gcc is installed then you need to examine the ./configure messages carefully to see why ./configure cannot find gcc. If you cannot figure out the error messages then post them on the forum and we will try to decipher them.

One possibility is that gcc is installed but ./configure is looking for a later version. Issue the command:
rpm -qi gcc
to find out your gcc version number.
 
Old 09-09-2003, 05:11 PM   #3
Keffin
LQ Newbie
 
Registered: Sep 2003
Location: England
Distribution: VectorLinux 4.0
Posts: 19

Original Poster
Rep: Reputation: 0
thanks, I'll go and try those things now and see what happens...
 
Old 09-09-2003, 05:55 PM   #4
Keffin
LQ Newbie
 
Registered: Sep 2003
Location: England
Distribution: VectorLinux 4.0
Posts: 19

Original Poster
Rep: Reputation: 0
Well, I did as you said, and the find / iname "*gcc*" command returned only paths in windows! (I have bloodshed software's Dev-C++ installed, which uses gcc as the compiler). So i looked at the help for ./configure (./configure --help) and it claims I can set up some variables that ./configure is meant to, to take care of my compiler being in a bizarre place. It wants these...

CC - the compiler - I set it to /mnt/win_c/Dev-Cpp/bin/gcc.exe
CFLAGS - C compiler flags -
LDFLAGS - Linker Flags -
CPPFLAGS - C++ flags -
CPP - C preprocessor - I set it to /mnt/win_c/Dev-Cpp/bin/gcc.exe

Yeah, so I don't know what most of that means and if I had gcc installed on linux it would bypass the need to know and do it all for me anyway... That and the fact that I'd like to be able to compile C/C++ programs in linux without having to go through that every time leads me very much to one question. How do I get gcc on linux when the only download I can find needs something like gcc to build it?
 
Old 09-09-2003, 07:20 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,333

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
"How do I get gcc on linux when the only download I can find needs something like gcc to build it?"

You need gcc in order to install a program which you download as source code. It is also possible to install a program in its binary form. On Mandrake these binary packages are called rpm packages. The rpm package for installing gcc will be on one of your Mandrake install disks, probably the first or second.

Mandrake provides a GUI install program to install and remove rpm packages. I don't know what Mandrake calls this program. Here is a thread where fancypiper answered the same question more fully than I can.


http://www.linuxquestions.org/questi...003/05/3/59808

From the answer I suspect that the answer to you question is to go into the Mandrake Control Center and click on Software Management. You should find an icon for adding rpms from your CD.

Last edited by jailbait; 09-09-2003 at 07:23 PM.
 
Old 09-09-2003, 08:47 PM   #6
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
I dont use mandrake but i am 100% sure that it will come with gcc. Its on one of the discs.

Also, I dont know what you are doing in /mnt/windows.

Last edited by wr3ck3d; 09-09-2003 at 08:49 PM.
 
Old 09-09-2003, 09:00 PM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,333

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
"Also, I dont know what you are doing in /mnt/windows."

gcc is ported to a wide variety of computers and operating systems. What Keffin means is that the find command found the Windows version of gcc on his Windows partition which is irrelevent to the question of where is the Linux version of gcc.
 
Old 09-10-2003, 06:48 AM   #8
Keffin
LQ Newbie
 
Registered: Sep 2003
Location: England
Distribution: VectorLinux 4.0
Posts: 19

Original Poster
Rep: Reputation: 0
Talking

Thank you jailbait, I did use mandrakes GUI installation thing and installed EVERYTHING in the development section, and didn't get gcc, but there is a link in the topic you linked me to to download the gcc rpm for mandrake. I'm sure when the link allows me in (too many users at the moment apparently ) and I get it the problem will be solved. Maybe they don't put gcc on the 2 CDs of the standard version.

Thanks again...

*Dances round in circles*

 
Old 09-10-2003, 10:17 AM   #9
Keffin
LQ Newbie
 
Registered: Sep 2003
Location: England
Distribution: VectorLinux 4.0
Posts: 19

Original Poster
Rep: Reputation: 0
Good News: gcc is installed and works...

Bad News: <quote from ./configure of penggy>
Checking for Guile... ./configure: /usr/bin/guile-config: /usr/local/bin/guile: bad interpreter: no such file or directory.
Configure: cannot find guile-config; is guile installed?

Well the answer to the question it gave me is yes, it's installed in /usr/bin. It wasn't the latest version so I downloaded that and installed it too (in /usr/bin/guile-1.6.4 because i unzipped the file into /usr/bin). That compiled/installed fine, but I got the same error. So I tried to install guile-oops-1.0.2 in /usr/bin/guile-oops-1.0.2 (again where it was unzipped to) to see if that gives something that helps... nope, I got the same error message as penggy gave. Then it was time to start moving files - I moved guile-config from the version I installed correctly to /usr/bin where the error message seems to have been looking, and I installed guile in /usr/local/bin too (mentioned in the error message). The error message remains the same.

I'm not sure what to do now, help as ever is very appreciated...
 
Old 09-10-2003, 02:04 PM   #10
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
Ok, when you install programs from source, you dont unzip into those directories. Here would be a quick exmple of 123.tar.gz downloaded to ~/

cd /usr/src
su
<password>
tar -zxf /home/keffin/123.tar.gz
exit
cd 123
./configure
make
su
<password>
make install

When you do 'make install' it will install the binaries to the proper folder, libraries and man pages all into where they belong.

Better yet would be to find a rpm of the program you need. Doesnt really matter though.
 
  


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
fedora core 2 aol broadband cable connection rlh76 Linux - Networking 0 05-23-2005 11:42 AM
Help with setting up AOL/Compuserve! bobwall Linux - Networking 0 10-11-2004 04:15 PM
Setting up a connection LinuxLoverMeg Linux - Newbie 13 09-27-2004 08:26 AM
AOL/Linux Broadband Connection hank@$3800 Linux - Networking 6 08-24-2003 10:22 PM
setting up internet connection classWizard Linux - Newbie 12 09-28-2002 05:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:11 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
Open Source Consulting | Domain Registration