Hi *,
On Wed, Mar 23, 2005 at 12:11:31PM -0500, G. Roderick Singleton wrote:
> On Tue, 2004-11-16 at 22:51 +0100, Christian Lohmaier wrote:
>
> [snipped]
>
> > All the rpms are created as relocatable packages.
>
> Seems that this is not the case. e.g. I get the follow error \:
> error: package openofficeorg-freedesktop-menus is not relocatable
The menu packages are not relocatable because the underlying system
(either the redhat/SuSE/Mandrake menu-system or the freedesktop-specs)
rely on the files being put to special locations.
You could install the files anywhere you want, but you won't get your
menu-entries...
In case of the freedesktop-menus package, you can install to /usr or
/usr/local without having to set special environment variables.
If you want it elsewhere, you'd need to set XDG_DATA_DIRS
The distro-specific packages will have no effect when not installed to
the location specified.
(If you put freedesktop stuff in directories other than the default it
is assumed that you know what you're doing and how you can tell rpm
where it should put these files even when the package is not marked as
relocatable).
This is a limitation of the menu-system and intentional.
> [snipped]
>
> > If you want to install to /usr/local, tell rpm to do so.
> > ("rpm --prefix=/usr/local -Uhv <packages>")
> Tried this to no avail and also
> rpm -Uhiv --relocate /opt=/usr/local *.rpm
> neither of which worked.
>
> Any other suggestions?
See above. The OOo-packages (=the packages that make up OOo itself) are
relocatable, the menu-integraion packages are not relocatable because if
you install them elsewhere they will not work.
Maybe the menu-integration packages should be moved to a subfolder...
> [snipped]
>
> > But again rpm is flexible and you can force relocation by --badreloc.
> > Have a look in the manual.
>
> I hesitate to try this as the standard invocations fail.
No reason to hesitate. This won't do any harm (other than the package
will not work)..
ciao
Christian
--
NP: 4Lyn - Pure
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]