LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 12-17-2011, 11:39 AM   #1
spiky0011
Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: UBUTNU 11.04/11.10/12.04/LFS
Posts: 649

Rep: Reputation: 54
Mesalib complaining about libdrm_nouveau???


I am trying to install MesaLib. It is complaining about libdrm_nouveau. This is part of Libdrm package,
I ran the basic commands as per book (I didn't include the --with-nouveau-experimental-api part),
When Mesa complained I went back and redone libdrm adding as user,
Code:
./configure --prefix=$XORG_PREFIX &&
--with-nouveau-experimental-api \
make
Still I dont have libdrm_nouveau.so in libs dir. Still Mesa not happy, the last part of mesa as it exited
Code:
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gmake... no
checking for make... make
checking for python2... no
checking for python... python
checking for makedepend... /usr/bin/makedepend
checking for sed... /bin/sed
checking for flex... /usr/bin/flex
checking for bison... /usr/bin/bison
checking for a BSD-compatible install... /usr/bin/install -c
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc supports -fvisibility=hidden... yes
checking whether g++ supports -fvisibility=hidden... yes
checking whether to enable assembly... yes, x86
checking for gcc option to produce PIC... -fPIC
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for posix_memalign... yes
checking pkg-config files for X11 are available... yes
checking for X11... yes
checking for GLPROTO... yes
checking for LIBDRM... yes
checking for DRI2PROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
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... yes
checking for NOUVEAU... no
configure: error: Package requirements (libdrm_nouveau >= 0.6) were not met:

No package 'libdrm_nouveau' 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 NOUVEAU_CFLAGS
and NOUVEAU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
 
Old 12-17-2011, 12:12 PM   #2
spiky0011
Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: UBUTNU 11.04/11.10/12.04/LFS
Posts: 649

Original Poster
Rep: Reputation: 54
Ok I think I might have found problem.
Code:
--with-gallium-driver=...: build additional gallium drivers. Defaults to r300, r600, and swrast. You must specify i9xx
   and nouveau drivers
Is this just inserted at the end of the
Code:
./configure $XORG_CONFIG --enable-xcb \
--with-gallium-driver=i915
and the part about (nouveau drivers)?
 
Old 12-17-2011, 02:50 PM   #3
spiky0011
Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: UBUTNU 11.04/11.10/12.04/LFS
Posts: 649

Original Poster
Rep: Reputation: 54
Ok I have I hope fixed the problem I reinstalled libdrm-2.4.27 and added
Code:
./configure --prefix=$XORG_PREFIX --build=x86 --enable-nouveau-experimental-api && make
then built Mesalib with
Code:
./configure $XORG_CONFIG --enable-xcb --with-gallium-drivers=i915 && make
Hope this helps someone else.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with Mesalib spiky0011 Linux From Scratch 26 04-09-2011 03:12 AM
complaining about linux?! rosspy Linux - Newbie 5 04-24-2008 09:20 AM
QT complaining wmeler Linux - Software 0 05-13-2004 08:03 PM
g++ typecast complaining too much! The_Nerd Programming 12 05-11-2004 06:52 PM
RTCW can not find mesalib nor config file Rodcl Linux - Newbie 16 04-24-2002 03:30 PM


All times are GMT -5. The time now is 06:23 AM.

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
Open Source Consulting | Domain Registration