LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
Search this Thread
Old 01-08-2013, 03:56 PM   #1
mev
LQ Newbie
 
Registered: Sep 2012
Posts: 18

Rep: Reputation: Disabled
Libxcb-1.8.1 make check error


Hi,

I'm having problems installing the Libxcb-1.8.1 package.

I have installed all of the required dependencies and also the optional Check-0.9.9 dependency (to run tests) but I get a failure for the make check.

Code:
make[3]: Entering directory `/sources/libxcb-1.8.1/tests'
/sources/libxcb-1.8.1/tests/.libs/lt-check_all: error while loading shared libraries: libXau.so.6: cannot open shared object file: No such file or directory
FAIL: check_all
Looks like it can't find libXau.so.6, which is one of the listed dependencies I installed. The full output of make check is attached.

I have installed libXau.so.6, as per the instructions. Using the find command, I get the following output;

Code:
/usr/local/lib/libXau.so.6
I don't know why the make check doesn't find the file. I've tried searching the forums and google but to no avail. I would be very grateful for any advice you guys can offer.
Attached Files
File Type: log fail.log (1.4 KB, 4 views)
 
Old 01-08-2013, 04:17 PM   #2
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo-2.2 ~amd64, CentOS-6.5, Slackware64-current, FreeBSD-9.2-STABLE
Posts: 176

Rep: Reputation: Disabled
Quote:
Originally Posted by mev View Post
Hi,
Looks like it can't find libXau.so.6, which is one of the listed dependencies I installed. The full output of make check is attached.

I have installed libXau.so.6, as per the instructions. Using the find command, I get the following output;

Code:
/usr/local/lib/libXau.so.6
I don't know why the make check doesn't find the file. I've tried searching the forums and google but to no avail. I would be very grateful for any advice you guys can offer.
It seems that the --prefix was set incorrectly when you built libXau. It should be specified as --prefix=/usr. In the absence of that specification, the default is to install into /usr/local contrary to LFS and BLFS that use /usr as the target hierarchy.
 
1 members found this post helpful.
Old 01-08-2013, 04:34 PM   #3
mev
LQ Newbie
 
Registered: Sep 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks. I thought it had to be something along the lines of that, I remember it mentions in quite a few packages to set the installation prefix, I'm still pretty new at Linux though and couldn't quite do the math.

However, I believe in that case that the manual requires updating as it does not advise to set the prefix when installing the package. It simply states;

Code:
./configure $XORG_CONFIG &&
make
which is probably why it has ended up in it's default directory. I guess I will need to reinstall it with the correct installation prefix. My problem now is that I'm not sure about removing the current installation as I'm used to using package managers, etc.
 
Old 01-09-2013, 05:19 AM   #4
McZ
Member
 
Registered: Aug 2012
Posts: 42

Rep: Reputation: Disabled
Quote:
Originally Posted by mev View Post
Thanks. I thought it had to be something along the lines of that, I remember it mentions in quite a few packages to set the installation prefix, I'm still pretty new at Linux though and couldn't quite do the math.

However, I believe in that case that the manual requires updating as it does not advise to set the prefix when installing the package. It simply states;

Code:
./configure $XORG_CONFIG &&
make
which is probably why it has ended up in it's default directory. I guess I will need to reinstall it with the correct installation prefix. My problem now is that I'm not sure about removing the current installation as I'm used to using package managers, etc.
if you are running with $XORG_CONFIG it must be set to the values it says in the Xorg building chapters. Running echo $XORG_CONFIG will print what $XORG_CONFIG is set to. If nothing is printed then it isn't set and packages will be installed with their default values, and some of them has prefix=/usr as default and others may have prefix=/usr/local.

if you don't care where they end up, you may continue if you make sure /etc/ld.so.conf (or /etc/ld.so.conf.d/usr-local.conf) includes /usr/local/lib and then run ldconfig altough I have not tested this to work though and you may miss some other settings from $XORG_CONFIG.

if you want to restart you can just delete everything in /usr/local/ with the command rm -rf /usr/local/* don't really need the directory structure there because all BLFS packages (I have installed) is installed in /usr. After that you can restart installing Xorg, already installed packages in /usr will be overwritten with the new settings. Not a perfect solution but it can work.
 
1 members found this post helpful.
Old 01-11-2013, 08:09 AM   #5
mev
LQ Newbie
 
Registered: Sep 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks McZ. Massive RTFM fail to me! I somehow missed the whole page on choosing an install path and setting the variables accordingly at the start of the chapter, no wonder I was so confused. I feel pretty embarrassed now.

Thanks also for your suggestion for how I can clean up and get started again.
 
  


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
make -k check error coolsami Linux From Scratch 4 08-06-2009 09:20 AM
make: *** [check] Error 1 MrLinuxBoy Linux - Newbie 22 01-12-2008 04:36 PM
glibc-2.3.4 make check error Snowmiss Linux From Scratch 1 08-04-2006 04:44 AM
Automake: make check error _InTeNsDoWn_ Linux From Scratch 1 08-08-2005 12:56 AM
gcc-3.3.1 make -k check - make [check] Error 2 BarryM45 Linux From Scratch 1 02-05-2004 08:44 AM


All times are GMT -5. The time now is 03:11 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 Google+: linuxquestions
Open Source Consulting | Domain Registration