Hello
,
I want to use LablGTK2 because i need full GTK support (GtkDrawingArea, Glade, Rsvg, GnoCanvas, GnomeCanvas, GtkGLArea).
So i have VirtualBox emulating Puppy Wary 5.5 x86, kernel 3.8.0
No opam available, no Dune. Just plain source-code.
OCaml 5 requires a newer gcc.
Luckily 4.14.2 or earlier are a valid replacement.
However when 4.14.2 make world :
Error: Cannot find file stdlib__Out_channelp.cmo
I mean why stdlib__Out_channelp.cmo ?
Why not stdlib__Out_channel.cmo ?
There’s not enough context to understand your issue. Of course the build shouldn’t be looking for stdlib__Out_channelp.cmo. As far as I know we never had any reports of similar errors. It would help a bit if you could provide:
- An accurate list of instructions you used to get there (how did you get the sources ? how did you configure your compiler ?)
- A bit more context around the error message (some of the lines around the error message should tell us at least what was being compiled)
1 Like
I value GTK2 more than a state-of-the-art OCaml language.
May be stdlib__Out_channelp.cmo is the tree that hides a forest of install errors.
When installing source OCaml 4.12.1 make world i have a different error :
In file included from st_stubs.c:54:
st_posix.h: In function st_mutex_create:
st_posix.h:208: error: PTHREAD_MUTEX_ERRORCHECK undeclared (first use in this function)
So i now resort to a palliative approach : where can i find all the tar.gz sources of older OCamls so i can pick the latest that installs quietly ?
Thanks for the support.
You can get the source tarballs from GitHub releases.
There’s not really enough context to understand what is going wrong with the build. If you could include the full output for ./configure and make that would be a good start. For OCaml compiler installs, opam doesn’t do anything more special than ./configure --prefix=<install path> && build and pass in some locations of where to install the build artefacts.
1 Like
In my case the latest Puppy-friendly version is OCaml 4.06.1 
Which is nice because LablGTK 2.18.14 requires at least OCaml 4.06 
Now i have camlp-streams and several things to install manually (gtksourceview2,gtkspell, lablGL 1.05, gtkglarea 1.99) so LablGTK 2.18 supports them all.
Once done i will have the best available ocaml GUI toolkit.
Many Thanks for your support 
I have installed LablGTK 2.18.14
I am now eager to demonstrate some GTK2 utils or games 