Re: [Lcms-user] Problems getting 1.08 to run on Redhat 7.2
An ICC-based CMM for color management
Brought to you by:
mm2
From: Jim M. <jm...@ro...> - 2001-12-05 06:09:48
|
Ok... I've got it all resolved. The first problem is caused by a bug in "tifficc" that I covered in another note. My second problem was caused by trying to use a TIFF file. The QImage class doesn't support TIFF, and somehow that burbled up as having a "null" image. Using a PNM file works fine. I didn't see any mention of that in the documentation, so perhaps a note to that effect would be in order. Thanks for putting this package together. -- Jim On 2001.12.04 23:21 Jim Mayer wrote: > Hi, > > I just discovered LittleCMS and am having problems getting it to run > on Redhat 7.2 Linux. I looked through the "lcms-user" archives and > didn't find anyone reporting similar problems, so I thought I'd > describe what was going on before I dove into debugging mode. > > I had no problems getting lcms-1.08 and lprof-1.08 to build. I do, > however, see the following problems: > > (1) tifficc generally gets a segmentation fault. When I poked around > with gdb, I discovered that the fault is in the final call to > "TIFFClose(out)" in "tifficc.c" file. The actual fault is triggered > int the malloc/free code. The generated TIFF file is fine despite > the error. > > (2) When I run "qtmeasurementtool" and attempt to load a scanned > target, I get an error message claiming that the TIFF file I'm > loading a "null image". Specifically, I get: > > > QImage::smoothScale: Image is a null image > QPixmap::convertFromImage: Cannot convert a null image > QPixmap::convertFromImage: Cannot convert a null image > > The image I'm attempting to load was generated using "xsane". It > displays fine with both the GIMP and ImageMagick. I've done a "save > as" from the GIMP with the same result. > > At this point I'm rather suspicious that I've got problem or > incompatibility with my TIFF library, and was wondering if other > folks have seen similar problems. Here are the versions of things > I'm running: > > lcms-1.08 > lprof-1.08 > TIFF: Redhat RPM libtiff-devel-3.5.5-13, libtiff-3.5.5-13 > Qt: Redhat RPM qt-2.3.1-5 > GCC: Redhat RPM gcc-2.96-98 > > I run the GNOME desktop, and use Sawfish as my window manager, though > I don't see that that should be terribly relevant to the problems I'm > seeing. > > All the RPMs are off the Redhat 7.2 distribution. The lcms and lprof > files I downloaded from the http://littlecms.com web site. > > Thanks. > > -- Jim Mayer > > > _______________________________________________ > Lcms-user mailing list > Lcm...@li... > https://lists.sourceforge.net/lists/listinfo/lcms-user |