[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JAVAROOT was already defined
From: |
Simon Josefsson |
Subject: |
Re: JAVAROOT was already defined |
Date: |
Fri, 19 Mar 2004 22:14:09 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Alexandre Duret-Lutz <address@hidden> writes:
>>>> "Simon" == Simon Josefsson <address@hidden> writes:
>
> [...]
> Simon> I don't understand the warning. JAVAROOT appears to be documented as
> Simon> a user variable. Am I not allowed to modify it?
> [...]
>
> Thanks for the report. I'm installing the following fix on HEAD
> and branch-1-8.
Thanks, that was quick.
I'm continuing trying to get automake to build a JAR from some *.java
files. I think it would be nice with an example for this in the
manual. OTOH, perhaps it is libtool that should handle JAR?
I get the following error on 'make install' on the attached
Makefile.am. I don't understand where this *.class stuff comes from.
I even tried prepending all targets with 'noinst_' but no change. The
*.class files are located in gnu/inet/encoding/, but I'm not sure
installing them is the right thing. How can I disable that?
Thanks.
address@hidden:~/src/libidn/java$ make install
make[1]: Entering directory `/home/jas/src/libidn/java'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/java" || mkdir -p -- . "/usr/local/share/java"
/usr/bin/install -c -m 644 'libidn.jar' '/usr/local/share/java/libidn.jar'
test -z "/usr/local/share/java" || mkdir -p -- . "/usr/local/share/java"
for p in *.class; do \
echo " /usr/bin/install -c -m 644 '$p' '/usr/local/share/java/$p'"; \
/usr/bin/install -c -m 644 "$p" "/usr/local/share/java/$p"; \
done
/usr/bin/install -c -m 644 '*.class' '/usr/local/share/java/*.class'
/usr/bin/install: cannot stat `*.class': No such file or directory
make[1]: *** [install-libidn_jarJAVA] Error 1
make[1]: Leaving directory `/home/jas/src/libidn/java'
make: *** [install-am] Error 2
address@hidden:~/src/libidn/java$
EXTRA_DIST = README.html
# Only execute this if configure was running with --enable-java
if ENABLE_JAVA
libidn_jardir = $(datadir)/java
libidn_jar_JAVA = GenerateRFC3454.java IDNAException.java IDNA.java \
PunycodeException.java Punycode.java RFC3454.java \
StringprepException.java Stringprep.java TestIDNA.java
libidn_jar_DATA = libidn.jar
libidn.jar:
$(JAR) cf $@ gnu/inet/encoding/GenerateRFC3454.class \
"gnu/inet/encoding/GenerateRFC3454$$Range.class" \
gnu/inet/encoding/IDNA.class \
gnu/inet/encoding/IDNAException.class \
gnu/inet/encoding/Punycode.class \
gnu/inet/encoding/PunycodeException.class \
gnu/inet/encoding/RFC3454.class \
gnu/inet/encoding/Stringprep.class \
gnu/inet/encoding/StringprepException.class \
gnu/inet/encoding/TestIDNA.class
endif