Browse thread
Re: [Caml-list] camlimages jpeg mac os x
- Shivkumar Chandrasekaran
[
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: | 2004-05-19 (15:53) |
From: | Shivkumar Chandrasekaran <shiv@e...> |
Subject: | Re: [Caml-list] camlimages jpeg mac os x |
Did you try: CFLAGS=-I/sw/include LDFLAGS=-L/sw/lib ./configure Remember to use --cache-file=/dev/null to turn off caching if you have run ./configure before. HTH, --shiv-- On May 19, 2004, at 1:05 AM, fecl2@squarestone.com wrote: > > Hi Shiv. > I can not help yet, but I also wondered how to get libjpeg recognised, > and got as far as emailing the maintainers (I think), but no reply. > > I wondered if it was a configure problem, so tried editting the > Makefile.config manually. This might work, but I didnt get there. > It looked like just editting the 2 relevant lines below should > be enough to convert the Makefile for jpeg support, but then I think > the "linking" failed, which is probably the reason why the > configure failed. I didnt get time to investigate that. > Regards, > James. > >> Hi, >> I am trying to install camlimages on mac os x. I am not able to get >> "./configure" to recognize that I do have libjpeg installed. I have >> jpeg (tiff, png, etc.) installed in /sw/lib using fink. The configure >> script does not seem to give me any option for setting the directory >> where libjpeg is located. I tried creating a symbolic link in /usr/lib >> but that did not help either. >> >> Any advice? Thanks, >> --shiv-- > > ---x---x---x---x---x---x---x---x---x---x---x---x---x---x---x---x---x--- > > To: Pierre Weis <pierre.weis@inria.fr> > Cc: Jun.Furuse@inria.fr > Subject: RE: New release of CamlImages > Date: Fri, 30 Apr 2004 14:04:55 +0100 > > Hi Pierre (and Jan). > I was just installing CamlImages. May I ask a couple of questions? > > First, compiling ./examples/lv/display.ml gave an error on line 666. > The compile gets through if I add, > > | `TRANSPARENT_BORDER::fs -> (* nop *) get_image fs > > so perhaps it could be an omission (I am using ocaml 3.06). > > Secondly, can I ask about compiling for jpeg/png support? > When I do ./configure, in Makefile.config I get lines: > > SUPPORT_PNG=false > SUPPORT_JPEG=false > LIBJPEG= > LIBPNG= > > and running liv.byte reports "jpeg is not supported". > > I am using RedHat, with the following RPMs installed: > > libjpeg-6b-16 > libjpeg-devel-6b-19 > libpng-1.0.14-0.7x.4 > > Do you know why jpeg/png support is missing? > Regards, > James. ------------------- 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