[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/

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/ 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 Should there be a po/ to ensure the correct


SDF Public Access UNIX System -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]