Linux - NewbieThis 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
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.
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.
I'm new to linux and I'm running SuSe 9.0. I've been having a lot of fun learning a new os but i cant seem to figure out how to install any packages. Everywhere on the net tells me certain ways to install from source but when i type "./configure" in the shell it will tell me "configure: error: no acceptable C compiler found in $PATH". and when i type " make" or "make install"
it will tell me "bash: make: command not found". This is with every package even the ones that are from SuSe Themselves. Can someone tell me what i'm doing wrong and how to install these packages?
Use your favorite web browser and google up a copy of 'Newbies Linux Manual' to get you started on the adventure of a lifetime.
Path: there's a file (/etc/ld.so.conf) which lists the directories bash should search to find executable files, libraries, etc. Use the which command to find gcc, the c compiler (open a terminal and enter the command 'which gcc'). When you have the path to gcc, edit the file named above to add that, then give the command PATH=/usr/bin/gcc, or whatever the path is, then follow that with the command 'export $PATH'.
Exporting the PATH is a temporary solution which lasts only as long as you are logged in. Editing the /etd/ld.so.conf file is permanent. It will be there every time you log in.
Now, with regard to ./configure, make, and make install. When you unpack a tarball, it creates a folder which contains the files it will install or use to make binary files. You must do one of the following for it to work: cd to the folder, or, from the folder you 're in, give the full path to the folder. Same for make and make install.
example: let's say you're in your home directory ~, but the tarball is in /usr/local. Either you cd to /usr/local and give the command ./configure, or you stay in your home directory and give the command /usr/local/.configure. That tells bash where the configure script is (the ./ tells bash that the script is in the current working directory. If you are not in the directory where the configure script is located, then bash gets confused unless you give it the full path to the file).
The same applies to the make and make install commands. Tell bash where they are, and they'll run.
By the way: SuSE is rpm based. To install rpm, use the rpm -i command. The ./configure,make,make install only applies to tarballs (files that end in the file extension .tar.gz or .tgz).
Last edited by bigrigdriver; 09-15-2004 at 03:01 AM.
I'm new to linux and I'm running SuSe 9.0. I've been having a lot of fun learning a new os but i cant seem to figure out how to install any packages. Everywhere on the net tells me certain ways to install from source but when i type "./configure" in the shell it will tell me "configure: error: no acceptable C compiler found in $PATH". and when i type " make" or "make install"
it will tell me "bash: make: command not found". This is with every package even the ones that are from SuSe Themselves. Can someone tell me what i'm doing wrong and how to install these packages?
You have to install the development packages. Open YAST up and select, at least, "gcc, g++, make" packages and install them. SuSE personal does not come with those packages. Get them from a Novell's mirror near you.
To learn more about installing programs in Linux, read this thread:
To learn how to use SuSE's YaST to install packages directly from the net, instead of swaping disks (do this, it makes dependecies problems a breeze), read this:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.