[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Spec for RPM
From: |
Dmitriy Gnidchenko |
Subject: |
Re: [Help-gnu-radius] Spec for RPM |
Date: |
Sun, 22 Dec 2002 20:43:38 +0300 (MSK) |
On Sun, 22 Dec 2002, Sergey Poznyakoff wrote:
> >
> > I install with options
> >
> > make install DESTDIR="${RPM_BUILD_ROOT}"
> > where ${RPM_BUILD_ROOT} =
> ../homedir/tmp/gnu-radius-buildroot/
> >
>
> You should have configured the package with
> --prefix="${RPM_BUILD_ROOT}".
> Simply setting DESTDIR in make install won't work since
> radiusd will
> search for the raddb directory in @ETC_DIR@/raddb anyway.
You right, radiusd will be search in @ETC_DIR@/raddb.
It's work I've tested with that patch
because raddb will be in correct dir /etc/raddb
make install DESTDIR="../build-root/"
will be install to BUILD-ROOT dir only for RPM package and no
more.
but with You setting I have same error
/bin/install: cannot remove `/etc/raddb/clients': Permission denied
/bin/install: cannot remove `/etc/raddb/client.conf': Permission denied
/bin/install: cannot remove `/etc/raddb/users': Permission denied
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory
`../homedir/RPM/BUILD/gnu-radius-0.96.4/raddb'
and after this --prefix=../build-rpm-root/
all path in radctl and another one will be look to build-root
This is realy not correct.
I making RPM like simple user (without root permission)
CU
--
Dmitriy address@hidden
- [Help-gnu-radius] Spec for RPM, Dmitriy Gnidchenko, 2002/12/22
- Re: [Help-gnu-radius] Spec for RPM, Sergey Poznyakoff, 2002/12/22
- Re: [Help-gnu-radius] Spec for RPM,
Dmitriy Gnidchenko <=
- Re: [Help-gnu-radius] Spec for RPM, Sergey Poznyakoff, 2002/12/22
- Re: [Help-gnu-radius] Spec for RPM, Dmitriy Gnidchenko, 2002/12/22
- Re: [Help-gnu-radius] Spec for RPM, Sergey Poznyakoff, 2002/12/22
- Re: [Help-gnu-radius] Spec for RPM, Dmitriy Gnidchenko, 2002/12/22
- Re: [Help-gnu-radius] Spec for RPM, Sergey Poznyakoff, 2002/12/22
Re: [Help-gnu-radius] Spec for RPM, Edward Rudd, 2002/12/22