LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Xorg Libraries error compilation (https://www.linuxquestions.org/questions/linux-from-scratch-13/xorg-libraries-error-compilation-875332/)

poisoning 04-16-2011 11:08 AM

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?

druuna 04-16-2011 11:39 AM

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.

poisoning 04-16-2011 01:13 PM

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.

poisoning 04-16-2011 07:26 PM

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


All times are GMT -5. The time now is 10:03 AM.