Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRIVATE: This may help: Ocaml for Mac could not open #2551

Closed
vicuna opened this issue Aug 14, 2000 · 5 comments
Closed

PRIVATE: This may help: Ocaml for Mac could not open #2551

vicuna opened this issue Aug 14, 2000 · 5 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Aug 14, 2000

Original bug ID: 179
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Enrique Vetere
Version: Ocaml 3.0
OS: Mac OS 8.0
Submission from: 200.51.12.114 (200.51.12.114)

In reference to my previous bug report, I found something that can help.
In http://developer.apple.com/technotes/tn/tn1145.html
says:
"OTInetGetSecondaryAddresses is not implemented prior to Open
Transport 1.3. To work correctly with systems prior to that, you must weak-
link
with the OpenTptInternetLib and check for its existence by
comparing its address to
kUnresolvedCFragSymbolAddress. For more information
about weak-linking, you should read Technote 1083: Weak-Linking to a Code
Fragment Manager-based Shared Library."

MAC OS 8.0 includes OpenTransport 1.2. As far as I know, to get OpenTransport
1.3
you need to install the upgrade to MacOS 8.1 (I haven't done it yet).
I understand that for Ocaml to keep compatibility for 8.0 and lower,
something like the described in the tech note should be done.

Hope this helps/

@vicuna
Copy link
Author

vicuna commented Aug 16, 2000

Comment author: administrator

cf aussi #2540

@vicuna
Copy link
Author

vicuna commented Aug 17, 2000

Comment author: administrator

Full_Name: Enrique Vetere

In reference to my previous bug report, I found something that can help.
In http://developer.apple.com/technotes/tn/tn1145.html
says:
"OTInetGetSecondaryAddresses is not implemented prior to Open
Transport 1.3.

It's true that I've built O'Caml on a Mac with OT version 2.0.3.

To work correctly with systems prior to that, you must weak-link
with the OpenTptInternetLib and check for its existence by
comparing its address to kUnresolvedCFragSymbolAddress.

The problem is, I don't use OpenTransport ! I use GUSI, a Unix API emulation
library, which uses OpenTransport, so I don't have a lot of control on
what's going on.

I can see a several possible solutions:

  1. We could decide that O'Caml needs MacOS 8.1 and force you to upgrade.
  2. We could check that GUSI doesn't use OTInetGetSecondaryAddress and do
    the weak linking.
  3. I could send a bug report/feature request to the author of GUSI, and
    see if I get a solution.
  4. I could get rid of GUSI and give up on threads and the macosunix library.

If you're willing to play beta-tester, I think we should start with solution 2.

-- Damien

@vicuna
Copy link
Author

vicuna commented Aug 31, 2000

Comment author: administrator

Thanks for your answer.
I've decided to upgrade to 8.1, as my priority is to learn Ocaml. I works
fine now.
Upgrading is not a problem for a 8.0 user (upgrade is free). I'd claim
GUSI authors to suppor MacOS 7.

Enrique Vetere
enrique.vetere@mclees.com.ar
McLees S.A.
http://www.mclees.com.ar

Damien Doligez caml-bugs@pauillac.inria.fr
17/08/2000 12:39

    To:     enrique.vetere@mclees.com.ar
    cc:     caml-bugs@inria.fr
    Subject:        Re: PRIVATE: This may help: Ocaml for Mac could not open (#2551)

Full_Name: Enrique Vetere

In reference to my previous bug report, I found something that can help.
In http://developer.apple.com/technotes/tn/tn1145.html
says:
"OTInetGetSecondaryAddresses is not implemented prior to Open
Transport 1.3.

It's true that I've built O'Caml on a Mac with OT version 2.0.3.

To work correctly with systems prior to that, you must weak-link
with the OpenTptInternetLib and check for its existence by
comparing its address to kUnresolvedCFragSymbolAddress.

The problem is, I don't use OpenTransport ! I use GUSI, a Unix API
emulation
library, which uses OpenTransport, so I don't have a lot of control on
what's going on.

I can see a several possible solutions:

  1. We could decide that O'Caml needs MacOS 8.1 and force you to upgrade.
  2. We could check that GUSI doesn't use OTInetGetSecondaryAddress and do
    the weak linking.
  3. I could send a bug report/feature request to the author of GUSI, and
    see if I get a solution.
  4. I could get rid of GUSI and give up on threads and the macosunix
    library.

If you're willing to play beta-tester, I think we should start with
solution 2.

-- Damien

1 similar comment
@vicuna
Copy link
Author

vicuna commented Aug 31, 2000

Comment author: administrator

Thanks for your answer.
I've decided to upgrade to 8.1, as my priority is to learn Ocaml. I works
fine now.
Upgrading is not a problem for a 8.0 user (upgrade is free). I'd claim
GUSI authors to suppor MacOS 7.

Enrique Vetere
enrique.vetere@mclees.com.ar
McLees S.A.
http://www.mclees.com.ar

Damien Doligez caml-bugs@pauillac.inria.fr
17/08/2000 12:39

    To:     enrique.vetere@mclees.com.ar
    cc:     caml-bugs@inria.fr
    Subject:        Re: PRIVATE: This may help: Ocaml for Mac could not open (#2551)

Full_Name: Enrique Vetere

In reference to my previous bug report, I found something that can help.
In http://developer.apple.com/technotes/tn/tn1145.html
says:
"OTInetGetSecondaryAddresses is not implemented prior to Open
Transport 1.3.

It's true that I've built O'Caml on a Mac with OT version 2.0.3.

To work correctly with systems prior to that, you must weak-link
with the OpenTptInternetLib and check for its existence by
comparing its address to kUnresolvedCFragSymbolAddress.

The problem is, I don't use OpenTransport ! I use GUSI, a Unix API
emulation
library, which uses OpenTransport, so I don't have a lot of control on
what's going on.

I can see a several possible solutions:

  1. We could decide that O'Caml needs MacOS 8.1 and force you to upgrade.
  2. We could check that GUSI doesn't use OTInetGetSecondaryAddress and do
    the weak linking.
  3. I could send a bug report/feature request to the author of GUSI, and
    see if I get a solution.
  4. I could get rid of GUSI and give up on threads and the macosunix
    library.

If you're willing to play beta-tester, I think we should start with
solution 2.

-- Damien

@vicuna vicuna closed this as completed Nov 2, 2000
@vicuna vicuna added the bug label Mar 19, 2019
@paulie-g
Copy link

paulie-g commented Jun 8, 2022

Apologies for issue necromancy, but this comes up in a google search so useful for others even late on.

OpenTransport 1.3 can be installed on System < 8.1. It is true that it shipped with System 8.1 and the installer initially required 8.1. However, there is a "Gold Master" version available (on various compilation CDs, MacintoshGarden, MacintoshRepository and so on) that does not check for OS version and will happily install on anything from 7.0 and up. I've personally used it on 7.5.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants