Subject: | Makefile missing |
Date: | Thu, 8 Nov 2012 22:16:39 +0100 |
To: | bug-Inline-Java [...] rt.cpan.org |
From: | Pierre-Olivier Chasset <pierre-olivier [...] chasset.net> |
Hello,
I am trying to install Inline::Java 0.53 with perl 5.12.4 on a Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64.
It seems that it misses a makefile (see below).
Thanks for your work,
Pierre-Olivier
--
sudo cpanm --prompt Inline::Java
--> Working on Inline::Java
Fetching http://www.cpan.org/authors/id/P/PA/PATL/Inline-Java-0.53.tar.gz ... OK
Configuring Inline-Java-0.53 ... OK
Building and testing Inline-Java-0.53 ... Building Inline-Java-0.53 failed.
(JVM) to be dynamically linked with Perl instead of running as a separate
process. The use of this extension is optional, and building it still
allows Inline::Java to run the JVM in the default (separate process)
fashion.
Note: You need a C compiler to build the extension.
Do you wish to build the JNI extension? [y] y
Building JNI extension.
Can't locate file 'jni.h' anywhere under '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK'
Writing Makefile for Inline::Java
Writing MYMETA.yml and MYMETA.json
You can continue the installation with the following commands:
% make
% make test
% make install
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62)
Checking if you have MIME::Base64 0 ... Yes (3.08)
Checking if you have Test 1.13 ... Yes (1.25_02)
Checking if you have Inline 0.44 ... Yes (0.51)
Building and testing Inline-Java-0.53
"/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/javac" -deprecation -g -d Java/classes Java/sources/org/perl/inline/java/*.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
"/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/jar" cf Java/InlineJavaServer.jar -C Java/classes org -C Java/classes InlineJava.properties
"/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/jar" cf Java/InlineJavaUser.jar -C Java/classes InlineJavaUserClassLink.class
cp Java.pm blib/lib/Inline/Java.pm
cp Java/InlineJavaUser.jar blib/lib/Inline/Java/InlineJavaUser.jar
cp Java.pod blib/lib/Inline/Java.pod
cp Java/InlineJavaServer.jar blib/lib/Inline/Java/InlineJavaServer.jar
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make: *** [subdirs] Error 2