broken --prefix=/

Peter Nixon listuser at peternixon.net
Wed Aug 16 10:23:35 CEST 2006


On Wed 16 Aug 2006 10:49, A.L.M.Buxey at lboro.ac.uk wrote:
> Hi,
>
> > On Wed 16 Aug 2006 09:55, Frank Cusack wrote:
> > > On August 16, 2006 9:51:36 AM +0300 Peter Nixon
> > > <listuser at peternixon.net>
> >
> > wrote:
> > > > http://software.opensuse.org/download/home:/peternixon/SUSE_Linux_10.
> > > >0/x8 6_64/freeradius-snapshot -20060808-14.1.x86_64.rpm
> > > > http://software.opensuse.org/download/home:/peternixon/SUSE_Linux_10.
> > > >0/x8 6_64/freeradius-snapshot -devel-20060808-14.1.x86_64.rpm
> > >
> > > Is a build log available?
> >
> > I have already clobbered it by attempting new builds, but I will reset my
> > spec file and do it again. Give me 45min (The buildservice is a bit slow
> > during business hours)
> >
> > Cheers
>
> do the dictionary files go where you expect?  I recall having a small
> battle with ./configure myself a short time back 1.1.2, eg with
>
> ./configure  --prefix=/ --exec-prefix=/usr --enable-ltdl-install
> --with-experimental-modules --with-large-files
>
> I can demonstrate the result with the first few lines of  make -n install
>
> /usr/src/freeradius-1.1.2/install-sh -c -d -m 755  /usr/sbin
> /usr/src/freeradius-1.1.2/install-sh -c -d -m 755  /usr/bin
> /usr/src/freeradius-1.1.2/install-sh -c -d -m 755  //etc/raddb
> /usr/src/freeradius-1.1.2/install-sh -c -d -m 755  //man
> /usr/src/freeradius-1.1.2/install-sh -c -d -m 755  //var/run/radiusd
> /usr/src/freeradius-1.1.2/install-sh -c -d -m 700  //var/log/radius
> /usr/src/freeradius-1.1.2/install-sh -c -d -m 700  //var/log/radius/radacct
> /usr/src/freeradius-1.1.2/install-sh -c -d -m 755  //share
> /usr/src/freeradius-1.1.2/install-sh -c -d -m 755  //share/freeradius
>
>
> note the munging of the path - of course, its only doing what I'm telling
> it but istr that evrything used to go into /usr/share originally

Yeah. The are going to /usr/share/freeradius

The configure line I am using is the following:

./configure     --prefix=%{_prefix} \
                --sysconfdir=%{_sysconfdir} \
                --with-raddbdir=/etc/raddb \
                --infodir=%{_infodir} \
                --mandir=%{_mandir} \
                --localstatedir=/var \
                --libdir=%{_libdir}/freeradius \
                --with-threads \
                --with-snmp \
                --with-large-files \
%if 0%{?suse_version} <= 920
                --without-rlm_sql_mysql \
%endif
%if %{?suse_version:1}0
%if %suse_version > 910
%if %suse_version <= 920
                --enable-heimdal-krb5 \
                --with-rlm-krb5-include-dir=/usr/include/heimdal/ \
%endif
                --with-rlm-krb5-lib-dir=%{_libdir} \
%else
                --without-rlm_krb5 \
%endif
%endif
%if %_oracle_support == 1
                --with-rlm_sql_oracle \
                --with-oracle-lib-dir=%{_libdir}/oracle/10.1.0.3/client/lib/ \
%else
                --without-rlm_sql_oracle \
%endif
                --enable-strict-dependencies \
                --with-edir \
                --with-modules="rlm_sqlippool" \
                --with-udpfromto

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20060816/8132b1c6/attachment.pgp>


More information about the Freeradius-Devel mailing list