LinuxQuestions.org
Visit Jeremy's Blog.
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 12-06-2010, 08:50 AM   #1
corbis_demon
Member
 
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 494

Rep: Reputation: 35
Is libintel_drm a requirement with mesa-git


Hi,
I'm trying to compile mesa from git sources, and I get this error:
Code:
checking for LIBDRM_RADEON... no
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for INTEL... no
configure: error: Package requirements (libdrm_intel >= 2.4.21) were not met:

No package 'libdrm_intel' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables INTEL_CFLAGS
and INTEL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details
I have an nvidia card, and had only built the nouveau drivers in libdrm-git. Now it seems mesa has an added requirement for the intel drivers. Also, mesa-git git ignores many compile options that I pass to it. What gives? Is this going to standard now, or is there a workaround for this? I know this is software in testing phase, but it would be really helpful if anyone could share a thought on this.
 
Old 12-06-2010, 09:51 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,632

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
Quote:
No package 'libdrm_intel' found
Usually it means : Looking for usr/lib/pkgconfig/libdrm_intel.pc

Slackware 13 : grep libdrm /var/log/packages/*
The reply is :
libdrm-2.4.12-i486-1:usr/lib/pkgconfig/libdrm_intel.pc

'libdrm' is installed by default. ( slackware/x/ ).

When it's missing : You can install it from the install DVD, or cd disk 2.
..

Last edited by knudfl; 12-06-2010 at 09:53 AM.
 
Old 12-06-2010, 10:41 AM   #3
corbis_demon
Member
 
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 494

Original Poster
Rep: Reputation: 35
Yeah, sorry I didn't mentions it in my post, but I'm not building on Slackware, but on a CLFS system. I know if I build the intel drivers in the libdrm package, I wont get this issue. But since I have no use for an intel driver, I chose to disable it while compiing libdrm. Now what I wanted to know is, can't I build mesa without this driver being present on my system? I mean, is it a valid requirement, or just something that the configure script looks for? Can I safely remove the offending bit from configure?
 
Old 12-06-2010, 12:54 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,632

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
Quote:
Now what I wanted to know is, can't I build mesa without
this driver being present on my system?
I guess so, no reason why anything would depend on these files.

..
 
Old 12-06-2010, 01:03 PM   #5
corbis_demon
Member
 
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 494

Original Poster
Rep: Reputation: 35
Ok, yeah, that's what I was thinking. I'll try removing the relevant part from configure, and see if it builds fine. Thanks.
 
Old 12-07-2010, 04:32 AM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Are you passing the correct options to configure so that only the nouveau driver is being built?

Adam
 
  


Reply


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
SBo-git - slackbuilds.org on git (with patches for current) ponce Slackware 47 03-12-2011 05:12 AM
Compiling mesa from git rvdboom Slackware 7 09-01-2010 10:53 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM


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