Open forum for end-user questions about
Wine. Before asking questions, check out the
Wiki as a first step.
Forum Rules
-
c_andy_man
- Level 2

- Posts: 16
- Joined: Wed May 20, 2009 8:17 am
Post
by c_andy_man »
When I want to install wine on a custom root directory, there are lots of dependency-warnings. Just for a test i installed it with
Code: Select all
rpm -Uvh --nodeps --root /wineroot
. That works until the %post script which is
Code: Select all
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
the installation stops there but the path is created corectly and usable (i think).
What does this post script do? I know -p as a parameter but not as a command.
-
vitamin
- Moderator

- Posts: 6605
- Joined: Sat Feb 23, 2008 2:29 pm
Post
by vitamin »
c_andy_man wrote:When I want to install wine on a custom root directory, there are lots of dependency-warnings. Just for a test i installed it with
Code: Select all
rpm -Uvh --nodeps --root /wineroot
.
You can't do that with packages that don't support relocation.
Compile Wine from source and install in any directory you like. Just specify where you want it to go with './configure --prefix=<my_dir>'.