Hello, At 22:26 -0500 on 2015-5-13 Hanspeter Niederstrasser wrote: > > On 5/13/2015 7:37 PM, Stefan Bruda wrote: > > > > 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
Here are the commands above on my system (with changes in mplayer.info as indicated): cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=core2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -MD -fpie -DPIC -I/usr/X11/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=core2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -MD -fpie -DPIC -I/usr/X11/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 For some reason the -I/usr/X11/include is pushed way ahead in my case, which explains the error. Trouble is, I don't know why. > And for kicks, make sure you have the files > /sw/lib/pkgconfig/fontconfig.pc and > /sw/lib/fontconfig2/lib/pkgconfig/fontconfig.pc I have them as follows: -rw-r--r-- 1 root admin 367 Apr 19 2014 /sw/lib/fontconfig2/lib/pkgconfig/fontconfig.pc lrwxr-xr-x 1 root admin 49 Apr 19 2014 /sw/lib/pkgconfig/fontconfig.pc@ -> /sw/lib/fontconfig2/./lib/pkgconfig/fontconfig.pc Best regards, Stefan -- If it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic. --Lewis Carroll, Through the Looking-Glass No HTML emails and proprietary attachments please <http://bruda.ca/ascii> ------------------------------------------------------------------------------ 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