Results 1 to 6 of 6
hi, im trying to follow the guide over at linuxfromscratch . org/blfs/view/svn/x/gtk2.html
I believe I have managed to install everything needed so far, however it seems that something might be ...
- 11-01-2009 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 3
Installing GTK+2.18.3 need some help
hi, im trying to follow the guide over at linuxfromscratch . org/blfs/view/svn/x/gtk2.html
I believe I have managed to install everything needed so far, however it seems that something might be missing afterall, however I have no idea how to fix that..
When I run:
I get this error:Code:./configure --prefix=/usr --sysconfdir=/etc && make
cairo-xlib??? I have installed cairo 1.2.4-5.el15checking for CAIRO_BACKEND... configure: error: Package requirements (cairo-xlib >= 1.6) were not met:
No package 'cairo-xlib' 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 CAIRO_BACKEND_CFLAGS
and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
How can I solve this?
- 11-01-2009 #2
I've never tried to install LFS, but off the top of my head, I would guess that you need a newer version of cairo. Cairo 1.2.4 was released in 2006, they're up to 1.8.8 now. Likely the latest version of GTK+ requires a more recent cairo release.
Index of /releases
- 11-02-2009 #3Just Joined!
- Join Date
- Nov 2009
- Posts
- 3
Hello,
I don't understand this, why isn't the package displayed?
I had installed cairo 1.8.8 by following this instructions
linuxfromscratch . org/blfs/view/svn/x/cairo.html
I went:
rpm -qa | grep -i cairo
That gave me
cairo 1.2.4-5.el15
cairo 1.2.4-5.el15
pycairo-1.2.0-1.1
So I uninstalled these cairo versions like this:
rpm -e --nodeps --allmatches cairo 1.2.4-5.el15
Then I followed the guide to install 1.8.8... but when I now run rpm -qa | grep -i cairo I don't find cairo 1.8.8 ? How do I know if it was installed?
When I try to run the GTK I recieve the same error as earlier... No package 'cairo-xlib' found...
- 11-02-2009 #4
I'm confused on a couple of points. The package you're listing looks like a Redhat/Centos package, and you're using rpm which is not part of LFS. So I would guess you're building LFS from a RHEL install and are not looking in your LFS build environment for GTK+.
You might want to go back to the beginning of the guide and make sure you're setting up the build environment correctly.
- 11-02-2009 #5Just Joined!
- Join Date
- Nov 2009
- Posts
- 3
Hi,
I'm still pretty new to this, could you explain more in details? I don't understand you...
- 11-02-2009 #6
Linux From Scratch is built within a host system.
1.1.*How to Build an LFS System
I can't explain it better than the bookRPM is a package manager for Red Hat, Fedora, and some other distros. When you're using it, you're looking at packages installed in your Red Hat system, not your Linux From Scratch build environment.
Originally Posted by LFS


Reply With Quote
