caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Unable to comile lablgl
@ 2001-12-15  9:48 Johann Spies
  2001-12-15 10:39 ` Remi VANICAT
  0 siblings, 1 reply; 3+ messages in thread
From: Johann Spies @ 2001-12-15  9:48 UTC (permalink / raw)
  To: caml-list

The following happened when I tried to compile lablgl:

js-11:45:07-/usr/local/src/lablGL-0.97$make
ocamlmktop -I . -I `ocamlc -where`/labltk -o lablgltop \
    -dllpath `ocamlc -where`/labltk -dllpath `ocamlc
-where`/lablGL \
   labltk.cma lablgl.cma togl.cma
Error on dynamically loaded library: ./dlltogl.so: undefined
symbol: XmuLookupStandardColormap
make: *** [lablgltop] Error 2
------------------------------

And I have no idea how to fix it.  Can somebody help me with
this please?

I have compiled and installed ocaml 3.04.



Johann.
-- 
J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4036(w)  
             Posbus 4668, Tygervallei 7536
     "And we know that all things work together for good to 
      them that love God, to them who are the called  
      according to his purpose."            
                                   Romans 8:28 
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Unable to comile lablgl
  2001-12-15  9:48 [Caml-list] Unable to comile lablgl Johann Spies
@ 2001-12-15 10:39 ` Remi VANICAT
  2001-12-17 15:53   ` Johann Spies
  0 siblings, 1 reply; 3+ messages in thread
From: Remi VANICAT @ 2001-12-15 10:39 UTC (permalink / raw)
  To: caml-list

Johann Spies <jhspies@adept.co.za> writes:

> The following happened when I tried to compile lablgl:
> 
> js-11:45:07-/usr/local/src/lablGL-0.97$make
> ocamlmktop -I . -I `ocamlc -where`/labltk -o lablgltop \
>     -dllpath `ocamlc -where`/labltk -dllpath `ocamlc
> -where`/lablGL \
>    labltk.cma lablgl.cma togl.cma
> Error on dynamically loaded library: ./dlltogl.so: undefined
> symbol: XmuLookupStandardColormap
> make: *** [lablgltop] Error 2
> ------------------------------
> 
> And I have no idea how to fix it.  Can somebody help me with
> this please?

yes, you should in the Makefile.config change

# Where to find X headers
XINCLUDES = -I/usr/X11R6/include
# X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
# XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11

into

# Where to find X headers
XINCLUDES = -I/usr/X11R6/include
# X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11

At least it worked for me...
-- 
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Unable to comile lablgl
  2001-12-15 10:39 ` Remi VANICAT
@ 2001-12-17 15:53   ` Johann Spies
  0 siblings, 0 replies; 3+ messages in thread
From: Johann Spies @ 2001-12-17 15:53 UTC (permalink / raw)
  To: caml-list

On Sat, Dec 15, 2001 at 11:39:02AM +0100, Remi VANICAT wrote:
 
> yes, you should in the Makefile.config change
 # Where to find X headers
> XINCLUDES = -I/usr/X11R6/include
> # X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
> XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11
> 
> At least it worked for me...

Thanks. This alone did not solve my problem, but it gave me a
hint about possible missing mesa libraries. I did not know
which, but after installing some debian mesa-packages, the
compilation worked.

Regards.

Johann.
-- 
J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4036(w)  
             Posbus 4668, Tygervallei 7536
     "And we know that all things work together for good to 
      them that love God, to them who are the called  
      according to his purpose."            
                                   Romans 8:28 
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-17 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-15  9:48 [Caml-list] Unable to comile lablgl Johann Spies
2001-12-15 10:39 ` Remi VANICAT
2001-12-17 15:53   ` Johann Spies

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).