On 5/13/2015 7:37 PM, Stefan Bruda wrote:
> Hello,
>
> How that I got mplayer sources downloaded (thank you) I am getting a
> failure during the validation phase, as follows:
>
> Looking for incorrect headers in 1640 dependency files...
>           ./sub/ass_mp.d uses /usr/X11/include/fontconfig/fontconfig.h
>           ./libmpcodecs/vd_mpng.d uses /usr/X11/include/png.h
>           ./libmpcodecs/vd_mpng.d uses /usr/X11/include/pngconf.h
> Please fix build process to get consistent use of fink's headers.
> ### execution of fink-package-precedence failed, exit code 255

Can you edit the file 
/sw/fink/dists/stable/main/finkinfo/graphics/mplayer.info and change 
line 306 to remove "%{default_script}" and replace it with the following 
two lines:

./configure %c
make -j1 V=1

Then try to rebuild mplayer, but use the -l option to save the log file 
to /tmp. You can send that to me, or scan through it to look for the 
compiler commands that have the strings "-o sub/ass_mp.o" and "-o 
libmpcodecs/vd_mpng.o".  Mine look like this:

cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=corei7-avx -pipe 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-mdynamic-no-pic -MD -fpie -DPIC  -I/sw/include  -I/usr/X11/include 
-I/sw/include/ -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE 
-I/sw/include  -I/sw/include/freetype2 -DZLIB_CONST -I/sw/include/opus 
-I/sw/include/schroedinger-1.0 -I/sw/include/liboil-0.3 -I/sw/include 
-c -o sub/ass_mp.o sub/ass_mp.c
***********
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=corei7-avx -pipe 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-mdynamic-no-pic -MD -fpie -DPIC  -I/sw/include  -I/usr/X11/include 
-I/sw/include/ -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE 
-I/sw/include  -I/sw/include/freetype2 -DZLIB_CONST -I/sw/include/opus 
-I/sw/include/schroedinger-1.0 -I/sw/include/liboil-0.3 -I/sw/include 
-c -o libmpcodecs/vd_mpng.o libmpcodecs/vd_mpng.c

And for kicks, make sure you have the files 
/sw/lib/pkgconfig/fontconfig.pc and 
/sw/lib/fontconfig2/lib/pkgconfig/fontconfig.pc

Hanspeter


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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