From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c06ed2b443abb1e5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news4.google.com!news2.volia.net!news.musoftware.de!texta.sil.at!newsfeed.inode.at!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: [gnuada, question] installations directory Date: Wed, 04 Jan 2006 19:06:22 +0100 Organization: Cablecom Newsserver Message-ID: <1791580.gJm9UTreyT@linux1.krischik.com> References: <1150472.HIHOOy7jJt@linux1.krischik.com> <43b92738$0$3802$9b4e6d93@newsread2.arcor-online.net> <32492718.GlmySslk4r@linux1.krischik.com> <3Xj20UmnCmW$@eisner.encompasserve.org> NNTP-Posting-Host: 84-74-134-212.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1136400331 15666 84.74.134.212 (4 Jan 2006 18:45:31 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Wed, 4 Jan 2006 18:45:31 +0000 (UTC) User-Agent: KNode/0.10 Xref: g2news1.google.com comp.lang.ada:2441 Date: 2006-01-04T19:06:22+01:00 List-Id: Larry Kilgallen wrote: > In article <32492718.GlmySslk4r@linux1.krischik.com>, Martin Krischik > writes: >> Georg Bauhaus wrote: > >>> Or, isn't there an rpm option to install in separate >>> installation roots? >> >> Yes there is. The problem is the search path for DLLs. The path of an DLL >> is hard-coded into the executable. There is also an additional search >> which can be set in /etc/ld.so.conf.d when the DLL is not found at the >> "usual" place. > > The VMS equivalent tools have a command procedure to "choose which > version of you want" and that command procedure defines > logical names where shareable images (similar to DLLs I think) can > be found. The name inside the image points to the shareable image > via the logical name. > >> But that is all manual extra installation and can be quite tricky - >> nothing I would want dump on an unwary beginner of Ada. > > How about having the default method point to the "standard place"? > Those unwary beginners do not care about multiple versions. I have had a look around. With rpm you can create "relocatable packages" which are then installed with rpm --install --prefix=/wherever/you/want/it Of corse there is a default for --prefix for the unwary beginners. I think we should have the packages "relocatable" - actually they are allready - just I never tested it. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com