Re: [Gegl-developer] make fails after git pull
On 09/22/2010 02:16 PM, Sven Neumann wrote: > > The ffmpeg library is (in)famous for changing their APIs frequently and > releasing seldom. That's why pretty much every distribution ends up > using development snapshots, which are incompatible to each other. > > Your best bet is to configure gegl with the --without-libavformat > option. > > > Sven > Thanks, Sven. That got me past that one, but there still the complaint about two plugins trying to register the same thing: make[4]: Entering directory `/usr/local/geglbuild/docs/gallery' --[Updating sample compositions]-- ../../../gegl/docs/gallery/clones.xml (lt-gegl:6412): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. ../../../gegl/docs/gallery/OpenRaster-00.xml (lt-gegl:6445): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. ../../../gegl/docs/gallery/OpenRaster-01.xml (lt-gegl:6473): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. ../../../gegl/docs/gallery/OpenRaster-04.xml (lt-gegl:6501): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. make[4]: Leaving directory `/usr/local/geglbuild/docs/gallery' make[3]: Leaving directory `/usr/local/geglbuild/docs/gallery' make[3]: Entering directory `/usr/local/geglbuild/docs' GEGL_SWAP=RAM GEGL_PATH=../operations \ ../tools/operation_reference --ops-html > operations.html (lt-operation_reference:6593): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. make[3]: *** No rule to make target `../../gegl/gegl/gegl-version.h', needed by `api.html'. Stop. make[3]: Leaving directory `/usr/local/geglbuild/docs' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/geglbuild/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/geglbuild' make: *** [all] Error 2 And ideas on that? Patrick ___ Gegl-developer mailing list [email protected] https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] make fails after git pull
On Tue, 2010-09-21 at 01:46 -0700, Patrick Horgan wrote: > On 09/20/2010 10:18 PM, Danny Robson wrote: > > > > Can you confirm that config.h contains an appropriately generated > > define for restrict? Perhaps you need to rerun autogen.sh to rebuild > > configure? > > > Well, running autogen.sh got me further, but I still have problems: > > make[4]: Entering directory `/usr/local/geglbuild/docs/gallery' > --[Updating sample compositions]-- > ../../../gegl/docs/gallery/clones.xml > ** Message: Module '../../operations/external/.libs/ff-load.so' load > error: ../../operations/external/.libs/ff-load.so: undefined symbol: > avcodec_decode_video2 > > my libavcodec has an avcodec_decode_video, but no avcodec_decode_video2 The ffmpeg library is (in)famous for changing their APIs frequently and releasing seldom. That's why pretty much every distribution ends up using development snapshots, which are incompatible to each other. Your best bet is to configure gegl with the --without-libavformat option. Sven ___ Gegl-developer mailing list [email protected] https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] make fails after git pull
On 09/20/2010 10:18 PM, Danny Robson wrote: > > Can you confirm that config.h contains an appropriately generated > define for restrict? Perhaps you need to rerun autogen.sh to rebuild > configure? > Well, running autogen.sh got me further, but I still have problems: make[4]: Entering directory `/usr/local/geglbuild/docs/gallery' --[Updating sample compositions]-- ../../../gegl/docs/gallery/clones.xml ** Message: Module '../../operations/external/.libs/ff-load.so' load error: ../../operations/external/.libs/ff-load.so: undefined symbol: avcodec_decode_video2 my libavcodec has an avcodec_decode_video, but no avcodec_decode_video2 (lt-gegl:15616): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. ../../../gegl/docs/gallery/OpenRaster-00.xml ** Message: Module '../../operations/external/.libs/ff-load.so' load error: ../../operations/external/.libs/ff-load.so: undefined symbol: avcodec_decode_video2 (lt-gegl:15649): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. ../../../gegl/docs/gallery/OpenRaster-01.xml ** Message: Module '../../operations/external/.libs/ff-load.so' load error: ../../operations/external/.libs/ff-load.so: undefined symbol: avcodec_decode_video2 (lt-gegl:15677): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. ../../../gegl/docs/gallery/OpenRaster-04.xml ** Message: Module '../../operations/external/.libs/ff-load.so' load error: ../../operations/external/.libs/ff-load.so: undefined symbol: avcodec_decode_video2 (lt-gegl:15705): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. make[4]: Leaving directory `/usr/local/geglbuild/docs/gallery' make[3]: Leaving directory `/usr/local/geglbuild/docs/gallery' make[3]: Entering directory `/usr/local/geglbuild/docs' GEGL_SWAP=RAM GEGL_PATH=../operations \ ../tools/operation_reference --ops-html > operations.html ** Message: Module '../operations/external/.libs/ff-load.so' load error: ../operations/external/.libs/ff-load.so: undefined symbol: avcodec_decode_video2 (lt-operation_reference:15797): GLib-GObject-WARNING **: Two different plugins tried to register 'GeglChantover_c'. make[3]: *** No rule to make target `../../gegl/gegl/gegl-version.h', needed by `api.html'. Stop. make[3]: Leaving directory `/usr/local/geglbuild/docs' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/geglbuild/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/geglbuild' make: *** [all] Error 2 ___ Gegl-developer mailing list [email protected] https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] make fails after git pull
On 09/20/2010 10:18 PM, Danny Robson wrote: > On Mon, 20 Sep 2010 21:18:08 -0700 > Patrick Horgan wrote: > > >> The line that fails first (gegl-sampler-linear.c:65 is: >> static void gegl_sampler_linear_get (GeglSampler* restrict self, >>const gdouble x, >>const gdouble y, >>void*restrict output); >> and it seems that gcc is not recognizing the restrict keyword. Does >> anyone have a clue of how I can resolve it? >> > configure should be defining an appropriate representation for restrict > (through the use of AC_C_RESTRICT in configure.ac). > > Can you confirm that config.h contains an appropriately generated > define for restrict? Perhaps you need to rerun autogen.sh to rebuild > configure? > You were right. It was not defined in config.h and running autogen.sh fixed the problem. Thank you Danny. Patrick ___ Gegl-developer mailing list [email protected] https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] make fails after git pull
On 09/20/2010 10:18 PM, Danny Robson wrote: > On Mon, 20 Sep 2010 21:18:08 -0700 > Patrick Horgan wrote: > > >> The line that fails first (gegl-sampler-linear.c:65 is: >> static void gegl_sampler_linear_get (GeglSampler* restrict self, >>const gdouble x, >>const gdouble y, >>void*restrict output); >> and it seems that gcc is not recognizing the restrict keyword. Does >> anyone have a clue of how I can resolve it? >> > configure should be defining an appropriate representation for restrict > (through the use of AC_C_RESTRICT in configure.ac). > > Can you confirm that config.h contains an appropriately generated > define for restrict? Perhaps you need to rerun autogen.sh to rebuild > configure? > You were right. It was not defined in config.h and running autogen.sh fixed the problem. Thank you, Danny. Patrick ___ Gegl-developer mailing list [email protected] https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] make fails after git pull
On Mon, 20 Sep 2010 21:18:08 -0700 Patrick Horgan wrote: > The line that fails first (gegl-sampler-linear.c:65 is: > static void gegl_sampler_linear_get (GeglSampler* restrict self, > const gdouble x, > const gdouble y, > void*restrict output); > and it seems that gcc is not recognizing the restrict keyword. Does > anyone have a clue of how I can resolve it? configure should be defining an appropriate representation for restrict (through the use of AC_C_RESTRICT in configure.ac). Can you confirm that config.h contains an appropriately generated define for restrict? Perhaps you need to rerun autogen.sh to rebuild configure? - Danny ___ Gegl-developer mailing list [email protected] https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

