Re: Creating a Solaris package - HOWTO?

2004-05-21 Thread Alan DeKok
John Bossert <[EMAIL PROTECTED]> wrote:
> I'm trying to create a Solaris (Solaris9) package for FreeRadius. 
> However, when I try to create a "prepackaging directory structure" with 
> the following command:
> 
> make install DESTDIR=/home/jbossert/rad-pkg

  Where does "DESTDIR" come from?  Nothing in the server leads you to
believe that will work.

> I get the following errors:
> 
> /home/jbossert/freeradius-0.9.3/install-sh -c -d -m 755 /usr/local/sbin
> /home/jbossert/freeradius-0.9.3/install-sh -c -d -m 755 /usr/local/bin
> /home/jbossert/freeradius-0.9.3/install-sh -c -d -m 755 /etc/raddb
> mkdir: Failed to make directory "/etc/raddb"; Permission denied

  And you should not that it's not using the DESDIR you supplied.

> What's my error/workaround for this problem?  I want "/etc/raddb" in 
> this case to be created under /home/jbossert/rad-pkg (relative vs 
> absolute path) and all other directories/files to be similarly placed.

  Do:

$ make install R=/home/jbossert/rad-pkg

  See the top-level Makefile.  It uses $(R) all over the place.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Creating a Solaris package - HOWTO?

2004-05-21 Thread John Bossert
I'm trying to create a Solaris (Solaris9) package for FreeRadius. 
However, when I try to create a "prepackaging directory structure" with 
the following command:

make install DESTDIR=/home/jbossert/rad-pkg
I get the following errors:
/home/jbossert/freeradius-0.9.3/install-sh -c -d -m 755 /usr/local/sbin
/home/jbossert/freeradius-0.9.3/install-sh -c -d -m 755 /usr/local/bin
/home/jbossert/freeradius-0.9.3/install-sh -c -d -m 755 /etc/raddb
mkdir: Failed to make directory "/etc/raddb"; Permission denied
make: *** [install] Error 2
I'm using gnu make 3.80
What's my error/workaround for this problem?  I want "/etc/raddb" in 
this case to be created under /home/jbossert/rad-pkg (relative vs 
absolute path) and all other directories/files to be similarly placed.

Thanks,
John

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html