maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Madde libraries (https://talk.maemo.org/showthread.php?t=58151)

nstuhrmann 2010-07-10 05:20

Madde libraries
 
Hi,

I'm trying to compile a gstreamer plugin using madde. I used the example plugin from the gstreamer documentation.

So I try
> mad ./configure --host=arm

and get

[....]
checking for GST... configure: error:
You need to install or upgrade the GStreamer development
packages on your system. On debian-based systems these are
libgstreamer0.10-dev and libgstreamer-plugins-base0.10-dev.
on RPM-based systems gstreamer0.10-devel, libgstreamer0.10-devel
or similar. The minimum version required is 0.10.16.


OK, so I assume I have to upgrade the gstreamer libraries inside the madde environment. I dowloaded the sources and did

> mad ./configure --host=arm
[...]
configure:
configure: error: This package requires GLib >= 2.18 to compile.

same story, I downloaded glib 2.24.1 and tried:
> mad ./configure --host=arm
[...]
checking for pkg-config... ~/NokiaQtSDK/Maemo/4.6.2/madbin/pkg-config
Option '--atleast-pkgconfig-version' not supported (yet?)
configure: error: *** pkg-config too old; version 0.16 or better required.

So finally I tried to compile pkg-config:
> mad ./configure --host=arm
[...]
checking for extra flags to get ANSI library prototypes... configure: error: in `~/downloads/pkg-config-0.25/glib-1.2.10':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
configure: error: ./configure failed for glib-1.2.10


I couldn't find any clues in config.log. If it helps I can attach it, but maybe I'm conceptually doing something wrong.

nstuhrmann 2010-07-12 22:21

Re: Madde libraries
 
Ok, I disabled the check for gstreamer headers in the configure script. I was then able to compile the sample plugin.


All times are GMT. The time now is 08:21.

vBulletin® Version 3.8.8