I'm afraid I am having again a problem with ppl (this time ppl-0.10.2-4)
and Java... i.e.:
Can't resolve dependency "system-java-dev" for package
"ppl-0.10.2-4" (no matching packages/versions found)
I have just re-installed the latest Java Developer package from Apple
(Java for Mac OS X 10.6 Update 4 Developer Package (10m3326)), but this
does not seem to make any difference.
Any idea of why Fink is not "seeing" this package?
Thanks and best regards,
Luca
Hi,
That is odd if you did indeed install the Java Dev package and
fink still thinks it is missing. fink-core, what else could be wrong?
Are there specific files he should check for?
Fang
On Dec 29, 2010, at 18:47 , David Fang wrote:
You're welcome! Happy New Year too!
Hi Fang, yes you were right. I'm sure I had this installed to start with, but
somehow it must've got deleted along the way... weird.
Anyway, after re-installing it I compiled ppl, so no problem!
Thanks again and happy 2011,
Luca
On 29 Dec 2010, at 16:43, David Fang wrote:
Luca,
As the error message indicates, you need to re-download the latest Java
Dev. Package from connect.apple.com (free registration) because it was removed
by a Java update. Install that and try again.
Fang
Dear David Fang,
I'm trying to use Fink to compile ppl on a machine running OS X 10.6.5, but
this fails as follows:
OSX> fink update-all
The following 2 packages will be installed or updated:
ppl ppl-shlibs
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-ppl-0.10.2-3
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-ppl-0.10.2-3' in
`/sw/src/fink.build/fink-buildlock-ppl-0.10.2-3_2010.12.29-10.09.50_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-ppl-0.10.2-3_2010.12.29-10.09.50_darwin-i386.deb
Selecting previously deselected package fink-buildlock-ppl-0.10.2-3.
(Reading database ... 256540 files and directories currently installed.)
Unpacking fink-buildlock-ppl-0.10.2-3 (from
.../fink-buildlock-ppl-0.10.2-3_2010.12.29-10.09.50_darwin-i386.deb) ...
Setting up fink-buildlock-ppl-0.10.2-3 (2010.12.29-10.09.50) ...
bzip2 -dc /sw/src/ppl-0.10.2.tar.bz2 | /sw/bin/tar -xf - --no-same-owner
--no-same-permissions
/var/tmp/tmp.1.Hb70Jt
#!/bin/sh -ev
# g++-4.0.1 rejects template instantiating w/ anonymous enums -- fangism
# this was fixed in ppl-0.11
file=src/meta_programming.hh
sed -i.orig -e '/struct Bool/,/^};/s|enum {|enum value_type {|' $file
# symbols in anonymous namespace given extern linkage
file=src/initializer.hh
sed -i.orig -e '/::Init.*initializer/s|^|static |' $file
# To take advantage of precompiled headers, defined macros must match.
# patch could apply to src/Makefile.am too
file=src/Makefile.in
sed -i.orig -e '/CXXCOMPILE.*-xc++-header/s|-o|-DPIC &|' $file
# files compiled here are VERY taxing on memory, so we serialize
file=tests/MIP_Problem/Makefile.in
echo ".NOTPARALLEL: check-am" >> $file
# use consistent architecture for testing, override default as needed
file=interfaces/Java/tests/Makefile.in
case "i386" in
powerpc ) ;;
i386 ) sed -i.orig '/\$(JAVA)/s|-classpath|-d32 &|' $file ;;
x64_64 ) ;;
esac
/var/tmp/tmp.2.sCvcUG
#!/bin/sh -ev
mkdir build
cd build
# old-location
# JAVA_HOME=`/usr/libexec/java_home`
JAVA_FW=/System/Library/Frameworks/JavaVM.framework
JAVA_HOME=$JAVA_FW/Home
test -d $JAVA_HOME && test -x $JAVA_HOME || \
{ echo "$JAVA_HOME not found." ; exit 1 ;}
JAVA_INCLUDE=$JAVA_HOME/include
test -r $JAVA_INCLUDE/jni.h || JAVA_INCLUDE=$JAVA_FW/Headers
test -r $JAVA_INCLUDE/jni.h || \
{ echo "Missing Java development package containing jni.h." ; \
echo "Please download/install from Apple and try again." ; \
echo "Thank you and have a nice day." ; exit 1 ;}
Missing Java development package containing jni.h.
Please download/install from Apple and try again.
Thank you and have a nice day.
### execution of /var/tmp/tmp.2.sCvcUG failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-ppl-0.10.2-3
(Reading database ... 256541 files and directories currently installed.)
Removing fink-buildlock-ppl-0.10.2-3 ...
Failed: phase compiling: ppl-0.10.2-3 failed
could you please let me know how to fix this problem?
Thank you in advance and best regards,
Luca
----------------------------------------------------------------
Luca Jovine, Ph.D.
Group Leader & EMBO Young Investigator
Karolinska Institutet
Department of Biosciences and Nutrition & Center for Biosciences
Hälsovägen 7, SE-141 83 Huddinge, Sweden
Voice: +46.(0)8.6083-301 FAX: +46.(0)8.6081-501
E-mail: luca.jov...@ki.se
W3: http://jovinelab.org
----------------------------------------------------------------
David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/
David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/
David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel