Re: Wrong MAKEDEV
On Thu, Apr 15, 1999 at 12:30:12PM +0400, Pavel Roskin wrote:
> > Better use cross-install.
> >
> > Marcus
>
> cross-install didn't work for me.
>
> The problem is that I'm using RedHat, and my dpkg-1.4.1.1 was installed in
> /usr/local. "strace" shows me that it also tries to use /gnu/usr/local
> Another stange thing was, that dpkg tries to access
> /gnu/usr/local/var/dpkg while /gnu/usr/var/lib/dpkg existed (note "lib")
> Symlinks
>
> ln -s . /gnu/local
> ln -s lib/dpkg /gnu/var/dpkg
>
> make the script work!
Thanks for the report! I never really used the script on anything but
Debian, but if you have a "strange" custom setup of dpkg, it appears logical
to me that you have to adjust the script accordingly.
Is there a reliable way to detect if you are running RH? I could add the
above symlinks for the cross install procedure, but will it work for all
people? How did you install dpkg on your RH system? I want to either add an
automatical way to set it up or document it at the very least.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org finger brinkmd@
Marcus Brinkmann GNU http://www.gnu.org master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de for public PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09
Reply to: