LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-16-2011, 11:08 AM   #1
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Rep: Reputation: 0
Xorg Libraries error compilation


Hi, I have problems with X Windows compile BLFS 6.3, following the steps as stated in this web section:
- Xorg Libraries -
http://www.theskycenter.info/blfs/xorg

Error:
checking for XXF86VM... configure: error: Package requirements (xproto x11 xextproto xext xf86vidmodeproto) were not met:

No package 'x11' found
No package 'xext' 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 XXF86VM_CFLAGS
and XXF86VM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.


That is wrong or I did wrong?
 
Old 04-16-2011, 11:39 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I never used or are familiar with the book you are using (I'm seeing this site for the first time), but it seems you have made a mistake, probably when building the Xorg Protocol Headers headers and/or the pkg-config-0.22 step.

Why did you decide to use the BLFS 6.3 book from theskycenter and not the official one: BLFS 6.3?

Anyway, hope this helps.
 
Old 04-16-2011, 01:13 PM   #3
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
I follow as much as on that page as in the book is the same except that in this page I think it does a bit and adds a few scripts ordered more, but hey I will try it one more time according to the book. Have if I have the same problems.
 
Old 04-16-2011, 07:26 PM   #4
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
Well solves the problem of compilation, the error was in my view the file paths:

cat >build_lib.sh << "EOF"
section=lib
version=7.2
# build packages
for package in $(grep -v '^#' ../${section}-${version}.wget)
do
packagedir=$(echo $package | sed 's/.tar.bz2//')
tar -xf $package
cd $packagedir
case $(basename "$PWD") in
libX11-1.1.2 )
patch -Np1 -i ../../libX11-1.1.2-badargs-1.patch && <--- = ../libX11-1.1.2-badargs-1.patch
sed -i 's/_XGet/XGet/' modules/im/ximcp/imDefLkup.c
;;
libXfont-1.2.8 )
patch -Np1 -i ../../libXfont-1.2.8-pcf_parser-1.patch && <-- = ../libXfont-1.2.8-pcf_parser-1.patch
sed -i 's/(ft_isdigit/(isdigit/' src/FreeType/fttools.c
;;
esac &&
./configure $XORG_CONFIG
make
make install
ldconfig
cd ..
rm -rf $packagedir
#rm -f $package
done 2>&1 | tee -a ../xorg-${section}-compile.log #log the entire loop
EOF

chmod 755 build_lib.sh
---

finally compiled
 
  


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
xorg-server compilation shariefbe Linux - Software 11 01-13-2010 08:00 AM
Compilation errors with compiling a program with boost libraries 1.39 Metal_Koola Programming 5 12-04-2009 07:13 PM
mplayer does not use libraries at compilation isamuede Linux - Software 8 06-23-2008 04:09 PM
Cross compilation (QT libraries) using gcc for Windows arunak Programming 15 04-06-2007 01:12 AM
linking error during cross compilation with ucibc libraries raklo Linux - Kernel 0 03-25-2007 11:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:59 AM.

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