Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60661 - lablgtk-1.2.7 fails to compile
Summary: lablgtk-1.2.7 fails to compile
Status: RESOLVED DUPLICATE of bug 60193
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 05:39 UTC by Christian Fernandez
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Fernandez 2004-08-17 05:39:34 UTC
Unknown option -rdynamic
+ gcc -shared -o ./dlllablgtkgl.so ml_gtkgl.o -L/usr/lib -L/usr/X11R6/lib  -Wl,-rpath,/usr/lib:/usr/X11R6/lib -lgtkgl -lGLU -lGL -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
+ ar rc ./liblablgtkgl.a ml_gtkgl.o
+ ranlib ./liblablgtkgl.a
ocamlc.opt -I /usr/lib/ocaml/lablGL -w s -c glGtk.mli
/usr/lib/ocaml/lablGL/raw.cmi is not a compiled interface
make[1]: *** [glGtk.cmi] Error 2
rm varcc.ml
make[1]: Leaving directory `/var/tmp/portage/lablgtk-1.2.7/work/lablgtk-1.2.7/src'
make: *** [all] Error 2

!!! ERROR: dev-ml/lablgtk-1.2.7 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1.emerge dev-ml/lablgtk-1.2.7
2.
3.
Comment 1 Christian Fernandez 2004-08-17 05:48:55 UTC
I just notes same error compiling unison...

ocamlopt: uicommon.mli ---> uicommon.cmi
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/uicommon.mli
ocamlopt: uicommon.ml ---> uicommon.cmx
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/uicommon.ml
ocamlopt: uitext.mli ---> uitext.cmi
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/uitext.mli
ocamlopt: uitext.ml ---> uitext.cmx
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/uitext.ml
ocamlopt: main.ml ---> main.cmx
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/main.ml
ocamlopt: pixmaps.ml ---> pixmaps.cmx
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/pixmaps.ml
ocamlopt: uigtk.mli ---> uigtk.cmi
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/uigtk.mli
ocamlopt: uigtk.ml ---> uigtk.cmx
ocamlopt -I lwt -I ubase -I /usr/lib/ocaml/lablgtk -c /var/tmp/portage/unison-2.9.1-r1/work/unison-2.9.1/uigtk.ml
/usr/lib/ocaml/lablgtk/gdk.cmi is not a compiled interface
make: *** [uigtk.cmx] Error 2

!!! ERROR: net-misc/unison-2.9.1-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
Comment 2 Panard 2004-08-17 06:01:19 UTC
you must run sh /usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh after upgrading to ocaml ;)
especially rebuild lablgl in your case, but running ocaml-rebuild.sh is high recommended
Comment 3 Christian Fernandez 2004-08-17 07:09:16 UTC
no luck... I did what you said but now goes on to give another error... hmmm is my system break? now I am worried.

Unknown option -rdynamic
+ gcc -shared -o ./dlllablgtkgl.so ml_gtkgl.o -L/usr/lib -L/usr/X11R6/lib  -Wl,-rpath,/usr/lib:/usr/X11R6/lib -lgtkgl -lGLU -lGL -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
+ ar rc ./liblablgtkgl.a ml_gtkgl.o
+ ranlib ./liblablgtkgl.a
ocamlc.opt -I /usr/lib/ocaml/lablGL -w s -c glGtk.mli
ocamlc.opt -I /usr/lib/ocaml/lablGL -w s -c glGtk.ml
ocamlmklib -verbose -o lablgtkgl -lgtkgl glGtk.cmo \
    -lGLU -lGL -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
Unknown option -rdynamic
+ /usr/bin/ocamlc -a  -o lablgtkgl.cma  glGtk.cmo -dllib -llablgtkgl -cclib -llablgtkgl -ccopt -L/usr/lib -ccopt -L/usr/X11R6/lib -ccopt -Wl,-rpath,/usr/lib:/usr/X11R6/lib -cclib -lgtkgl -cclib -lGLU -cclib -lGL -cclib -lgtk -cclib -lgdk -cclib -lgmodule -cclib -lglib -cclib -ldl -cclib -lXi -cclib -lXext -cclib -lX11 -cclib -lm
ocamlc.opt -I /usr/lib/ocaml/lablGL -w s -c gtkInit.ml
ocamlmktop -I /usr/lib/ocaml/lablGL -o lablgtktop unix.cma str.cma lablgl.cma -I . lablgtk.cma lablgtkgl.cma gtkInit.cmo
Error on dynamically loaded library: libnvidia-tls.so.1: cannot handle TLS data
make[1]: *** [lablgtktop] Error 2
rm varcc.ml
make[1]: Leaving directory `/var/tmp/portage/lablgtk-1.2.7/work/lablgtk-1.2.7/src'
make: *** [all] Error 2

!!! ERROR: dev-ml/lablgtk-1.2.7 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
Comment 4 Matthieu Sozeau (RETIRED) gentoo-dev 2004-08-17 11:19:31 UTC

*** This bug has been marked as a duplicate of 60193 ***