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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-20-2003, 01:19 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Location: Idaho
Posts: 11
Rep:
|
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
|
|
|
10-20-2003, 01:57 PM
|
#2
|
Member
Registered: May 2002
Posts: 964
Rep:
|
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.
|
|
|
10-20-2003, 08:45 PM
|
#3
|
LQ Newbie
Registered: Oct 2003
Posts: 24
Rep:
|
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 !!!!
|
|
|
02-02-2004, 08:57 PM
|
#4
|
LQ Newbie
Registered: Feb 2004
Posts: 5
Rep:
|
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
|
|
|
02-02-2004, 09:10 PM
|
#5
|
LQ Newbie
Registered: Jan 2004
Distribution: Slackware 2.6.5, Slackware 2.6.4, RedHat 9 2.4.20-8
Posts: 23
Rep:
|
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?
|
|
|
05-27-2004, 08:25 PM
|
#6
|
LQ Newbie
Registered: Oct 2003
Posts: 24
Rep:
|
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 ??
|
|
|
05-28-2004, 01:00 AM
|
#7
|
Member
Registered: May 2004
Location: Detroit MI
Distribution: RHE & FC
Posts: 31
Rep:
|
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.
|
|
|
06-01-2004, 08:56 PM
|
#8
|
LQ Newbie
Registered: Oct 2003
Posts: 24
Rep:
|
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 ???
|
|
|
06-02-2004, 04:16 AM
|
#9
|
Member
Registered: Jul 2003
Location: Grimsby, UK
Distribution: Debian Sarge + Gentoo 2004.3
Posts: 48
Rep:
|
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.
|
|
|
06-07-2004, 10:34 AM
|
#10
|
LQ Newbie
Registered: Jun 2004
Location: Greece
Posts: 11
Rep:
|
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?
|
|
|
06-13-2004, 08:13 PM
|
#11
|
LQ Newbie
Registered: Jun 2004
Location: Monterey, California
Distribution: Fedora Core 4
Posts: 10
Rep:
|
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
|
|
|
06-13-2004, 08:52 PM
|
#12
|
LQ Newbie
Registered: Oct 2003
Posts: 24
Rep:
|
how to installed apt-get ??
i not understand the instruction, coz it like install from cd not from file....
|
|
|
09-28-2004, 10:26 PM
|
#13
|
LQ Newbie
Registered: Oct 2003
Posts: 24
Rep:
|
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!!!!
|
|
|
10-26-2004, 05:40 PM
|
#14
|
Member
Registered: Aug 2003
Posts: 39
Rep:
|
How can i install apt-get to get gcc when i have no compiler?!?
|
|
|
All times are GMT -5. The time now is 06:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|