SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Slackware 10.2 installation on which I would like to evaluate some of the Firefox 3beta builds. This requires 'Cairo' which was not an optional package with Slack 10.2.
My question is: can I build 'Cairo' from source using the SlackBuild script from Slack 11?.
I have the following packages already installed on my 10.2 installation:
glib2
popt
atk
pango
gtk+2.
Do I need to rebuild any of the above packages to be compatible with Cairo?.
linuxpackages.net has cairo-1.0.2 available. Your probably best to build from source instead of using a script for 11.0 or use the one from linuxpackages.net to ensure it will work with your base install of 10.2.
--Your probably best to build from source instead of using a script for 11.0 or use the one from linuxpackages.net to ensure it will work with your base install of 10.2.
I have read somewhere on the Forum that after building 'Cairo' I should next re-build 'Pango' followed by rebuilding 'gtk+2' in that order to make things work correctly.
I have read somewhere on the Forum that after building 'Cairo' I should next re-build 'Pango' followed by rebuilding 'gtk+2' in that order to make things work correctly.
Is this correct?.
Bill.
I'm not 100% sure, but I don't think so. Can't recall rebuilding that stuff on 10.2 and I'm positive about Cairo being installed. There is also nothing of that kind at the package details.
And if it is, you'll find out soon enough.
I have read somewhere on the Forum that after building 'Cairo' I should next re-build 'Pango' followed by rebuilding 'gtk+2' in that order to make things work correctly.
Is this correct?.
Bill.
Yes, that's correct. If you don't, you'll be missing the pango-cairo libs. Try not to use linuxpackages.net. Bad, bad habit. I wish people would quit suggesting it.
Many thanks 'Adriv' and 'jong357' for your replies. I think I will rebuild the appropriate packages just to be safe:
Quote:
Yes, that's correct. If you don't, you'll be missing the pango-cairo libs. Try not to use linuxpackages.net. Bad, bad habit. I wish people would quit suggesting it.
This is therefore what I am proposing to do:
1.)Get the lastest source files for 'cairo', 'pango'' and 'gtk+2 from slackware 12 and edit the 'slackBuild' files appropriately the make them work in Slackware 10.2.
2.) build 'cairo' and install, then reboot;
3.) Build 'pango' and 'upgradepkg' then reboot;
4.) Build 'gtk+2' and 'upgradepkg.
Two questions:
Will this be a suitable route and will it ensure 'cairo' support in 'pango' and 'cairo/pango' support in 'gtk+2'?.
Will this be a suitable route and will it ensure 'cairo' support in 'pango' and 'cairo/pango' support in 'gtk+2'?.
yep. Thats how you do it.
glib2
popt
atk
cairo
pango
gtk+2
That's the proper build order for those packages.
You also might run into problems by using the latest source for just a couple of those. Dunno. You can try it and see what happens. On the same token, you might run into problems with FFbeta3 if you use the original versions that shipped with 10.2....
Typically, if you use a brand new gtk2, you should use a brand new glib2 as well. Those 2 are kinda married to each other. However, upgrading to new glib2 and gtk2 packages _could_ have adverse effects on existing gtk applications that are installed on your 10.2 box. You really don't know until you get the new versions installed and start watching for breakage.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.