Hi everyone,
In Fedora 11, Pd 0.42 and GEM ver: 0.92.2,
I am trying to re-compile GEM with gmerlin.
I have succesfully compiled and installed gmerlin, but GEM won't see it:
use gmerlin : no
I can see gmerlin (and quicktime for that matter) in usr/local/lib, but gem doesn't see them even when I point it there with:
--libdir=/usr/local/lib --with-gmerlin_avdec-libs=/usr/local/lib/
and the like...
any suggestions?
best,
J
please ignore this...
J
On Wed, Jun 22, 2011 at 2:38 AM, Jaime Oliver jaime.oliver2@gmail.com wrote:
Hi everyone,
In Fedora 11, Pd 0.42 and GEM ver: 0.92.2,
I am trying to re-compile GEM with gmerlin.
I have succesfully compiled and installed gmerlin, but GEM won't see it:
use gmerlin : no
I can see gmerlin (and quicktime for that matter) in usr/local/lib, but gem doesn't see them even when I point it there with:
--libdir=/usr/local/lib --with-gmerlin_avdec-libs=/usr/local/lib/
and the like...
any suggestions?
best,
J
-- Jaime E Oliver LR
www.jaimeoliver.pe
858 750 0924 (cel) 858 202 1522 (home)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-22 11:38, Jaime Oliver wrote:
Hi everyone,
In Fedora 11, Pd 0.42 and GEM ver: 0.92.2,
I am trying to re-compile GEM with gmerlin.
I can see gmerlin (and quicktime for that matter) in usr/local/lib, but gem doesn't see them even when I point it there with:
--libdir=/usr/local/lib
"--libdir" defines where to install libraries to, not where to look for them (alternatively it might as well be ignored)
--with-gmerlin_avdec-libs=/usr/local/lib/
that's usually not needed, as /usr/local/lib is searched by default.
and the like...
any suggestions?
well, this:
use gmerlin : no
is merely a summary at the end of the test; if it fails and should not, then you might want to look at the actual output of tests (somewhere in the middle of configure's output), and if this doesn't give you any clues, inspect the generated config.log
anyhow, the following makes me a bit suspicious:
I have succesfully compiled and installed gmerlin
gmerlin is a media-player; the video-decoding code is a separate library called "gmerlin-avdecoder" (which gmerlin can optionally use) despite the common mentioning of "gmerlin backend for Gem", the video-decoding backend in question is really "gmerlin-avdecoder".
so you might simply have installed the wrong thing, and therefore Gem cannot see it.
fmgasdr IOhannes
Ok, now with the latest version of GEM from SVN:
--with-gmerlin_avdec-libs=/usr/local/lib/
that's usually not needed, as /usr/local/lib is searched by default.
great. but...:
well, this:
use gmerlin : no
is merely a summary at the end of the test; if it fails and should not, then you might want to look at the actual output of tests (somewhere in the middle of configure's output), and if this doesn't give you any clues, inspect the generated config.log
from ./configure (and after ./autogen.sh):
checking for PKG_GMERLIN_AVDEC_CFLAGS... checking for PKG_GMERLIN_AVDEC_LIBS... checking for gmerlin_avdec-config... no checking for gavl_start in -lgmerlin_avdec... no
Although I do get:
moviefile-support use PLUGINS : yes (ignore missing support below) use mpeg : no use mpeg-3 : no use QuickTime : no use aviplay : no use gmerlin : no
anyhow, the following makes me a bit suspicious:
I have succesfully compiled and installed gmerlin
gmerlin is a media-player; the video-decoding code is a separate library called "gmerlin-avdecoder" (which gmerlin can optionally use) despite the common mentioning of "gmerlin backend for Gem", the video-decoding backend in question is really "gmerlin-avdecoder".
I installed:
gmerlin-dependencies-20110108 gmerlin-all-in-one-20110108
And in /usr/local/lib i can see:
libgmerlin_avdec.la libgmerlin_avdec.so libgmerlin_avdec.so.1 libgmerlin_avdec.so.1.0.0 libgmerlin_gtk.la libgmerlin_gtk.so libgmerlin_gtk.so.0 libgmerlin_gtk.so.0.0.0 libgmerlin.la libgmerlin.so libgmerlin.so.0 libgmerlin.so.0.0.0
so you might simply have installed the wrong thing, and therefore Gem cannot see it.
It doesn't look like the wrong thing, but I might be wrong...
do let me know:
J
fmgasdr IOhannes
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4BxCcACgkQkX2Xpv6ydvSfpgCg4KIfFevh1mvGz+g7fEBquL+I ySUAn0zN/jE3W9d5u2yTODk3QGkS8JVO =bKyq -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 2011-06-23 11:43, Jaime Oliver wrote:
from ./configure (and after ./autogen.sh):
checking for PKG_GMERLIN_AVDEC_CFLAGS... checking for PKG_GMERLIN_AVDEC_LIBS... checking for gmerlin_avdec-config... no checking for gavl_start in -lgmerlin_avdec... no
ah, it seems like the pkg-config files for gmerlin-avdec are not properly installed on your system. (check with: $ pkg-config --libs gmerlin_avdec)
here it says:
checking for PKG_GMERLIN_AVDEC_CFLAGS... checking for PKG_GMERLIN_AVDEC_LIBS... -lgmerlin_avdec -lgavl
the fallback test fails, since libgmerlin_avdec also depends on libgavl, wand this info is only derived from pkg-config.
Although I do get:
I installed:
gmerlin-dependencies-20110108 gmerlin-all-in-one-20110108
It doesn't look like the wrong thing, but I might be wrong...
do let me know:
this definitely looks ok. i wonder why there is no .pc file installed (or why pkg-config cannot find it) if you don't want to spend time trying to find out, you could just provide the PKG_CONFIG flags yourself with something like. $ ./configure PKG_GMERLIN_AVDEC_CFLAGS="" PKG_GMERLIN_AVDEC_LIBS="-L/usr/local/lib -lgmerlin_avdec -lgavl"
fgmasdr IOhannes
Mmmhh:
Now I get:
checking for PKG_GMERLIN_AVDEC_CFLAGS... checking for PKG_GMERLIN_AVDEC_LIBS... -L/usr/local/lib -lgmerlin_avdec -lgavl
and:
image-support use ImageMagick : yes use TIFF : yes use JPEG : yes moviefile-support use PLUGINS : yes (ignore missing support below) use mpeg : no use mpeg-3 : no use QuickTime : no use aviplay : no use gmerlin : yes
but do not get any image or video working...
Attached is the zipped config.log if it is of any help.
best,
J
On Fri, Jun 24, 2011 at 1:44 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 2011-06-23 11:43, Jaime Oliver wrote:
from ./configure (and after ./autogen.sh):
checking for PKG_GMERLIN_AVDEC_CFLAGS... checking for PKG_GMERLIN_AVDEC_LIBS... checking for gmerlin_avdec-config... no checking for gavl_start in -lgmerlin_avdec... no
ah, it seems like the pkg-config files for gmerlin-avdec are not properly installed on your system. (check with: $ pkg-config --libs gmerlin_avdec)
here it says:
checking for PKG_GMERLIN_AVDEC_CFLAGS... checking for PKG_GMERLIN_AVDEC_LIBS... -lgmerlin_avdec -lgavl
the fallback test fails, since libgmerlin_avdec also depends on libgavl, wand this info is only derived from pkg-config.
Although I do get:
I installed:
gmerlin-dependencies-20110108 gmerlin-all-in-one-20110108
It doesn't look like the wrong thing, but I might be wrong...
do let me know:
this definitely looks ok. i wonder why there is no .pc file installed (or why pkg-config cannot find it) if you don't want to spend time trying to find out, you could just provide the PKG_CONFIG flags yourself with something like. $ ./configure PKG_GMERLIN_AVDEC_CFLAGS="" PKG_GMERLIN_AVDEC_LIBS="-L/usr/local/lib -lgmerlin_avdec -lgavl"
fgmasdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-27 12:04, Jaime Oliver wrote:
but do not get any image or video working...
you do have the resulting plugins copied/linked besides your Gem-binary, do you? $ ls Gem.pd_linux gem_filmGMERLIN.so gem_imageMAGICK.so gem_imageTIFF.so gem_imageJPEG.so
fgmasdr IOhannes
you do have the resulting plugins copied/linked besides your Gem-binary, do you?
No. Do I need to copy them manually?
J
$ ls Gem.pd_linux gem_filmGMERLIN.so gem_imageMAGICK.so gem_imageTIFF.so gem_imageJPEG.so
fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4IWR0ACgkQkX2Xpv6ydvRUtwCfWuhzkZ/h12N81DkhGUXdhOIc lTkAoLmPullxbgpk9ddbD4MmqXgBR2Of =eWbO -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-27 12:27, Jaime Oliver wrote:
you do have the resulting plugins copied/linked besides your Gem-binary, do you?
No. Do I need to copy them manually?
unless you do a "make install" (which i have to admit, should work but i dunno whether it does), you do have to.
fgmasdr IOhannes
Copying them makes it work fine... got gem_videoV4L.so and gem_videoV4L2.so while I was at it...
Is there any reason to do the make install instead of placing them in the self-contained /src folder?
Thanks!
J
On Mon, Jun 27, 2011 at 3:48 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-27 12:27, Jaime Oliver wrote:
you do have the resulting plugins copied/linked besides your Gem-binary, do you?
No. Do I need to copy them manually?
unless you do a "make install" (which i have to admit, should work but i dunno whether it does), you do have to.
fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4IYAQACgkQkX2Xpv6ydvS8SwCdE+nFKiIxcmlL7RjQiJmU7xkb F1AAoKhQ1yQXyNWWPgP0pTF8ZqfLm1Xn =URC/ -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-27 13:27, Jaime Oliver wrote:
Copying them makes it work fine... got gem_videoV4L.so and gem_videoV4L2.so while I was at it...
Is there any reason to do the make install instead of placing them in the self-contained /src folder?
no not really. it's just that the autobuild process is more targeted at running an "installed" version rather than running from within src/.
eventually i will make it create some convenience links (like Gem.pd_linux) so that it works again like it used to.
it's not totally high on the priority list though (as i usually just do: $ ln -s plugins/*/.libs/gem_*.so .
fgmasdr IOhannes