LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 07-10-2008, 10:48 AM   #1
lhuser
Member
 
Registered: Apr 2006
Location: Canada
Distribution: OpenSUSE 10.3
Posts: 64

Rep: Reputation: 15
./configure, make, make install is missing


I've installed a fresh installation of OpenSUSE 11.0 and when I have installed VirtualBox, it prompted me that it failed to start due to a driver model being missing. To fix it, I needed to compile it. No problems.

I go in Konsole, type /etc/init.d/vboxdrv setup

This is what I got:
Code:
Stopping VirtualBox kernel module                                 done
Recompiling VirtualBox kernel module                              failed
  (Look at /var/log/vbox-install.log to find out what went wrong)
I went to the log and to my surprise, I saw:
make: No such file or directory.

Then, I knew that my C compiler wasn't installed. So, I pop a visit in YaST, install gcc, and still nothing. There's no C compiler, and I've installed gcc!

Is there anything that I've missed?
 
Old 07-10-2008, 12:15 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

Rep: Reputation: 205Reputation: 205Reputation: 205
The following are usually required to successfully compile:

gcc
glibc-devel
gcc-c++
libstdc++-devel
make
kernel-headers


There are also some popular libraries that are needed in some cases (though not necessarily in yours):

libgtk+-devel, libglib-devel (most common widget set)
libgr-devel, libungif-devel, libjpeg-devel, libpng-devel, libtiff-devel, libxpm-devel (image formats)
libtermcap-devel, libncurses-devel (for console applications)
XFree86-devel (for all graphical applications)
zlib-devel (compression library)

Last edited by {BBI}Nexus{BBI}; 07-10-2008 at 12:17 PM.
 
Old 07-10-2008, 12:47 PM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
You can also install the required packages in one-shot, using Yast Software Managment: select the Pattern view and install the Base Development group.
 
Old 07-10-2008, 01:06 PM   #4
lhuser
Member
 
Registered: Apr 2006
Location: Canada
Distribution: OpenSUSE 10.3
Posts: 64

Original Poster
Rep: Reputation: 15
colucix, I'll do that right now, to be safe with other issues that might be a problem like this. Thanks for refreshing that this mode exists
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
The following are usually required to successfully compile:

gcc
glibc-devel
gcc-c++
libstdc++-devel
make
kernel-headers


There are also some popular libraries that are needed in some cases (though not necessarily in yours):

libgtk+-devel, libglib-devel (most common widget set)
libgr-devel, libungif-devel, libjpeg-devel, libpng-devel, libtiff-devel, libxpm-devel (image formats)
libtermcap-devel, libncurses-devel (for console applications)
XFree86-devel (for all graphical applications)
zlib-devel (compression library)
Well, I don't know what to say other than...thanks! I never thought make would have been a seperate package. However, I have another problem. This one is a little more severe I guess:
Code:
Makefile:154: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.  Stop.
 
Old 07-10-2008, 01:46 PM   #5
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
You probably miss the kernel headers. Check if the package kernel-source is installed. Beware, the version of the kernel-source package must match exactly the version of the kernel you're running. As you probably already know, you can check using
Code:
uname -r
 
Old 07-10-2008, 02:00 PM   #6
lhuser
Member
 
Registered: Apr 2006
Location: Canada
Distribution: OpenSUSE 10.3
Posts: 64

Original Poster
Rep: Reputation: 15
Alright, I have the kernel-source, and it's version is 2.6.25.9-0.2 and uname -r returned me:
Code:
linux-7s3y:/home/lhuser # uname -r
2.6.25.5-1.1-default
It could be a mismatch, but I have found the package kernel-pae, which is the kernel with the PAE extensions, that the version is 2.6.25.9-0.2, but I'm not too sure if I should touch it...
 
Old 07-10-2008, 02:07 PM   #7
lhuser
Member
 
Registered: Apr 2006
Location: Canada
Distribution: OpenSUSE 10.3
Posts: 64

Original Poster
Rep: Reputation: 15
Sorry, double post. Glitch in browser.
 
Old 07-10-2008, 02:38 PM   #8
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Quote:
Originally Posted by lhuser View Post
It could be a mismatch, but I have found the package kernel-pae, which is the kernel with the PAE extensions, that the version is 2.6.25.9-0.2, but I'm not too sure if I should touch it...
It looks like the kernel-pae is not installed, or at least you're not running it. Anyway, the make step usually looks for the kernel sources using the uname -r command. It is actually looking for the 2.6.25.5-1.1 headers and evidently it cannot find them.

You can either install the newer kernel or install the older kernel sources. Also note that the kernel sources package is the same, despite you've installed the pae, debug, xen, or any other version. It is the version number that makes the difference.
 
Old 07-10-2008, 04:06 PM   #9
lhuser
Member
 
Registered: Apr 2006
Location: Canada
Distribution: OpenSUSE 10.3
Posts: 64

Original Poster
Rep: Reputation: 15
That fixed it. I used kernel-vanilla, and dang...it preety much took care of some glitches I had, like the 3D effects not starting automatically, and I am now able to use VirtualBox. Thanks a bunch!
 
  


Reply

Tags
compiler, configure, gcc, install, make


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
these commands are not working on my server (./configure, make, make install) Anil Kumar K Linux - Software 3 07-02-2007 08:23 AM
basic configure-make-make install question bigwheel Slackware 4 01-14-2007 11:09 AM
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 11:58 AM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 08:05 PM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 04:35 AM


All times are GMT -5. The time now is 04:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration