Re: [SLUG] Installing a verion of xpdf later than my Debian stable version
On Wed, Sep 10, 2003 at 03:44:09PM +1000, Michael Lake wrote: Debian stable contains xpdf-reader Version: 1.00-3 and that is what I have currently installed. I have just pulled down xpdf version 2.02 from foolabs.com and compiled it. It works fine but I have not yet done 'make install'. Whats the procedure in Debian with regards to the packaging system when you install a more up to date version that isn't available in apt-get ? I can just remove the existing xpdf-reader but are there other options? See if you can get a backport of the unstable version. There's a versioned dependency (on libfreetype6) which will break an attempt to build it direct. Aaah, bugger it, just go to http://www.hezmatt.org/~mpalmer/backports and pick up the debs from there. Impromptu backport. If it breaks, tell me all about it so I can have a good laugh, but don't expect support. All the other dependencies can be satisfied from stable with apt-get. No, I'm not going to do an apt-get repository for it. I won't be leaving the packages there permanently. Basically, installing things outside of the package management system into anywhere other than /usr/local will annoy the hell out of dpkg. It's best to keep everything within the packaging system, because that way you can track everything easily, and satisfy dependencies - and building debian packages is pretty simple. But you can always put stuff into /usr/local, and play with equivs and symlinks to satisfy dependencies if necessary. - Matt -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Installing a verion of xpdf later than my Debian stable version
Matthew Palmer wrote: On Wed, Sep 10, 2003 at 03:44:09PM +1000, Michael Lake wrote: Debian stable contains xpdf-reader Version: 1.00-3 and that is what I have currently installed. I have just pulled down xpdf version 2.02 from foolabs.com and compiled it. It works fine but I have not yet done 'make install'. Whats the procedure in Debian with regards to the packaging system when you install a more up to date version that isn't available in apt-get ? I can just remove the existing xpdf-reader but are there other options? See if you can get a backport of the unstable version. There's a versioned dependency (on libfreetype6) which will break an attempt to build it direct. I have not got a backport yet. I gather you get a deb from testing or unstable and try an apt-get install of it? AS for building direct the xpdf I got from foolabs worked fine. The download pages says whats needed for a compile. It needed t1lib-bin, t1lib-dev and I already had t1lib1, then I added freetype2. Compiles and it runs as ./xpdf from where I built it. Aaah, bugger it, just go to http://www.hezmatt.org/~mpalmer/backports and pick up the debs from there. -- PPC archecture here I am using :-) But that deb at your site will be useful as we have an Athlon at home which is now running Debian. Impromptu backport. If it breaks, tell me all about it so I can have a good laugh, but don't expect support. :-) Basically, installing things outside of the package management system into anywhere other than /usr/local will annoy the hell out of dpkg. Thats why I guessed I dont just do a make install over what I have now. Thanks Matt -- Mike Lake Caver, Linux enthusiast and interested in anything technical. UTS CRICOS Provider Code: 00099F DISCLAIMER This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Installing a verion of xpdf later than my Debian stable version
On Wed, Sep 10, 2003 at 05:55:51PM +1000, Michael Lake wrote: I have not got a backport yet. I gather you get a deb from testing or unstable and try an apt-get install of it? No, you take the source code from sid and build it on a woody system. -- PPC archecture here I am using :-) But that deb at your site will be useful as we have an Athlon at home which is now running Debian. Oh well, I've put the necessary source up now at the same spot. You'll want to do the following: 1) Untar freetype_2.1.4-4.tar.gz 2) cd freetype-2.1.4 3) Ensure all the build-deps are installed (see debian/control for that) 4) debian/rules binary 5) cd .. 6) Install libfreetype6 and libfreetype6-dev 7) Untar xpdf_2.02pl1-1.tar.gz 8) cd xpdf-2.02pl1 9) Ensure all the other build deps are installed (lesstif2-dev doesn't exist in woody; use libmotif-dev instead) 10) debian/rules binary 11) cd .. 12) Install whatever gets you excited. Do that on your PPC machine and you'll have some nice happy xpdf packages to install. - Matt -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Installing a verion of xpdf later than my Debian stable version
At Wed, 10 Sep 2003 15:44:09 +1000, Michael Lake wrote: Debian stable contains xpdf-reader Version: 1.00-3 and that is what I have currently installed. I have just pulled down xpdf version 2.02 from foolabs.com and compiled it. It works fine but I have not yet done 'make install'. In this case xpdf is not needed for anything i.e. nothing depends on it so it's easy to remove. If there were things that needed a pdf viewer that would be more troublesome. Certainly I gather doing an install over the top of an existing package would confuse the packaging system. (In this case) I would just install xpdf from upstream source into /usr/local/ and remove the xpdf-reader package. If you found something that depended on xpdf-reader, you could just install it again and have both versions (the old .deb and the new /usr/local version) simultaneously installed - provided you put /usr/local/bin before /usr/bin in $PATH everything should just work. /usr/local exists for a reason, not everything has to be done through packages ;) -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Installing a verion of xpdf later than my Debian stable version
On Wed, Sep 10, 2003 at 10:13:06PM +1000, Angus Lees wrote: /usr/local exists for a reason, not everything has to be done through packages ;) But it's always nicer if it can be. You get the dependency satisfaction, file tracking, automatic upgrades, and all those other nice features. - Matt -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Installing a verion of xpdf later than my Debian stable version
Hi all, Debian stable contains xpdf-reader Version: 1.00-3 and that is what I have currently installed. I have just pulled down xpdf version 2.02 from foolabs.com and compiled it. It works fine but I have not yet done 'make install'. Whats the procedure in Debian with regards to the packaging system when you install a more up to date version that isn't available in apt-get ? I can just remove the existing xpdf-reader but are there other options? In this case xpdf is not needed for anything i.e. nothing depends on it so it's easy to remove. If there were things that needed a pdf viewer that would be more troublesome. Certainly I gather doing an install over the top of an existing package would confuse the packaging system. Mike -- Mike Lake Caver, Linux enthusiast and interested in anything technical. UTS CRICOS Provider Code: 00099F DISCLAIMER This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug