LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-20-2014, 05:54 PM   #1
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Rep: Reputation: 16
libudev-dev on Red Hat Enterprise Linux 6


I am trying to build Mesalib on RHEL 6. It is complaining the I am missing libudev-del, though I have both libudev and libudev-devel installed. Anuone one build this on RHEL 6? Thanks.
 
Old 07-20-2014, 06:46 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
-dev are Debian/ubuntu packages
-devel are used for rpm's in redhat/fedora/suse

you really do NOT want to try to install debian .deb files on redhat

seeing as redhat requires the support contract you have access to RHN
for mesa just do a yum search
Code:
su -
yum search mesa
that will list the packages that can be installed
 
Old 07-20-2014, 07:35 PM   #3
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
I dodn't think I said anything about .deb pacakages. I am trying to compile Mesa-10.2.4. The output of my ./configure says:


checking for DRIGL... yes
configure: error: libudev-dev required for building DRI
 
Old 07-20-2014, 08:17 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Have you built mesa before
it is not very strait forward

and the opengl related software is built using the mesa libs in the RHN repo

installing a different version WILL break things

also if you want a newer mesa WHY !! are you using RHEL6 ?

RHEL 7.0 is the current version AND will be using a newer version of mesa than is on RHEL 6.5

and the DEVELOPMENT testing 10.2.4 ?
-- from the git software repository--
not the last released 10.2.3

and did you install all the prerequisites ?
Code:
su -
yum install flex bison imake libtool xorg-x11-proto-devel libdrm-devel \
  gcc-c++ xorg-x11-server-devel libXi-devel libXmu-devel libXdamage-devel git \
  expat-devel llvm-devel
also did you install dri2proto and libDRM ?

and what configure options and settings are you using ?
see
Code:
./configure --help

Last edited by John VV; 07-20-2014 at 08:19 PM.
 
Old 07-20-2014, 09:19 PM   #5
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
I left work now. I will install Mesalib in another direcotry. I built all of the X11 libraries and X11-proto and yes, I have all of the prereqs. We are not moving to RHEL 7 yet, too new, but a user said the version of OpenGL was too old for him, so I am trying to build MesaGL at his request.

As I said I did a yum list installed| grep -i udev

and found libudev and libudev-devel installed, so I don't know why it is complaining.
 
Old 07-20-2014, 09:54 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
I am willing to bet one of two things
you are building the required prerequisites
1
but are the packageconfig ( .pc) files in the system $PATH
and did you make a new setting for the newer and different $PKG_CONFIG_PATH setting

2

and / or
the error is about the already installed and seen by autoconfig are too old
 
Old 07-20-2014, 11:21 PM   #7
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
I did set the PKG_CONFIG_PATH to point to my new libraries. I would go along with your 2nd bet, but I can't seem to find the source for udev. I went to the MesaLib site and saw where others have ran into similar errors, though not on the version I am trying to build. I was hoping someone here had built it. My user says the OpenGL is too old, but I have not heard back from him. I am not sure which graphics package he is trying to run, I know he is a big user of Matlab, but I don't know if that is the package he is currently using.

I also checked the repository, and the version of udev I have installed is the latest. Doesn't mean it is the most current, just the latest Red Hat offers.

Last edited by brownwrap; 07-20-2014 at 11:25 PM.
 
Old 07-21-2014, 12:10 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if you must have the latest
have a look at Fedora 21-TESTING
 
  


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
LXer: Red Hat releases upgrade to older Red Hat Enterprise Linux: RHEL 5.10 LXer Syndicated Linux News 0 10-02-2013 04:10 AM
LXer: Red Hat Announces General Availability of Next Minor Release of Red Hat Enterprise Linux 6 LXer Syndicated Linux News 0 02-22-2013 01:50 PM
LXer: Red Hat Announces General Availability of Red Hat Enterprise Linux 5.9 LXer Syndicated Linux News 0 01-09-2013 04:30 PM
LXer: Red Hat invites users to help create the next Red Hat Enterprise Linux LXer Syndicated Linux News 0 09-01-2011 02:30 AM
LXer: Red Hat to launch Red Hat Enterprise Linux 5 before March LXer Syndicated Linux News 0 12-30-2006 08:03 AM

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

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