I recently upgraded to Mountain Lion on my iMac and have been having 
problems with fink ever since, even after reinstalling fink from scratch.

Please see the diagnostics below when installing ppl9

Note that while the script claims
   /System/Library/Frameworks/JavaVM.framework/Home not found.

that path does exist, albeit as a soft link

> ls -dl /System/Library/Frameworks/JavaVM.framework/Home

lrwxr-xr-x  1 root  wheel  24 Oct  3 18:36 
/System/Library/Frameworks/JavaVM.framework/Home -> Versions/CurrentJDK/Home


Please advise how to work around this problem.

     Thanks,
     Grant Petty




The following additional package will be installed:
  ppl9-shlibs
Do you want to continue? [Y/n]
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-ppl9-0.11.2-3 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-ppl9-0.11.2-3' in 
`/sw/src/fink.build/fink-buildlock-ppl9-0.11.2-3_2012.10.09-17.45.08_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-ppl9-0.11.2-3_2012.10.09-17.45.08_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-ppl9-0.11.2-3.
(Reading database ... 6677 files and directories currently installed.)
Unpacking fink-buildlock-ppl9-0.11.2-3 (from 
.../fink-buildlock-ppl9-0.11.2-3_2012.10.09-17.45.08_darwin-x86_64.deb) 
...
Setting up fink-buildlock-ppl9-0.11.2-3 (2012.10.09-17.45.08) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.VrNBZ
/sw/bin/tar  --no-same-owner --no-same-permissions -xf 
/sw/src/ppl-0.11.2.tar.bz2
sudo -u fink-bld [ENV] sh -c /tmp/fink.hb_YW
/tmp/fink.JpVzY
#!/bin/sh -ev
        # g++-4.0.1 rejects template instantiating w/ anonymous enums -- 
fangism
        # this was fixed in ppl-0.11; the following patch doesn't do 
anything
        # 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
        # move pkglibdir to a versioned dir to avoid shlib conflict
        file=interfaces/Java/jni/Makefile.in
        sed -i.orig -e '/^pkglibdir =/s|$|-0.11|' $file
        file=interfaces/Java/Makefile.in
        sed -i.orig -e '/^pkglibdir =/s|$|-0.11|' $file
        # use consistent architecture for testing, override default as 
needed
        file=interfaces/Java/tests/Makefile.in
        case "x86_64" in
        powerpc ) ;;
        i386 ) sed -i.orig '/\$(JAVA)/s|-classpath|-d32 &|' $file ;;
        x64_64 ) ;;
        esac
sudo -u fink-bld [ENV] sh -c /tmp/fink.GBaDF
/tmp/fink.3Vw9o
#!/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 ;}
/System/Library/Frameworks/JavaVM.framework/Home not found.
### execution of /tmp/fink.3Vw9o failed, exit code 1
### execution of /tmp/fink.GBaDF failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-ppl9-0.11.2-3
(Reading database ... 6678 files and directories currently installed.)
Removing fink-buildlock-ppl9-0.11.2-3 ...
Failed: phase compiling: ppl9-0.11.2-3 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

        The Fink Users List <[email protected]>
        The Fink Beginners List <[email protected]>,

with a carbon copy to the maintainer:

        David Fang <[email protected]>

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.34.4
Distribution version: selfupdate-rsync Tue Oct  9 17:13:48 2012, 10.8, 
x86_64
Trees: local/main stable/main
Xcode.app: 4.5.1
Xcode command-line tools: 4.5.0.0.1.1249367152
Max. Fink build jobs:  2

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to