Sometime in February Alexander K. Hansen assaulted the keyboard and produced:

| Ah--I was looking at 2.9.1-13, which does have that dependency.
| 
| Here's a kluge that might work for you:
| 
| rm /sw/fink/10.3/unstable/main/finkinfo/languages/ocaml.info 
| /sw/fink/10.3/stable/main/finkinfo/languages/ocaml.info
| sudo apt-get install ocaml=3.0.7-1


Then when it tried to downgrade ocaml I got the following:

<snip>
[EMAIL PROTECTED]:# /sw/bin/apt-get install ocaml=3.07-1
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  lablgtk
The following packages will be DOWNGRADED
  ocaml
0 packages upgraded, 0 newly installed, 1 downgraded, 1 to remove and 0  not 
upgraded.
Need to get 0B/13.8MB of archives. After unpacking 9708kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 16726 files and directories currently installed.)
Removing lablgtk ...
dpkg (subprocess): failed to exec dpkg-split to see if it's part of a 
multiparter: No such file or directory
dpkg: error processing 
/sw/var/cache/apt/archives/ocaml_3.07-1_darwin-powerpc.deb (--unpack):
 subprocess dpkg-split returned error exit status 2
Errors were encountered while processing:
 /sw/var/cache/apt/archives/ocaml_3.07-1_darwin-powerpc.deb
E: Sub-process /sw/bin/dpkg returned an error code (1)
</snip>

I dont know why it did this. I tried apt-get clean and reran the above command
but I get the same output. Perhaps the file on the server is corrupted?

Also when I tried to downgrade ocaml, apt also uninstalled 'lablgtk' which
we may recall from the unison.info file:

  BuildDepends: lablgtk, gettext-dev, gettext-bin, x11-dev, gtk+, glib
                ^^^^^^^

Which is why I think fink keeps installing the latest version of ocaml.
  
| I've tried later versions of unison built manually and they all didn't 
| get along with ocaml-3.0.8.  I wound up using a precompiled OS X binary 
| from the unison website that has HFS+ support.
| 
| Maybe it's worth trying to "finkify" that.

Is there a primer or tutorial on how to do this? I may end up using the
precompiled binary till this version stuff gets figured out.

-- 
---------------------------------------------------------- 
                            | /"\                         
 john harrold               | \ / ASCII ribbon campaign   
 jmh at member.fsf.org      |  X  against HTML mail       
 the most useful idiot      | / \                         
----------------------------------------------------------
 What difference does it make to the dead, the orphans, 
 and the homeless, whether the mad destruction is brought 
 under the name of totalitarianism or the holy name of 
 liberty and democracy?
 --Gandhi
----------------------------------------------------------
  gpg --keyserver pgp.mit.edu --recv-key F65A739E
----------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to