[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building on OpenBSD
From: |
Jason Stover |
Subject: |
Re: building on OpenBSD |
Date: |
Wed, 19 Oct 2005 16:16:04 +0000 |
User-agent: |
Mutt/1.4.2.1i |
On Wed, Oct 19, 2005 at 09:28:48AM +0800, John Darrington wrote:
> Wierd. Doesn't happen for me (on GNU/Linux).
>
> It looks like mkinstalldirs doesn't know about --prefix.
>
> It shouldn't have to. line 329 of the Makefile passes it
> $(DESTDIR)/$(datadir).
> DESTDIR is the null string (except when building the distcheck target),
> datadir should be $(prefix)/share
> (set at the top of po/Makefile ). So it seems that your datadir parameter is
> not getting set . Possibly a
> BSD vs. Make issue. But auto{conf,make} should be able to cope with it, so
> it'd be interesting to know the
> reason for this.
My po/Makefile.in has this definition of datadir:
datadir = ${datarootdir}
so this definition also appears in po/Makefile.
I replaced it with ${prefix}/share, and make install worked.
Another funny fact: make install worked with the datadir = ${datarootdir}
with GNU make.
Anyway, who set datadir to ${datarootdir} instead of ${prefix}/share
in Makefile.in? Should there be a po/Makefile.am to ensure the correct
definition?
-Jason
--
address@hidden
SDF Public Access UNIX System - http://sdf.lonestar.org