On Sat, May 15, 2004 at 08:49:07AM +0200, Richard Bos wrote:
> Op zaterdag 15 mei 2004 03:31, schreef Andrew Suffield:
> > > Makefile.am
> > > wsadmindir = $(DESTDIR)/srv/www/html/server/admin
> >
> >                ^^^^^^^^^^
> >
> > That's wrong. Take it out. Automake already supports DESTDIR natively;
> > you're just stuffing it in the path twice.
> 
> It improve's the 'make DESTDIR=.... install' command.  This one is now 
> succesfull.  The 'make distcheck' still fails with the 'no permission':
> /bin/sh ../mkinstalldirs /srv/www/html/server/admin/addressbook
> mkdir -p -- /srv/www/html/server/admin/addressbook
> mkdir: cannot create directory `/srv/www/html': Permission denied
> make[3]: *** [install-wsaddressbookDATA] Error 1

Ah, you need a $(prefix) in there, and you really want to add a
--srvdir argument to configure - but I don't think autoconf exposes an
interface for doing that. You probably want to start by getting /srv
explicitly supported by autoconf.

Usual batch of --prefix problems apply.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature

Reply via email to