Re: [gtk-osx-users] Building on PPC fails



On Jan 18, 2013, at 10:22 PM, Steffen Gutmann <muibase yahoo com> wrote:

> The saga continues...
> 
>>>>> Ok, any hint on how such a module could look like?
>>> 
>>>> 
>>>> IIRC, cups has no other dependencies, so I'd think it would be just
>>>>     <repository type="tarball" 
>>>> href="http://www.cups.org/"; />
>>>>     <autotools id='cups' autogen-sh="configure">
>>>>         <branch 
>>>> 
>> module="software.php?VERSION=1.6.1&FILE=1.6.1/cups-1.6.1-source.tar.bz2" 
>> 
>>>> version="1.6.1" />
>>>>     </autotools>
>>> 
>>> 
>>> I have tried adding this into a cups.modules file under 
>> ~/Source/jhbuild/modulesets and then running
>>> 'jhbuild build cups' but that's not quite it.  Do you have a 
>> pointer on how to write a modules file?  How does jhbuild know the items it can 
>> build?
>> 
>> http://developer.gnome.org/jhbuild/unstable/moduleset-syntax.html.en
>> 
>> Jhbuild builds everything that is either included in the "modules" 
>> variable (which can also be passed in the --modules argument) or a dependency of 
>> one of those.
> 
> 
> Ok, I have added the following file as ~/Source/jhbuild/modulesets/cups.modules
> 
> <?xml version="1.0"?>
> <!DOCTYPE moduleset SYSTEM "moduleset.dtd">
> <?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
> <moduleset>
> 
>  <repository type="tarball" name="cups" href="http://www.cups.org/"; />
>     <autotools id='cups' autogen-sh="configure">
>         <branch repo="cups" module="software.php?FILE=1.6.1/cups-1.6.1.tar.bz2" version="1.6.1"/>
>     </autotools>
> 
> </moduleset>
> 
> and included it in ~/Source/jhbuild/modulesets/gtk-osx.modules
> 
> I can then run 
> 
> jhbuild -m ~/Source/jhbuild/modulesets/gtk-osx.modules build cups
> 
> 
> which doesn't really work (jhbuild complains about the '?' or '=' character) but after downloading cups by hand and extracting it, the above line succeeds. 
> 
> Unfortunately, there is also an error here:
> 
> Compiling dest.c...
> dest.c: In function ‘cupsEnumDests’:
> dest.c:967: error: ‘kDNSServiceFlagsShareConnection’ undeclared (first use in this function)
> dest.c:967: error: (Each undeclared identifier is reported only once
> dest.c:967: error: for each function it appears in.)
> make[1]: *** [dest.o] Error 1
> make: *** [all] Error 1
> 
> I haven't looked into this further.  Have you been able to compile cups for Tiger?

Not surprising, I guess, since there's a note about newer Cups versions being incompatible with older versions of OSX. The minimum Cups requirement is, IIRC, 1.4.0. Try 1.4.8, the last release in that series.
By following the "older releases" link on the Cups download page I found a URL that won't choke jhbuild:
http://ftp.easysw.com/pub/cups/1.4.8/cups-1.4.8-source.tar.bz2

Regards,
John Ralls




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]