I could try messing with it (since I already stepped in ghostscript).

On Fri, 3 Aug 2012, Alexander Hansen wrote:

> On 8/2/12 3:00 PM, Donovan Artz wrote:
>> I'm trying to install ghostscript-eps 8.71-5 from source on a fresh install 
>> of fink 0.34.1 and a fresh install of mountain lion.  I am getting a 
>> conflict with the printf macro during the build process, as the following 
>> compile command results in 4 errors of the same nature:
>>
>>
>> gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 
>> -I/sw/lib/fontconfig2/include -I/sw/include  -Wall -Wstrict-prototypes 
>> -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
>> -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
>> -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -I/sw/include 
>> -DUSE_LIBICONV_GNU -DUSE_LIBPAPER  -I./obj -I./base  -I/sw/include 
>> -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -o ./obj/gdevcups.o -c cups/gdevcups.c
>> In file included from cups/gdevcups.c:74:
>> In file included from /usr/include/cups/raster.h:27:
>> In file included from /usr/include/cups/cups.h:34:
>> In file included from /usr/include/dispatch/dispatch.h:50:
>> /usr/include/dispatch/object.h:122:27: error: expected ')'
>> __attribute__((__format__(printf,2,3)))
>>                           ^
>> ./base/gsio.h:47:24: note: expanded from macro 'printf'
>> #define printf Function._printf_.unavailable
>>                        ^
>>
>> Not sure how, but fink decided to use the system cups headers:
>> $ fink list | grep -i cups
>>  i   cups-dev        1.0600-1        [virtual package representing CUPS 
>> headers]
>>      ghostscript-esp 8.71-5  Ghostscript with better CJK and cups support
>>      libgnomecups-dev        0.2.3-9 The GNOME cups library
>>      libgnomecups-shlibs     0.2.3-9 The GNOME cups library
>>  p   system-cups-dev         [virtual package]
>>
>>
>>
>> Any ideas on how to stop ghostscript's printf conflicting with the system's 
>> cups headers?
>>
>> Thank you!
>> -Donovan
>
> It looks like it's _supposed_ to be using the system's cups headers:
>
> $ fink show-deps ghostscript-esp
> Package: ghostscript-esp (8.71-5)
> To install the compiled package...
>
> ...
>
> To compile this package from source...
>  The following packages are also compiled at the same time:
>    [none]
>  The following other packages (and their dependencies) must be installed:
>    appleotffonts (>= 0.1-11)
>    applesystemfonts (>= 1.1-2)
>    cups-dev
> ...
>
> However, the headers from Mountain Lion appear not to be compatible with
> those from Lion and earlier, so the package needs to be updated.
>

-- 
Hisashi T Fujinaka - ht...@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to