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

LabTk #2807

Closed
vicuna opened this issue Jun 24, 2001 · 2 comments
Closed

LabTk #2807

vicuna opened this issue Jun 24, 2001 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jun 24, 2001

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

Bug description

Full_Name: John W. Small
Version: Ocaml 3.01
OS: Windows NT
Submission from: ip168.herndon21.va.pub-ip.psi.net (38.38.90.168)

I have installed Tcl/tk 8.3.

After installing Ocaml 3.01 I noticed that the install
process modified the labltk.cma and labltk.cmxa files to
point to the installation except it defaulted to the
c: drive but tcl is installed on my e: drive. I edited
the cma and cmxa files directly changing the "c" to "e".
I realize this is risky but bytes sizes didn't change and
it seems to work.

@vicuna
Copy link
Author

vicuna commented Jun 25, 2001

Comment author: administrator

c: drive but tcl is installed on my e: drive. I edited
the cma and cmxa files directly changing the "c" to "e".
I realize this is risky but bytes sizes didn't change and
it seems to work.

This should be ok: these values are only used for the linking process.
However note that if you want to use labltk.exe, you will have to link
it again with your modified libraries.
ocamlmktop -I +labltk unix.cma str.cma labltk.cma -o labltk.exe

If you are compiling from source, you can modify the location for Tcl/Tk
in config/Makefile.nt.

Jacques Garrigue

@vicuna vicuna closed this as completed Jun 25, 2001
@vicuna
Copy link
Author

vicuna commented Jul 2, 2001

Comment author: administrator

After installing Ocaml 3.01 I noticed that the install
process modified the labltk.cma and labltk.cmxa files to
point to the installation except it defaulted to the
c: drive but tcl is installed on my e: drive. I edited
the cma and cmxa files directly changing the "c" to "e".
I realize this is risky but bytes sizes didn't change and
it seems to work.

Yes, you were lucky that the length of the strings didn't change!
We are aware something needs to be done about the hard-wired TCL paths
in labltk, but don't quite know what to do yet -- distribute some of
the TCL/TK libraries along with OCaml, perhaps?

Regards,

  • Xavier Leroy

@vicuna vicuna added the bug label Mar 19, 2019
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

1 participant