Re: [Fink-devel] build failure in lbggi2-2.0.1-1012

2008-05-02 Thread Alexander Hansen
Jean-François Mertens wrote:
>
> On 02 May 2008, at 21:08, Alexander Hansen wrote:
>
>> 10.5.2/PowerPC using Xcode 3.0
>>
>> This attempt was in a pangocairo-enabled tree, and I'm trying it in an
>> untainted one.  The failure is as follows:
>>
>> ...
>> mkdir .libs
>> gcc -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -o .libs/warp.dSYM
>> color.o dowarp.o main.o readpcx.o readtga.o  -L/sw/lib
>> ../../../ggi/.libs/libggi.dylib /sw/lib/libgii.dylib 
>> /sw/lib/libgg.dylib -lm
>> creating warp.dSYM
>> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include   -I/sw/include  -g
>> -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -c demo.c
>> In file included from demo.c:37:
>> /usr/include/stdlib.h:223: error: conflicting types for 'rand'
>> /usr/include/stdlib.h:175: error: previous declaration of 'rand' was 
>> here
>> ...
> The issue seems more related to 10.5 than to pangocairo.
> On 10.4 I can't reproduce this.
> A conflict within the same (so standard ..) header looks suspicious..
> (no ill-defined macros could be involved ?)
> Sorry have no 10.5 system to look at it.
>
> JF
I can confirm this on a non-pangocairo tree.  I figure it was probably 
an OS version issue, but I wasn't willing not to blame the pangocairo 
update. :-)

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Fix for dvdbackup

2008-05-02 Thread Jason R. Mastaler
i don't have access to a Mac any longer. It would be good if someone 
else could take over this port.

Jean-François Mertens wrote:
> 
> On 02 May 2008, at 08:22, Matthias Ringwald wrote:
> 
>> Hi Jason
>>
>> dvdbackup fails to compile with recent libdvdread.3 versions:
>>
> That is, on 10.5 ..
> 
>> Setting up fink-buildlock-dvdbackup-0.1.1-3 (2008.05.02-08.06.51) ...
>> gzip -dc /sw/src/dvdbackup-0.1.1.tar.gz | /sw/bin/tar -xf -  
>> --no-same-owner --no-same-permissions
>> gcc -O -o dvdbackup -I/sw/include -L/sw/lib -ldvdread src/dvdbackup.c
>> In file included from /sw/include/dvdread/ifo_read.h:24,
>>  from src/dvdbackup.c:34:
>> /sw/include/dvdread/ifo_types.h:32:2: error: #error "Must include 
>>  or  before any libdvdread header."
>> In file included from /sw/include/dvdread/ifo_read.h:24,
>>  from src/dvdbackup.c:34:
>> ... errors resulting from the previous one ...
>>
>>
>> The error msg from libdvdread says it all. adding #include  
>> as the first line in dvdbackup.c is enough.
>>
>> I'll attach an updated dvdbackup.info which just add the #include 
>> preprocessor directive.
>>
>> cheers
>>  Matthias
> 
> There was a similar thread 10 days ago on fink users... Apparently, 
> everybody was
> counting on the others to commit a fix.  Committing now.
> 
> JF Mertens

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] build failure in lbggi2-2.0.1-1012

2008-05-02 Thread Jean-François Mertens

On 02 May 2008, at 21:08, Alexander Hansen wrote:

> 10.5.2/PowerPC using Xcode 3.0
>
> This attempt was in a pangocairo-enabled tree, and I'm trying it in an
> untainted one.  The failure is as follows:
>
> ...
> mkdir .libs
> gcc -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -o .libs/warp.dSYM
> color.o dowarp.o main.o readpcx.o readtga.o  -L/sw/lib
> ../../../ggi/.libs/libggi.dylib /sw/lib/libgii.dylib /sw/lib/ 
> libgg.dylib -lm
> creating warp.dSYM
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include   -I/sw/ 
> include  -g
> -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -c demo.c
> In file included from demo.c:37:
> /usr/include/stdlib.h:223: error: conflicting types for 'rand'
> /usr/include/stdlib.h:175: error: previous declaration of 'rand'  
> was here
> ...
The issue seems more related to 10.5 than to pangocairo.
On 10.4 I can't reproduce this.
A conflict within the same (so standard ..) header looks suspicious..
(no ill-defined macros could be involved ?)
Sorry have no 10.5 system to look at it.

JF

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] build failure in lbggi2-2.0.1-1012

2008-05-02 Thread Alexander Hansen
10.5.2/PowerPC using Xcode 3.0

This attempt was in a pangocairo-enabled tree, and I'm trying it in an 
untainted one.  The failure is as follows:

...
mkdir .libs
gcc -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -o .libs/warp.dSYM 
color.o dowarp.o main.o readpcx.o readtga.o  -L/sw/lib 
../../../ggi/.libs/libggi.dylib /sw/lib/libgii.dylib /sw/lib/libgg.dylib -lm
creating warp.dSYM
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include   -I/sw/include  -g 
-O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -c demo.c
In file included from demo.c:37:
/usr/include/stdlib.h:223: error: conflicting types for 'rand'
/usr/include/stdlib.h:175: error: previous declaration of 'rand' was here
...

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Fix for dvdbackup

2008-05-02 Thread Jean-François Mertens

On 02 May 2008, at 08:22, Matthias Ringwald wrote:

> Hi Jason
>
> dvdbackup fails to compile with recent libdvdread.3 versions:
>
That is, on 10.5 ..

> Setting up fink-buildlock-dvdbackup-0.1.1-3 (2008.05.02-08.06.51) ...
> gzip -dc /sw/src/dvdbackup-0.1.1.tar.gz | /sw/bin/tar -xf -  --no- 
> same-owner --no-same-permissions
> gcc -O -o dvdbackup -I/sw/include -L/sw/lib -ldvdread src/dvdbackup.c
> In file included from /sw/include/dvdread/ifo_read.h:24,
>  from src/dvdbackup.c:34:
> /sw/include/dvdread/ifo_types.h:32:2: error: #error "Must include  
>  or  before any libdvdread header."
> In file included from /sw/include/dvdread/ifo_read.h:24,
>  from src/dvdbackup.c:34:
> ... errors resulting from the previous one ...
>
>
> The error msg from libdvdread says it all. adding #include  
>  as the first line in dvdbackup.c is enough.
>
> I'll attach an updated dvdbackup.info which just add the #include  
> preprocessor directive.
>
> cheers
>  Matthias

There was a similar thread 10 days ago on fink users... Apparently,  
everybody was
counting on the others to commit a fix.  Committing now.

JF Mertens

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel