[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #57060] gettext-0.20.1 "make install" seems to ignore
From: |
Keith Marshall |
Subject: |
[bug-gettext] [bug #57060] gettext-0.20.1 "make install" seems to ignore --prefix and --disable-java for javadoc2 |
Date: |
Tue, 15 Oct 2019 13:47:54 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 |
URL:
<https://savannah.gnu.org/bugs/?57060>
Summary: gettext-0.20.1 "make install" seems to ignore
--prefix and --disable-java for javadoc2
Project: GNU gettext
Submitted by: keithmarshall
Submitted on: Tue 15 Oct 2019 05:47:53 PM UTC
Category: Build
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Just tried building gettext-0.21.1 to be compatible with the MinGW.org 32-bit
tool chain, cross-compiling on a GNU/Linux host. I configured with
--prefix=/mingw (a two-tier symbolic link to a user-writeable staging
directory), and, since the MinGW.org tool chain doesn't include a Java
compiler, I added --disable-java.
I note that, during configuration, in addition to identifying the mingw32
cross-compiler tools, the Linux-native Java tools are detected.
The "make" step runs to successful completion, but I do note, in spite of
--disable-java, it does run the Linux-native javadoc in
gettext-runtime/intl-java
I'm not overly concerned by the seemingly anomalous "make" behaviour, because
it doesn't cause a fatal exception. However, "make install" fails quite
quickly:
Making install in intl-java
make[3]: Entering directory
'/home/keith/builds/mingw/foo/gettext-runtime/intl-java'
cd ../../../src/gettext-0.20.1/gettext-runtime/intl-java && test ! -d
/usr/lib/jdk1.3.1 || env PATH=/usr/lib/jdk1.3.1/bin:$PATH javadoc -d javadoc2
gnu.gettext gnu/gettext/*.java
make[4]: Entering directory
'/home/keith/builds/mingw/foo/gettext-runtime/intl-java'
make[4]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p /home/keith/builds/mingw/foo/dist/staged/share/gettext
cd ../../../src/gettext-0.20.1/gettext-runtime/intl-java && test ! -d
/usr/lib/jdk1.3.1 || env PATH=/usr/lib/jdk1.3.1/bin:$PATH javadoc -d javadoc2
gnu.gettext gnu/gettext/*.java
/usr/bin/mkdir -p /share/doc/gettext/0.20.1/javadoc2
/usr/bin/mkdir: cannot create directory ‘/share’: Permission denied
make[4]: *** [Makefile:1436: install-javadoc2] Error 1
Note how the target installation directory appears to be "/share", (which I
fortunately do not have permission to create), rather than "/mingw/share",
(as I would expect from the "--prefix=/mingw" configuration choice.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57060>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug-gettext] [bug #57060] gettext-0.20.1 "make install" seems to ignore --prefix and --disable-java for javadoc2,
Keith Marshall <=