On Feb 16, 2005, at 2:58 PM, John Harrold wrote:

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?



Or it may be a PATH issue. Check if /sw/sbin is missing from your PATH.

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.


Entirely possible

| 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.


Not really--I tried doing a build of the latest versions from source and it didn't work for me. The precompiled binary there is pretty straightforward--it's just a file that you stick somewhere in your PATH. I use ~/bin.


--
Alexander Hansen
Fink Documentarian
[Day Job] Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to