* [gentoo-user] tif libraries being ignored @ 2009-01-11 21:54 Ted Miller 2009-01-11 22:15 ` Dale 0 siblings, 1 reply; 9+ messages in thread From: Ted Miller @ 2009-01-11 21:54 UTC (permalink / raw To: gentoo-user I am new to Gentoo (not new to Linux), and am trying to do a Gentoo install to handle my photo needs. I have emerged cinepaint, gimp, hugin, KPhotoAlbum, Krita and ufraw (for starters). Things work pretty well EXCEPT that the KDE based applications cannot handle *.tif files. I have the media-libs/tiff package emerged, but for some reason the KDE subsystem does not seem to be using it. What doesn't even list .tif files as graphics files: KView What doesn't work with .tif files: krita preview in File>Open dialog KPhotoAlbum does not show .tif files gimp lists the files, but puts up an error message when it attempts to open the file KView What does work with .tif files: Krita will open them (just not preview them) hugin cinepaint (not KDE based) If I tell konqueror to open a .tif file with KView, the KView status bar says "Unknown image format: /"...."/A00001658.1.tif" If I tell konqueror to open a .tif file with GIMP, I get two GIMP Messages: PDB calling error: Procedure 'file-tiff-load' not found. Opening '/.../A00001658.1.tif' failed: raw image plug-in could not open image I have run emerge --update --deep --newuse world revdep-rebuild with no improvement Any insight into what I need to do to get this working will be greatly appreciated. Please be explicit (or include links to documentation) if I have to do anything unusual, but I will be glad to send any needed information to help you diagnose my problem. Ted Miller Indiana, USA ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] tif libraries being ignored 2009-01-11 21:54 [gentoo-user] tif libraries being ignored Ted Miller @ 2009-01-11 22:15 ` Dale 2009-01-12 4:29 ` Ted Miller 0 siblings, 1 reply; 9+ messages in thread From: Dale @ 2009-01-11 22:15 UTC (permalink / raw To: gentoo-user Ted Miller wrote: > I am new to Gentoo (not new to Linux), and am trying to do a Gentoo > install to handle my photo needs. I have emerged cinepaint, gimp, > hugin, KPhotoAlbum, Krita and ufraw (for starters). > > Things work pretty well EXCEPT that the KDE based applications cannot > handle *.tif files. I have the media-libs/tiff package emerged, but > for some reason the KDE subsystem does not seem to be using it. > > What doesn't even list .tif files as graphics files: > KView > > What doesn't work with .tif files: > krita preview in File>Open dialog > KPhotoAlbum does not show .tif files > gimp lists the files, but puts up an error message when it attempts to > open the file > KView > > What does work with .tif files: > Krita will open them (just not preview them) > hugin > cinepaint (not KDE based) > > > If I tell konqueror to open a .tif file with KView, the KView status > bar says "Unknown image format: /"...."/A00001658.1.tif" > > If I tell konqueror to open a .tif file with GIMP, I get two GIMP > Messages: > PDB calling error: Procedure 'file-tiff-load' not found. > Opening '/.../A00001658.1.tif' failed: raw image plug-in could not > open image > > I have run > emerge --update --deep --newuse world > revdep-rebuild > with no improvement > > Any insight into what I need to do to get this working will be greatly > appreciated. Please be explicit (or include links to documentation) > if I have to do anything unusual, but I will be glad to send any > needed information to help you diagnose my problem. > > Ted Miller > Indiana, USA > > > I would assume you have tiff in your USE line in make.conf? root@smoker / # euse -i tiff global use flags (searching: tiff) ************************************************************ [+ CD ] tiff - Adds support for the TIFF image format local use flags (searching: tiff) ************************************************************ [+ CD ] tiff (media-tv/mythtv): Add support for tiff loading and rendering which is only used by media-plugins/mythgallery root@smoker / # Just in case you missed that little detail. ;-) Dale :-) :-) ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] tif libraries being ignored 2009-01-11 22:15 ` Dale @ 2009-01-12 4:29 ` Ted Miller 2009-01-12 4:56 ` Dale 2009-01-12 5:03 ` Shawn Haggett 0 siblings, 2 replies; 9+ messages in thread From: Ted Miller @ 2009-01-12 4:29 UTC (permalink / raw To: gentoo-user Dale wrote: > Ted Miller wrote: > [snip] > > Things work pretty well EXCEPT that the KDE based applications cannot > > handle *.tif files. I have the media-libs/tiff package emerged, but > > for some reason the KDE subsystem does not seem to be using it. > > I have run > > emerge --update --deep --newuse world > > revdep-rebuild > > with no improvement > > > > Any insight into what I need to do to get this working will be greatly > > appreciated. Please be explicit (or include links to documentation) > > if I have to do anything unusual, but I will be glad to send any > > needed information to help you diagnose my problem. > > > > Ted Miller > > Indiana, USA > > I would assume you have tiff in your USE line in make.conf? [snip] > > Just in case you missed that little detail. ;-) Yes, I missed that, and it did the trick (after re-emerging 11 packages, including kde-libs). Where was it hidden, that I missed it? Or is it just one of those things "you have to learn"? Seems like the tif package should add it, or tell me to consider adding it, when the package is installed. Ted Miller ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] tif libraries being ignored 2009-01-12 4:29 ` Ted Miller @ 2009-01-12 4:56 ` Dale 2009-01-12 12:12 ` Ted Miller 2009-01-12 5:03 ` Shawn Haggett 1 sibling, 1 reply; 9+ messages in thread From: Dale @ 2009-01-12 4:56 UTC (permalink / raw To: gentoo-user Ted Miller wrote: > Yes, I missed that, and it did the trick (after re-emerging 11 > packages, including kde-libs). > > Where was it hidden, that I missed it? Or is it just one of those > things "you have to learn"? Seems like the tif package should add it, > or tell me to consider adding it, when the package is installed. > > Ted Miller > > Since you are new to Gentoo, use the -v and either -a or -p first. It will show you what USE flags it will build with because of the -v. If you are not sure what they are, just do a euse -i <flag_name> and see what it says. Some make sense but some don't. I'm sure it is documented somewhere but I have just learned the steps in doing things over the years. Most of them the hard way but learned them still. Glad you got it working tho. It was all I could think of that would keep it from it. Dale :-) :-) ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] tif libraries being ignored 2009-01-12 4:56 ` Dale @ 2009-01-12 12:12 ` Ted Miller 2009-01-12 18:39 ` Dale 0 siblings, 1 reply; 9+ messages in thread From: Ted Miller @ 2009-01-12 12:12 UTC (permalink / raw To: gentoo-user Dale wrote: > Ted Miller wrote: > > Yes, I missed that, and it did the trick (after re-emerging 11 > > packages, including kde-libs). > > > > Where was it hidden, that I missed it? Or is it just one of those > > things "you have to learn"? Seems like the tif package should add it, > > or tell me to consider adding it, when the package is installed. > > > Since you are new to Gentoo, use the -v and either -a or -p first. What command do I use those with -- emerge, euse? So far I learned about flags with equery. Ted Miller > It will show you what USE flags it will build with because of the -v. If > you are not sure what they are, just do a euse -i <flag_name> and see > what it says. Some make sense but some don't. > > I'm sure it is documented somewhere but I have just learned the steps in > doing things over the years. Most of them the hard way but learned them > still. > > Glad you got it working tho. It was all I could think of that would keep > it from it. > > Dale > > :-) :-) > > > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] tif libraries being ignored 2009-01-12 12:12 ` Ted Miller @ 2009-01-12 18:39 ` Dale 0 siblings, 0 replies; 9+ messages in thread From: Dale @ 2009-01-12 18:39 UTC (permalink / raw To: gentoo-user Ted Miller wrote: > Dale wrote: >> Ted Miller wrote: >> > Yes, I missed that, and it did the trick (after re-emerging 11 >> > packages, including kde-libs). >> > >> > Where was it hidden, that I missed it? Or is it just one of those >> > things "you have to learn"? Seems like the tif package should add it, >> > or tell me to consider adding it, when the package is installed. >> >> >> Since you are new to Gentoo, use the -v and either -a or -p first. > What command do I use those with -- emerge, euse? So far I learned > about flags with equery. > > Ted Miller That would be emerge. Sorry. Should have been more clear on that. Should look something like this: root@smoker / # emerge -pv gimp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-gfx/gimp-2.4.6 USE="alsa curl dbus exif hal mmx pdf png python sse svg tiff wmf -aalib (-altivec) -debug -doc -gnome -gtkhtml -lcms -mng -smp" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB root@smoker / # You may want to consider using a profile that is most closely to what you are doing. I think eselect is what most folks use to set theirs. I do mine manually but may as well learn the right way while you are learning. There are a few of them but desktop may be the one you want. It has a lot of USE flags already enabled. Dale :-) :-) ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] tif libraries being ignored 2009-01-12 4:29 ` Ted Miller 2009-01-12 4:56 ` Dale @ 2009-01-12 5:03 ` Shawn Haggett 2009-01-12 12:53 ` Ted Miller 1 sibling, 1 reply; 9+ messages in thread From: Shawn Haggett @ 2009-01-12 5:03 UTC (permalink / raw To: gentoo-user On Mon, 12 Jan 2009 02:59:47 pm Ted Miller wrote: > Dale wrote: > > Ted Miller wrote: > > [snip] > > > > > Things work pretty well EXCEPT that the KDE based applications cannot > > > handle *.tif files. I have the media-libs/tiff package emerged, but > > > for some reason the KDE subsystem does not seem to be using it. > > > I have run > > > emerge --update --deep --newuse world > > > revdep-rebuild > > > with no improvement > > > > > > Any insight into what I need to do to get this working will be greatly > > > appreciated. Please be explicit (or include links to documentation) > > > if I have to do anything unusual, but I will be glad to send any > > > needed information to help you diagnose my problem. > > > > > > Ted Miller > > > Indiana, USA > > > > I would assume you have tiff in your USE line in make.conf? > > [snip] > > > Just in case you missed that little detail. ;-) > > Yes, I missed that, and it did the trick (after re-emerging 11 packages, > including kde-libs). > > Where was it hidden, that I missed it? Or is it just one of those things > "you have to learn"? Seems like the tif package should add it, or tell me > to consider adding it, when the package is installed. > > Ted Miller Have a look at the documentation about USE flags. It's part of the Gentoo Handbook, in the section about working with Gentoo: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2 Because you had the tiff flag turned off, Gentoo assumed you didn't want all those packages on your system to be linked against the tiff libraries (for whatever various reason). Therefore even though you installed the libraries, the packages themselves hadn't linked against them. You might want to check your use flags for other media related flags, depending on which file formats you'll be using (off the top of my head there are a couple of flags for various picture formats). And welcome to Gentoo! :) Shawn ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] tif libraries being ignored 2009-01-12 5:03 ` Shawn Haggett @ 2009-01-12 12:53 ` Ted Miller 2009-01-12 13:18 ` [gentoo-user] " »Q« 0 siblings, 1 reply; 9+ messages in thread From: Ted Miller @ 2009-01-12 12:53 UTC (permalink / raw To: gentoo-user Shawn Haggett wrote: > On Mon, 12 Jan 2009 02:59:47 pm Ted Miller wrote: >> Dale wrote: >>> Ted Miller wrote: >>> [snip] >>> >>>> Things work pretty well EXCEPT that the KDE based applications cannot >>>> handle *.tif files. I have the media-libs/tiff package emerged, but >>>> for some reason the KDE subsystem does not seem to be using it. >>>> I have run >>>> emerge --update --deep --newuse world >>>> revdep-rebuild >>>> with no improvement >>>> >>>> Any insight into what I need to do to get this working will be greatly >>>> appreciated. Please be explicit (or include links to documentation) >>>> if I have to do anything unusual, but I will be glad to send any >>>> needed information to help you diagnose my problem. >>>> >>>> Ted Miller >>>> Indiana, USA >>> I would assume you have tiff in your USE line in make.conf? >> [snip] >> >>> Just in case you missed that little detail. ;-) >> Yes, I missed that, and it did the trick (after re-emerging 11 packages, >> including kde-libs). >> >> Where was it hidden, that I missed it? Or is it just one of those things >> "you have to learn"? Seems like the tif package should add it, or tell me >> to consider adding it, when the package is installed. >> >> Ted Miller > > Have a look at the documentation about USE flags. It's part of the Gentoo > Handbook, in the section about working with Gentoo: > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2 I found that, and think I understand how it works, having had to put in several flags to get things working already. However, most of what I have done so far has been in response to messages like (roughly): "Sorry, I can't compile Package A unless Package B is compiled with the XYZ flag. Please set flag, recompile B, then recompile A." > Because you had the tiff flag turned off, Gentoo assumed you didn't want all > those packages on your system to be linked against the tiff libraries (for > whatever various reason). Therefore even though you installed the libraries, > the packages themselves hadn't linked against them. As a new user, what I need to know is: How do I find out that there is such a thing as a 'tiff' flag? I could just as easily have checked for a 'tif' flag, and not known that it was 'tiff'. Nothing told me that installing the library didn't do anything until I set the related flag. Seems like either: 1. The library should set the flag itself (which not everyone wants to happen, as they may only want it for one package, not all) or 2. There should be a message after the emerge, kind of like the one that says (roughly) "You have 3 configuration files in /etc which need attention" or 3. There should be a list somewhere that is automatically maintained that says something like: "You have installed packages related to these flags. To get full benefit from these packages, consider adding these flags to either make.conf or to the make instructions for individual packages", and then list all the flags, maybe one package to a line, with that package's flags listed on the line after that package name, kind of like qt-3: qt3 qt-4: qt4 > You might want to check your use flags for other media related flags, > depending on which file formats you'll be using (off the top of my head there > are a couple of flags for various picture formats). Currently my make.conf contains: USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr hal exif -ipv6 X samba openexr tiff", but I wonder what else is missing, and how do I find out? I just ran 'equery uses gimp' and find flags like dbus lcms mmx mng pdf png sse svg and wmf that MAYBE I should set. And how do I figure out which are gimp-only and which are widely used flags, and exactly what they do, without running 'equery hasuse dbus' for each flag on that list? slightly confused, Ted Miller > Shawn ^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: tif libraries being ignored 2009-01-12 12:53 ` Ted Miller @ 2009-01-12 13:18 ` »Q« 0 siblings, 0 replies; 9+ messages in thread From: »Q« @ 2009-01-12 13:18 UTC (permalink / raw To: gentoo-user In <496B3D63.3040700@yahoo.com>, Ted Miller <limaohio123-CompMailLists@yahoo.com> wrote: > As a new user, what I need to know is: How do I find out that there > is such a thing as a 'tiff' flag? I could just as easily have > checked for a 'tif' flag, and not known that it was 'tiff'. Nothing > told me that installing the library didn't do anything until I set > the related flag. There are use flag editors which will display entire list of flags (along with their descriptions) and let you select or deselect the ones you want. I use ufed, but there are some others in portage. One approach is to go through the list once (there are a lot of them) and at least select the ones you're sure you want. Then if ever some feature you wanted doesn't seem to be in place for a package, check its use flags. -- »Q« Kleeneness is next to Gödelness. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-01-12 18:39 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-01-11 21:54 [gentoo-user] tif libraries being ignored Ted Miller 2009-01-11 22:15 ` Dale 2009-01-12 4:29 ` Ted Miller 2009-01-12 4:56 ` Dale 2009-01-12 12:12 ` Ted Miller 2009-01-12 18:39 ` Dale 2009-01-12 5:03 ` Shawn Haggett 2009-01-12 12:53 ` Ted Miller 2009-01-12 13:18 ` [gentoo-user] " »Q«
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox