LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-31-2012, 01:23 AM   #1
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Rep: Reputation: 22
Mesalib 8.0.4 compile error due to file missing.


While attempting to compile the Mesalib 8.0.4 from source I came across an error where a file is being referenced but does not exist. Mesa-8.0.4/drivers/dri/noveau_driver.h references noveau_device.h but is nowhere to be found. Is there a patch for this somewhere?
 
Old 08-31-2012, 02:45 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I don't think that a patch be necessary as none is used to make the mesa-8.0.4 package available in Slackware-current.

I suggest that instead of compiling it manually you just make a Slackware package for mesa-8.0.4, using the SlackBuild available in Slackware-current in /source/x/mesa.

PS I confirm that the mesa-8.0.4 package installs nouveau_device.h in /usr/include/nouveau/

Last edited by Didier Spaier; 08-31-2012 at 02:54 AM. Reason: PS added
 
Old 08-31-2012, 05:46 PM   #3
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Original Poster
Rep: Reputation: 22
Thanks for pointing me to the slackbuild on the installation media. I didn't realize that was there. Unfortunately though the slackbuild script got as far as I did manually. I did find out that I can bypass the noveau problem by specifying --with_dri_driver= option during configure as I am not needing noveau. I edited the slackbuilds script to do the same thing and it gets around the problem with noveau. I did find the noveau header files in /usr/include/noveau so I must have a path issue to resolve so these files will be found during compile time. Their not in the mesa tarbell as I have looked inside with Midnight Commander. They must have been installed with a header file package that Slackware had installed at the time of installation. Unfortuantely even after getting past the noveau problem I came across an error that stop the compile process both mananually and with the slack build scripts. I'll post another thread on that later since it's a different issue altogether.

Last edited by Arcosanti; 08-31-2012 at 05:47 PM.
 
Old 08-31-2012, 06:02 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Just a blind idea: did you become root with "su" before executing the SlackBuild? Then try with "su -" instead as else you keep the $PATH of your regular user.
 
Old 08-31-2012, 07:04 PM   #5
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Original Poster
Rep: Reputation: 22
I tried both su and su -l only to find out that SlackBuilds doesn't seem to like that. So I just ran it as a regular user and it worked. I can add in /usr/include as a path to my reguler user account.

Last edited by Arcosanti; 08-31-2012 at 07:05 PM.
 
  


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
Compile Error - Missing header file Aizenmyou Slackware 6 06-29-2012 12:49 PM
Error with Mesalib spiky0011 Linux From Scratch 26 04-09-2011 03:12 AM
failing to build Empathy due to missing glib-compile-schemas bullet_ Fedora 3 11-04-2010 02:43 AM
Why doesn't my system start due to missing file mozkaynak Fedora 6 12-09-2005 08:11 PM
Cannot compile kernel due to bzImage error zahoo Linux - Software 3 08-18-2005 07:33 AM

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

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