Build fails libgig-svn 2266-1 (AUR)

This package fails to build with the following error:
./configure: line 14891: syntax error near unexpected token `SNDFILE,'
./configure: line 14891: `PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2, ac_cv_sndfile=1, ac_cv_sndfile=0)'
Could someone let me know what i'm doing wrong here?
Thanks.

Solved!
Add into PKGBUILD this line:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
after this line:
./configure --prefix=/usr

Similar Messages

  • [build fails] rtorrent-svn + xmlrpc-c-svn + w3c-libwww

    I have been trying to set up rtorrent with the wtorrent webclient. For that I need rtorrent-svn which depends on xmlrpc-c-svn that depends on w3c-libwww , all this from the AUR. Unfortunately w3c-libwww fails to build and I get this error:
    ../src/.libs/libwwwfile.so: undefined reference to `HTDir_new'
    ../src/.libs/libwwwfile.so: undefined reference to `HTDir_addElement'
    ../src/.libs/libwwwfile.so: undefined reference to `HTDir_free'
    collect2: ld returned 1 exit status
    make[3]: *** [libapp_2] Error 1
    make[3]: Leaving directory `/tmp/yaourt-tmp-flako/aur-w3c-libwww/w3c-libwww/src/w3c-libwww-5.4.0/Library/Examples'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-flako/aur-w3c-libwww/w3c-libwww/src/w3c-libwww-5.4.0/Library'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-flako/aur-w3c-libwww/w3c-libwww/src/w3c-libwww-5.4.0'
    make: *** [all-recursive-am] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    I tried compiling the w3c-libwww package myself, but when I then try to compile xmlrpc-c i get errors again. I don't know what I should do to get rtorrent with wtorrent working, any help would be appreciated...

    Solved!
    Add into PKGBUILD this line:
    env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
    after this line:
    ./configure --prefix=/usr

  • [SOLVED] Unable to build libgig-svn

    Hello,
    I just tried building libgig-svn from the AUR, but it didn’t work (neither on my desktop nor my laptop).
    Here is the console output: http://pastebin.com/MwcvtnTr
    Does anybody know what’s wrong there?
    Thanks in advance,
    Peter
    Last edited by Nothgirc (2014-05-28 22:37:28)

    Thanks for the suggestion, but I fail to get it (libakai) installed. If I’m not mistaken, it requires libngl:
    make[1]: Entering directory '/home/peter/tmp/libakai/src'
    ../libakai.mk:4: ../../ngl/libngl.mk: No such file or directory
    make[1]: *** No rule to make target '../../ngl/libngl.mk'. Stop.
    make[1]: Leaving directory '/home/peter/tmp/libakai/src'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    Now, if my research is correct, NGL has been merged into NUI3. I tried to build that, but with the following error message I don’t know what to do:
    CMake Warning at CMakeLists.txt:24 (FIND_PACKAGE):
    By not providing "FindLibTidy.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "LibTidy", but
    CMake did not find one.
    Could not find a package configuration file provided by "LibTidy" with any
    of the following names:
    LibTidyConfig.cmake
    libtidy-config.cmake
    Add the installation prefix of "LibTidy" to CMAKE_PREFIX_PATH or set
    "LibTidy_DIR" to a directory containing one of the above files. If
    "LibTidy" provides a separate development package or SDK, be sure it has
    been installed.
    CMake Error at CMakeLists.txt:32 (MESSAGE):
    The LibTidy library was not found.
    -- Configuring incomplete, errors occurred!
    See also "/home/peter/tmp/nui3-master/build/CMakeFiles/CMakeOutput.log".
    I have installed tidyhtml, which should provide libtidy. But there is no LibTidyConfig.cmake nor libtidy-config.cmake on my system.
    UPDATE: The libgig-svn package got updated, and all works now.
    Last edited by Nothgirc (2014-05-28 22:36:40)

  • [solved] buzztard-svn build fails.

    Can you help me figure out why the build fails for buzztard-svn?
    I'm new at building and all that.
    Here's the output during installation from AUR using packer:
    http://pastie.org/2168781
    Notice in particular at the end these lines:
    make[4]: Entering directory `/tmp/packerbuild-0/buzztard-svn/buzztard-svn/src/buzztard-build/src/ui/edit'
    Makefile:928: *** missing separator. Stop.
    make[4]: Leaving directory `/tmp/packerbuild-0/buzztard-svn/buzztard-svn/src/buzztard-build/src/ui/edit'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/packerbuild-0/buzztard-svn/buzztard-svn/src/buzztard-build/src/ui'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/packerbuild-0/buzztard-svn/buzztard-svn/src/buzztard-build/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/packerbuild-0/buzztard-svn/buzztard-svn/src/buzztard-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    The build failed.
    Is this a packaging error or an error upstream?
    Last edited by trusktr (2011-09-05 23:52:03)

    trusktr wrote:Yeah, most definitely! I can't wait for VSTs to work. I'm pretty sure there will be a machine for that soon. You can generate many many different types of sounds with the current synthesizer machines. You can also load samples into the sample machine. Buzztard is definitely progressing faster than before now!  I think that the power to control sounds precisely with Buzztard's machines will set it apart from Renoise. I'd imagine it will be like Reason soon (but with a whole different interface).  The backend for the sound is written in gstreamer (which I'm sure you've probably heard of). Its open source of course, and the project is hosted on sourceforge currently so feel free to join and help make it better by contributing code, or just writing suggestions! Definitely try the latest from SVN, not the stable (both in AUR), as it has much more improvements and machines. 0.6.0 will be out soon.
    I think what will separate it from apps like Renoise, is the modular, pluggable interface - taken from Buzz. I've always enjoyed that interface, and work flow. Ya, the synthesis in buzztard is fairly flexible, but it would still be nice to have more As far as samples, buzztard ported Matilde tracker, right? i know that Neil has a port, so i would kind of expect to see the same in buzztard. I know Matilde tracker like the back of my hand - i still know all of the effects commands, even after years and years of not using buzz. lol.
    it does look like there is a lot more actively this year in Buzztard development. I think i will build it from svn and have a look, when i get home from work
    thanks for the info.
    cheerz

  • Amarok2-svn build fails [SOLVED]

    Is this a common occurance in building amarok2-svn or am I doing something noobishly wrong?
    [ 86%] Built target amarok_collection-ipodcollection
    Generating mtpmeta.moc
    Generating MtpCollectionLocation.moc
    Generating MtpCollection.moc
    Generating moc_MtpHandler.cpp
    Scanning dependencies of target amarok_collection-mtpcollection
    [ 86%] Building CXX object src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o
    In file included from /tmp/yaourt-tmp-dave/aur-amarok2-svn/amarok2-svn/src/amarok2-svn/src/collection/mtpcollection/moc_MtpHandler.cpp:10,
                     from /tmp/yaourt-tmp-dave/aur-amarok2-svn/amarok2-svn/src/amarok2-svn/src/collection/mtpcollection/amarok_collection-mtpcollection_automoc.cpp:4:
    /tmp/yaourt-tmp-dave/aur-amarok2-svn/amarok2-svn/src/amarok2-svn/src/collection/mtpcollection/handler/MtpHandler.h:66: error: 'LIBMTP_raw_device_t' has not been declared
    /tmp/yaourt-tmp-dave/aur-amarok2-svn/amarok2-svn/src/amarok2-svn/src/collection/mtpcollection/handler/MtpHandler.h:158: error: 'LIBMTP_raw_device_t' has not been declared
    /tmp/yaourt-tmp-dave/aur-amarok2-svn/amarok2-svn/src/amarok2-svn/src/collection/mtpcollection/handler/MtpHandler.h:169: error: ISO C++ forbids declaration of 'LIBMTP_raw_device_t' with no type
    /tmp/yaourt-tmp-dave/aur-amarok2-svn/amarok2-svn/src/amarok2-svn/src/collection/mtpcollection/handler/MtpHandler.h:169: error: expected ';' before '*'token
    make[2]: *** [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o] Error 1
    make[1]: *** [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/all] Error 2
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
        Aborting...
    Error: Makepkg was unable to build amarok2-svn package.
    Last edited by archdave (2008-10-14 06:21:03)

    ok, found earlier posting
    doing this
    youart -R libmtp
    yaourt -S libmtp-devel
    yaourt -S amarok2-svn
    It's restarting compile and continueing at the 86% point

  • [solved] vmware-server aur build fails

    I'm trying to install vmware-server from aur.  Downloaded the .tar.gz file from vmware, placed it in the build directory, and let it go.  Build fails with the following:
    (in building vmware-server-modules)
    /tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
    /tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
    /tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/./include/vm_atomic.h:1796:7: warning: "_MSC_VER" is not defined
    make[2]: *** [/tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.33-ARCH'
    make: *** [vmci.ko] Error 2
    make: Leaving directory `/tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only'
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build vmware-server-modules package.
    Does anyone know of a solution?  virtualbox works great, but doesn't support TI's MSP430UIF FET, which is why I'm trying out vmware.
    Last edited by beretta (2010-05-07 17:32:03)

    Trying again... I haven't been able to find a solution.  Is there something else I should be doing to install vmware-server and vmware-server-modules?

  • Freeorion-svn: Build failed

    Has anyone gotten this to compile successfully? I'm using yaourt and if I run it as normal user I get an error pretty quickly, so I tried it w/ sudo and it worked for almost an hour before it spit the error back at me.
    I'm pretty noobish, so I'm not even sure what went wrong or how to fix it. Here's the output that seems relevant:
    Checked out revision 3324.
    ==> SVN checkout done or server timeout
    ==> Starting make...
    rm: cannot remove `/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build': No such file or directory
    scons: Reading SConscript files ...
    scons: warning: The Options class is deprecated; use the Variables class instead.
    File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 24, in <module>
    scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
    File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 28, in <module>
    Configuring for POSIX system...
    Checking for Py_Initialize() in C library python2.6... yes
    Checking for pkg-config... yes
    Checking for GiGiOgre >= 0.6.0... yes
    KeyError: 'CPPDEFINES':
    File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 236:
    if 'OGRE_STATIC_LIB' in env['CPPDEFINES']:
    File "/usr/lib/python2.6/site-packages/SCons/Environment.py", line 404:
    return self._dict[key]
    scons: Reading SConscript files ...
    scons: warning: The Options class is deprecated; use the Variables class instead.
    File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 24, in <module>
    scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
    File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 28, in <module>
    Configuring for POSIX system...
    Checking for Py_Initialize() in C library python2.6... yes
    Checking for pkg-config... yes
    Checking for GiGiOgre >= 0.6.0... yes
    KeyError: 'CPPDEFINES':
    File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 236:
    if 'OGRE_STATIC_LIB' in env['CPPDEFINES']:
    File "/usr/lib/python2.6/site-packages/SCons/Environment.py", line 404:
    return self._dict[key]
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build freeorion-svn package.
    Any help troubleshooting would be greatly appreciated.

    Daenyth wrote:It's not the svn version, but freeorion is in arch-games.
    Now I feel really stupid. I can see it in the arch-games package list, I've got my system set up to sync to the repo (and it has!) but when I type "sudo powerpill -S freeorion" it tells me there is no package or group for it. If I search for it I find log4cpp-old on the arch-games repo, but that's all.
    edit: hmm, it seems there is no 64-bit version of it?
    Last edited by JohnnyRogers (2010-01-17 18:43:21)

  • [SOLVED] 'wordgrinder' package build fails

    I'm trying to build a package out of this program here: http://aur.archlinux.org/packages.php?ID=17015
    I download the tarball, extract it into my builds directory, enter the wordgrinder directory and enter 'makepkg -s'. I've only done this sort of thing once or twice but it worked then. This time, however, it ends with a build error:
    (... lots of patching lines...)
    pm: bootstrapping...
    modemuncher.h:4: warning: cast from pointer to integer of different size
    pm: creating new intermediate file cache in '.pm-cache'
    gcc "-Wall" "-Os" "-I/usr/include/ncursesw" "-I/usr/include/lua" "-D_XOPEN_SOURCE_EXTENDED" "-D_XOPEN_SOURCE" "-DVERSION=\"0.2\"" "-DFILEFORMAT=2" "-DPREFIX=\"/usr\"" "-DNDEBUG" -c -o ".pm-cache/1-utils.o" "src/c/utils.c"
    src/c/utils.c: In function 'readu8_cb':
    src/c/utils.c:93: warning: implicit declaration of function 'lua_tointeger'
    src/c/utils.c: In function 'writeu8_cb':
    src/c/utils.c:107: warning: implicit declaration of function 'luaL_checkinteger'
    src/c/utils.c: In function 'utils_init':
    src/c/utils.c:168: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'funcs'
    src/c/utils.c:168: error: 'funcs' undeclared (first use in this function)
    src/c/utils.c:168: error: (Each undeclared identifier is reported only once
    src/c/utils.c:168: error: for each function it appears in.)
    src/c/utils.c:168: error: expected expression before ']' token
    src/c/utils.c:177: warning: implicit declaration of function 'luaL_register'
    rm -f ".pm-cache/1-utils.o"
    pm: object 'cfile', defined at pmfile:71, failed to build with return code 256
    ==> ERROR: Build Failed.
    Aborting...
    Can anybody tell me what's going wrong?
    Last edited by chochem (2008-08-19 09:40:39)

    Garns wrote:
    chochem wrote:BTW I was beta-testing the new version (0.3) while I was on Ubuntu and it looks quite impressive. Some neat new features, such as being able to navigate the document by headline-structure, easy moving text in between documents - introducing the Scrapbook - and possibly even... wait for it... undo (no promises, though). Sadly it says orphaned in AUR so Iguess it might be a while before it's available on Arch...
    I adopted it . I'll update it to 0.3 as soon as there is a release. As orphaned packages in AUR are free for anyone to adopt, you could have done this as well.
    Cool, thanks Yes, well but ... seeing as today is Day Two of my entire Arch experience, I figured I'd wait a bit before inflicting my workmanship on others. Funny thing is, I found out, I'm already contributing unwittingly: Searching AUR for MPD stuff, I found that somebody had posted a link to some old bash script hacks I've done

  • [SOLVED] conky-lua build fails due to toluapp package issues

    I am trying to install conky-lua from AUR on 64 bit Arch and failing miserably.
    When running the following:
    yaourt -Sy conky-lua
    I get the following error:
    /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a(tolua_is.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[1]: *** [libcairo.la] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-mark/aur-conky-lua/conky-lua/src/conky-1.7.2/lua'
    make: *** [all-recursive] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build conky-lua package.
    I have read through what search results I can find on the topic (both here and via google) and have attempted to remedy the situation by adding build options to the toluapp build to provide for the conky-lua build. I have tried this by adding CCFLAGS = '-fPIC' to the scons call in the PKGBUILD file, I have also tried editing the config_linux.py file, which sits along side the main build file, to include the -fPIC switch also, which doesn't work either. i.e. I have this in the config_linux.py now:
    CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
    Which doesn't work, it results in:
    ==> Validating source files with md5sums...
    tolua++-1.0.93.tar.bz2 ... Passed
    config_linux.py ... FAILED
    ==> ERROR: One or more files did not pass the validity check!
    Error: Makepkg was unable to build toluapp package.
    Can someone help me through a build as I have never come across scons before and maybe I am providing directives to the toluapp build incorrectly? I am still thinking in "make" terms...
    I NEED lua in conky
    Thanks in advance
    Regards,
    Kaivalagi
    Last edited by kaivalagi (2009-11-11 07:32:04)

    I was asked by email on what exactly I did to get conky-lua installed and working on 64bit Arch, so I thought I would post my reply below in case it is of help to anyone else. Cheers
    Run "yaourt -S conky-lua". Amongst other things this will try to install a dependancy which you need to mess about with, the package you need to edit is "toluapp".
    When the "toluapp" package is downloaded by yaourt answer y to the edit question and provide something like gedit or kate as the editor to use
    You'll now see the PKGBUILD file in the editor, this doesn't need editing just yet. But if you open file from the editor you'll see the directory thie PKGBUILD is in, and you want to edit the config_linux.py file you'll see there.
    You should see this line in the config_linux.py file:
    CCFLAGS = ['-O2', '-ansi', '-Wall']
    Change it so it is like this:
    CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
    Now, back to the PKGBUILD file, you'll see this line:
    md5sums=('100aa6907b8108582080b37d79c0afd7' 'bab107cdd2d18d3453a2344341b77c45')
    These checksums line up with tarball and config_linux.py files, and this will stop you're edit from working if not amended because the .py file isn't what it should be, we changed it. So run md5sum against the .py file and update the second checksum in the line appropriately.
    Carry on with the package installation and conky should have lua support
    Last edited by kaivalagi (2010-01-14 08:50:55)

  • [SOLVED]Amarok 2.0.2 Build Fails..Help

    Hello all
    I am trying to compile amarok 2.0.2 but it fails at 8%. I tried to install it from aur and manually but the same error:
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/generator.dir/moc_shellimplgenerator.o                                                                       
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/generator.dir/moc_shellheadergenerator.o                                                                     
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/generator.dir/moc_setupgenerator.o                                                                           
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/generator.dir/qrc_generator.o                                                                               
    Linking CXX executable generator                                                           
    Please wait while source files are being generated...                                       
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    ** WARNING unknown directive '#warning' at /usr/include/QtCore/qglobal.h:313               
    WARNING(MetaJavaBuilder) :: enum 'QGradient::InterpolationMode' does not have a type entry or is not an enum                                                                           
    WARNING(MetaJavaBuilder) :: enum '__codecvt_result' does not have a type entry or is not an enum                                                                                       
    WARNING(MetaJavaBuilder) :: enum 'enum_2' does not have a type entry or is not an enum     
    Classes in typesystem: 506                                                                 
    Generated:                                                                                 
      - classes...: 487 (487)                                                                   
      - header....: 329 (329)                                                                   
      - impl......: 329 (329)                                                                   
      - modules...: 9 (9)                                                                       
      - pri.......: 9 (9)                                                                       
    Done, 3 warnings (844 known issues)
    [  4%] Built target generator     
    Scanning dependencies of target qtscript_core
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/main.o                                                 
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QBasicTimer.o                                 
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QBitArray.o                                   
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QBuffer.o                                     
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QByteArray.o                                 
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QByteArrayMatcher.o                           
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QChildEvent.o                                 
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QCoreApplication.o                           
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QCryptographicHash.o                         
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QDataStream.o                                 
    [  4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QDir.o                                       
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QDirIterator.o                               
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QDynamicPropertyChangeEvent.o                 
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QEvent.o                                     
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QEventLoop.o                                 
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFile.o                                       
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFileInfo.o                                   
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFileSystemWatcher.o                         
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFuture.o                                     
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFutureIterator.o                             
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFutureSynchronizer.o                         
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_QFutureSynchronizer.cpp:45: warning: 'QScriptValue qtscript_QFutureSynchronizer_prototype_call(QScriptContext*, QScriptEngine*)' defined but not used                                                                               
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFutureSynchronizerVoid.o                     
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_QFutureSynchronizerVoid.cpp:45: warning: 'QScriptValue qtscript_QFutureSynchronizerVoid_prototype_call(QScriptContext*, QScriptEngine*)' defined but not used                                                                       
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFutureVoid.o                                 
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFutureWatcher.o                             
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QFutureWatcherVoid.o                         
    [  5%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QIODevice.o                                   
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QLibraryInfo.o                               
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_QLibraryInfo.cpp:150: warning: 'QScriptValue qtscript_QLibraryInfo_prototype_call(QScriptContext*, QScriptEngine*)' defined but not used
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QLocale.o                                     
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QMutex.o                                     
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QObject.o                                     
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QPoint.o                                     
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QPointF.o                                     
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QProcess.o                                   
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QRect.o                                       
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QRectF.o                                     
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QRunnable.o                                   
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QSemaphore.o                                 
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QSettings.o                                   
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QSignalMapper.o                               
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QSize.o                                       
    [  6%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QSizeF.o                                     
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QSocketNotifier.o                             
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QStringMatcher.o                             
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QSystemSemaphore.o                           
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTemporaryFile.o                             
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTextBoundaryFinder.o                         
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTextCodec.o                                 
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_QTextCodec.cpp: In function 'QScriptValue qtscript_construct_QTextCodec_ConversionFlag(QScriptContext*, QScriptEngine*)':               
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_QTextCodec.cpp:161: warning: comparison between signed and unsigned integer expressions                                                 
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_QTextCodec.cpp: In function 'QScriptValue qtscript_QTextCodec_ConversionFlags_toString(QScriptContext*, QScriptEngine*)':               
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_QTextCodec.cpp:243: warning: comparison between signed and unsigned integer expressions                                                 
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTextDecoder.o                               
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTextEncoder.o                               
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTextStream.o                                 
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QThreadPool.o                                 
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTime.o                                       
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTimeLine.o                                   
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTimer.o                                     
    [  7%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTimerEvent.o                                 
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QTranslator.o                                 
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QUrl.o                                       
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QUuid.o                                       
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QWaitCondition.o                             
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttribute.o                         
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.o                       
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamEntityDeclaration.o                 
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamEntityResolver.o                   
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamNamespaceDeclaration.o             
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamNotationDeclaration.o               
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamReader.o                           
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamWriter.o                           
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_Qt.o                                         
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_Qt.cpp: In function 'QScriptValue qtscript_construct_Qt_KeyboardModifier(QScriptContext*, QScriptEngine*)':                             
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_Qt.cpp:2113: warning: comparison between signed and unsigned integer expressions                                                       
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_Qt.cpp: In function 'QScriptValue qtscript_Qt_KeyboardModifiers_toString(QScriptContext*, QScriptEngine*)':                             
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_Qt.cpp:2195: warning: comparison between signed and unsigned integer expressions
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_Qt.cpp: In function 'QScriptValue qtscript_construct_Qt_Modifier(QScriptContext*, QScriptEngine*)':
    /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_Qt.cpp:5854: warning: comparison between signed and unsigned integer expressions
    [  8%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QtConcurrent.o
    In file included from /tmp/yaourt-tmp-root/aur-amarok2/amarok2/src/amarok-2.0.2/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_QtConcurrent.cpp:10:
    /usr/include/QtCore/qtconcurrentreducekernel.h: In member function 'bool QtConcurrent::ReduceKernel<ReduceFunctor, ReduceResultType, T>::shouldThrottle()':
    /usr/include/QtCore/qtconcurrentreducekernel.h:214: error: 'QThreadPool' has not been declared
    /usr/include/QtCore/qtconcurrentreducekernel.h: In member function 'bool QtConcurrent::ReduceKernel<ReduceFunctor, ReduceResultType, T>::shouldStartThread()':
    /usr/include/QtCore/qtconcurrentreducekernel.h:220: error: 'QThreadPool' has not been declared
    make[2]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QtConcurrent.o] Error 1
    make[1]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/all] Error 2
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
        Aborting...
    Error: Makepkg was unable to build amarok2 package.
    bash-3.2#
    P.S: I am a noob, so was not sure which part of code to put up here so I pasted the entire comments instead.
    Last edited by kapz (2009-05-09 19:37:58)

    You must edit /usr/include/QtCore/qtconcurrentreducekernel.h and add
    #include <QtCore/qthreadpool.h>
    along with the other "#include" lines at the beginning of the file.
    You will also need patches for the current libgpod version. Grab the updated PKGBUILD and sources here : http://jm.ambrosino.free.fr/archlinux/_ … s/amarok2/
    Or the i686 binary : http://jm.ambrosino.free.fr/archlinux/i … pkg.tar.gz

  • Ant Build Fails on MacOS

    I am trying to build the latest SVN build on a MacOS 10.6 and it fails.  I've steps through the instructions from here:
    http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code
    ...but regardless I always get the following output in Terminal:
    BUILD FAILED
    /Applications/Adobe Flash Builder 4/sdks/trunk/build.xml:341: The following error occurred while executing this line:
    /Applications/Adobe Flash Builder 4/sdks/trunk/build.xml:318: Java returned: 1
    Help.

    Also when I execute the 'source setup.sh' command in Terminal, I get the following:
    flexmachine@Flex-Machine:/Applications/Adobe Flash Builder 4/sdks/trunk$ source setup.sh
    setup.sh: Setting default  ANT_HOME=/Users/flexmachine/bin/apache-ant-1.7.0
    setup.sh: Setting default JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
    -bash: [: too many arguments
    Would that last line be an issue for me?

  • [solved] glib-git build fails with gdbus-codegen/python error

    Has anyone succeeded to install glib-git lately? For me, the build fails with the following error:
    Making all in tests
    make[4]: Entering directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    GEN gdbus-test-codegen-generated.c
    Traceback (most recent call last):
    File "../../gio/gdbus-codegen/codegen_main.py", line 200, in <module>
    codegen_main()
    File "../../gio/gdbus-codegen/codegen_main.py", line 171, in codegen_main
    parsed_ifaces = parser.parse_dbus_xml(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 289, in parse_dbus_xml
    parser = DBusXMLParser(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 57, in __init__
    self._parser.Parse(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 155, in handle_start_element
    if attrs.has_key('name') and self.doc_comment_last_symbol == attrs['name']:
    AttributeError: 'dict' object has no attribute 'has_key'
    make[4]: *** [gdbus-test-codegen-generated.c] Error 1
    make[4]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    It is not the PKGBUILD's fault, apparently, as the same error occurs when I autogen-configure-make manually. So is there something wrong with my system, the python setup maybe? (I tried manually replacing "python" by "python2.7" in the Makefile – no success.) Or is it an upstream bug, maybe related to this bug? Is there anything I can do?
    Sorry if the answer is obvious, but I really do not feel like I understand this python stuff properly. Also, sorry for duplicating my AUR comments – it was only today that I figured I might get more response in the forum.
    Last edited by Franek (2011-08-23 13:33:23)

    Don't panic, I don't. Just did not have time before now.
    EDIT: Done. I am still throwing in the towel, though. I was trying to make a gtkmm-git PKGBUILD, because I need the latest gtkmm for development. However for gtkmm-git I needed gtk-git, for which I needed glib-git and pango-git. I successfully (at least it appears so) managed to install glib-git and pango-git, but now I get a linker error with gtk-git and will not spend another day looking for its source. I will just wait until gtkmm-3.1 is released.
    EDIT 2: Alright, it appears there must have been something wrong with my "successfull" installs as well, as I just started a gtk app (Balsa) and it did not have any font, just rectangles for letters. Replacing glib-git and pango-git with their stable counterparts turned everything right again.
    Last edited by Franek (2011-08-23 20:46:47)

  • [build failed] meterbridge (hence jack_capture)

    Hi,
    I tried to install jack_capture, who depends on meterbridge.
    Alas, bukd of meterbridge fails :
    main.o: In function `main':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:137: undefined reference to `SDL_Init'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:138: undefined reference to `SDL_GetError'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:176: undefined reference to `SDL_SetVideoMode'
    ..... etc etc. (full copy paste below)
    I do have SDL and SDL_image installed
    (I have early any SDL "extra" package)
    I googled  bit, found http://www.gamedev.net/community/forums … _id=260057
    bot no solution
    sdl-config --libs answers : "-L/usr/lib -lSDL -lpthread"
    I tried to download original meterbridge tarball, but the result is not better (even worse I'd say, as compilation fails telling :
    "vu_meters.c:11: error: static declaration of 'buf_rect' follows non-static declaration").
    Any tip/help would be appreciated !
    As promised, here's the full output :
    ==> Entering fakeroot environment...
    ==> Starting build()...
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for pthread_self in -lpthread... yes
    checking for sqrt in -lm... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for sdl-config... /usr/bin/sdl-config
    checking for SDL - version >= 1.2.0... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for jack... yes
    checking JACK_CFLAGS...
    checking JACK_LIBS... -ljack -lpthread -lrt
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking for atexit... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating graphics/Makefile
    config.status: creating src/Makefile
    config.status: creating src/config.h
    config.status: src/config.h is unchanged
    config.status: executing depfiles commands
    Making all in src
    make[1]: Entering directory `/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src'
    make all-am
    make[2]: Entering directory `/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src'
    source='main.c' object='main.o' libtool=no \
    depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'main.c' || echo './'`main.c
    source='vu_meters.c' object='vu_meters.o' libtool=no \
    depfile='.deps/vu_meters.Po' tmpdepfile='.deps/vu_meters.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'vu_meters.c' || echo './'`vu_meters.c
    source='ppm_meters.c' object='ppm_meters.o' libtool=no \
    depfile='.deps/ppm_meters.Po' tmpdepfile='.deps/ppm_meters.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'ppm_meters.c' || echo './'`ppm_meters.c
    source='dpm_meters.c' object='dpm_meters.o' libtool=no \
    depfile='.deps/dpm_meters.Po' tmpdepfile='.deps/dpm_meters.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'dpm_meters.c' || echo './'`dpm_meters.c
    source='jf_meters.c' object='jf_meters.o' libtool=no \
    depfile='.deps/jf_meters.Po' tmpdepfile='.deps/jf_meters.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'jf_meters.c' || echo './'`jf_meters.c
    source='scope.c' object='scope.o' libtool=no \
    depfile='.deps/scope.Po' tmpdepfile='.deps/scope.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'scope.c' || echo './'`scope.c
    source='envelopes.c' object='envelopes.o' libtool=no \
    depfile='.deps/envelopes.Po' tmpdepfile='.deps/envelopes.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -c `test -f 'envelopes.c' || echo './'`envelopes.c
    gcc -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPKG_DATA_DIR=\"/usr/share/meterbridge\" -Wl,--hash-style=gnu -Wl,--as-needed -o meterbridge -lm -ljack -lpthread -lrt -L/usr/lib -lSDL -lpthread -lSDL_image main.o linedraw.o vu_meters.o ppm_meters.o dpm_meters.o jf_meters.o scope.o envelopes.o find_image.o -lm -lpthread
    main.o: In function `main':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:137: undefined reference to `SDL_Init'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:138: undefined reference to `SDL_GetError'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:176: undefined reference to `SDL_SetVideoMode'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:178: undefined reference to `SDL_GetError'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:191: undefined reference to `SDL_UpperBlit'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:201: undefined reference to `SDL_UpperBlit'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:208: undefined reference to `SDL_UpdateRects'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:216: undefined reference to `jack_client_new'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:222: undefined reference to `SDL_WM_SetCaption'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:227: undefined reference to `SDL_CreateThread'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:230: undefined reference to `SDL_CreateThread'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:233: undefined reference to `SDL_CreateThread'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:236: undefined reference to `SDL_CreateThread'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:239: undefined reference to `SDL_CreateThread'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:246: undefined reference to `jack_set_process_callback'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:248: undefined reference to `jack_set_process_callback'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:250: undefined reference to `jack_set_process_callback'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:256: undefined reference to `jack_activate'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:266: undefined reference to `SDL_WaitEvent'
    main.o: In function `make_channel':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:299: undefined reference to `jack_port_register'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:306: undefined reference to `jack_port_register'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:316: undefined reference to `jack_port_by_name'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:321: undefined reference to `jack_port_flags'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:327: undefined reference to `jack_port_get_all_connections'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:329: undefined reference to `jack_disconnect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:331: undefined reference to `jack_connect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:341: undefined reference to `jack_connect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:343: undefined reference to `jack_port_name'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:343: undefined reference to `jack_connect'
    main.o: In function `cleanup':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:361: undefined reference to `jack_port_get_all_connections'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:363: undefined reference to `jack_port_get_all_connections'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:367: undefined reference to `jack_port_name'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:367: undefined reference to `jack_disconnect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:371: undefined reference to `jack_port_name'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:371: undefined reference to `jack_disconnect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:373: undefined reference to `jack_connect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:379: undefined reference to `jack_client_close'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:382: undefined reference to `SDL_KillThread'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/main.c:383: undefined reference to `SDL_Quit'
    linedraw.o: In function `draw_line':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/linedraw.c:59: undefined reference to `SDL_LockSurface'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/linedraw.c:75: undefined reference to `SDL_UnlockSurface'
    linedraw.o: In function `draw_ptr':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/linedraw.c:126: undefined reference to `SDL_LockSurface'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/linedraw.c:145: undefined reference to `SDL_UnlockSurface'
    vu_meters.o: In function `gfx_thread_vu':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:26: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:27: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:51: undefined reference to `SDL_UpperBlit'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:54: undefined reference to `SDL_UpperBlit'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:56: undefined reference to `SDL_UpdateRects'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/vu_meters.c:57: undefined reference to `SDL_Delay'
    ppm_meters.o: In function `gfx_thread_ppm':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:26: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:27: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:51: undefined reference to `SDL_UpperBlit'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:53: undefined reference to `SDL_UpperBlit'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:55: undefined reference to `SDL_UpdateRects'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/ppm_meters.c:56: undefined reference to `SDL_Delay'
    dpm_meters.o: In function `gfx_thread_dpm':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:57: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:58: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:59: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:69: undefined reference to `SDL_FillRect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:73: undefined reference to `SDL_FillRect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:86: undefined reference to `SDL_FillRect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:88: undefined reference to `SDL_UpdateRects'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/dpm_meters.c:89: undefined reference to `SDL_Delay'
    jf_meters.o: In function `gfx_thread_jf':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:52: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:53: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:54: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:72: undefined reference to `SDL_FillRect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:73: undefined reference to `SDL_UpperBlit'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:120: undefined reference to `SDL_FillRect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:124: undefined reference to `SDL_FillRect'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:128: undefined reference to `SDL_UpdateRects'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/jf_meters.c:129: undefined reference to `SDL_Delay'
    scope.o: In function `gfx_thread_scope':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/scope.c:22: undefined reference to `SDL_MapRGB'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/scope.c:35: undefined reference to `SDL_UpperBlit'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/scope.c:60: undefined reference to `SDL_UpdateRects'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/scope.c:61: undefined reference to `SDL_Delay'
    envelopes.o: In function `process_peak':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:36: undefined reference to `jack_port_get_buffer'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:37: undefined reference to `jack_port_get_buffer'
    envelopes.o: In function `process_rms':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:79: undefined reference to `jack_port_get_buffer'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:80: undefined reference to `jack_port_get_buffer'
    envelopes.o: In function `process_ring':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:118: undefined reference to `jack_port_get_buffer'
    envelopes.o:/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/envelopes.c:119: more undefined references to `jack_port_get_buffer' follow
    find_image.o: In function `find_image':
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/find_image.c:15: undefined reference to `IMG_Load'
    /tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src/find_image.c:19: undefined reference to `IMG_Load'
    collect2: ld returned 1 exit status
    make[2]: *** [meterbridge] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/tmp/yaourt-tmp-calou/aur-meterbridge/meterbridge/src/meterbridge-0.9.2/src'
    make: *** [all-recursive] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build meterbridge package.

    I had it work but.. I don't know what I did
    I commented out the line in /etc/makepkg.conf :
    #LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    because it's the origin of the only differences between the config.log resulting of a "manual ./configure" and the makepkg one.
    (to tell the truth I copied makepkg.conf, edited it, and used makepkg --config)
    now that's weird... but works
    Last edited by skai (2009-10-04 09:26:29)

  • Having trouble building cairo-dock-svn

    Hello! Im trying to install cairo-dock on my Arch install.. but for some reason.. whenever it attemps to.. it goes through the process..but then saiys theres an error and build fails.. I dont know if itl help but ill post the entire terminal dialog I get from running makepkg -s --asroot.. Ill just post where I think the problem is starting.. as anyone else ever had this issue?
    make[3]: *** [cairo_dock-cairo-dock-draw-opengl.o] Error 1
    make[3]: Leaving directory `/home/zack/abs/cairo-dock-svn/src/cairo-dock-build/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/zack/abs/cairo-dock-svn/src/cairo-dock-build/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/zack/abs/cairo-dock-svn/src/cairo-dock-build'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    thats the most readible output at the tail end of the pkbuild.. alot of it is hard to read so unless you need that I wont give it.

    How did you get it to work?  What desktop environment are you using?  what video card (nvidia, ati, intel) and drivers are you using? What happened when it ran once, and what exactly happens now?

  • [SOLVED] Mysterious gcc flag -02 causes build fail

    Hi,
    I've run into a problem with 3 different AUR packages relating to a strange gcc flag, -02 (that's a zero), that appears for no apparent reason. The packages are sxiv-git, isync-git, and hhpc-git. I've tried all three the manual way, and with packer. Here's what the error messages look like using packer (they are essentially the same the manual way):
    sxiv-git
    ==> Starting build()...
    cp config.def.h config.h
    gcc -march=native -02 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -std=c99 -Wall -pedantic -O2 -I/usr/include -DHAVE_GIFLIB -DVERSION=\"git-20140218\" -c -o commands.o commands.c
    gcc: error: unrecognized command line option ‘-02’
    Makefile:19: recipe for target 'commands.o' failed
    make: *** [commands.o] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    The build failed.
    hhpc-git
    ==> Starting build()...
    cc -c hhpc.c -march=native -02 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -s -O2 -DNDEBUG
    cc: error: unrecognized command line option ‘-02’
    Makefile:79: recipe for target 'hhpc.o' failed
    make: *** [hhpc.o] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    The build failed.
    isync-git; here I was referred to config.log. The following is from there.
    configure:3111: $? = 0
    configure:3100: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/gcc/src/gcc-4.8-20140206/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir$
    Thread model: posix
    gcc version 4.8.2 20140206 (prerelease) (GCC)
    configure:3111: $? = 0
    configure:3100: gcc -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3111: $? = 1
    configure:3100: gcc -qversion >&5
    gcc: error: unrecognized command line option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3111: $? = 1
    configure:3131: checking whether the C compiler works
    configure:3153: gcc -march=native -02 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-com$
    gcc: error: unrecognized command line option '-02'
    configure:3157: $? = 1
    configure:3195: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "isync"
    | #define PACKAGE_TARNAME "isync"
    | #define PACKAGE_VERSION "1.1.1"
    | #define PACKAGE_STRING "isync 1.1.1"
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "isync"
    | #define VERSION "1.1.1"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3200: error: in `/tmp/packerbuild-1000/isync-git/isync-git/src/isync':
    configure:3202: error: C compiler cannot create executables
    See `config.log' for more details
    ## Cache variables. ##
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=native -02 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    ac_cv_env_CPPFLAGS_set=set
    And voila---here is the flag. I checked sxiv's and hhpc's makefiles, and neither show this flag. Since there appear to be environmental variables, I guess these are set elsewhere on my system. Yet I've installed other packages successfully; not sure if any of these required gcc. Anyone have an idea what's going on? Thanks in advance!
    Last edited by monodromy (2014-02-20 07:13:22)

    Nothing for the first grep, but jackpot for the second:
    CFLAGS="-march=native -02 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    Should I comment out the whole thing? Just delete the -02? Or change the 0 to O?

Maybe you are looking for