* [Caml-list] camlimages jpeg mac os x @ 2004-05-18 21:06 Shivkumar Chandrasekaran [not found] ` <10AF61FB-A926-11D8-80C1-003065F3078C@cs.unm.edu> 0 siblings, 1 reply; 3+ messages in thread From: Shivkumar Chandrasekaran @ 2004-05-18 21:06 UTC (permalink / raw) To: caml-list 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-- ------------------- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <10AF61FB-A926-11D8-80C1-003065F3078C@cs.unm.edu>]
* Re: [Caml-list] camlimages jpeg mac os x [not found] ` <10AF61FB-A926-11D8-80C1-003065F3078C@cs.unm.edu> @ 2004-05-19 15:46 ` Shivkumar Chandrasekaran 0 siblings, 0 replies; 3+ messages in thread From: Shivkumar Chandrasekaran @ 2004-05-19 15:46 UTC (permalink / raw) To: caml-list; +Cc: William Neumann I think I found an easy way to configure properly in a bash shell: CFLAGS=-I/sw/include LDFLAGS=-L/sw/lib ./configure did the trick for me. Thanks, --shiv-- On May 18, 2004, at 4:49 PM, William Neumann wrote: > On May 18, 2004, at 3:06 PM, Shivkumar Chandrasekaran wrote: > >> 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, > > Oddly enough I just compiled camlimages on OS X this afternoon... > > You need to create the links in /usr/local/lib (or change the prefix > that the configure script uses, but then you'll miss the stuff that's > already in /usr/local/lib). Don't forget to make links to jpegjib.h, > jconfig.h, jmorecfg.h, and jerror.h (I think those are the files, just > search /sw/include for j*.h) in /usr/local/include. > > Best of luck. > > William D. Neumann > > "Here come the bunnies with the sugar water, > Do a little dance with the farmer's daughter." > > -- The Halo Benders ------------------- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <200405190805.i4J85n3w008532@i5>]
* Re: [Caml-list] camlimages jpeg mac os x [not found] <200405190805.i4J85n3w008532@i5> @ 2004-05-19 15:53 ` Shivkumar Chandrasekaran 0 siblings, 0 replies; 3+ messages in thread From: Shivkumar Chandrasekaran @ 2004-05-19 15:53 UTC (permalink / raw) To: fecl2; +Cc: caml-list 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-19 15:53 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-05-18 21:06 [Caml-list] camlimages jpeg mac os x Shivkumar Chandrasekaran [not found] ` <10AF61FB-A926-11D8-80C1-003065F3078C@cs.unm.edu> 2004-05-19 15:46 ` Shivkumar Chandrasekaran [not found] <200405190805.i4J85n3w008532@i5> 2004-05-19 15:53 ` Shivkumar Chandrasekaran
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox