Okay, I narrowed down my problem as follows: I made sure I had the 
latest JDK from Oracle (installed without a hitch) and then did 
piecewise updates until the only ones left (according to update-all) 
were various octave packages and system-java16-dev. None of the octave 
stuff would build without system-java16-dev, but there were a mix of 
octave364 and octave382 packages, so I figured a "clean slate" might 
help, so I carefully removed all octave packages (real and virtual).  
Then I tried reinstalling octave:

root@airmac:~# fink install octave
Information about 10254 packages read in 1 seconds.
The following package will be installed or updated:
  octave
The following 3 additional packages will be installed:
  fink-octave-scripts octave382 system-java16-dev
Default answer will be chosen in 60 seconds...
Do you want to continue? [Y/n]
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i 
/sw/fink/dists/stable/main/binary-darwin-x86_64/sci/fink-octave-scripts_0.3.2.1-1_darwin-x86_64.deb
Selecting previously deselected package fink-octave-scripts.
(Reading database ... 308465 files and directories currently installed.)
Unpacking fink-octave-scripts (from 
.../fink-octave-scripts_0.3.2.1-1_darwin-x86_64.deb) ...
Setting up fink-octave-scripts (0.3.2.1-1) ...
We replaced any previously installed oct-cc and oct-cxx compiler wrappers.
Be sure to update any octave3XY*-dev packages to their newest version.

Setting runtime build-lock...
dpkg-deb -b 
/sw/src/fink.build/root-fink-buildlock-system-java16-dev-1.6.0-1 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-system-java16-dev-1.6.0-1' in 
`/sw/src/fink.build/fink-buildlock-system-java16-dev-1.6.0-1_2014.11.18-08.39.07_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-system-java16-dev-1.6.0-1_2014.11.18-08.39.07_darwin-x86_64.deb
Selecting previously deselected package 
fink-buildlock-system-java16-dev-1.6.0-1.
(Reading database ... 308486 files and directories currently installed.)
Unpacking fink-buildlock-system-java16-dev-1.6.0-1 (from 
.../fink-buildlock-system-java16-dev-1.6.0-1_2014.11.18-08.39.07_darwin-x86_64.deb)
 
...
Setting up fink-buildlock-system-java16-dev-1.6.0-1 
(2014.11.18-08.39.07) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.gGwTm
shell-init: error retrieving current directory: getcwd: cannot access 
parent directories: Permission denied
/tmp/fink.27Ixn
shell-init: error retrieving current directory: getcwd: cannot access 
parent directories: Permission denied

+----------
|
| Attention!
|
| Package system-java16-dev is an autogenerated virtual package.
|
| You cannot manipulate this type of package using the usual Fink tools.
| A detailed description of this package follows...
|
| This package represents the development headers for
| Java 1.6.0.  If this package shows as not being installed,
| you must download the Java SDK from Apple at:
|
|   http://connect.apple.com/
|
| (free registration required)
|
| or the Java JDK from Oracle at:
|
| http://www.oracle.com/technetwork/java/javase/downloads/index.html
|
| Web site: http://www.finkproject.org/faq/usage-general.php#virtpackage
|
+----------

### execution of /tmp/fink.27Ixn failed, exit code 1
### execution of /tmp/fink.gGwTm failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-system-java16-dev-1.6.0-1
(Reading database ... 308487 files and directories currently installed.)
Removing fink-buildlock-system-java16-dev-1.6.0-1 ...
Failed: phase compiling: system-java16-dev-1.6.0-1 failed

Before reporting any errors, please run "fink selfupdate" and try again.

(I did.  It had no effect.)

Looks like I have to do without octave for now.  Hopefully not forever?  
Does octave382 really require java16 (which I presume means java 6)?  
Would java 8 (java18) do?  Can I fool it into accepting the latest 
java?  Can I have multiple versions of java on my system?  (Sounds very 
dangerous!)  Sorry for all the dumb questions.

Cheers -- Jess

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
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