LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   libudev-dev on Red Hat Enterprise Linux 6 (https://www.linuxquestions.org/questions/linux-software-2/libudev-dev-on-red-hat-enterprise-linux-6-a-4175511697/)

brownwrap 07-20-2014 05:54 PM

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.

John VV 07-20-2014 06:46 PM

-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

brownwrap 07-20-2014 07:35 PM

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

John VV 07-20-2014 08:17 PM

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

brownwrap 07-20-2014 09:19 PM

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.

John VV 07-20-2014 09:54 PM

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

brownwrap 07-20-2014 11:21 PM

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.

John VV 07-21-2014 12:10 AM

if you must have the latest
have a look at Fedora 21-TESTING


All times are GMT -5. The time now is 11:30 AM.