-------------------------------------------- On Wed, 4/22/15, Hanspeter Niederstrasser <f...@snaggledworks.com> wrote:
Subject: Re: [Fink-beginners] gstreamer not updating on OSX 10.6 To: "J. Helffrich" <girolam...@yahoo.com>, "fink-beginners" <fink-beginners@lists.sourceforge.net> Date: Wednesday, April 22, 2015, 9:47 PM On 4/22/2015 6:51 PM, J. Helffrich wrote: > > On Apr 22, 2015, at 1:33 PM, Alexander Hansen wrote: > >> >>> On Apr 21, 2015, at 18:13, Jerome Helffrich <jhelffr...@gmail.com> wrote: >>> >>> >>> On Apr 21, 2015, at 1:19 PM, Alexander Hansen wrote: >>> >>>> >>>>> On Apr 20, 2015, at 20:18, Jerome Helffrich <jhelffr...@gmail.com> wrote: >>>>> >>>>> Thanks. Here you go: >>>>> JAH-G5-2:bin admin$ which bison >>>>> /sw/bin/bison >>>>> JAH-G5-2:bin admin$ bison --version >>>>> bison (GNU Bison) 3.0 >>>>> Written by Robert Corbett and Richard Stallman. >>>>> >>>>> Copyright (C) 2013 Free Software Foundation, Inc. >>>>> This is free software; see the source for copying conditions. There is NO >>>>> >>>>> JH >>>>> ================ >>>> >>>> You didn’t list the information for flex, but that’s OK for now. See if “fink remove bison” lets you proceed. >>>> >>>> -- >>>> Alexander Hansen, Ph.D. >>>> Fink User Liaison >>>> >>> Thanks for the help, but that didn't work. I removed bison successfully, then got this: >>> JAH-G5-2:bin admin$ fink update gstreamer >>> Information about 12824 packages read in 1 seconds. >>> The following package will be installed or updated: >>> gstreamer >>> The following 2 additional packages will be installed: >>> bison gstreamer-shlibs >>> Do you want to continue? [Y/n] y >>> Reading buildlock packages... >>> All buildlocks accounted for. >>> /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-i386/devel/bison_3.0-1000_darwin-i386.deb >>> Selecting previously deselected package bison. >>> (Reading database ... 239734 files and directories currently installed.) >>> Unpacking bison (from .../bison_3.0-1000_darwin-i386.deb) ... >>> Setting up bison (3.0-1000) ... >>> * bison: (bison). GNU parser generator (Yacc replacement). >> >> <snip> >> >>> /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -fno-common -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/pango-ft219/include -I/sw/include -D_XOPEN_SOURCE -I/sw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-common -g -Wall -DGST_DISABLE_DEPRECATED -I../.. -Os -funroll-loops -fstrict-aliasing -fno-common -D_XOPEN_SOURCE -c -o libgstparse_la-grammar.tab.lo `test -f 'grammar.tab.c' || echo './'`grammar.tab.c >>> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -fno-common -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/pango-ft219/include -I/sw/include -D_XOPEN_SOURCE -I/sw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-common -g -Wall -DGST_DISABLE_DEPRECATED -I../.. -Os -funroll-loops -fstrict-aliasing -fno-common -D_XOPEN_SOURCE -c grammar.tab.c -fno-common -DPIC -o .libs/libgstparse_la-grammar.tab.o >>> ./grammar.y: In function '_gst_parse__yyparse': >>> ./grammar.y:513: error: 'graph' undeclared (first use in this function) >>> ./grammar.y:513: error: (Each undeclared identifier is reported only once >>> ./grammar.y:513: error: for each function it appears in.) >>> ./grammar.y: In function '_gst_parse_launch': >>> ./grammar.y:775: error: too many arguments to function '_gst_parse__yyparse' >>> make[4]: *** [libgstparse_la-grammar.tab.lo] Error 1 >>> make[4]: Leaving directory `/sw/src/fink.build/gstreamer-0.8.12-1030/gstreamer-0.8.12/gst/parse' >>> make[3]: *** [all-recursive] Error 1 >>> make[3]: Leaving directory `/sw/src/fink.build/gstreamer-0.8.12-1030/gstreamer-0.8.12/gst' >>> make[2]: *** [all] Error 2 >>> make[2]: Leaving directory `/sw/src/fink.build/gstreamer-0.8.12-1030/gstreamer-0.8.12/gst' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/sw/src/fink.build/gstreamer-0.8.12-1030/gstreamer-0.8.12' >>> make: *** [all] Error 2 >>> ### execution of /tmp/fink.eZyGj failed, exit code 2 >>> ### execution of /tmp/fink.S1RUu failed, exit code 2 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-gstreamer-0.8.12-1030 >>> (Reading database ... 239843 files and directories currently installed.) >>> Removing fink-buildlock-gstreamer-0.8.12-1030 ... >>> Failed: phase compiling: gstreamer-0.8.12-1030 failed >>> >>> Before reporting any errors, please run "fink selfupdate" and try again. >>> >>> Also include the following system information: >>> Package manager version: 0.36.5 >>> Distribution version: selfupdate-cvs Fri Apr 17 20:24:54 2015, 10.6, i386 >>> Trees: local/main stable/main stable/crypto unstable/crypto unstable/main local/injected >>> Xcode.app: 3.2.6 >>> Xcode command-line tools: 3.2.6 >>> gstreamer-0.8.12-1030 is set to build with only one job. >>> >> >> It’s presumably not bison, then. I’m on 10.10 and I don’t have ready access to the 10.6 package descriptions. >> >> Maybe it’s flex. What do you get from: >> >> which flex >> flex --version >> >> ? >> >> -- >> Alexander Hansen, Ph.D. >> Fink User Liaison >> > OK, here is the result. I tried the same thing as with bison first, but it didn't work. > > JAH-G5-2:bin admin$ fink remove flex > Information about 12824 packages read in 1 seconds. > WARNING: flex is not installed, skipping. > No packages to remove > JAH-G5-2:bin admin$ which flex > /usr/bin/flex > JAH-G5-2:bin admin$ flex --version > flex 2.5.35 > JAH-G5-2:bin admin$ There are two available options: 1) install Fink's flex package, and then try to rebuild gstreamer. If that doesn't work, 2) install Fink's flex-devel package, then edit the file /sw/fink/dists/stable/main/finkinfo/gnome/gstreamer-10.6.info, and inside the CompileScript field (lines 64-69), add the following two new lines immediately BEFORE the line referencing CPPFLAGS (line 66) export BISON_PATH=/usr/bin/bison export PATH="%p/lib/flex/bin:$PATH" Then try to rebuild gstreamer. Hanspeter ======================== Well, I tried installing fink's flex, and succeeded, but gstreamer still didn't make. I then tried the edit you suggested, and it seems to fail in a different way: --snip-- sudo -u fink-bld [ENV] sh -c /tmp/fink.CLdkJ [ -r /sw/fink/dists/stable/main/finkinfo/gnome/gstreamer-10.6.patch ] sudo -u fink-bld [ENV] sh -c /tmp/fink.sAxQg patch -p1 < /sw/fink/dists/stable/main/finkinfo/gnome/gstreamer-10.6.patch patching file gst/cothreads.c patching file gst/gstarch.h patching file gst/gstcpu.c patching file libs/gst/getbits/Makefile.in sed -i.bak -e '/WARNING.*sgml-build.log/d' docs/gst/Makefile.in sudo -u fink-bld [ENV] sh -c /tmp/fink.j_zQO /tmp/fink.HnPhe #!/bin/sh -ev export BISON_PATH=/usr/bin/bison export PATH="/sw/lib/flex/bin:$PATH" /tmp/fink.HnPhe: line 3: : command not found ### execution of /tmp/fink.HnPhe failed, exit code 127 ### execution of /tmp/fink.j_zQO failed, exit code 127 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gstreamer-0.8.12-1030 (Reading database ... 239806 files and directories currently installed.) Removing fink-buildlock-gstreamer-0.8.12-1030 ... Failed: phase compiling: gstreamer-0.8.12-1030 failed ------------------------------------------------------------------------------ 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-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners