Re: /usr and /usr/local

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 15, 2005 at 01:58:29PM +0100, Foster, Gareth wrote:
> I have been working on porting my wallpaper tray program to the gnome panel
> (from the notification area), and I have hit a snag with Fedora.
> I have to configure my program as follows:
> ./configure --prefix="/usr"

Are you making an RPM, or just installing locally? For installing locally,
you *want* it to be going into /usr/local.


> The default is /usr/local, and this results in my panel applet not being
> available from the menu. Now, I am trying to add a gconf schema (I think not
> having one was causing bugs), and the schema is ending up getting installed
> to /usr/etc which is clearly wrong.

Try "./configure --prefix=/usr --sysconfdir=/etc". Or, if this is inside an
RPM spec file, use "%configure". (Run "rpm --eval '%configure'" from the
command line to find out what all that sets.)

-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 78 degrees Fahrenheit.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux