LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-20-2003, 01:19 PM   #1
spooodini
LQ Newbie
 
Registered: Sep 2003
Location: Idaho
Posts: 11

Rep: Reputation: 0
help installing gcc


I have just installed Mandrake 9.1, and don't remember if I installed the development packages when I initially installed the operating system. I installed C and C++ compilers using the control panel, I think it is called rgpm. But once I installed it I don't know where to go from there. How do I check where it is installed, and how to use it. I need it install other software, called gd library. When I try to install that software it cannot find any c compiler. Do I need to fix the path name?
spooodini
 
Old 10-20-2003, 01:57 PM   #2
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 36
Try
> which gcc

If it doesn't find gcc then you have path problem.

Last edited by jim mcnamara; 06-07-2004 at 12:05 PM.
 
Old 10-20-2003, 08:45 PM   #3
ayie
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
i got like same prob, but my is very difficult coz the box not at my home but somewhere else .....

last 2 weeks, i bought linux server from some provider and they install me a Redhat 9, but when i try to compile proFTPD the error appear :

checking for C compiler ... not found
A working C compiler is needed to compile the ProFTPD
exiting ...

i ask the customer support but they told me :

The standard installation of redhat does not have a compiler on-board,

that means i need to install it by my self .... but i dont know ....

i'm newbie ..... please some one help me !!!!
 
Old 02-02-2004, 08:57 PM   #4
research2004
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
I'm new here.
I have tried as below:

$ which gcc

/usr/bin/which: no gcc in /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/opt/oracle/product/9.2.0/bin)

$

Can someone advice me how can I install GCC?

Thanks
 
Old 02-02-2004, 09:10 PM   #5
YMHiK
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 2.6.5, Slackware 2.6.4, RedHat 9 2.4.20-8
Posts: 23

Rep: Reputation: 15
You may install gcc in couple of ways.
1. use RPM to install packages, just download (or use CD) and install...
2. use binary archive of precompiled gcc for your system, information about those can be found here.

Hm, maybe it is installed in different directories than your $PATH... /opt?
 
Old 05-27-2004, 08:25 PM   #6
ayie
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
Quote:
Originally posted by YMHiK
You may install gcc in couple of ways.
1. use RPM to install packages, just download (or use CD) and install...
2. use binary archive of precompiled gcc for your system, information about those can be found here.

Hm, maybe it is installed in different directories than your $PATH... /opt?

how to install from binaries ??
 
Old 05-28-2004, 01:00 AM   #7
LoK
Member
 
Registered: May 2004
Location: Detroit MI
Distribution: RHE & FC
Posts: 31

Rep: Reputation: 15
Quote:
Originally posted by ayie
how to install from binaries ??
Since RH9 is end of life and you can no longer use UP2DATE I would suggest installing apt-get.

Once you have that up and running (I'm assuming the box has an internet connection since you want to run an ftp) simply type

apt-get update
apt-get upgrade
apt-get install proftpd

It will install any packages you to solve dependency issues.
 
Old 06-01-2004, 08:56 PM   #8
ayie
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
Quote:
Originally posted by LoK
Since RH9 is end of life and you can no longer use UP2DATE I would suggest installing apt-get.

Once you have that up and running (I'm assuming the box has an internet connection since you want to run an ftp) simply type

apt-get update
apt-get upgrade
apt-get install proftpd

It will install any packages you to solve dependency issues.
what the best thing about this software ??? and how it can help me in installtion of gcc ???
 
Old 06-02-2004, 04:16 AM   #9
JoshSmith41
Member
 
Registered: Jul 2003
Location: Grimsby, UK
Distribution: Debian Sarge + Gentoo 2004.3
Posts: 48

Rep: Reputation: 15
It could help you if your using RH9, as its stopping being supported.

You can just directly install the latest GCC by typing:

apt-get update
apt-get upgrade
apt-get install gcc

Last edited by JoshSmith41; 06-02-2004 at 04:21 AM.
 
Old 06-07-2004, 10:34 AM   #10
vasilakis
LQ Newbie
 
Registered: Jun 2004
Location: Greece
Posts: 11

Rep: Reputation: 0
I have Gcc version 3.3.2 in Fedora Linux , but I need some older gcc version.
How can I change my gcc to some older version?
 
Old 06-13-2004, 08:13 PM   #11
mjbrej
LQ Newbie
 
Registered: Jun 2004
Location: Monterey, California
Distribution: Fedora Core 4
Posts: 10

Rep: Reputation: 0
Thumbs up

Quote:
Originally posted by JoshSmith41
It could help you if your using RH9, as its stopping being supported.

You can just directly install the latest GCC by typing:

apt-get update
apt-get upgrade
apt-get install gcc
Josh--thanks--I followed your directions exactly as above, and got the gcc compiler installed on my system (Fedora Core 2). I really appreciate the help there!--Marty
 
Old 06-13-2004, 08:52 PM   #12
ayie
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
how to installed apt-get ??

i not understand the instruction, coz it like install from cd not from file....
 
Old 09-28-2004, 10:26 PM   #13
ayie
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
help me ..... when i try to install proftpd through apt-get,
an error said
Code:
[root@fedora root]# apt-get install proftpd
Reading Package Lists... Done
Building Dependency Tree... Done
proftpd is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
W: There are multiple versions of "httpd" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^httpd$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: There are multiple versions of "libpcap" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:
how to setting it ?? and what the problem actually ???

ANY MASTER HELP ME!!!!
 
Old 10-26-2004, 05:40 PM   #14
unclejessie77
Member
 
Registered: Aug 2003
Posts: 39

Rep: Reputation: 15
How can i install apt-get to get gcc when i have no compiler?!?
 
  


Reply



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
Need help on installing GCC. Jonka Linux - Software 2 11-12-2003 04:12 PM
Installing gcc 3.3 Shienarier Linux - Software 6 06-08-2003 11:25 AM
Installing GCC sovietpower Linux - Newbie 1 06-01-2003 05:28 PM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 05:28 AM
Installing gcc-2.95.3 X11 Linux - Software 2 04-26-2002 09:49 AM

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

All times are GMT -5. The time now is 04:36 AM.

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