aballier / ml-overlay

7 stars 6 forks source link

dev-ml/lablgtk-2.18.8 checking lablGL directory... configure: error: gtkgl enforced but lablGL not found #8

Closed XVilka closed 5 years ago

XVilka commented 5 years ago
checking for ocaml threads... use system threads
checking for ocaml dll support... yes
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
OCaml uses x86_64-pc-linux-gnu-gcc to compile C files
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether C compiler accepts -fno-unwind-tables... yes
checking platform... Unix
checking native dynlink... checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.24.32)
checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTKGL... yes
checking lablGL directory... configure: error: gtkgl enforced but lablGL not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-ml/lablgtk-2.18.8/work/lablgtk-2.18.8/config.log
 * ERROR: dev-ml/lablgtk-2.18.8::ml-overlay failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 1136:  Called econf '--disable-debug' '--with-rsvg' '--without-glade' '--without-gnomeui' '--without-panel' '--with-gl' '--with-gtkspell' '--without-gtksourceview' '--with-gtksourceview2' '--with-gnomecanvas'
 *        phase-helpers.sh, line  681:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *          die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-ml/lablgtk-2.18.8::ml-overlay'`,
 * the complete build log and the output of `emerge -pqv '=dev-ml/lablgtk-2.18.8::ml-overlay'`.
 * The complete build log is located at '/var/tmp/portage/dev-ml/lablgtk-2.18.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ml/lablgtk-2.18.8/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ml/lablgtk-2.18.8/work/lablgtk-2.18.8'
 * S: '/var/tmp/portage/dev-ml/lablgtk-2.18.8/work/lablgtk-2.18.8'
aballier commented 5 years ago

please attach the entire log, plus config.log

XVilka commented 5 years ago

Here you go: lablgtk_build.log lablgtk_config.log

XVilka commented 5 years ago

Is there anything I could help with? It prevents me to update the opam due to a chain of dependencies that lead to lablgtk.

aballier commented 5 years ago

there isn't much in the logs, try creating a foo.ml file containing:

open Raw

and compile it with: ocamlc -c -I +lablGL foo.ml

it should give the proper error

XVilka commented 5 years ago

Ah, this helps - it shows the difference between compiled versions:

Error: /usr/lib64/ocaml/lablGL//raw.cmi
         is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
aballier commented 5 years ago

try rebuilding lablgl then, it should be done automatically when you upgrade with emerge -uDN world; it is a portage bug that allows the dependency to be satisfied in that case