[Fink-users] ffmpeg problems for incomplete dependences

2008-08-14 Thread Pablo Barrera
Hi

I tried to use ffmpeg in one of my projects, so I fink install ffmpeg- 
dev. The problem is this do not depends on:
libavcodec-dev
libavformat-dev
libavformat-dev
libavutil-dev

Although some on them may not be necessary, there are two (at least)  
that should be together: avcodec and avutil. Otherwise, gcc gives my  
this error:

/sw/include/ffmpeg/avcodec.h:30:20: error: avutil.h: No such file or  
directory

Is there any particular reason not to maintain everything together?

Cheers,

Pablo



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] ffmpeg problems for incomplete dependences

2008-08-14 Thread Alexander Hansen

On Aug 14, 2008, at 7:19 AM, Pablo Barrera wrote:

> Hi
>
> I tried to use ffmpeg in one of my projects, so I fink install ffmpeg-
> dev. The problem is this do not depends on:
> libavcodec-dev
> libavformat-dev
> libavformat-dev
> libavutil-dev
>
> Although some on them may not be necessary, there are two (at least)
> that should be together: avcodec and avutil. Otherwise, gcc gives my
> this error:
>
> /sw/include/ffmpeg/avcodec.h:30:20: error: avutil.h: No such file or
> directory
>
> Is there any particular reason not to maintain everything together?
>
> Cheers,
>
> Pablo
>
>

Yes.  These are header packages and by policy we don't allow anything  
to Depend on them, only BuildDepend.  And because they're all built at  
the same time, we can't really have them BuildDepend on each other.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] ffmpeg problems for incomplete dependences

2008-08-14 Thread Pablo Barrera

On 14/08/2008, at 12:56:30, Alexander Hansen wrote:

>
> On Aug 14, 2008, at 7:19 AM, Pablo Barrera wrote:
>
>> Hi
>>
>> I tried to use ffmpeg in one of my projects, so I fink install  
>> ffmpeg-
>> dev. The problem is this do not depends on:
>> libavcodec-dev
>> libavformat-dev
>> libavformat-dev
>> libavutil-dev
>>
>> Although some on them may not be necessary, there are two (at least)
>> that should be together: avcodec and avutil. Otherwise, gcc gives my
>> this error:
>>
>> /sw/include/ffmpeg/avcodec.h:30:20: error: avutil.h: No such file or
>> directory
>>
>> Is there any particular reason not to maintain everything together?
>>
>> Cheers,
>>
>> Pablo
>>
>>
>
> Yes.  These are header packages and by policy we don't allow  
> anything to Depend on them, only BuildDepend.  And because they're  
> all built at the same time, we can't really have them BuildDepend on  
> each other.


Fair enough, but in that case avutil and avcodec should be in the same  
package. Is there any reason to divide this package so much?

Thanks for the enlightenment.

Pablo


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] phase compiling: cairo-1.6.4-2 failed

2008-08-14 Thread Jansen Robert
Hi,

Just moved over from a PPC to an Intel portable and I'm trying to
reinstall some fink compiled software.
Running 10.5.4 on intel Macbook pro with Xcode 3.0 installed
Installed fink from downloaded image. (moved aside old fink directory)

Trying to compile wireshark and it fails at the prerequisite cairo package:

..snip..

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/include
-I/sw/lib/freetype219/include/freetype2 -I. -I/sw/lib/freetype219/include
-I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include
-I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include
-I/sw/lib/fontconfig2/include   -I/sw/include   -I/sw/include/libpng12
-I/usr/X11/include   -I/sw/include/pixman-1 -Wall -Wextra
-Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum
-Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self
-Wdeclaration-after-statement -Wold-style-definition
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long
-Winline -fno-strict-aliasing -Os -c -o
libcairo_la-cairo-quartz-surface.lo `test -f 'cairo-quartz-surface.c' ||
echo './'`cairo-quartz-surface.c

 gcc -DHAVE_CONFIG_H -I. -I.. -I/sw/lib/fontconfig2/include
-I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 -I.
-I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2
-I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/include/freetype2
-I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include
-I/sw/include/libpng12 -I/usr/X11/include -I/sw/include/pixman-1 -Wall
-Wextra -Wsign-compare -Werror-implicit-function-declaration
-Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum
-Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self
-Wdeclaration-after-statement -Wold-style-definition
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-long-long
-Winline -fno-strict-aliasing -Os -c cairo-quartz-surface.c  -fno-common
-DPIC -o .libs/libcairo_la-cairo-quartz-surface.o
cairo-quartz-surface.c: In function 'quartz_ensure_symbols':
cairo-quartz-surface.c:144: error: 'RTLD_DEFAULT' undeclared (first use in
this function)
cairo-quartz-surface.c:144: error: (Each undeclared identifier is reported
only once
cairo-quartz-surface.c:144: error: for each function it appears in.)
make[2]: *** [libcairo_la-cairo-quartz-surface.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.WrK5kI failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-cairo-1.6.4-2
(Database inlezen ... 12588 bestanden en mappen geïnstalleerd.)
Verwijderen van fink-buildlock-cairo-1.6.4-2 ...
Failed: phase compiling: cairo-1.6.4-2 failed


Any ideas ?

TIA

Regards

Robert


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] ffmpeg problems for incomplete dependences

2008-08-14 Thread Alexander Hansen

On Aug 14, 2008, at 8:08 AM, Pablo Barrera wrote:

>
> On 14/08/2008, at 12:56:30, Alexander Hansen wrote:
>
>>
>> On Aug 14, 2008, at 7:19 AM, Pablo Barrera wrote:
>>
>>> Hi
>>>
>>> I tried to use ffmpeg in one of my projects, so I fink install
>>> ffmpeg-
>>> dev. The problem is this do not depends on:
>>> libavcodec-dev
>>> libavformat-dev
>>> libavformat-dev
>>> libavutil-dev
>>>
>>> Although some on them may not be necessary, there are two (at least)
>>> that should be together: avcodec and avutil. Otherwise, gcc gives my
>>> this error:
>>>
>>> /sw/include/ffmpeg/avcodec.h:30:20: error: avutil.h: No such file or
>>> directory
>>>
>>> Is there any particular reason not to maintain everything together?
>>>
>>> Cheers,
>>>
>>> Pablo
>>>
>>>
>>
>> Yes.  These are header packages and by policy we don't allow
>> anything to Depend on them, only BuildDepend.  And because they're
>> all built at the same time, we can't really have them BuildDepend on
>> each other.
>
>
> Fair enough, but in that case avutil and avcodec should be in the same
> package. Is there any reason to divide this package so much?
>
> Thanks for the enlightenment.
>
> Pablo
>
>

I'm not sure if it's the reason here, but in packages that have a  
bunch of shared libraries, sometimes a new version will update the  
versioning of one of the libraries but not the others.  It can easier  
for the maintainer in such an event if each library has its own - 
shlibs and corresponding -dev package--otherwise they have to go to a  
lot of effort to have both the new version and old version coexist, as  
required by our policies to insure clean upgrades of packages that  
depend on them.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] phase compiling: cairo-1.6.4-2 failed

2008-08-14 Thread Martin Costabel
Jansen Robert wrote:
[]
> cairo-quartz-surface.c:144: error: 'RTLD_DEFAULT' undeclared (first use in
> this function)
[]
> Failed: phase compiling: cairo-1.6.4-2 failed

Do you have a file /usr/local/include/dlfcn.h?
If yes, remove it.

-- 
Martin


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] phase compiling: cairo-1.6.4-2 failed

2008-08-14 Thread Jansen Robert
On Thu, August 14, 2008 3:11 pm, Martin Costabel wrote:
> Jansen Robert wrote:
> []
>
>> cairo-quartz-surface.c:144: error: 'RTLD_DEFAULT' undeclared (first use
>> in this function)
> []
>
>> Failed: phase compiling: cairo-1.6.4-2 failed
>>
>
> Do you have a file /usr/local/include/dlfcn.h?
> If yes, remove it.
>
>
> --
> Martin
>
>
>

Oh dear,.. indeed,... right on the dot. That fixed cairo ! Thanks.

And wireshark needs gtk+2 where you need to apply the following fix:
http://www.finkproject.org/faq/comp-packages.php?phpLang=en#Leopard-libXrandr

Xcode 3.1 fixes the libXrandr issue and the update from macosforge.org
fixes the libXdamage issue.

Thanks again.

Regards

Robert



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users