You are not logged in.

#1 2011-02-15 19:48:52

canuckkat
Member
Registered: 2009-08-28
Posts: 44

Can't compile libmbca

I'm compiling it via yaourt and I get this error.

config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-katrina/aur-libmbca/src/libmbca'
Making all in src
make[2]: Entering directory `/tmp/yaourt-tmp-katrina/aur-libmbca/src/libmbca/src'
glib-mkenums \
    --fhead "#include \"mbca_type_builtins.h\"\n#include \"mbca_assistant.h\"" \
    --fprod "\n/* enumerations from \"@filename@\" */" \
    --vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G@Type@Value values[] = {" \
    --vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
    --vtail "      { 0, NULL, NULL }\n    };\n    etype = g_@type@_register_static (\"@EnumName@\", values);\n  }\n  return etype;\n}\n" \
    ./mbca_assistant.h > xgen-gtbc
mv xgen-gtbc mbca_type_builtins.c
echo \#ifndef MBCA_TYPE_BUILTINS_H > mbca_type_builtins.h
echo \#define MBCA_TYPE_BUILTINS_H >> mbca_type_builtins.h
echo \#include \<glib-object.h\> >> mbca_type_builtins.h
echo G_BEGIN_DECLS >> mbca_type_builtins.h
glib-mkenums \
        --fhead "#include <glib.h>" \
        --fprod "/* enumerations from \"@filename@\" */\n" \
        --vhead "GType @enum_name@_get_type (void);\n#define MBCA_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())\n" \
        --ftail "G_END_DECLS\n\n#endif /* MBCA_TYPE_BUILTINS_H */" \
        ./mbca_assistant.h >> mbca_type_builtins.h
make  all-am
make[3]: Entering directory `/tmp/yaourt-tmp-katrina/aur-libmbca/src/libmbca/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -DORBIT2=1 -DDBUS_API_SUBJECT_TO_CHANGE -DMOBILE_BROADBAND_PROVIDER_INFO=\\\"/usr/share/mobile-broadband-provider-info/serviceproviders.xml\\\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gconf/2 -I/usr/include/libpng14 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/orbit-2.0 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include    -Wall -g -Wextra -Werror  -march=x86-64 -mtune=generic -O2 -pipe -DLIBGWEATHER_PRIOR_2_23_6 -MT libmbca_la-bluetooth_page.lo -MD -MP -MF .deps/libmbca_la-bluetooth_page.Tpo -c -o libmbca_la-bluetooth_page.lo `test -f 'bluetooth_page.c' || echo './'`bluetooth_page.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_SRC_DIR=\".\" -DPACKAGE_DATA_DIR=\"/usr/share\" -pthread -DORBIT2=1 -DDBUS_API_SUBJECT_TO_CHANGE -DMOBILE_BROADBAND_PROVIDER_INFO=\\\"/usr/share/mobile-broadband-provider-info/serviceproviders.xml\\\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gconf/2 -I/usr/include/libpng14 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/orbit-2.0 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wall -g -Wextra -Werror -march=x86-64 -mtune=generic -O2 -pipe -DLIBGWEATHER_PRIOR_2_23_6 -MT libmbca_la-bluetooth_page.lo -MD -MP -MF .deps/libmbca_la-bluetooth_page.Tpo -c bluetooth_page.c  -fPIC -DPIC -o .libs/libmbca_la-bluetooth_page.o
cc1: warnings being treated as errors
<command-line>:0:33: error: missing terminating " character
make[3]: *** [libmbca_la-bluetooth_page.lo] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-katrina/aur-libmbca/src/libmbca/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-katrina/aur-libmbca/src/libmbca/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-katrina/aur-libmbca/src/libmbca'
make: *** [all] Error 2
    Aborting...

Offline

#2 2011-02-16 10:18:26

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Can't compile libmbca

try to find a patch from gentoo or somewhere else and patch the broken code

Offline

#3 2011-02-17 22:15:20

canuckkat
Member
Registered: 2009-08-28
Posts: 44

Re: Can't compile libmbca

I can't seem to find a patch anywhere, unless you count the ubuntu-nized one in the ubuntu repos.

Offline

Board footer

Powered by FluxBB