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: <ma...@li...> - 2001-12-05 08:42:41
|
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. > Well, the profilers are pretty new (just 3! days) and not quite tested, so they can still have some bugs... > 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. Ouch. This is a genuine bug. I see by your other mail you have discovered the cause, so thank you for the fix. > (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: This happens because Qt doesn't support TIFF. The profilers does rely on Trolltech's Qt as GUI, and the support Qt offers for images is, well, not as extense as we could wish. Anyway, you could convert your image to any supported format (they does vary on different platforms). I will put a note on documentation about it. Thanks for pointing out this. Martí Maria The little cms project http://www.littlecms.com ma...@li... ----- Original Message ----- From: "Jim Mayer" <jm...@ro...> To: <lcm...@li...> Sent: Wednesday, December 05, 2001 1:01 AM Subject: [Lcms-user] Problems getting 1.08 to run on Redhat 7.2 > 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 > > |