pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building on OpenBSD


From: John Darrington
Subject: Re: building on OpenBSD
Date: Wed, 19 Oct 2005 09:28:48 +0800
User-agent: Mutt/1.5.9i

On Tue, Oct 18, 2005 at 08:49:54PM +0000, Jason Stover wrote:
     
     I configured with --prefix=/home/jhs and 'make install' gives:
     
        ...
        Making install in po
        /bin/sh .././mkinstalldirs 
        mkdir /locale
        mkdir: /locale: Permission denied
        mkdir /locale/en_GB
        mkdir: /locale/en_GB: No such file or directory
        mkdir /locale/en_GB/LC_MESSAGES
        mkdir: /locale/en_GB/LC_MESSAGES: No such file or directory
        *** Error code 1
     
        Stop in /home/jhs/src/pspp/po (line 329 of Makefile).
        *** Error code 1
     
        Stop in /home/jhs/src/pspp (line 352 of Makefile).

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.

For the record, here's what I get at that point in the make install 
(./configure --prefix=$(HOME)/xi86):

make[1]: Leaving directory `/home/res/jmd/pspp/src'
Making install in po
make[1]: Entering directory `/home/res/jmd/pspp/po'
/bin/sh .././mkinstalldirs /home/res/jmd/xi86/share
installing en_GB.gmo as /home/res/jmd/xi86/share/locale/en_GB/LC_MESSAGES/pspp.m
o
if test "pspp" = "gettext-tools"; then \
  /bin/sh .././mkinstalldirs /home/res/jmd/xi86/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed 
address@hidden
eader address@hidden insert-header.sin Rules-quot   Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
                    /home/res/jmd/xi86/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /home/res/jmd/xi86/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[1]: Leaving directory `/home/res/jmd/pspp/po'
Making install in config


J'


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

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