LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-19-2004, 02:14 PM   #1
Daz_Man2803
LQ Newbie
 
Registered: Jun 2004
Location: Nottingham
Distribution: Ubuntu 5.04
Posts: 23

Rep: Reputation: 15
how to install make on suse 9.1


hi, im a complete newbie to the world of linux and i am trying to install the command make so that i can compile and run c++ programs. im running on suse 9.1. can anyone help??
 
Old 06-19-2004, 02:19 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Isn't make installed by default?
 
Old 06-19-2004, 03:03 PM   #3
zackarya
Member
 
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
In Suse 9.1 it's not installed by default if you choose the preconfigured basic install with X. You have several options on how to install additional packages. For your problem the easiest way would be to just open a xterm (if your in X) and at the prompt type su ( this is for switch user, when used without a user name it will assume you want to be root ) it will ask for the root password. Once your root type "yast2 -i make" without the quotes. This will invoke yast and automatically install and usually will properly configure the packages you installed. Since you want to compile C++ programs you will need to install gcc also. Same as before "yast2 -i gcc" Yast resolves all the dependencies for you so it will install all the libraries you need. Make sure when your finished that you type exit in the xterm to go back to your normal user. When you new to Linux one of the most powerful features is that as a normal user you can play around with things and not worry about messing up your system. As root though, one mistake and it's time to reinstall (well, that's worse case of course) Hope that helps.
 
Old 06-19-2004, 04:49 PM   #4
Daz_Man2803
LQ Newbie
 
Registered: Jun 2004
Location: Nottingham
Distribution: Ubuntu 5.04
Posts: 23

Original Poster
Rep: Reputation: 15
thanks for the help but that didnt work. when i type in "yast -i make" without the speach marks the shell returns "Xlib: connection to ":0.0" refused by server" and then " Xlib: No protocol specified" what does that mean?
 
Old 06-19-2004, 05:03 PM   #5
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
It means that the root user is not allowed to use the users screen.
To solve this you should do, as normal user:
xhost + localhost
as root do:
export DISPLAY=localhost:0.0

And you can run gui apps as sued root, in a graphical interface of this user.

But you can either download the make rpm package and install it. Its easier, i guess. This is a good rpm resource: rpm.pbone.net
 
Old 06-20-2004, 11:20 AM   #6
Daz_Man2803
LQ Newbie
 
Registered: Jun 2004
Location: Nottingham
Distribution: Ubuntu 5.04
Posts: 23

Original Poster
Rep: Reputation: 15
i have done what the above post says and typed "yast -i make" in the console and this opened a blue installation window but then it disappeared after a second. i try typing "make" in the console and it says "bash: make: command not found" so i figured it didnt work. after that i tried to install the rpm (make-3.80-184.src.rpm) from the website you suggested and when i double click on it it gives a description of what it does and asks if you want to install it with yast. when i click on "install with yast" it asks for my password and once i have entered it, it opens yast and then it closes itself just like the previous way. any ideas? would switching to mandrake 10 solve this problem?
 
Old 06-20-2004, 12:24 PM   #7
Daz_Man2803
LQ Newbie
 
Registered: Jun 2004
Location: Nottingham
Distribution: Ubuntu 5.04
Posts: 23

Original Poster
Rep: Reputation: 15
sorted it out now, tried a different rpm and now i think it is installed. cheers for all the help guys!
 
Old 06-20-2004, 12:26 PM   #8
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Instead of trying to run yast from the command line, try to open it from the kde menu, under "System".

The package you tried to install is a source package "make-3.80-184.src.rpm", as you can see by the .src. part. No problem with that, but after install you have to compile it, before you can use.

This is a nice precompiled binary rpm for suse 9.1:
http://rpm.pbone.net/index.php3/stat....i586.rpm.html

You can use kpackage also, from the right click menu, in konqueror. Just right click the package after download, and choose "Open with kpackage". yast is not the only choice.
 
  


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
Make install doesn't work on SUSE laimay Linux - Newbie 5 12-22-2004 10:59 PM
make, make install not found Suse 9.1 Phaen Ilda Linux - Software 9 12-04-2004 08:40 AM
Firefox: How to install/make work on SuSE 9.1? C38368 Linux - Software 13 07-22-2004 04:49 PM
make; make install commands in SuSE Linux 9.1 Personal johnerskine Linux - Newbie 6 06-23-2004 10:18 AM
Don't know how to make a Suse install disk dev Linux - Newbie 5 07-03-2002 07:51 PM

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

All times are GMT -5. The time now is 12:45 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