LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-14-2009, 07:29 PM   #1
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145

Rep: Reputation: 18
Where to find and install libc header files in Ubuntu Studio for dual monitors


Hi Everyone

Im using Ubuntu Studio 8.04

I'm trying to install the Nvidia drivers for a dual monitor setup.
When I run the install program it tells me
"no pre-compliled kernal interface was found to match your kernal....
Download from Nvidia...yes/no."

a couple of other messages regarding no match to my kernal was not found and it wants to recompile my kernal. I click yes,

then it says.
"you do not appear to have the Libc header files installed on your computer. Please install your distro's Libc development package.....ok

Ive have checked the install disk for Ubuntu Studio 8.04 and the files may be there but Im not sure what I'm looking for.

I have also checked the Synaptic Package manager and it lists many files when I search for "libc" but none specifically say "Libc headers"

So my question is, where are these header files located, what directory and where do I copy them to?

Thanks in advanced
Vanessa
 
Old 06-15-2009, 02:09 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
apt-cache search libc

may help and display a lot of files. The header files come with packages ending with -dev
 
Old 06-15-2009, 03:38 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Why not install the nvidia stuff with Synaptic ?
... Then all dependencies are taken care of.

Else :
install 'libc6-dev' and 'linux-headers-< your version >
with Synaptic.
.....

Last edited by knudfl; 06-15-2009 at 08:38 AM.
 
Old 06-15-2009, 09:23 PM   #4
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145

Original Poster
Rep: Reputation: 18
Hi Knu

I did use synaptic under ubuntu 8.1 and it worked fine. However it doesnt seem to
find the files it needs for Ubuntu Studio

Im going to try you listing for

install 'libc6-dev' and 'linux-headers-< your version >
and will let you know what happens

Vanessa
 
Old 06-15-2009, 10:26 PM   #5
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145

Original Poster
Rep: Reputation: 18
Hi again Knu

I ran the script you listed and we are making progress.

install 'libc6-dev' and 'linux-headers. it found two files and installed them

I get farther with the install but it is looking for the kernal path now.

the error now says,

Unable to find the kernal cource tree for the currently running kernal. Please make
sure you have the kernal souce files installed and they are properly configured.
... you may have to specify the kernal souce path with the ' --kernal-source-path'
command line option.

I have been looking for location of the kernal but this is were my lack of knowledge
of linux shows. I dont have any idea of where to look

So once again Im asking for you input.

thanks
Vanessa
 
Old 06-16-2009, 12:18 AM   #6
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
apt-cache search nvidia
or
apt-cache search kernel
will again display a lot of useful results. You may try
apt-get install nvidia-kernel-source
but there are other options and we don't know your hardware
 
Old 06-16-2009, 10:24 PM   #7
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145

Original Poster
Rep: Reputation: 18
Hi J-ray

thanks for responding, My desktop is an Acer Aspire, with an AMD 3600 64 bit processor,
3.5 gigs of ram. two hard drives. one 250gig with win xp, the main drive is a 500 gig
that is partitioned as 100 gig ubuntu 8.1 32bit for general work, and 400 gig for Ubuntu
Studio 64 bit, which I plan to use for video editing. My vidio card is a new Nvidia GeForce 9500 with 1 gig of video ram, and dual hdmi outputs, that run two Acer H233H 23 inch monitors.

I ran the scripts you listed and they did indeed show an lot of info. It seems that most
of the header files reside in a directory x86/x86_64.

I was thinking about why my 32 bit ubuntu was able to download the nvidia drivers and the
64 bit was unable to find them. I then realized that they were two different versions,
8.04 vs 8.1. must have been a blonde moment even though Im not a blonde!

I decided to let the Studio version upgrade to 8.1 and see if I was able to find
the Nvidia files then.

It is still upgrading now. ( Im using my laptop )

I did check to see if the repositories were the same, and they were?
I did a search for nvidia and found a few other files that did not help after installing
them.

Ill let you know tomorrow how things turn out after the upgrade.

thanks for your input and suggestions, (you too Knu)

Vanessa
 
Old 06-18-2009, 05:50 PM   #8
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145

Original Poster
Rep: Reputation: 18
Where to begin......

the last two days have been frustrating to say the least.
I did upgrade to Studio 8.1, which broke several things that I wont go into now.

On the plus side when I used Synaptic to find the Nvidia drivers it did find version 180. (version 185 is the latest)
I installed 180 which placed a shortcut under System/Admin for Nvidia. when I clicked on it it told me that X server was
not installed and I needed to install X server. Using Synaptic I selected X server, which uninstalled the Nvidia
driver version 180.

It placed a short cut for Nvidia X server settings in the System/Admin menu, which when I click on it it says
Im not running the Nvidia X server and I need to run Nvidia Config as root. when I do that it screws up my xorg.conf
file and I have to boot into termial mode and restore my backup of xorg.conf before I can boot normally.

Im very fed up with studio and thinking of wiping it completely and installing a 64 bit version of Ubuntu, unless
anyone has any suggestions.

I have even considered taking my ex'es AK47 and shooting the blankety blanking thing!!!!!!!!!!

Anyway, if anyone has any suggestions please feel free to suggest them.

And thanks to J-ray and Knu for your input.

Vanessa
 
  


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
automake: find header files Ephracis Programming 1 10-17-2008 04:03 PM
Why csh can't find libc.so.6 on my Ubuntu 7.04 box? baosheng Linux - Software 1 06-20-2007 08:48 AM
how to find the header files in c compiler ss100 Linux - Software 2 12-12-2004 11:04 PM
"Cannot find header source files" when trying to install Nvidia 6111 drivers naddad Linux - Newbie 3 08-31-2004 12:42 PM
Where can I find C++ prgrams and header files? Travis86 Programming 11 03-31-2003 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:06 PM.

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