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,93e9f244fd8e7db4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Path: g2news1.google.com!postnews.google.com!g16g2000yqj.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Erroneous installation for GPRBuild on Ubuntu ? Date: Fri, 27 May 2011 05:34:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <523acee9-06f1-4621-8462-5c9d0517eed2@g16g2000yqj.googlegroups.com> References: NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1306499673 21312 127.0.0.1 (27 May 2011 12:34:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 27 May 2011 12:34:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g16g2000yqj.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009012111 Red Hat/3.0.6-1.el5 Firefox/3.0.6,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19517 Date: 2011-05-27T05:34:33-07:00 List-Id: Yannick Duch=EAne wrote on comp.lang.ada: > I had a look at =93/usr/share/gprconfig=94, and found a configuration > file for GNAT, so looks like its all there [...] This is what led me to believe you were using the official Debian package for gprbuild. If you were not, you made a mistake. The Debian packaging system owns /, /usr, /lib etc and all files under these directories are under the control of dpkg. If you place files there manually, you're in for trouble. See http://www.debian.org/releases/stable/i386/ch08s03.html.en Per the Filesystem Hierarchy standard, the proper place for software that you compile yourself is /usr/local. So, the gprbuild configuration files should be in /usr/local/share/gprconfig. Most GNU packages use /usr/local as the default installation path when you call configure. Your $PATH should contain /usr/local/bin by default and $LD_LIBARY_PATH may contain /usr/local/lib. Alternately, you can use /opt/$PACKAGE but then you have to adjust your $PATH and other variables. -- Ludovic Brenta.