comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Erroneous installation for GPRBuild on Ubuntu ?
Date: Fri, 27 May 2011 05:34:33 -0700 (PDT)
Date: 2011-05-27T05:34:33-07:00	[thread overview]
Message-ID: <523acee9-06f1-4621-8462-5c9d0517eed2@g16g2000yqj.googlegroups.com> (raw)
In-Reply-To: op.vv3e6gcdule2fv@douda-yannick

Yannick Duchêne wrote on comp.lang.ada:
> I had a look at “/usr/share/gprconfig”, 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.



  parent reply	other threads:[~2011-05-27 12:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26  1:16 Erroneous installation for GPRBuild on Ubuntu ? Yannick Duchêne (Hibou57)
2011-05-26  8:21 ` Ludovic Brenta
2011-05-26 15:03   ` Yannick Duchêne (Hibou57)
2011-05-26 15:09     ` Yannick Duchêne (Hibou57)
2011-05-26 12:21 ` Simon Wright
2011-05-26 14:43   ` Yannick Duchêne (Hibou57)
2011-05-27  7:04     ` Ludovic Brenta
2011-05-27 11:39     ` Stephen Leake
2011-05-27 13:49       ` Yannick Duchêne (Hibou57)
2011-05-27 12:34     ` Ludovic Brenta [this message]
2011-05-27 11:33 ` Stephen Leake
2011-05-27 13:44   ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox