Re: [Fink-users] error install ffmpeg on Lion

2016-01-04 Thread Greg Satz
Daniel, thank you so much for addressing this issue in an unsupported release, 
no less. I really appreciate it.

Thanks,
Greg

On Dec 9, 2015, at 12:47 AM, Daniel Macks wrote:

> On Tue, 08 Dec 2015 23:15:16 -0500, Daniel Macks  wrote:
> On Mon, 7 Dec 2015 00:24:50 -0700, Greg Satz  wrote:
>> >
>> > export CFLAGS="-I/sw/lib/libspeex1/include -I/sw/include 
>> > -I$X11_INCLUDE_DIR"
>> > export LDFLAGS="-L/sw/lib/libspeex1/lib -L/sw/lib/libopenjpeg > -L/sw/lib 
>> > -L$X11_LIBRARY_DIR -lX11 -lXext"
>> > mkdir finkbuild
>> > pushd finkbuild
>> > /sw/src/fink.build/libavcodec56-2.4-shlibs-2.8-1/ffmpeg-2.8/finkbuild > 
>> > /sw/src/fink.build/libavcodec56-2.4-shlibs-2.8-1/ffmpeg-2.8
>> > ../configure --prefix=/sw --prefix=/sw/lib/ffmpeg-2.4 \
>> [...]
>> > ERROR: freetype2 not found
>> [...]
>> > Distribution version: selfupdate-cvs Sun Dec 6 22:19:34 2015, 10.7, x86_64
>> 
>> This affects multiple libavcodec* on 10.7 (an OS platform and fink distro 
>> that is no longer supported). The direct cause is that the explicit CFLAGS 
>> set by the fink build script gets passed early on the compiler line, whereas 
>> autodected flags from various dependent libs get passed later. As a result, 
>> some of x11's freetype headers are seen rather than finks's even though 
>> fink's is detected. The compiler is seeing a mixture of both header suites, 
>> which are not compatible with each other. Possibly using the 'flag-sort' 
>> compiler wrapper would solve it by putting the flags in a sane order. But 
>> even better would be to avoid needing to pass x11 paths at all, or do so in 
>> a way that they do not have such high priority in so many places. Is that 
>> flag-passing needed on the 10.7 distro, or just for 10.11 or other advanced 
>> systems that don't have /usr/X11* symlinks? On my stock 10.7, 
>> libavcodec56-2.4-shlibs-2.8-1 builds fine without it. I'll be at my 10.10 
>> with fink's 10.9-libcxx distro and wacky x11 setup tonight to see if it's 
>> needed there. 
> 
> Not passing -I and -L for x11 gives a build that has some features disabled. 
> Pretty hairy ./configure script, as if hardcoding tests isn't very portable. 
> dan
> 
> --
> Daniel Macks
> dma...@netspace.org
> 



smime.p7s
Description: S/MIME cryptographic signature
--
___
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


Re: [Fink-users] error install ffmpeg on Lion

2015-12-07 Thread Hanspeter Niederstrasser

On Mon, December 7, 2015 1:24 am, Greg Satz wrote:
> Enclosed is the log output. Let me know if there is anything further I can
> do.
>
> Thanks,
> Greg
>
> Script started on Mon Dec  7 00:16:53 2015
> [karma:~] root# fink install ffmpeg
> Information about 12973 packages read in 1 seconds.
> The following package will be installed or updated:
>  ffmpeg
> The following 8 additional packages will be installed:
>  libavcodec56-2.4-shlibs libavdevice56-2.4-shlibs libavfilter5-2.4-shlibs
>  libavformat56-2.4-shlibs libavutil54-2.4-shlibs libpostproc53-2.4-shlibs
>  libswresample1-2.4-shlibs libswscale3-2.4-shlibs
> Default answer will be chosen in 60 seconds...
> Do you want to continue? [Y/n] y
> Setting runtime build-lock...
> dpkg-deb -b
> /sw/src/fink.build/root-fink-buildlock-libavcodec56-2.4-shlibs-2.8-1
> /sw/src/fink.build

...

>   --enable-zlib
> ERROR: freetype2 not found

Please find the file
/sw/src/fink.build/root-fink-buildlock-libavcodec56-2.4-shlibs-2.8-1/finkbuild/config.log
and look for an error in there about freetype.  Your build _should_ be
finding freetype2 since you have both freetype219 and freetype219-shlibs
installed.

Hanspeter

-- 
More agile than a turtle, stronger than a mouse, nobler than a lettuce


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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