[Gambas-user] Can't get gb.media compiled

Jesus ea7dfh at ...2382...
Mon May 28 23:08:20 CEST 2012


El 28/05/12 20:51, Laurent Carlier escribió:
> Le lundi 28 mai 2012 20:09:36 Jesus a écrit :
>> El 28/05/12 19:35, Laurent Carlier escribió:
>>> Try with pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10
>>> to find gstreamer lib what is missing
>>
>> Thanks, Laurent
>> This is the output:
>>
>> jesus at ...57...:~$ pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10
>> Package gstreamer-interfaces-0.10 was not found in the pkg-config search
>> path.
>> Perhaps you should add the directory containing
>> `gstreamer-interfaces-0.10.pc' to the PKG_CONFIG_PATH environment variable
>> No package 'gstreamer-interfaces-0.10' found
>>
>> I have no idea what is missing here... "gstreamer-interfaces-0.10" isn't
>> a debian package itself.
>>
>> This is a list of installed packages related to gstreamer:
>>
>>
>> jesus at ...57...:~$ dpkg -l *gstreamer* | grep ii
>> ii  gir1.0-gstreamer-0.10                0.10.30-1
>> ii  gstreamer0.10-alsa                   0.10.30-1
>> ii  gstreamer0.10-ffmpeg                 0.10.10-1
>> ii  gstreamer0.10-fluendo-mp3            0.10.14.debian-1
>> ii  gstreamer0.10-nice                   0.0.12-1
>> ii  gstreamer0.10-plugins-bad            0.10.19-2+b2
>> ii  gstreamer0.10-plugins-base           0.10.30-1
>> ii  gstreamer0.10-plugins-good           0.10.24-1
>> ii  gstreamer0.10-plugins-ugly           0.10.15-1
>> ii  gstreamer0.10-tools                  0.10.30-1
>> ii  gstreamer0.10-x                      0.10.30-1
>> ii  libgstreamer-plugins-base0.10-0      0.10.30-1
>> ii  libgstreamer0.10-0                   0.10.30-1
>> ii  libgstreamer0.10-dev                 0.10.30-1
>> jesus at ...57...:~$
>>
>> Any clue?
>
> Searching on google with "gstreamer-interfaces-0.10 debian"
>
> gives me http://packages.debian.org/squeeze/i386/libgstreamer-plugins-
> base0.10-dev/filelist
>
> ++

Mmm... I should figured it out! Adding 
"libgstreamer-plugins-base0.10-dev" does the trick for configuring, 
however now I got an error when compiling:


make[4]: se ingresa al directorio `/home/jesus/trunk/gb.media/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I..  -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -pipe -Wall 
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os  -MT 
gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o 
gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread 
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall 
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT 
gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c main.c 
-fPIC -DPIC -o .libs/gb_media_la-main.o
mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I..  -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -pipe -Wall 
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os  -MT 
gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o 
gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread 
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall 
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT 
gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c 
c_media.c  -fPIC -DPIC -o .libs/gb_media_la-c_media.o
c_media.c: In function ‘to_gambas_type’:
c_media.c:82: warning: implicit declaration of function 
‘GST_VALUE_HOLDS_DATE_TIME’
c_media.c: In function ‘to_gambas_value’:
c_media.c:151: error: ‘GstDateTime’ undeclared (first use in this function)
c_media.c:151: error: (Each undeclared identifier is reported only once
c_media.c:151: error: for each function it appears in.)
c_media.c:151: error: ‘date’ undeclared (first use in this function)
c_media.c:151: error: expected expression before ‘)’ token
c_media.c:154: warning: implicit declaration of function 
‘gst_date_time_get_year’
c_media.c:155: warning: implicit declaration of function 
‘gst_date_time_get_month’
c_media.c:156: warning: implicit declaration of function 
‘gst_date_time_get_day’
c_media.c:157: warning: implicit declaration of function 
‘gst_date_time_get_hour’
c_media.c:158: warning: implicit declaration of function 
‘gst_date_time_get_minute’
c_media.c:159: warning: implicit declaration of function 
‘gst_date_time_get_second’
c_media.c:160: warning: implicit declaration of function 
‘gst_date_time_get_microsecond’
c_media.c:161: warning: implicit declaration of function 
‘gst_date_time_get_time_zone_offset’
c_media.c: In function ‘MediaControl_get’:
c_media.c:533: error: ‘G_VALUE_INIT’ undeclared (first use in this function)
c_media.c: In function ‘MediaControl_put’:
c_media.c:551: error: ‘G_VALUE_INIT’ undeclared (first use in this function)
c_media.c: In function ‘MediaControl_SetWindow’:
c_media.c:733: warning: implicit declaration of function 
‘gst_x_overlay_set_window_handle’
c_media.c: In function ‘cb_message’:
c_media.c:911: warning: implicit declaration of function 
‘gst_tag_list_to_string’
c_media.c:911: warning: assignment makes pointer from integer without a cast
c_media.c:929: error: ‘GST_MESSAGE_PROGRESS’ undeclared (first use in 
this function)
make[4]: *** [gb_media_la-c_media.lo] Error 1
make[4]: se sale del directorio `/home/jesus/trunk/gb.media/src'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/jesus/trunk/gb.media'
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/home/jesus/trunk/gb.media'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/jesus/trunk'
make: *** [all] Error 2


Perhaps I might go to sleep now... today has been a hard day at work.

Thanks for your help, guys

-- 
Jesus Guardon




More information about the User mailing list