Unsubscribe

"resin-interest-requ...@caucho.com" <resin-interest-requ...@caucho.com> wrote:


Send resin-interest mailing list submissions to
        resin-interest@caucho.com

To subscribe or unsubscribe via the World Wide Web, visit
        http://maillist.caucho.com/mailman/listinfo/resin-interest
or, via email, send a message with subject or body 'help' to
        resin-interest-requ...@caucho.com

You can reach the person managing the list at
        resin-interest-ow...@caucho.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of resin-interest digest..."


Today's Topics:

   1. configure error on mac for 4.0.13 (Riccardo Cohen)


----------------------------------------------------------------------

Message: 1
Date: Sat, 13 Nov 2010 13:15:03 +0100
From: Riccardo Cohen <r...@architectedulogiciel.fr>
Subject: [Resin-interest] configure error on mac for 4.0.13
To: General Discussion for the Resin application server
        <resin-interest@caucho.com>
Message-ID: <4cde8147.9080...@architectedulogiciel.fr>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hello
I try to compile resin 4.0.13 pro on macosx 10.6.4 intel

Here is the error during ./configure :

configure: error:

     *** Can't find JNI directory in
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
     *** JNI is expected in
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/include/


In configure script there is a

test -r "$JAVA_HOME/../Headers/jni_md.h"

and this actually won't work because
/System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h exists but
is a soft link within a directory which is a soft link :

 > ll /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h

lrwxr-xr-x  1 root  wheel  33 24 jul 16:15
/System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h ->
../../CurrentJDK/Headers/jni_md.h

 > ll /System/Library/Frameworks/JavaVM.framework/Headers

lrwxr-xr-x  1 root  wheel  24 25 oct 08:50
/System/Library/Frameworks/JavaVM.framework/Headers ->
Versions/Current/Headers



So replacing test -r by test -L should normally work, but actually it
won't, because :

 > test -L /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h
 > echo $?
0

all right without /../, BUT :

 > test -L
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/../Headers/jni_md.h
 > echo $?
1

fails with the /../

For the moment I replaced with full path hardcoded
Same problem for JVMTI except that the test -L will work.

Now configure is all right but make as an error :

 > make
Makefile:283: warning: overriding commands for target
`modules/c/src/Makefile'
Makefile:273: warning: ignoring old commands for target
`modules/c/src/Makefile'
CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal -I m4
aclocal: couldn't open directory `m4': No such file or directory
make: *** [aclocal.m4] Error 1

I don't know how to solve this one.
Thanks for your help.

For information, there was no error in 4.0.10


--
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
+33 (0)6.09.83.64.49
Membre du r?seau http://www.reflexe-conseil-centre.org




------------------------------

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


End of resin-interest Digest, Vol 53, Issue 7
*********************************************


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to