Browse thread
Re: [Caml-list] Building camlimages programs on deb (and linux)
-
chris.danx
-
Jun.Furuse@i...
-
chris.danx
- Jun.Furuse@i...
-
chris.danx
-
Jun.Furuse@i...
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2003-11-25 (10:42) |
From: | Jun.Furuse@i... |
Subject: | Re: [Caml-list] Building camlimages programs on deb (and linux) |
> > BTW, it sounds still strange that you fail to link even with -lX11. > > Please send me what happens (including error messages) if you execute > > the following: > > > > ocamlc -custom -verbose `camlimages-config` > > -cclib "-L/usr/X11R6/lib -lxvthumb -lXpm > > -lX11 -lpng -lfreetype -lz -ljpeg -lgif" > > It fails on xvthumb, but if I take that out it links ok. :? Oops, sorry. You are correct. There is no libxvthumb. > ocamlc -custom -verbose `camlimages-config` -cclib "-L/usr/X11R6/lib > -lXpm -lX11 -lpng -lfreetype -ljpeg -lgif" monochrome.ml > + gcc -Wl,-E -o 'a.out' -I'/usr/lib/ocaml/3.07' -L/usr/X11R6/lib > -Wl,-rpath,/usr/X11R6/lib /tmp/camlprim88d632.c > '-L/usr/lib/ocaml/3.07/camlimages' '-L/usr/lib/ocaml/3.07' '-lci_xpm' > '-lXpm' '-lci_png' '-lpng' '-lz' '-lci_tiff' '-ltiff' '-lci_jpeg' > '-ljpeg' '-lci_gif' '-lgif' '-L/usr/X11R6/lib' '-lXpm' '-lX11' '-lpng' > '-lfreetype' '-ljpeg' '-lgif' -lcamlrun -lm -ldl -lcurses -lpthread Everyhing seems to be ok. > Also if -custom is removed it fails. Yes, it also happens in my system, too. This is due to a bug that the dynlink options of ci_xpm.cma lack -lX11. I did not notice this bug since I always linked ci_xpm.cma with ci_graphics.cma together, which links -lX11. I will fix this soon. -- Jun ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners