Andrew Long wrote:
OK, can you give me the explicit code here. Here is the file as it exists:
$ cat .rpmmacros
%_topdir %(echo $HOME)/rpmbuild
- Andrew
Try changing _incdir in the spec file to _includedir. The latter is
predefined (at least on CentOS).
Regards,
Richard Siddall
-
Andrew Long wrote:
OK, can you give me the explicit code here. Here is the file as it exists:
$ cat .rpmmacros
%_topdir %(echo $HOME)/rpmbuild
yea, add this line.
%_incdir /usr/include
or whatever directory you want ...
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/
OK, can you give me the explicit code here. Here is the file as it exists:
$ cat .rpmmacros
%_topdir %(echo $HOME)/rpmbuild
- Andrew
On Jan 28, 2008 9:13 AM, Joe Vieira <[EMAIL PROTECTED]> wrote:
> that's why i sent my second email telling you to make sure $_incdir is
> defined in your .rpmmacr
that's why i sent my second email telling you to make sure $_incdir is
defined in your .rpmmacros file. =)
Joe Vieira
UNIX Systems Administrator
Clark University - ITS
Andrew Long wrote:
Well, not so lucky after all. Looks like the build get 99% completed
and we get an error:
+ RADDB=/var/t
Well, not so lucky after all. Looks like the build get 99% completed
and we get an error:
+ RADDB=/var/tmp/freeradius-root/etc/raddb
+ perl -i -pe 's/^#user =.*$/user = radiusd/'
/var/tmp/freeradius-root/etc/raddb/radiusd.conf
+ perl -i -pe 's/^#group =.*$/group = radiusd/'
/var/tmp/freeradius-roo
Bingo!
Thank You.
- Andrew
On Jan 28, 2008 8:55 AM, Joe Vieira <[EMAIL PROTECTED]> wrote:
> you'll need to either rename everything in the spec file to be
> "freeradius-server"
> or just open the tar.gz rename the directory INSIDE IT (which is also
> freeradius-server) to freeradius-2.0.1... the
also make sure $_incdir is defined in your .rpmmacros
Joe Vieira
UNIX Systems Administrator
Clark University - ITS
Joe Vieira wrote:
you'll need to either rename everything in the spec file to be
"freeradius-server"
or just open the tar.gz rename the directory INSIDE IT (which is also
freerad
you'll need to either rename everything in the spec file to be
"freeradius-server"
or just open the tar.gz rename the directory INSIDE IT (which is also
freeradius-server) to freeradius-2.0.1... then zip it all back up and
run your spec again and it will work.
Joe Vieira
UNIX Systems Administr
Hello:
I am trying to build the rpm for 2.0.1 on CentOS 5. The first oddity
is that the source now comes as freeradius-server-2.0.1.tar.gz;
starting the rpmbuild with $ rpmbuild -bb freeradius.spec yields an
error that SOURCES/freeradius-2.0.1.tar.gz does not exist. I tried
renaming freeradius-serv
9 matches
Mail list logo