Hello Ryan, Thanks very much for your thoughtful help. I really cannot fix the problem until I get a duplicate Mac OS DVD (I work out-of-state from my home and don't want my original to leave my home). I did not realize that cups is so finicky, and that the Mac OS dmg images from the cups website were so incompatible with my system. As for X11, I just wanted to tell you that contrary to what you thought was probable, I had installed the Mac OS X11 first, and then the macports version. I had some incompatibilities between the macports version of xemacs and Mac OS X11. Once I get the Mac OS DVD, I will follow your advice, by cleaning the Mac OS X11 off and reinstalling the macports version. One big annoyance is that it is very difficult to uninstall 3rd party software. I have learned my lesson: I will avoid it as much as possible. Daniel Wolk - Hide quoted text - On 5/11/07, Ryan Schmidt <ryandesign@macports.org> wrote:
On May 11, 2007, at 09:09, Daniel Wolk wrote:
On 5/6/07, Daniel Wolk wrote:
On 5/6/07, Ryan Schmidt wrote:
On May 6, 2007, at 20:26, Daniel Wolk wrote:
I tried installing gtk2 with the following command:
port -v install gtk2
It errored out with the following:
gtkprintbackendcups.c: In function 'create_pickone_option': gtkprintbackendcups.c:1859: error: 'ppd_coption_t' undeclared (first use in this function) gtkprintbackendcups.c:1859: error: (Each undeclared identifier is reported only once gtkprintbackendcups.c:1859: error: for each function it appears in.) gtkprintbackendcups.c:1859: error: 'coption' undeclared (first use in this function) gtkprintbackendcups.c:1881: error: 'ppd_cparam_t' undeclared (first use in this function) gtkprintbackendcups.c:1881: error: 'cparam' undeclared (first use in this function) gtkprintbackendcups.c:1885: warning: comparison between pointer and integer gtkprintbackendcups.c:1889: error: 'PPD_CUSTOM_INT' undeclared (first use in this function) gtkprintbackendcups.c:1893: error: 'PPD_CUSTOM_PASSCODE' undeclared (first use in this function) gtkprintbackendcups.c:1897: error: 'PPD_CUSTOM_PASSWORD' undeclared (first use in this function) gtkprintbackendcups.c:1901: error: 'PPD_CUSTOM_REAL' undeclared (first use in this function) gtkprintbackendcups.c:1905: error: 'PPD_CUSTOM_STRING' undeclared (first use in this function) gtkprintbackendcups.c:1909: error: 'PPD_CUSTOM_POINTS' undeclared (first use in this function) gtkprintbackendcups.c:1912: error: 'PPD_CUSTOM_CURVE' undeclared (first use in this function) gtkprintbackendcups.c:1915: error: 'PPD_CUSTOM_INVCURVE' undeclared (first use in this function) make[4]: *** [gtkprintbackendcups.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Warning: the following items did not execute (for gtk2): com.apple.activate com.apple.build com.apple.destroot com.apple.install Error: Status 1 encountered during processing.
....
Any ideas?
Need more info...
- What machine are you running this on? - What version of Mac OS X are you using? - Have you installed all Apple software updates for your OS? - Do you have the latest Xcode? (2.4.1 for Mac OS X 10.4.9, 1.5 for 10.3.9) - Do you also have Fink installed? (That's been causing problems for others lately so now I'm asking it up front.)
1) iBook G4 (1.42 GHz PowerPC G4 with 768 MB DDR SDRAM) 2) 10.4.9 3) Yes, I have installed all the Apple software updates 4) Yes, xcode 2.4.1, but I installed it just a few days ago, when I started having problems 5) No, I do not have Fink installed.
I started having problems a few days ago (before upgrading XCode) when I tried:
port -vu upgrade outdated
I did have the MacOs version of X11 simulataneously with the macports version of xdarwin. I upgraded the latter and move /usr/X11R6 to /usr/X11R6.apple first. 4)
I was just wondering if you made any progress on this problem. I am not a developer, but it seems to me that it is just a matter of figuring out what dynamic library "owns" the functions "create_pikone_option", "ppd_coption_t", etc. Either my system is missing that package, or somehow the config process is picking up the wrong version of it. I don't know how to find that package on the Mac. I really cannot think of anything I may have done wrong. I installed cups from a dmg image (I don't know how else to do it). Could it be that those cups-related functions are in a place where the compilation driven by MacPorts can't find it?
Please let me know if there is any other information I should send to you.
Without gtk2, there are many applications I cannot use.
Hi again, Daniel. I'm Cc'ing the mailing list again on this reply. Let's keep the discussion there so others can participate too.
MacPorts does not look for libraries that were not installed with MacPorts. So MacPorts should not be making use of the CUPS you installed separately. That is, at least, the intention, for reasons explained in the FAQ:
http://trac.macosforge.org/projects/macports/wiki/ FAQ#WhyisMacPortsusingitsownlibraries
However, it is possible that MacPorts is inadvertently picking up your rogue CUPS and that it is incomplete in some way and is throwing things off. Finally, Mac OS X already includes CUPS. So please uninstall the CUPS you installed separately and try again.
Is there anything else you have manually installed like this? Perhaps it's conflicting with things too. MacPorts is intended to handle all your 3rd-party software installation needs. If it doesn't meet all your needs, for example because some port is missing, let use know and maybe we can add it.
I was also confused how you were able to have Apple's X11 and MacPorts' XFree86 at the same time. That's not supposed to be possible. If you already have Apple's X11 installed, attempting to install the XFreeX86 port should fail and complain that bits are already there. So presumably you installed the MacPorts XFree86, then Apple's X11 on top, which happily replaced the MacPorts files. I would recommend you clean this up: "sudo port -f uninstall XFree86" to get rid of the MacPorts component, then "sudo rm -rf /usr/X11R6 / Applications/Utilities/X11.app /Library/Receipts/X11SDK.pkg /Library/ Receipts/X11Update2006.pkg /Library/Receipts/X11User.pkg" to get rid of any remaining parts of the Apple component, then install either one or the other, as you wish: Either install X11User.pkg from the Mac OS X DVD and X11SDK.pkg from the Xcode disk image, OR install XFree86 from MacPorts. Don't attempt to do both at the same time. I personally have had great success with Apple's X11. YMMV.
On May 13, 2007, at 12:31, Daniel Wolk wrote:
On 5/11/07, Ryan Schmidt <ryandesign@macports.org> wrote:
MacPorts does not look for libraries that were not installed with MacPorts. So MacPorts should not be making use of the CUPS you installed separately. That is, at least, the intention, for reasons explained in the FAQ:
http://trac.macosforge.org/projects/macports/wiki/ FAQ#WhyisMacPortsusingitsownlibraries
However, it is possible that MacPorts is inadvertently picking up your rogue CUPS and that it is incomplete in some way and is throwing things off. Finally, Mac OS X already includes CUPS. So please uninstall the CUPS you installed separately and try again.
Is there anything else you have manually installed like this? Perhaps it's conflicting with things too. MacPorts is intended to handle all your 3rd-party software installation needs. If it doesn't meet all your needs, for example because some port is missing, let use know and maybe we can add it.
I was also confused how you were able to have Apple's X11 and MacPorts' XFree86 at the same time. That's not supposed to be possible. If you already have Apple's X11 installed, attempting to install the XFreeX86 port should fail and complain that bits are already there. So presumably you installed the MacPorts XFree86, then Apple's X11 on top, which happily replaced the MacPorts files. I would recommend you clean this up: "sudo port -f uninstall XFree86" to get rid of the MacPorts component, then "sudo rm -rf /usr/X11R6 / Applications/Utilities/X11.app /Library/Receipts/X11SDK.pkg /Library/ Receipts/X11Update2006.pkg /Library/Receipts/X11User.pkg" to get rid of any remaining parts of the Apple component, then install either one or the other, as you wish: Either install X11User.pkg from the Mac OS X DVD and X11SDK.pkg from the Xcode disk image, OR install XFree86 from MacPorts. Don't attempt to do both at the same time. I personally have had great success with Apple's X11. YMMV.
Thanks very much for your thoughtful help. I really cannot fix the problem until I get a duplicate Mac OS DVD (I work out-of-state from my home and don't want my original to leave my home). I did not realize that cups is so finicky, and that the Mac OS dmg images from the cups website were so incompatible with my system.
I actually have no experience with CUPS, and I'm not familiar with the version you got from the CUPS web site. I was merely under the impression that it already came with Mac OS X.
As for X11, I just wanted to tell you that contrary to what you thought was probable, I had installed the Mac OS X11 first, and then the macports version. I had some incompatibilities between the macports version of xemacs and Mac OS X11. Once I get the Mac OS DVD, I will follow your advice, by cleaning the Mac OS X11 off and reinstalling the macports version.
Then perhaps you used the -f option to force MacPorts to overwrite parts of the Apple X11 installation. Either way, as I said, they both are designed to go into the same place -- /usr/X11R6 -- so you should only have one installed at a time. Remove both, decide which one you want to have, then install only that one.
One big annoyance is that it is very difficult to uninstall 3rd party software. I have learned my lesson: I will avoid it as much as possible.
Depends on the software. Most applications are distributed as disk images from which you just drag the application to the Applications folder. To uninstall such applications, drag the application from the Applications folder to the Trash. For software installed using Apple's Installer, a pkg file will be left in /Library/Receipts. I thought there was a 3rd-party utility you can use to uninstall software based on its receipt, but I can't find it at the moment. At the very least, when you open the receipt (or the original installer package) in the Installer you can use the Show Files option in the File menu to see what files it would install. That way you know what items to manually remove from your hard disk. Note that files in the list are relative to the root into which the package installs, which may or may not be the root of the hard drive. To find the package's installation root, Control-click on the receipt (or the original installer package), choose Show Package Contents from the contextual menu, open the Contents folder, open the Info.plist file and look at the IFPkgFlagDefaultLocation field.
On May 13, 2007, at 10:31 AM, Daniel Wolk wrote:
I did not realize that cups is so finicky, and that the Mac OS dmg images from the cups website were so incompatible with my system.
CUPS comes as part of OS X, so I can't imagine why you installed another version. The finickiness you observe could be due to the two versions being incompatibly installed: I don't know if the ESP version installs everything in exactly the same place as the factory version. I have been using CUPS for quite some time (before it was part of OS X) and it's pretty solid. It might help to make a copy of your install DVD to keep with you.
One big annoyance is that it is very difficult to uninstall 3rd party software. I have learned my lesson: I will avoid it as much as possible.
I'm not sure that's the lesson to draw: I think getting your existing issues with X11/gtk2/CUPS resolved will go a long way to getting things right side up. I use *lots* of 3rd party stuff and don't see issues like this. -- Paul Beard words: http://paulbeard.org/wordpress pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem?
participants (3)
-
Daniel Wolk
-
paul beard
-
Ryan Schmidt