Menu

#7 compile error CentOS 4.4 xvidcap-1.1.7

open
nobody
5
2009-03-26
2009-03-26
Anonymous
No

I am not able to get xvidcap to compile on CentOS 4.4 for xvidcap-1.1.7

Here are the steps I use to reproduce:

> ./configure
> make

The error is as follows:
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -g -DDBUS_SERVICE_DIR=\""/usr/local/share/dbus-1/service"\" -g -O2 -pthread -I /root/xvidcap-1.1.7 -I/root/xvidcap-1.1.7/ffmpeg/libavcodec -I/root/xvidcap-1.1.7/ffmpeg/libavformat -I/root/xvidcap-1.1.7/ffmpeg/libavutil -I/root/xvidcap-1.1.7/ffmpeg/libswscale -I/root/xvidcap-1.1.7/ffmpeg/libavdevice -MT app_data.o -MD -MP -MF .deps/app_data.Tpo -c -o app_data.o app_data.c
In file included from app_data.h:34,
from app_data.c:72:
dbus-server-object.h:8:37: dbus/dbus-glib-bindings.h: No such file or directory
In file included from app_data.h:34,
from app_data.c:72:
dbus-server-object.h:20: error: syntax error before "DBusGConnection"
dbus-server-object.h:20: warning: no semicolon at end of struct or union
dbus-server-object.h:21: warning: type defaults to `int' in declaration of `XvcServerObjectClass'
dbus-server-object.h:21: warning: data definition has no type or storage class
app_data.c: In function `xvc_error_write_msg':
app_data.c:2474: warning: embedded `\0' in format
app_data.c:2481: warning: embedded `\0' in format
app_data.c:2500: warning: embedded `\0' in format
app_data.c: In function `error_write_action_msg':
app_data.c:2542: warning: embedded `\0' in format
make[3]: *** [app_data.o] Error 1
make[3]: Leaving directory `/root/xvidcap-1.1.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/xvidcap-1.1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xvidcap-1.1.7'
make: *** [all] Error 2

Any ideas on how to fix the dbus? Here are the rpms installed for dbus on this system:
dbus-0.22-12.EL.9
dbus-glib-0.22-12.EL.9
dbus-devel-0.22-12.EL.9
dbus-x11-0.22-12.EL.9
dbus-python-0.22-12.EL.9

Discussion

  • Karl H. Beckers

    Karl H. Beckers - 2009-03-26

    Dunno CentOS, but I'd expect there must be a package somewhere along the lines of dbus-glib-devel-0.xxxxx
    You have dbus and the corresponding dbus-devel.
    You do have dbus-glib, but don't have the corresponding devel package.

     
  • Nobody/Anonymous

    Strange, I am unable to find an rpm for the following dbus-glib-devel:

    dbus-glib-devel-0.22-12.EL.9

    Was there one released for Centos 4.7?

     
  • Nobody/Anonymous

    I'm sorry, I have no experience with Centos.

     

Log in to post a comment.