I was trying to fix the libintl.3.xxx linking problem described in the macports.org Problem Hotlist. I uninstalled and clean everything that depended on getext, and then begin putting things back. All was well until I tried to install fontconfig (see below). fontconfig's dependencies, expat and freetype, are installed and up to date. What should I try next? ---> Fetching fontconfig ---> Verifying checksum(s) for fontconfig ---> Extracting fontconfig ---> Configuring fontconfig ---> Building fontconfig with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_fontconfig/work/fontconfig-2.4.2" && make all" returned error 2 Command output: fcaliastail.h:508:2: #endif without #if fcaliastail.h:510: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:511:2: #endif without #if fcaliastail.h:513: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:514:2: #endif without #if fcaliastail.h:516: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:517:2: #endif without #if fcaliastail.h:519: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:520:2: #endif without #if fcaliastail.h:522: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:523:2: #endif without #if fcaliastail.h:525: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:526:2: #endif without #if fcaliastail.h:528: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:529:2: #endif without #if fcaliastail.h:531: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:532:2: #endif without #if fcaliastail.h:534: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:535:2: #endif without #if fcaliastail.h:537: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:538:2: #endif without #if fcaliastail.h:540: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:541:2: #endif without #if fcaliastail.h:543: warning: alias definitions not supported in this configuration; ignored fcaliastail.h:544:2: #endif without #if fcaliastail.h:545:2: #endif without #if make[3]: *** [fcatomic.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
On Jan 27, 2007, at 19:44, Ed Ravin wrote:
I was trying to fix the libintl.3.xxx linking problem described in the macports.org Problem Hotlist. I uninstalled and clean everything that depended on getext, and then begin putting things back. All was well until I tried to install fontconfig (see below). fontconfig's dependencies, expat and freetype, are installed and up to date. What should I try next?
---> Fetching fontconfig ---> Verifying checksum(s) for fontconfig ---> Extracting fontconfig ---> Configuring fontconfig ---> Building fontconfig with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_graphics_fontconfig/work/fontconfig-2.4.2" && make all" returned error 2 Command output: fcaliastail.h:508:2: #endif without #if fcaliastail.h:510: warning: alias definitions not supported in this configuration; ignored
[snip] I updated fontconfig to 2.4.2 recently because the port was unmaintained. I did not experience those same problems when updating my installation, and I don't know what it means. What version of Mac OS X are you on? Are you up to date with all system updates? If not, install all updates. (Select Software Update from the Apple menu.) What version of Xcode is installed? If it's not the latest, 2.4.1, then install 2.4.1. (Get it from http://developer.apple.com/ ) What version of gcc is selected? (Type "gcc --version") If you're on 10.4.x, is it gcc 4.0.1? If not, select it. (Type "sudo gcc_select 4")
On Sat, Jan 27, 2007 at 09:08:01PM -0600, Ryan Schmidt wrote: [snip]
I updated fontconfig to 2.4.2 recently because the port was unmaintained. I did not experience those same problems when updating my installation, and I don't know what it means.
What version of Mac OS X are you on? Are you up to date with all system updates? If not, install all updates. (Select Software Update from the Apple menu.)
10.3.9. Yes, I'm up to date, at least as far as Panther goes.
What version of Xcode is installed? If it's not the latest, 2.4.1, then install 2.4.1. (Get it from http://developer.apple.com/ )
"Xcode Tools 1.5 Release for Mac OS X version 10.3 (Panther)". That seems to be up to date too - the 2.x series requires Tiger.
What version of gcc is selected? (Type "gcc --version") If you're on 10.4.x, is it gcc 4.0.1? If not, select it. (Type "sudo gcc_select 4")
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666) In Panther-land, gcc_select seems to be limited to one of [2 | 3 | 3.x]. Is there some way to load the older version of fontconfig that used to compile on my Mac? Thanks, -- Ed
On Jan 27, 2007, at 21:58, Ed Ravin wrote:
On Sat, Jan 27, 2007 at 09:08:01PM -0600, Ryan Schmidt wrote:
What version of Mac OS X are you on? Are you up to date with all system updates? If not, install all updates. (Select Software Update from the Apple menu.)
10.3.9. Yes, I'm up to date, at least as far as Panther goes.
What version of Xcode is installed? If it's not the latest, 2.4.1, then install 2.4.1. (Get it from http://developer.apple.com/ )
"Xcode Tools 1.5 Release for Mac OS X version 10.3 (Panther)". That seems to be up to date too - the 2.x series requires Tiger.
Sorry, yes, you're right.
What version of gcc is selected? (Type "gcc --version") If you're on 10.4.x, is it gcc 4.0.1? If not, select it. (Type "sudo gcc_select 4")
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666)
In Panther-land, gcc_select seems to be limited to one of [2 | 3 | 3.x].
Right. gcc 3.3 is the latest for Panther.
Is there some way to load the older version of fontconfig that used to compile on my Mac?
Yes, you can replace the fontconfig portfile with any of the previous versions which can be found here: http://trac.macports.org/projects/macports/log/trunk/dports/graphics/ fontconfig/Portfile To discover where the local version of the file is on your system, type "port file fontconfig" However, we need to discover if there is a real problem with the fontconfig 2.4.2 portfile, and if so, we need to fix it. Has anybody else been able to successfully compile fontconfig 2.4.2 on Mac OS X 10.3.9? Has anybody else experienced the same problems as Ed?
On Sat, Jan 27, 2007 at 10:16:11PM -0600, Ryan Schmidt wrote: ...
Is there some way to load the older version of fontconfig that used to compile on my Mac?
Yes, you can replace the fontconfig portfile with any of the previous versions which can be found here:
http://trac.macports.org/projects/macports/log/trunk/dports/graphics/ fontconfig/Portfile
Thank you, I rolled back to 2.3.2 (the above Portfile, revision 19139), which built fontconfig 2.3.2_2+macosx, and it installed successfully. But the program I wanted to reinstall, gqview, also wants gtk2, which wants Pango, and I got this error message: *** Pango not found. Pango built with Cairo support is required *** to build GTK+. See http://www.pango.org for Pango information. # port installed pango The following ports are currently installed: pango @1.14.9_0 (active) This is odd, because port installed Cairo before installing Pango. So I removed Pango and re-ran the command, and then I got a different gtk2 error message (see below). I'm giving up for tonight. BTW, in case anyone asks, I did run "port selfupdate" a while ago, before I started this thread. Command output: gtkprintbackendcups.c:2317: error: request for member `num_groups' in something not a structure or union gtkprintbackendcups.c:2318: error: request for member `groups' in something not a structure or union gtkprintbackendcups.c: At top level: gtkprintbackendcups.c:2328: error: parse error before "ppd_file_t" gtkprintbackendcups.c:2328: warning: no semicolon at end of struct or union gtkprintbackendcups.c: In function `foreach_option_get_settings': gtkprintbackendcups.c:2571: error: dereferencing pointer to incomplete type gtkprintbackendcups.c: In function `cups_printer_get_settings_from_options': gtkprintbackendcups.c:2623: error: storage size of `data' isn't known gtkprintbackendcups.c: In function `cups_printer_list_papers': gtkprintbackendcups.c:2719: error: `ppd_file_t' undeclared (first use in this function) gtkprintbackendcups.c:2720: error: `ppd_size_t' undeclared (first use in this function) gtkprintbackendcups.c:2720: error: `size' undeclared (first use in this function) gtkprintbackendcups.c:2724: error: `ppd_option_t' undeclared (first use in this function) gtkprintbackendcups.c:2724: error: `option' undeclared (first use in this function) gtkprintbackendcups.c:2725: error: `ppd_choice_t' undeclared (first use in this function) gtkprintbackendcups.c:2725: error: `choice' undeclared (first use in this function) gtkprintbackendcups.c:2735: error: request for member `num_sizes' in something not a structure or union gtkprintbackendcups.c:2737: error: request for member `sizes' in something not a structure or union gtkprintbackendcups.c: In function `cups_printer_get_hard_margins': gtkprintbackendcups.c:2778: error: `ppd_file_t' undeclared (first use in this function) gtkprintbackendcups.c:2784: error: request for member `custom_margins' in something not a structure or union gtkprintbackendcups.c:2785: error: request for member `custom_margins' in something not a structure or union gtkprintbackendcups.c:2786: error: request for member `custom_margins' in something not a structure or union gtkprintbackendcups.c:2787: error: request for member `custom_margins' in something not a structure or union 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 Do I need to start reverting more Portfiles?
OK, I installed cups-headers, which had been installed earlier but I had removed during housecleaning since a previous version of gtk had warned that having it installed might confuse the build. Apparently it's the other way around now, and after I installed cups-headers, gtk built successfully. Perhaps the dependencies need adjustment somewhere. Ryan, thanks again for your help! -- Ed On Sun, Jan 28, 2007 at 01:05:50AM -0500, Ed Ravin wrote:
Command output: gtkprintbackendcups.c:2317: error: request for member `num_groups' in something not a structure or union gtkprintbackendcups.c:2318: error: request for member `groups' in something not a structure or union gtkprintbackendcups.c: At top level: gtkprintbackendcups.c:2328: error: parse error before "ppd_file_t" gtkprintbackendcups.c:2328: warning: no semicolon at end of struct or union gtkprintbackendcups.c: In function `foreach_option_get_settings': gtkprintbackendcups.c:2571: error: dereferencing pointer to incomplete type gtkprintbackendcups.c: In function `cups_printer_get_settings_from_options': gtkprintbackendcups.c:2623: error: storage size of `data' isn't known gtkprintbackendcups.c: In function `cups_printer_list_papers': [...]
On Jan 28, 2007, at 00:05, Ed Ravin wrote:
On Sat, Jan 27, 2007 at 10:16:11PM -0600, Ryan Schmidt wrote: ...
Is there some way to load the older version of fontconfig that used to compile on my Mac?
Yes, you can replace the fontconfig portfile with any of the previous versions which can be found here:
http://trac.macports.org/projects/macports/log/trunk/dports/graphics/ fontconfig/Portfile
Thank you, I rolled back to 2.3.2 (the above Portfile, revision 19139), which built fontconfig 2.3.2_2+macosx, and it installed successfully.
But the program I wanted to reinstall, gqview, also wants gtk2, which wants Pango, and I got this error message:
*** Pango not found. Pango built with Cairo support is required *** to build GTK+. See http://www.pango.org for Pango information.
# port installed pango The following ports are currently installed: pango @1.14.9_0 (active)
This is odd, because port installed Cairo before installing Pango.
Well, it's expected that cairo would install before pango, because pango claims cairo as a dependency. Cairo does not make use of pango, but if pango detects cairo, it will build the pangocairo library, a.k.a. "Pango built with Cairo support."
So I removed Pango and re-ran the command, and then I got a different gtk2 error message (see below). I'm giving up for tonight.
So hopefully after you removed pango and tried again, it installed cairo (if it wasn't there already) and then installed pango with cairo support.
BTW, in case anyone asks, I did run "port selfupdate" a while ago, before I started this thread.
Command output: gtkprintbackendcups.c:2317: error: request for member `num_groups' in something not a structure or union gtkprintbackendcups.c:2318: error: request for member `groups' in something not a structure or union gtkprintbackendcups.c: At top level: gtkprintbackendcups.c:2328: error: parse error before "ppd_file_t" gtkprintbackendcups.c:2328: warning: no semicolon at end of struct or union gtkprintbackendcups.c: In function `foreach_option_get_settings': gtkprintbackendcups.c:2571: error: dereferencing pointer to incomplete type gtkprintbackendcups.c: In function `cups_printer_get_settings_from_options': gtkprintbackendcups.c:2623: error: storage size of `data' isn't known gtkprintbackendcups.c: In function `cups_printer_list_papers': gtkprintbackendcups.c:2719: error: `ppd_file_t' undeclared (first use in this function) gtkprintbackendcups.c:2720: error: `ppd_size_t' undeclared (first use in this function) gtkprintbackendcups.c:2720: error: `size' undeclared (first use in this function) gtkprintbackendcups.c:2724: error: `ppd_option_t' undeclared (first use in this function) gtkprintbackendcups.c:2724: error: `option' undeclared (first use in this function) gtkprintbackendcups.c:2725: error: `ppd_choice_t' undeclared (first use in this function) gtkprintbackendcups.c:2725: error: `choice' undeclared (first use in this function) gtkprintbackendcups.c:2735: error: request for member `num_sizes' in something not a structure or union gtkprintbackendcups.c:2737: error: request for member `sizes' in something not a structure or union gtkprintbackendcups.c: In function `cups_printer_get_hard_margins': gtkprintbackendcups.c:2778: error: `ppd_file_t' undeclared (first use in this function) gtkprintbackendcups.c:2784: error: request for member `custom_margins' in something not a structure or union gtkprintbackendcups.c:2785: error: request for member `custom_margins' in something not a structure or union gtkprintbackendcups.c:2786: error: request for member `custom_margins' in something not a structure or union gtkprintbackendcups.c:2787: error: request for member `custom_margins' in something not a structure or union 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
I don't know what that's about. I see one other occurrence of this problem reported: http://lists.macosforge.org/pipermail/macports-users/2006-September/ 000022.html The only solution mentioned in that thread is to use gtk 2.8 instead of gtk 2.10. There is a gtk28 port for that purpose. However, other ports are likely to depend on the gtk2 port, not the gtk28 port, making it rather difficult to install other software that depends on gtk2. Perhaps this is actually a problem with gtk 2.10 (a bug with the actual gtk software, I mean, not with the gtk2 MacPorts port). I looked in the gtk bug tracker [1] and didn't see this problem reported there, so maybe you should report the problem there. Be sure to mention what version of gcc and Mac OS X you are using. Perhaps this is a problem that they can fix.
Do I need to start reverting more Portfiles?
You could revert the gtk2 portfile to a port when it was a 2.8 version, to get you going here. But that's not a long-term solution. Long-term, we need to figure out what the problem is and correct the current version of these portfiles so others do not experience these problems. [1] http://bugzilla.gnome.org/
On Jan 28, 2007, at 00:54, Ed Ravin wrote:
On Sun, Jan 28, 2007 at 01:05:50AM -0500, Ed Ravin wrote:
Command output: gtkprintbackendcups.c:2317: error: request for member `num_groups' in something not a structure or union gtkprintbackendcups.c:2318: error: request for member `groups' in something not a structure or union gtkprintbackendcups.c: At top level: gtkprintbackendcups.c:2328: error: parse error before "ppd_file_t" gtkprintbackendcups.c:2328: warning: no semicolon at end of struct or union gtkprintbackendcups.c: In function `foreach_option_get_settings': gtkprintbackendcups.c:2571: error: dereferencing pointer to incomplete type gtkprintbackendcups.c: In function `cups_printer_get_settings_from_options': gtkprintbackendcups.c:2623: error: storage size of `data' isn't known gtkprintbackendcups.c: In function `cups_printer_list_papers':
OK, I installed cups-headers, which had been installed earlier but I had removed during housecleaning since a previous version of gtk had warned that having it installed might confuse the build. Apparently it's the other way around now, and after I installed cups-headers, gtk built successfully. Perhaps the dependencies need adjustment somewhere.
Ah! Thanks for discovering that. Ok, so gtk2 should depend on cups- headers, at least on darwin 7 (a.k.a. Mac OS X 10.3.x). (cups-headers does nothing on earlier or later Mac OS X versions.) Jim, can you add that dependency?
participants (2)
-
Ed Ravin
-
Ryan Schmidt