Installing advanced library versions safely?
(Sorry if this appears twice; I submitted it first via news, but I never saw it appear. I joined the mailing list in the meantime, so here's a second attempt.) Background: I have a Debian system running potato. I have some experience running Linux systems, mostly RedHat, but I'm pretty new to Debian and its package management. What I'm trying to do: I am trying to set up a Subversion repository (see http://subversion.tigris.org) and client. Subversion is still pre-release, so it's essential to build it from latest sources. It requires a lot of the 'latest stuff' related to Apache in order to work. What I've done so far: A Subversion repository is accessed through a web server via webdav, and requires the latest Apache release. So using dselect, I uninstalled all Apache-related packages in potato, got the latest Apache sources, and built and installed Apache2 from scratch. So far so good. What I need to do: I need to build the Subversion client. What I'm stuck on: When running configure on the Subversion sources, I'm told that I need expat or libxml = 1.8.3. Neither potato nor woody are up to libxml 1.8.3. (I was considering upgrading to woody before I noticed this -- not a decision to be taken lightly, since I live behind a modem!) (And finally...) My questions: What's the best way to go about getting and installing libxml 1.8.3 or greater, given that it's not available as a package -- or if it *is* available as a package, it'll be in a distribution that I don't want to point dselect at? (I already went through a few hours of insanity when I made the mistake of pointing dselect at 'testing' temporarily.) In general, how do software developers handle these situations on Debian -- needing to install the latest-and-greatest of a library or tool (and possibly associated dependencies), esp. when there might be 'official' Debian versions of the same software installed already? I want to avoid conflicting with dselect's management of the system as far as possible. I suspect that Debian developers have to deal with this sort of problem all the time... Thanks in advance for any insights! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Installing advanced library versions safely?
On Mon, May 27, 2002 at 04:33:58PM -0400, Dan Muller wrote: told that I need expat or libxml = 1.8.3. Neither potato nor woody are up to libxml 1.8.3. (I was considering upgrading to woody before I noticed this -- not a decision to be taken lightly, since I live behind a modem!) (And finally...) My questions: What's the best way to go about getting and installing libxml 1.8.3 or greater, given that it's not available as a package -- or if it *is* available as a package, it'll be in a distribution that I don't want to point dselect at? (I already went through a few hours of insanity when I made the mistake of pointing dselect at 'testing' temporarily.) Let me answer in a general way, since I have no knowledge of the specifics of libxml, its dependencies, when it will make it into unstable etc. 1. The apt in woody can be instructed to grab packages from different releases (stable, testing, unstable). In some cases, a package will have dependencies on many packages that also have to be grabbed from testing or unstable, so installing that package will essentially upgrade (almost) the whole system. There is nothing inherently problematic with such mixed system, it will just be not so thoroughly tested since it will be pretty unique. AFAIK you can install the apt from woody without upgrading the whole system to woody, but do check that. (As woody is close to a official release, you might want to upgrade to woody anyway). 2. Another approach is to use unofficial sources for apt. E.g. I have a list for daily builds of wine in /etc/apt/sources.list. I don't know how many software projects make daily builds available in deb archive like this. 3. Install binaries (or from source) into /usr/local. The debian package management system will never install files in /usr/local so this is the place for your own installs. Stow is probably a good helper here. -- Note that I use Debian version 3.0 Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown Hans Ekbrand pgpIF1qHzJz3l.pgp Description: PGP signature
Re: Installing advanced library versions safely?
On Mon, May 27, 2002 at 04:33:58PM -0400, Dan Muller wrote: | (Sorry if this appears twice; I submitted it first via news, but I never saw | it appear. I joined the mailing list in the meantime, so here's a second | attempt.) The mail-news gateway is one-way. The news server might (I don't know) get 2 copies, but not the mailing list. | Background: I have a Debian system running potato. I have some experience | running Linux systems, mostly RedHat, but I'm pretty new to Debian and its | package management. | | What I'm trying to do: I am trying to set up a Subversion repository (see | http://subversion.tigris.org) and client. Subversion is still pre-release, | so it's essential to build it from latest sources. It requires a lot of the | 'latest stuff' related to Apache in order to work. Go for it! Some of the docs on subversion make it sound really nice, but I'm waiting for it to be stable. | What I've done so far: A Subversion repository is accessed through a web | server via webdav, and requires the latest Apache release. So using dselect, | I uninstalled all Apache-related packages in potato, got the latest Apache | sources, and built and installed Apache2 from scratch. So far so good. | | What I need to do: I need to build the Subversion client. | | What I'm stuck on: When running configure on the Subversion sources, I'm | told that I need expat or libxml = 1.8.3. Neither potato nor woody are up | to libxml 1.8.3. (I was considering upgrading to woody before I noticed | this -- not a decision to be taken lightly, since I live behind a modem!) apt-cache is your friend. In particular, you want the 'search' and 'policy' directives. Oh, and upgrade apt and dpkg to woody's version -- it will make checking package versions much easier. (I'll comment more on this later) What you'll find is : potato : expat : 1.1-1 libxml1 : 1.8.2-1 woody : expat : 1.95.2-6 libxml1 : 1.8.17-2 libxml2 : 2.4.19-4 sid : expat : 1.95.2-6 libxml1 : 1.8.17-2 libxml2 : 2.4.20-1 Unlike rpm, dpkg won't allow 2 packages of the same name to be installed. Since libxml incompatibly changed between version 1 and version 2, the maintainer has choosen to provide one package for each so that libxml1 and libxml2 apps can both exist on the same system. | (And finally...) My questions: What's the best way to go about getting and | installing libxml 1.8.3 or greater, If you want to try (no guarantees) then use the 'apt-get source' functionality. First, run this with your sources.list pointing at potato. It will ensure that you have all the build tools and any other build dependencies for building (potato's version of) libxml1. # apt-get build-deps libxml1 Then point apt at woody, and run this : # apt-get update # apt-get install apt dpkg perl apt-utils fakeroot # explaination below # apt-get source libxml1 Then you'll have the source of libxml in the current directory. As an ordinary user run $ cd libxml1-version $ fakeroot ./debian/rules and then as root # dpkg -i ../libxml1_deb All debian packages are available in source form as well as binary form. The structure is to have a 'debian' directory in every source package, and a 'rules' file which is a Makefile for building the package. The fakeroot program creates a fake root environment. It is used to fool the devel tools into thinking they have root permission, and thus they will create the files with the correct ownership before putting them in the package. As for woody's apt, it is much improved over potato's apt. One of the features that was added is preferences. Woody's apt allows you to include multiple releases in your sources.list (eg both stable and testing) and then give them a priority in the preferences file. A suitable preferences file for you would be : Package: * Pin: release a=stable Pin-Priority: 500 Package: * Pin: release a=testing Pin-Priority: 95 Package: * Pin: release a=unstable Pin-Priority: 90 The total ordering here is stable (500) currently installed package (100) testing (95) unstable (90) This means that your apt cache will know about the versions of packages in all the releases mentioned in your sources.list file, but an 'apt-get upgrade' or an 'apt-get install' will choose the version from stable first, and will never automatically choose one from testing or unstable. You can explicitly request a package from one of those releases like this : # apt-get install libxml2/testing Note that you will need to upgrade your perl version for the new apt and dpkg to work correctly. I don't know the details of why, though. HTH, -D -- Pride only breeds quarrels, but wisdom is found in those who take advice. Proverbs 13:10 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg pgpEhtzt0RdWS.pgp Description: PGP signature
Re: Installing advanced library versions safely?
Thanks for the reply! Still a few questions, though, after trying some of this... dman wrote: On Mon, May 27, 2002 at 04:33:58PM -0400, Dan Muller wrote: ... The mail-news gateway is one-way. The news server might (I don't know) get 2 copies, but not the mailing list. Thanks, I didn't know that. Might have waited a long time. :-) ... Go for it! Some of the docs on subversion make it sound really nice, but I'm waiting for it to be stable. I was too, but I got impatient... ... First, run this with your sources.list pointing at potato. It will ensure that you have all the build tools and any other build dependencies for building (potato's version of) libxml1. # apt-get build-deps libxml1 apt-get doesn't appear to understand 'build-deps'. Are you sure this functionality exists in potato? In any case, I already have libxml1 installed, and I'm not sure I really need the ability to build it. Then point apt at woody, and run this : # apt-get update # apt-get install apt dpkg perl apt-utils fakeroot # explaination below # apt-get source libxml1 The apt-get command wants to upgrade 41 packages, install 19 new ones, and remove 74 -- getting a total of 27.1MB of archives. This is not quite what I expected!? Did I do something wrong? By point apt at woody, I assumed you meant *just* at woody, not *also* at potato. That's what I tried, anyway (after saving a copy of /var/lib/dpkg/status, having learned a lesson yesterday). ... The new apt sounds excellent, I look forward to (somehow) getting it installed here! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Installing advanced library versions safely?
Thanks for the reply! Still a few questions, though, after trying some of this... dman wrote: On Mon, May 27, 2002 at 04:33:58PM -0400, Dan Muller wrote: ... The mail-news gateway is one-way. The news server might (I don't know) get 2 copies, but not the mailing list. Thanks, I didn't know that. Might have waited a long time. :-) ... Go for it! Some of the docs on subversion make it sound really nice, but I'm waiting for it to be stable. I was too, but I got impatient... ... First, run this with your sources.list pointing at potato. It will ensure that you have all the build tools and any other build dependencies for building (potato's version of) libxml1. # apt-get build-deps libxml1 apt-get doesn't appear to understand 'build-deps'. Are you sure this functionality exists in potato? In any case, I already have libxml1 installed, and I'm not sure I really need the ability to build it. Then point apt at woody, and run this : # apt-get update # apt-get install apt dpkg perl apt-utils fakeroot # explaination below # apt-get source libxml1 The apt-get command wants to upgrade 41 packages, install 19 new ones, and remove 74 -- getting a total of 27.1MB of archives. This is not quite what I expected!? Did I do something wrong? By point apt at woody, I assumed you meant *just* at woody, not *also* at potato. That's what I tried, anyway (after saving a copy of /var/lib/dpkg/status, having learned a lesson yesterday). ... The new apt sounds excellent, I look forward to (somehow) getting it installed here! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Installing advanced library versions safely?
Thanks for the reply! Still a few questions, though, after trying some of this... dman wrote: On Mon, May 27, 2002 at 04:33:58PM -0400, Dan Muller wrote: ... The mail-news gateway is one-way. The news server might (I don't know) get 2 copies, but not the mailing list. Thanks, I didn't know that. Might have waited a long time. :-) ... Go for it! Some of the docs on subversion make it sound really nice, but I'm waiting for it to be stable. I was too, but I got impatient... ... First, run this with your sources.list pointing at potato. It will ensure that you have all the build tools and any other build dependencies for building (potato's version of) libxml1. # apt-get build-deps libxml1 apt-get doesn't appear to understand 'build-deps'. Are you sure this functionality exists in potato? In any case, I already have libxml1 installed, and I'm not sure I really need the ability to build it. Then point apt at woody, and run this : # apt-get update # apt-get install apt dpkg perl apt-utils fakeroot # explaination below # apt-get source libxml1 The apt-get command wants to upgrade 41 packages, install 19 new ones, and remove 74 -- getting a total of 27.1MB of archives. This is not quite what I expected!? Did I do something wrong? By point apt at woody, I assumed you meant *just* at woody, not *also* at potato. That's what I tried, anyway (after saving a copy of /var/lib/dpkg/status, having learned a lesson yesterday). ... The new apt sounds excellent, I look forward to (somehow) getting it installed here! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Installing advanced library versions safely?
On Mon, May 27, 2002 at 06:56:04PM -0400, Dan Muller wrote: | dman wrote: ... | ... | First, run this with your sources.list pointing at potato. It will | ensure that you have all the build tools and any other build | dependencies for building (potato's version of) libxml1. | | # apt-get build-deps libxml1 | | apt-get doesn't appear to understand 'build-deps'. Are you sure this | functionality exists in potato? In any case, I already have libxml1 | installed, and I'm not sure I really need the ability to build it. Oops, it's build-dep, not build-deps. If you want a newer version of libxml1 than potato has, you'll have to build it. The error message you gave indicated that potato's libxml is one micro version too old. | Then point apt at woody, and run this : | # apt-get update | # apt-get install apt dpkg perl apt-utils fakeroot # explaination | below | # apt-get source libxml1 | | The apt-get command wants to upgrade 41 packages, install 19 new ones, | and remove 74 -- getting a total of 27.1MB of archives. This is not | quite what I expected!? Did I do something wrong? By point apt at | woody, I assumed you meant *just* at woody, not *also* at potato. Yeah, that's what I meant, but it shouldn't matter -- potato's apt will grab the latest version of whatever packages are needed regardless of the release. You can still get the libxml1 source package even if you don't get the new apt and stuff. If you still have some sort of hold up with getting the source package, you can always download it using traditional methods (wget, links, or other web browser) from packages.debian.org. | ... | The new apt sounds excellent, I look forward to (somehow) getting it | installed here! I know that perl isn't exactly small, and the new apt need perl. Those packages probably want a new libc too and who know what other dependencies are there ... (well, you do now since apt told you :-)). I recommend upgrading to woody anyways -- it's basically stable now, and has many improvements and newer software. With a modem like yours, the best technique (assuming you don't pay $$ based on usage) is to run 'apt-get dist-upgrade --download-only' at night until you have all the packages downloaded, and then proceed with their installation. You can run this from cron, and have another cron job that kills it and hangs up the modem in the morning. (isn't it nice when you can automate stuff like that? and you wouldn't even be on the phone line during the day!) HTH, -D -- There are six things the Lord hates, seven that are detestable to him : haughty eyes, a lying tongue, hands that shed innocent blood, a heart that devises wicked schemes, feet that are quick to rush into evil, a false witness who pours out lies and a man who stirs up dissension among brothers. Proverbs 6:16-19 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg pgp5qrTYPKS3H.pgp Description: PGP signature
Re: installing a library
clif smith [EMAIL PROTECTED] writes: I would like to know how to install a library, lmlib 0.5.2 for use with Enlightenment desktop. It has its own install function but I need to know where to install it from. Like where is the best place to gunzip/tar files in, like c:\temp in DOS. If and after an install what files there can be deleted, etc. I use /tmp for short-term file (will be deleted upon the next reboot) and /var/tmp for longer, but still temporary storage. Also, when I try to install it I get a message saying I'm missing convert in /bin/sh. It also seems to want make and I'm sure that's installed ;) Thanks, Install the imagemagick package, it contains convert. You need also to adjust the location for convert from /usr/bin to /usr/X11R6/bin somewhere in the Makefile. Torsten -- !07/11 PDP a ni deppart m'I !pleH Fortune Cookie PGP Public key available -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: installing a library
From [EMAIL PROTECTED] Mon Nov 10 11:30:04 1997 Received: (qmail 9748 invoked by uid 38); 10 Nov 1997 19:26:51 - Resent-Date: 10 Nov 1997 19:26:51 - Resent-Cc: recipient list not shown: ; X-Envelope-Sender: [EMAIL PROTECTED] Received: (qmail 9622 invoked by uid 38); 10 Nov 1997 19:26:48 - X-Envelope-Sender: [EMAIL PROTECTED] Received: (qmail 9608 invoked from network); 10 Nov 1997 19:26:47 - Received: from tofu.alt.net ([EMAIL PROTECTED]@207.14.113.2) by 205.229.104.5 with SMTP; 10 Nov 1997 19:26:47 - Received: from gecko1 (c31-camilla.blarg.net [206.124.131.160]) by tofu.alt.net (8.8.5/8.8.5) with SMTP id LAA03385 for [EMAIL PROTECTED]; Mon, 10 Nov 1997 11:29:36 -0800 (PST) Message-Id: [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Mon, 10 Nov 1997 11:25:49 -0800 To: [EMAIL PROTECTED] From: clif smith [EMAIL PROTECTED] Subject: installing a library Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: e865u.A.BXC.6_1Z0@debian Resent-From: debian-user@lists.debian.org X-Mailing-List: debian-user@lists.debian.org archive/latest/18046 X-Loop: debian-user@lists.debian.org Precedence: list Resent-Sender: [EMAIL PROTECTED] I would like to know how to install a library, lmlib 0.5.2 for use with Enlightenment desktop. It has its own install function but I need to know where to install it from. Like where is the best place to gunzip/tar files in, like c:\temp in DOS. If and after an install what files there can be deleted, etc. Also, when I try to install it I get a message saying I'm missing convert in /bin/sh. It also seems to want make and I'm sure that's installed ;) Thanks, clif Clif, U can install imlib in any /dir (ie: root, etc...), as it will compile to the correct /dirs on it's own. Also, you can get all the best info on http://mandrake.net/e/, or channel #E on the efnet...Rik TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . __ Get Your Private, Free Email at http://www.hotmail.com -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
installing a library
I would like to know how to install a library, lmlib 0.5.2 for use with Enlightenment desktop. It has its own install function but I need to know where to install it from. Like where is the best place to gunzip/tar files in, like c:\temp in DOS. If and after an install what files there can be deleted, etc. Also, when I try to install it I get a message saying I'm missing convert in /bin/sh. It also seems to want make and I'm sure that's installed ;) Thanks, clif -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .