Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000014OCamlOCaml generalpublic1999-12-21 14:231999-12-23 14:12
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000014: re: Objective Caml 2.99 released
Description> This does not mean that we are aware of any bug, [...]
> * labltk: another version of the ocamltk Tcl/Tk interface. It
> allows for a more natural syntax, using optional arguments.

Here's a patch and a bug report for labltk.

1) The link scripts contain a couple of typos:

--- ocaml-2.99/otherlibs/labltk/lib/Makefile~ Wed Dec 15 16:02:14 1999
+++ ocaml-2.99/otherlibs/labltk/lib/Makefile Tue Dec 21 13:11:19 1999
@@ -35,15 +35,15 @@
 labltklink: Makefile $(TOPDIR)/config/Makefile
     @echo Generate $@
     @echo "#!/bin/sh" > $@
- @echo 'exec ocamlc -custom -I $(LABLTKDIR) tk41.cma "$$@"\\' >> $@
- @echo ' -cclib "-L$(LABLTKDIR) -llabltk41 $(TK_LINK)"\\' >> $@
+ @echo 'exec ocamlc -custom -I $(LABLTKDIR) tk41.cma "$$@" \' >> $@
+ @echo ' -cclib "-L$(LABLTKDIR) -llabltk41 $(TK_LINK)" \' >> $@
     @echo ' $(X11_LINK) -cclib "$(CCLIBS) $(DLLIB)"' >> $@
 
 labltkopt: Makefile $(TOPDIR)/config/Makefile
     @echo Generate $@
     @echo "#!/bin/sh" > $@
- @echo 'exec ocamlopt -custom -I $(LABLTKDIR) tk41.cmxa "$$@"\\' >> $@
- @echo ' -cclib "-L$(LABLTKDIR) -llabltk41 $(TK_LINK)"\\' >> $@
+ @echo 'exec ocamlopt -I $(LABLTKDIR) tk41.cmxa "$$@" \' >> $@
+ @echo ' -cclib "-L$(LABLTKDIR) -llabltk41 $(TK_LINK)" \' >> $@
     @echo ' $(X11_LINK) -cclib "$(CCLIBS) $(DLLIB)"' >> $@
 
 # All .{ml,mli} files are generated in this directory

2) The colors of labltk applications coe out wrong with the native
   compiler on my Linux system (see below for the configuration,
   the bug is independent of whether I use native threads or not).
   E.g. ./eyes.opt has green eyes, while ./eyes is black on white.
   I haven't investigated this further yet.
   
** Configuration summary **

Directories where Objective Caml will be installed:
        binaries.................. /home/ohl/ml/OCaml/bin
        standard library.......... /home/ohl/ml/OCaml/lib/ocaml
        manual pages.............. /home/ohl/ml/OCaml/man/man1 (with extension .1)
Configuration for the bytecode compiler:
        C compiler used........... gcc
        options for compiling..... -fno-defer-pop -Wall -Wno-unused -D_REENTRANT
        options for linking....... -lm
Configuration for the native-code compiler:
        hardware architecture..... i386
        OS variant................ linux_elf
        C compiler used........... gcc
        options for compiling..... -Wall -Wno-unused -D_REENTRANT
        options for linking....... -lm
        assembler ................ $(AS)
        preprocessed assembler ... gcc -c -DSYS_$(SYSTEM)
        profiling with gprof ..... supported
Source-level replay debugger: supported
Configuration for the external libraries:
        libraries supported....... unix str num dynlink systhreads graph dbm labltk
The "num" library:
        target architecture ...... x86
The "graph" library:
        options for compiling .... -I/usr/X11R6/include
        options for linking ...... -cclib -L/usr/X11R6/lib -cclib -lX11
The "labltk" library:
        use tcl/tk version ....... 7.6
        options for compiling ....
        options for linking ...... -ltcl7.6 -ltk4.2 -ldl

Season's Greetings,
-Thorsten
--
Thorsten Ohl, Physics Department, TU Darmstadt -- ohl@hep.tu-darmstadt.de
http://heplix.ikp.physik.tu-darmstadt.de/~ohl/ [^] [<=== PGP public key here]

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000287)
administrator (administrator)
1999-12-21 15:09

Thank you for your kind report.
This was yet another incompatibility between sh and bash.
This is now corrected as you suggested in the CVS.

    Jacques
(0000288)
administrator (administrator)
1999-12-23 14:12

Fixed in 3.00

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker