gcc-3.3 is ancient.  You should avoid using it.

Also, selecting a different compiler will not cause macros to magically appear 
in system headers.  The problem is that the project is using the availability 
macros, but those are not supposed to be used by third party projects.  Indeed, 
they only have meaning when used in system headers.  It doesn't make sense to 
add them to 3rd party headers because they just denote when something was added 
to the *system*.

I've commented as such in the gnome bug report and will give them a patch to 
address this immediate issue.


On Sep 3, 2012, at 10:11, M. Daniel Becque <[email protected]> wrote:

> I have Xcode 3.1.4 installed on my 10.5.8 PPC so I selected the GCC-3.3
> compiler as suggested. The build fails and I get the following in my log
> file.
> 
> :info:configure checking for gcc... /Developer/usr/bin/gcc-3.3
> :info:configure checking whether the C compiler works... no
> :info:configure configure: error: in
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gegl/gegl/work/gegl-0.2.0':
> :info:configure configure: error: C compiler cannot create executables
> :info:configure See `config.log' for more details
> :info:configure Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gegl/gegl/work/gegl-0.2.0"
> && ./configure --prefix=/opt/local --disable-docs --disable-silent-rules
> --enable-introspection=no --without-graphviz --without-vala
> --without-umfpack
> :info:configure Exit code: 77
> 
> When I looked in Xcode I don't see gcc-3.3 but I see gcc-4.0 and gcc-4.2.
> Thanks,
> dan
> 
> On Mon, Aug 27, 2012 at 2:00 PM, MacPorts <[email protected]> wrote:
> 
>> #35148: gegl 0.2.0_0 Syntax error before
>> 'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
>> 
>> -----------------------------+----------------------------------------------
>> Reporter:  jovo@…           |       Owner:  snc@…
>>     Type:  defect           |      Status:  new
>> Priority:  Normal           |   Milestone:
>> Component:  ports            |     Version:  2.1.1
>> Keywords:  tiger leopard    |        Port:  gegl
>> 
>> -----------------------------+----------------------------------------------
>> 
>> Comment(by myshlev@…):
>> 
>> Replying to [comment:20 sasoph@…]:
>>> 10.5.8 PPC, Xcode 3.1.4
>>> {{{
>>> In file included from ../../gegl/gegl.h:28,
>>>                 from ../../gegl/opencl/gegl-cl-color.h:4,
>>>                 from ../../gegl/opencl/gegl-cl.h:6,
>>>                 from gegl-buffer-cl-iterator.h:5,
>>>                 from gegl-buffer-private.h:27,
>>>                 from gegl-tile-backend.c:25:
>>> ../../gegl/property-types/gegl-color.h:110: error: syntax error before
>> 'unsigned'
>>> ../../gegl/property-types/gegl-color.h:121: error: syntax error before
>> 'unsigned'
>>> make[3]: *** [gegl-tile-backend.lo] Error 1
>> 
>> Please see my comment #6 here
>> https://bugzilla.gnome.org/show_bug.cgi?id=673969 (as stargood) On
>> Leopard
>> 10.5.8 PPC this error will go away if you switch your compiler to Apple
>> GCC 3.3 which is available in Xcode 3.1.4. The resulting gegl build seems
>> to be okay.
>> 
>> --
>> Ticket URL: <https://trac.macports.org/ticket/35148#comment:24>
>> MacPorts <http://www.macports.org/>
>> Ports system for Mac OS
>> 

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to