[SOLVED] Cannot build Cinnamon 1.6.7-3 due to 404 URL error

Hi ,
just attempted to build and install Cinnamon from AUR , but building stops due to "Requested URL not found 404 error".
Here are the complete results
==> Making package: cinnamon 1.6.7-3 (Sat Dec 15 15:40:32 EET 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found cinnamon-1.6.7.tar.gz
-> Downloading cinnamon-screensaver.desktop...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading cinnamon-screensaver.desktop
Aborting...
Of course I have Internet up and running as I post right now and already build and installed muffin-wm  (the required dependency without problems.)
Tried to uncomment some other mirrors , but to no avail.
Should I wait ? (maybe server is down or URL moved ? )
Thanks
Last edited by NikTh (2012-12-16 04:26:33)

There you go:
# Maintainer:
# Contributor: M0Rf30
# Contributor: unifiedlinux
# Contributor: CReimer
pkgname=cinnamon
pkgver=1.6.7
pkgrel=3
pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
arch=('i686' 'x86_64')
url="http://cinnamon.linuxmint.com/"
license=('GPL2')
depends=('caribou' 'gjs' 'gnome-bluetooth' 'gnome-control-center' 'gnome-panel' 'gnome-session'
'gnome-settings-daemon' 'gnome-themes-standard' 'gstreamer0.10' 'libgnomekbd' 'muffin-wm'
'notification-daemon' 'python2-gconf' 'python2-imaging' 'python2-lxml' 'python2-dbus')
makedepends=('gnome-common' 'intltool')
optdepends=('nemo-fm: Official Cinnamon file manager (a Nautilus fork)'
'nautilus: Official Gnome file manager')
options=('!libtool' '!emptydirs')
install=${pkgname}.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/$pkgname/tarball/$pkgver"
https://github.com/faidoc/cinnarch-packages/blob/master/cinnamon/cinnamon-screensaver.desktop
https://github.com/faidoc/cinnarch-packages/blob/master/cinnamon/cinnamon2d-screensaver.desktop)
build() {
cd ${srcdir}/linuxmint-Cinnamon*
sed -i 's/\ --warn-all\ --warn-error//' src/Makefile.am
./autogen.sh --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/cinnamon \
--localstatedir=/var \
--disable-static \
--disable-schemas-compile \
--enable-compile-warnings=yes \
--with-session-tracking=systemd
make
package() {
cd ${srcdir}/linuxmint-Cinnamon*
make DESTDIR="${pkgdir}" install
#Run python2 instead of python(3)
sed -i 's/bin\/python/bin\/python2/g' \
"${pkgdir}/usr/bin/$pkgname-extension-tool" \
"${pkgdir}/usr/bin/$pkgname-launcher" \
"${pkgdir}/usr/bin/$pkgname-menu-editor" \
"${pkgdir}/usr/bin/$pkgname-settings" \
"${pkgdir}/usr/share/$pkgname/applets/panel-launchers@$pkgname.org/$pkgname-add-panel-launcher.py"
sed -i 's/env python/env python2/g' \
"${pkgdir}/usr/lib/$pkgname-settings/$pkgname-settings.py"
install -Dm644 $srcdir/${pkgname}-screensaver.desktop ${pkgdir}/etc/xdg/autostart/${pkgname}-screensaver.desktop
install -Dm644 $srcdir/${pkgname}2d-screensaver.desktop ${pkgdir}/etc/xdg/autostart/${pkgname}2d-screensaver.desktop
md5sums=('ea73c6367d43d82c61f977477bf0c08c'
'd55c079cdc8bec606f510f87b2a6f776'
'5c6af851ab1cf7e9219f11d86353196a')
md5sums=('ea73c6367d43d82c61f977477bf0c08c'
'edbb612b0ed725b87d743654fbb9f3e3'
'36a2725ca983e9f5d6b3e6a9ea6e0113')

Similar Messages

  • [SOLVED] Cannot build lightspark

    Hi,
    I have tried to build lightspark 0.7.2-1 and lightspark-git 20130215-2 from AUR but it always fails with same errors: "A failure occurred in build().".
    I also tried to modify the pkgver to 0.7.1 in the lightspark PKGBUILD to see if it was verion related, but it didn't change anything.
    Here is the output of lightspark 0.7.2-1 (note that I temporarily changed the locale to English to post it on the forum):
    bp@bp-laptop ~
    > yaourt -S lightspark
    ==> Downloading lightspark PKGBUILD from AUR...
    bsdtar: Failed to set default locale
    x PKGBUILD
    x lightspark.install
    Comment by tsester (2013-02-02 15:00)
    it takes too much ram while compiling
    Comment by FredBezies (2013-04-30 11:03)
    0.7.2 PKGBUILD : http://pastebin.com/JR8xT9T7
    Comment by cactaur (2013-06-20 18:41)
    When I tried to build, I got that it failed with an error:
    [ 4%] Building CXX object src/CMakeFiles/spark.dir/scripting/abc.cpp.o
    /home/gregory/lightspark/src/lightspark-0.7.2/src/scripting/abc.cpp:26:25: fatal error: llvm/Module.h: No such file or directory
    #include llvm/Module.h
    Apparently this had to do with a change in naming in LLVM 3.3, which is now released, and that broke the code.
    https://bugs.launchpad.net/lightspark/+bug/1157158
    The issue was fixed in the development version, but hasn't been officially released yet. I'm not sure if there's a workaround for this release that can be incorporated into the PKGBUILD or if it should just stay broken until the official upstream release, but in the meantime, the lightspark-git package should provide a program that compiles. Just thought I'd give a heads-up.
    Comment by the-kyle (2013-08-09 17:39)
    I am seeing errors similar to the following when I try to build this package.
    In file included from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/scripting/class.h:27,
    from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/scripting/toplevel/ASString.h:23,
    from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/allclasses.cpp:20:
    /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro ‘MAX_AUDIO_FRAME_SIZE’
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor ‘lightspark::AudioDecoder::FrameSamples::FrameSamples()’:
    /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: ‘samples’ was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    make[2]: *** [src/CMakeFiles/spark.dir/asobject.cpp.o] Error 1
    I only included one such error here, but these appear to be numerous. Am I missing a package that hasn't been included as a dependency? I'm building on a 64-bit system with 8 processor cores that satisfies all the dependencies listed above.
    Comment by dlh (2013-08-13 15:39)
    I have the same issue as @the-kyle
    lightspark 0.7.2-1 (Sat Feb 11 02:47:02 CET 2012)
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> lightspark dependencies:
    - gtk2 (already installed)
    - ffmpeg (already installed)
    - glew (already installed)
    - curl (already installed)
    - boost-libs (already installed)
    - libxml++ (already installed)
    - desktop-file-utils (already installed)
    - hicolor-icon-theme (already installed)
    - cmake (already installed)
    - nasm (already installed)
    - xulrunner (already installed)
    - llvm (already installed)
    - glproto (already installed)
    - boost (already installed)
    - fontconfig (already installed)
    ==> Edit lightspark.install ? [Y/n] ("A" to abort)
    ==> ----------------------------------------------
    ==> n
    ==> Continue building lightspark ? [Y/n]
    ==> ------------------------------------
    ==>
    ==> Building and installing package
    ==> Making package: lightspark 0.7.2-1 (Sat Aug 17 12:44:43 CEST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Downloading lightspark-0.7.2.tar.gz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    100 933k 100 933k 0 0 482k 0 0:00:01 0:00:01 --:--:-- 756k
    -> Downloading lightspark-0.7.2.tar.gz.asc...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    100 490 100 490 0 0 848 0 --:--:-- --:--:-- --:--:-- 848
    ==> Validating source files with md5sums...
    lightspark-0.7.2.tar.gz ... Passed
    lightspark-0.7.2.tar.gz.asc ... Skipped
    ==> Verifying source file signatures with gpg...
    lightspark-0.7.2.tar.gz ... FAILED (unknown public key B96B97E45A52AE91)
    ==> WARNING: Warnings have occurred while verifying the signatures.
    Please make sure you really trust them.
    ==> Extracting sources...
    -> Extracting lightspark-0.7.2.tar.gz with bsdtar
    bsdtar: Failed to set default locale
    ==> Starting build()...
    -- The C compiler identification is GNU 4.8.1
    -- The CXX compiler identification is GNU 4.8.1
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Performing Test GCC_IS_4_6
    -- Performing Test GCC_IS_4_6 - Success
    -- Found gnash path: /usr/bin/gtk-gnash
    -- The ASM-NASM compiler identification is unknown
    -- Found assembler: /usr/bin/nasm
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
    -- LLVM llvm-config found at: /usr/bin/llvm-config
    -- LLVM version: 3.3
    -- Looking for C++ include llvm/Support/TargetSelect.h
    -- Looking for C++ include llvm/Support/TargetSelect.h - found
    -- HAVE_SUPPORT_TARGETSELECT_H: 1
    -- Looking for C++ include llvm/IRBuilder.h
    -- Looking for C++ include llvm/IRBuilder.h - not found
    -- HAVE_IRBUILDER_H:
    -- Looking for C++ include llvm/DataLayout.h
    -- Looking for C++ include llvm/DataLayout.h - not found
    -- HAVE_DATALAYOUT_H:
    -- LLVM CXX flags: -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual
    -- LLVM LD flags: -L/usr/lib -lz -lpthread -lffi -ldl -lm
    -- LLVM core libs: -lLLVMLinker-lLLVMBitWriter-lLLVMBitReader-lLLVMInstrumentation-lLLVMipo-lLLVMObjCARCOpts-lLLVMVectorize-lLLVMScalarOpts-lLLVMInstCombine-lLLVMTransformUtils-lLLVMipa-lLLVMAnalysis-lLLVMTarget-lLLVMMC-lLLVMObject-lLLVMCore-lLLVMSupport
    -- LLVM JIT libs: -lLLVMX86Disassembler-lLLVMX86AsmParser-lLLVMX86CodeGen-lLLVMSelectionDAG-lLLVMAsmPrinter-lLLVMMCParser-lLLVMX86Desc-lLLVMX86Info-lLLVMX86AsmPrinter-lLLVMX86Utils-lLLVMJIT-lLLVMRuntimeDyld-lLLVMExecutionEngine-lLLVMCodeGen-lLLVMObjCARCOpts-lLLVMScalarOpts-lLLVMInstCombine-lLLVMTransformUtils-lLLVMipa-lLLVMAnalysis-lLLVMTarget-lLLVMMC-lLLVMObject-lLLVMCore-lLLVMSupport
    -- LLVM JIT objs:
    -- Found LLVM: /usr/include
    -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
    -- Found Freetype: /usr/lib64/libfreetype.so
    -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
    -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
    -- Looking for gethostbyname
    -- Looking for gethostbyname - found
    -- Looking for connect
    -- Looking for connect - found
    -- Looking for remove
    -- Looking for remove - found
    -- Looking for shmat
    -- Looking for shmat - found
    -- Looking for IceConnectionNumber in ICE
    -- Looking for IceConnectionNumber in ICE - found
    -- Found X11: /usr/lib64/libX11.so
    -- Found OpenGL: /usr/lib64/libGL.so
    -- Found GLEW: /usr/lib64/libGLEW.so
    -- Found PCRE: /usr/lib64/libpcre.so
    -- Found JPEG: /usr/lib64/libjpeg.so
    -- Found PNG: /usr/lib64/libpng.so (found version "1.6.3")
    -- checking for module 'libxml++-2.6>=2.33.1'
    -- found libxml++-2.6, version 2.36.0
    -- checking for module 'liblzma'
    -- found liblzma, version 5.0.5
    -- Boost version: 1.54.0
    -- Found the following Boost libraries:
    -- filesystem
    -- system
    -- checking for modules 'cairo;pangocairo'
    -- found cairo, version 1.12.14
    -- found pangocairo, version 1.34.1
    -- checking for module 'x11'
    -- found x11, version 1.6.1
    -- checking for modules 'libavcodec;libavutil;libavformat'
    -- found libavcodec, version 55.18.102
    -- found libavutil, version 52.38.100
    -- found libavformat, version 55.12.100
    -- Looking for avcodec_decode_video2
    -- Looking for avcodec_decode_video2 - found
    -- Looking for avcodec_decode_audio3
    -- Looking for avcodec_decode_audio3 - found
    -- Looking for avcodec_decode_audio4
    -- Looking for avcodec_decode_audio4 - found
    -- Looking for avio_alloc_context
    -- Looking for avio_alloc_context - found
    -- Looking for avcodec_alloc_context3
    -- Looking for avcodec_alloc_context3 - found
    -- Looking for avcodec_open2
    -- Looking for avcodec_open2 - found
    -- Looking for avformat_close_input
    -- Looking for avformat_close_input - found
    -- Looking for avformat_find_stream_info
    -- Looking for avformat_find_stream_info - found
    -- checking for module 'glib-2.0'
    -- found glib-2.0, version 2.36.3
    -- checking for module 'gthread-2.0'
    -- found gthread-2.0, version 2.36.3
    -- checking for module 'gmodule-2.0'
    -- found gmodule-2.0, version 2.36.3
    -- checking for module 'glibmm-2.4'
    -- found glibmm-2.4, version 2.36.2
    -- checking for module 'gtk+-2.0'
    -- found gtk+-2.0, version 2.24.20
    -- checking for module 'libcurl'
    -- found libcurl, version 7.32.0
    -- checking for module 'librtmp'
    -- found librtmp, version v2.4
    -- Looking for C++ include atomic
    -- Looking for C++ include atomic - found
    -- checking for module 'libpulse'
    -- found libpulse, version 4.0
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/bld
    Scanning dependencies of target translations
    [ 1%] Scanning dependencies of target spark
    [ 2%] [ 3%] Generating fr.gmo
    Generating pl.gmo
    Generating zh_CN.gmo
    [ 3%] Built target translations
    [ 4%] [ 5%] [ 6%] [ 7%] Building CXX object src/CMakeFiles/spark.dir/compat.cpp.o
    Building CXX object src/CMakeFiles/spark.dir/allclasses.cpp.o
    Building CXX object src/CMakeFiles/spark.dir/asobject.cpp.o
    Building CXX object src/CMakeFiles/spark.dir/logger.cpp.o
    [ 8%] Building CXX object src/CMakeFiles/spark.dir/memory_support.cpp.o
    [ 9%] Building CXX object src/CMakeFiles/spark.dir/swf.cpp.o
    In file included from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/class.h:27,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/toplevel/ASString.h:23,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/allclasses.cpp:20:
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro 'MAX_AUDIO_FRAME_SIZE'
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor 'lightspark::AudioDecoder::FrameSamples::FrameSamples()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: 'samples' was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    In file included from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/class.h:27,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/parsing/tags.h:29,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/abc.h:25,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/asobject.cpp:20:
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro 'MAX_AUDIO_FRAME_SIZE'
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor 'lightspark::AudioDecoder::FrameSamples::FrameSamples()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: 'samples' was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    In file included from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/memory_support.cpp:21:
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro 'MAX_AUDIO_FRAME_SIZE'
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor 'lightspark::AudioDecoder::FrameSamples::FrameSamples()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: 'samples' was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    In file included from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/class.h:27,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/parsing/tags.h:29,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/abc.h:25,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:23:
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro 'MAX_AUDIO_FRAME_SIZE'
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor 'lightspark::AudioDecoder::FrameSamples::FrameSamples()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: 'samples' was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    make[2]: *** [src/CMakeFiles/spark.dir/allclasses.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: *** [src/CMakeFiles/spark.dir/asobject.cpp.o] Error 1
    make[2]: *** [src/CMakeFiles/spark.dir/memory_support.cpp.o] Error 1
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp: In function 'lightspark::SystemState* lightspark::getSys()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:58:35: warning: 'void* g_static_private_get(GStaticPrivate*)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:246): Use 'g_private_get' instead [-Wdeprecated-declarations]
    SystemState* ret = (SystemState*)g_static_private_get(&tls_system);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:58:67: warning: 'void* g_static_private_get(GStaticPrivate*)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:246): Use 'g_private_get' instead [-Wdeprecated-declarations]
    SystemState* ret = (SystemState*)g_static_private_get(&tls_system);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp: In function 'void lightspark::setTLSSys(lightspark::SystemState*)':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:64:9: warning: 'void g_static_private_set(GStaticPrivate*, gpointer, GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:249): Use 'g_private_set' instead [-Wdeprecated-declarations]
    g_static_private_set(&tls_system,sys,NULL);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:64:50: warning: 'void g_static_private_set(GStaticPrivate*, gpointer, GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:249): Use 'g_private_set' instead [-Wdeprecated-declarations]
    g_static_private_set(&tls_system,sys,NULL);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp: In function 'lightspark::ParseThread* lightspark::getParseThread()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:70:34: warning: 'void* g_static_private_get(GStaticPrivate*)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:246): Use 'g_private_get' instead [-Wdeprecated-declarations]
    ParseThread* pt = (ParseThread*)g_static_private_get(&parse_thread_tls);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:70:72: warning: 'void* g_static_private_get(GStaticPrivate*)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:246): Use 'g_private_get' instead [-Wdeprecated-declarations]
    ParseThread* pt = (ParseThread*)g_static_private_get(&parse_thread_tls);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp: In member function 'virtual void lightspark::ParseThread::execute()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:1274:2: warning: 'void g_static_private_set(GStaticPrivate*, gpointer, GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:249): Use 'g_private_set' instead [-Wdeprecated-declarations]
    g_static_private_set(&parse_thread_tls,this,NULL);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:1274:50: warning: 'void g_static_private_set(GStaticPrivate*, gpointer, GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:249): Use 'g_private_set' instead [-Wdeprecated-declarations]
    g_static_private_set(&parse_thread_tls,this,NULL);
    ^
    make[2]: *** [src/CMakeFiles/spark.dir/swf.cpp.o] Error 1
    make[1]: *** [src/CMakeFiles/spark.dir/all] Error 2
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build lightspark.
    ==> Restart building lightspark ? [y/N]
    ==> -----------------------------------
    ==>
    I can't find if it is related to the lighspark code or if it is specific to Arch Linux.
    Last edited by mau5kito (2013-08-17 14:48:24)

    It seems lightspark was written for an old version of ffmpeg.  I was able to solve some problems with patches, but more and more would keep popping up.
    There is a -git version which should work.  I'm compiling it now to verify - and so far so good (but it's taking a while on my old hardware).
    EDIT: confirmed, lightspark-git builds fine.
    Last edited by Trilby (2013-08-17 12:37:31)

  • [SOLVED] Cannot build pd-extended-svn

    Trying to install pd-extended-svn from AUR. 
    here's the error:
    http://pastebin.com/m3f32dae6
    thanks
    Cleaned my AUR build dir and it's a go now.  cheers
    Last edited by bloodniece (2009-04-28 05:40:10)

    Trying to install pd-extended-svn from AUR. 
    here's the error:
    http://pastebin.com/m3f32dae6
    thanks
    Cleaned my AUR build dir and it's a go now.  cheers
    Last edited by bloodniece (2009-04-28 05:40:10)

  • [SOLVED] Cannot build openswan from AUR

    Hello everybody,
    I have an error when I try to upgrade openswan with yaourt/AUR (2.6.24-2 => 2.6.25-1) on a i686 arch install
    This is the error :
    make[3]: Entering directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs/addconn'
    cc -c -fno-strict-aliasing -g -Werror -DKLIPS -DSCANDIR_HAS_CONST -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/pluto -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/ -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25 -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -DKLIPS -DNAT_TRAVERSAL -DNAT_TRAVERSAL -DKERNEL_ALG -DIKE_ALG -DFINALCONFDIR=\"/etc\" -DFINALCONFDDIR=\"/etc/ipsec.d\" -DFINALCONFFILE=\"/etc/ipsec.conf\" -DFINALVARDIR=\"/var\" -Werror /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/addconn.c
    cc1: warnings being treated as errors
    In file included from /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/addconn.c:51:0:
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:37:19: error: comparison between 'enum keyword_string_config_field' and 'enum keyword_string_conn_field'
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:38:19: error: comparison between 'enum keyword_numeric_config_field' and 'enum keyword_numeric_conn_field'
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:39:34: error: comparison between 'enum keyword_string_config_field' and 'enum keyword_string_conn_field'
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:40:34: error: comparison between 'enum keyword_numeric_config_field' and 'enum keyword_numeric_conn_field'
    make[3]: *** [addconn.o] Error 1
    make[3]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs/addconn'
    make[2]: *** [programs] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs'
    make[1]: *** [programs] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386'
    make: *** [programs] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build openswan package.
    Error: unable to update openswan
    Following packages have not been installed:
    openswan
    Is a bug with the AUR package or is a problème on my install ?
    Thx for the help.
    Olive
    Last edited by nolive (2010-05-05 06:58:38)

    ok, that's build when I comment this in /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/Makefile.program
    # die if there are any warnings
    ifndef WERROR
    #WERROR:= -Werror
    endif
    And run the compile directly (not with yaourt or pkgbuild) with
    sudo make programs install
    in /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25
    But my ipsec VPN don't work :
    sudo ipsec auto --up toto
    003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in main_outI1. Errno 22: Invalid argument
    104 "toto" #1: STATE_MAIN_I1: initiate
    010 "toto" #1: STATE_MAIN_I1: retransmission; will wait 20s for response
    003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in EVENT_RETRANSMIT. Errno 22: Invalid argument
    010 "toto" #1: STATE_MAIN_I1: retransmission; will wait 40s for response
    003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in EVENT_RETRANSMIT. Errno 22: Invalid argument
    Thank's for your help. I haven't the skills for checking the code.

  • [SOLVED] Cannot build Gnash on x86_64

    I would like to build a custom Gnash with changes to the renderer and media options (--enable-renderer=all and --enable-media=gst), however, I am on a 64-bit system and my builds (I've tried gnash-common through the ABS and gnash-trunk-git from the AUR) consistently abort with these errors:
    /usr/bin/ld: skipping incompatible /usr/lib32/libSDL.so when searching for -lSDL
    /usr/bin/ld: skipping incompatible /usr/lib32/libgobject-2.0.so when searching for -lgobject-2.0
    /usr/bin/ld: skipping incompatible /usr/lib32/libgobject-2.0.a when searching for -lgobject-2.0
    /usr/bin/ld: skipping incompatible /usr/lib32/libgmodule-2.0.so when searching for -lgmodule-2.0
    /usr/bin/ld: skipping incompatible /usr/lib32/libgmodule-2.0.a when searching for -lgmodule-2.0
    /usr/bin/ld: skipping incompatible /usr/lib32/libgthread-2.0.so when searching for -lgthread-2.0
    /usr/bin/ld: skipping incompatible /usr/lib32/libgthread-2.0.a when searching for -lgthread-2.0
    /usr/bin/ld: skipping incompatible /usr/lib32/libxml2.so when searching for -lxml2
    /usr/bin/ld: skipping incompatible /usr/lib32/libxml2.a when searching for -lxml2
    /usr/bin/ld: skipping incompatible /usr/lib32/libglib-2.0.so when searching for -lglib-2.0
    /usr/bin/ld: skipping incompatible /usr/lib32/libglib-2.0.a when searching for -lglib-2.0
    /usr/bin/ld: skipping incompatible /usr/lib32/libjpeg.so when searching for -ljpeg
    /usr/bin/ld: skipping incompatible /usr/lib32/libjpeg.a when searching for -ljpeg
    /usr/bin/ld: skipping incompatible /usr/lib32/libgif.so when searching for -lgif
    /usr/bin/ld: skipping incompatible /usr/lib32/libgif.a when searching for -lgif
    /usr/bin/ld: skipping incompatible /usr/lib32/libltdl.so when searching for -lltdl
    /usr/bin/ld: skipping incompatible /usr/lib32/libltdl.a when searching for -lltdl
    /usr/bin/ld: skipping incompatible /usr/lib32/libGL.so when searching for -lGL
    /usr/bin/ld: skipping incompatible /usr/lib32/libGLU.so when searching for -lGLU
    /usr/lib32/libcairo.so: could not read symbols: File in wrong format
    (it aborts here)
    Google turns up nothing useful, unfortunately. I recall having this issue on Debian as well, so it's not Arch-specific (but it is architecture-specific-- my Debian install was 64-bit as well). What can I do to fix this?
    Last edited by DrKillPatient (2012-07-05 23:27:12)

    Aha, I've fixed it. Info on this error was quite hard to find, but I found something on a mailing list mentioning that if one uses a multilib system, 64-bit with both /usr/lib and /usr/lib32, Gnash will use /usr/lib32, although it shouldn't do so. In order to fix this bug, one must edit the "libslist" file at gnash-0.8.10/macros/libslist. In it, there are two entries that include "lib32". Remove those entries entirely (entries are separated by spaces), then build Gnash as normal. (Since I used the gnash package from the ABS, this required the usual 'makepkg -s', albeit with a modfied PKGBULD that replaces the default macros/libslist with a fixed version before building.) Packages for gnash-gtk and gnash-common should be generated.
    I applied this fix to gnash 0.8.10 from the community repo, but I assume it works similarly with gnash-git from the AUR.
    EDIT: Well, it installed... but it's just giving me a blank video area when I open a Youtube page. Running firefox from the terminal gives me no error messages...
    EDIT 2: Any one of various versions of gnash (git, community repo, custom builds)  seem to give a blank video area on Youtube. Still no error messages. What can I do now?
    Last edited by DrKillPatient (2012-07-03 03:17:24)

  • [solved] Cannot launch cinnamon-settings - missing image module

    Hello,
    When I try to run `cinnamon-settings` it fails with the following message:
    [orschiro@thinkpad ~]$ cinnamon-settings
    No module named Image
    However, I seem to have installed all relevant packages:
    :: python2-imaging and python2-pillow are in conflict (python-imaging). Remove python2-pillow? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: cinnamon: requires python2-pillow
    Any ideas?
    Last edited by orschiro (2013-11-09 07:51:01)

    orschiro wrote:
    Hello,
    When I try to run `cinnamon-settings` it fails with the following message:
    [orschiro@thinkpad ~]$ cinnamon-settings
    No module named Image
    It may be that there is a file missing in /usr/lib/cinnamon-settings/modules, or code missing from one of the files in that folder. I honestly couldn't say because development is going so fast.
    @orschiro: Which versions of the cinnamon and cinnamon-settings-daemon packages do you have installed?
    @Karol: It may be unrelated seeing as pam is a separate package to cinnamon-settings-daemon, but I wouldn't rule it out just yet.

  • Is there an App in App Store to solve  "Cannot Use Device - 'The connected USB device requires too much power' error

    I'm not an app developer, but I'm wondering if there is an app that enable's USB devices connected via the camera USB and using the most current iOS 5.0 to use USB devices that draw on the iPad's power. I'm making reference to some USB microphones such as Blue Yeti that have suggested that to get a Blue Yeti working one hasto downgrade to iOS 3.2.2?
    I'm thinking, can Apple or someone make this app so the user may think, "okay I want more power now to record something", and the user can turn up the power and when they've done recording, go to the app, turn down the power when the USB device is not in use [by turning down the power via the app].
    Of course with the App, Apple or the developer may state that using the USB Charge Changer radically reduces the charge of the device. It'll keep a LOT of musicians and creative types very happy. I hope with Apple's blessing they'll consider this.
    Hey, I'll pay 5 bucks to get this app!

    No, third-party apps cannot change the power drawn by USB devices. Such a change would have to come from Apple in an IOS update.
    Send feedback directly to Apple about this here: http://www.apple.com/feedback/ipad.html

  • SAPConnect, Message no. XS 818, Cannot build CVL document.

    We are facing one issue in SAPConnect transaction SCOT/SOST. Checking
    the List in SOST, there are various fail transmission for FAX. The
    error message is
    Cannot process message in node (for reason, see long text)
    Message no. XS 818
    Diagnosis
    The message could not be processed due to a technical error in the
    node.
    System Response
    Processing was terminated.
    Procedure
    The reason is given in the details below.
    Cannot build CVL document.
    We have checked the SAPNet and search for OSS Note and we did not
    find any SAP notes on this particular error message.
    Can anyone tell me what is this error "Cannot build CVL document"
    We are using RightFax to send the faxes. All RFC destination and ping to RightFax server working fine.
    Any help on this will be highly appreciated.
    Thanks in advance
    Best Regards
    CK

    Hi
    We had this same problem and found that the SQL Database on the RightFax Server was full and could
    not extend any further, deleted records from database and problem was solved.
    Regards
    Prevan

  • How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    Screenshot of how it looks when i try to show a ms access form inside a iframe:
    http://oi58.tinypic.com/2vj4ish.jpg

  • Check for used DCs failed:Cannot build because used component is broken

    Hi All,
    when i Build the DC after creation public part getting the below error,
    Jun 30, 2008 4:06:41 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: eprtest: Build failed for chdp.com/eprtest(MyComponents) in variant "default": Cannot build because used component is broken: chdp.com/labourmanagement( MyComponents)
    please help me.
    Thanks,
    RameshBabu.V

    Hi rameshbabu,
                             Check for the dc chdp.com/labourmanagement , which u r using as dependency for ur dc . That dc is not built properly. Rectify the problem in chdp.com/labourmanagement & then rebuild ur dc, which is using that dc as used dc.It will work properly.
    regards
    Sumit

  • [SOLVED]Awesome build process gets stuck

    Hi there Archers,
    When I try to build the latest version of Awesome it manages to install all the dependencies, but when it comes to actually building awesome it consistently gets stuck on the following line:
    Scanning dependencies of target man
    [ 57%] Generating manpages/man1/awesome.1.xml
    [ 57%] Generating manpages/man1/awesome.1
    It stays there indefinitely.
    On the AUR-page for this package I got the advice that running makepkg with root privileges might solve the problem, but I don't think this is a proper solution. Posts from Bionic_Apple seem to have some connection to my problem.
    With my limited understanding of the make files inside the build directory, I've concluded that it all looks OK, but that doesn't stop it from freezing half-way through the process.
    Any ideas on how I could make the install finish that doesn't involve root privileges?
    Last edited by linduxed (2012-01-19 00:48:12)

    Solved by building as root in a chroot environment.

  • Tk installed, but cannot build tk-app

    tried to build http://zakros.ucsd.edu/~arobert/hanzim.html
    cc -o hanzim hanwin.o hanzim.o hinit.o hutil.o -L /usr/X11/lib -L /usr/lib -ltk -ltcl -lX11 -lm -ldl -s
    /usr/bin/ld: cannot find -ltk
    collect2: ld returned 1 exit status
    make: *** [hanzim] Error 1
    ==> Build Failed. Aborting...
    where are these libs? do i need something else than the "tk"-package? (?libtk?) please help

    here the config-part from Makefile --- there is no configure
    # System type
    OS=UNIX
    #OS=WINDOWS
    # location of Tcl and Tk libraries
    LIBTCLDIR = -L /usr/lib
    # location of x library
    LIBXDIR = -L /usr/X11/lib
    # you might need to change "libtcl" and "libtk" to "libtcl8.x" and "libtk8.x"
    LIBS = $(LIBXDIR) $(LIBTCLDIR) -ltk -ltcl -lX11 -lm -ldl
    INSTALL = install
    RM = rm -f
    CC = cc
    DEFINES = -D$(OS) -DLIBDIR="$(LIBDIR)"
    CFLAGS = -O2 $(DEFINES)
    #CFLAGS = -O2 -Wall -pedantic -ansi $(DEFINES)
    LFLAGS = $(LIBS) -s

  • OpenCV, cannot build package, 'a local symbol cannot be used'

    Hi
    I'm tryin to build the OpenCV package from AUR.
    http://aur.archlinux.org/packages.php?ID=1747
    But i doesn't compile:
    g++ -shared -nostdlib /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/crtbeginS.o .libs/dummy.o -Wl,--whole-archive./.libs/lib_highgui.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cxcore/src/.libs -Wl,--rpath -Wl,/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cv/src/.libs ../../cxcore/src/.libs/libcxcore.so ../../cv/src/.libs/libcv.so -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo-lpango-1.0 -lfreetype -lfontconfig -lgdk_pixbuf-2.0 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lgstbase-0.10 -lpng12 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/libjpeg.a -lz -ltiff -ljasper -lpthread -ldl -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/crtn.o -msse2 -march=x86-64 -mtune=generic -pthread -pthread -Wl,-soname -Wl,libhighgui.so.2 -o .libs/libhighgui.so.2.0.0
    /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/libjpeg.a(jcapimin.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/libjpeg.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    Any ideas on this?
    i tried both backends, gstreamer and ffmpeg.

    After i searched a bit, i found out that they suggest with linking errors to do a "autoreconfig" and a "make distclean". When i try that, i get:
    make[3]: Entering directory `/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cxcore/src'
    /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I../../cxcore/include -I../..  -DNDEBUG  -Wall -fno-rtti -pipe -O3 -g  -msse2   -MT cxalloc.lo -MD -MP -MF .deps/cxalloc.Tpo -c -o cxalloc.lo cxalloc.cpp
    ../../libtool: line 847: X--tag=CXX: command not found
    ../../libtool: line 880: libtool: ignoring unknown tag : command not found
    ../../libtool: line 847: X--mode=compile: command not found
    ../../libtool: line 1014: *** Warning: inferring the mode of operation is deprecated.: command not found
    ../../libtool: line 1015: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
    ../../libtool: line 1158: Xg++: command not found
    ../../libtool: line 1158: X-DHAVE_CONFIG_H: command not found
    ../../libtool: line 1158: X-I.: command not found
    ../../libtool: line 1158: X-I../..: No such file or directory
    ../../libtool: line 1158: X-I.: command not found
    ../../libtool: line 1158: X-I../../cxcore/include: No such file or directory
    ../../libtool: line 1158: X-I../..: No such file or directory
    ../../libtool: line 1158: X-DNDEBUG: command not found
    ../../libtool: line 1158: X-Wall: command not found
    ../../libtool: line 1158: X-fno-rtti: command not found
    ../../libtool: line 1158: X-pipe: command not found
    ../../libtool: line 1158: X-O3: command not found
    ../../libtool: line 1158: X-g: command not found
    ../../libtool: line 1158: X-msse2: command not found
    ../../libtool: line 1158: X-MT: command not found
    ../../libtool: line 1158: Xcxalloc.lo: command not found
    ../../libtool: line 1158: X-MD: command not found
    ../../libtool: line 1158: X-MP: command not found
    ../../libtool: line 1158: X-MF: command not found
    ../../libtool: line 1158: X.deps/cxalloc.Tpo: No such file or directory
    ../../libtool: line 1158: X-c: command not found
    ../../libtool: line 1211: Xcxalloc.lo: command not found
    ../../libtool: line 1216: libtool: compile: cannot determine name of library object from `': command not found
    make[3]: *** [cxalloc.lo] Error 1
    make[3]: Leaving directory `/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cxcore/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/wishes/build/opencv/opencv/src/opencv-1.1.0/cxcore'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/wishes/build/opencv/opencv/src/opencv-1.1.0'
    make: *** [all] Error 2

  • [SOLVED] Successully building an ADA compiler

    Hi *
    I'm trying to compile the gnat ada compiler and to do this i followed the arch wiki.
    http://wiki.archlinux.org/index.php/Suc … er_in_Arch
    But i get the following error:
    configure: error: C compiler cannot create executables
    I followed the troubleshooting section which describes this error, and made the necessary changes to my makepkg.conf file but the error still persists.
    So I then looked in the config.log file:
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by configure, which was
    generated by GNU Autoconf 2.59. Invocation command line was
    $ ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang,ada --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
    ## Platform. ##
    hostname = biscuit_tin
    uname -m = i686
    uname -r = 2.6.29-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Wed Apr 8 12:47:56 UTC 2009
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = i686
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: ~/ADA_BUILD/RPM/opt/gnat/gcc/bin/
    PATH: /bin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /opt/kde/bin
    PATH: /usr/bin/perlbin/site
    PATH: /usr/bin/perlbin/vendor
    PATH: /usr/bin/perlbin/core
    PATH: /opt/qt/bin
    ## Core tests. ##
    configure:1505: checking build system type
    configure:1523: result: i686-pc-linux-gnu
    configure:1558: checking host system type
    configure:1572: result: i686-pc-linux-gnu
    configure:1580: checking target system type
    configure:1594: result: i686-pc-linux-gnu
    configure:1637: checking for a BSD-compatible install
    configure:1692: result: /bin/install -c
    configure:1703: checking whether ln works
    configure:1725: result: yes
    configure:1729: checking whether ln -s works
    configure:1733: result: yes
    configure:2885: checking for gcc
    configure:2901: found /usr/bin/gcc
    configure:2911: result: gcc
    configure:3155: checking for C compiler version
    configure:3158: gcc --version </dev/null >&5
    gcc (GCC) 4.1.1
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    configure:3161: $? = 0
    configure:3163: gcc -v </dev/null >&5
    Using built-in specs.
    Target: i386-redhat-linux-gnu
    Configured with: ../gcc-4.1.1/configure --enable-gmp --enable-mpfr --enable-threads=posix --prefix=/opt/gnat/gcc --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ i386-redhat-linux-gnu
    Thread model: posix
    gcc version 4.1.1
    configure:3166: $? = 0
    configure:3168: gcc -V </dev/null >&5
    gcc: '-V' option must have argument
    configure:3171: $? = 1
    configure:3194: checking for C compiler default output file name
    configure:3197: gcc -march=i686 -O2 -pipe conftest.c >&5
    gcc: error trying to exec 'cc1': execvp: No such file or directory
    configure:3200: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3239: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i686-pc-linux-gnu
    ac_cv_build_alias=i686-pc-linux-gnu
    ac_cv_env_AR_FOR_TARGET_set=
    ac_cv_env_AR_FOR_TARGET_value=
    ac_cv_env_AR_set=
    ac_cv_env_AR_value=
    ac_cv_env_AS_FOR_TARGET_set=
    ac_cv_env_AS_FOR_TARGET_value=
    ac_cv_env_AS_set=
    ac_cv_env_AS_value=
    ac_cv_env_CC_FOR_TARGET_set=
    ac_cv_env_CC_FOR_TARGET_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=i686 -O2 -pipe'
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CXXFLAGS_set=set
    ac_cv_env_CXXFLAGS_value='-march=i686 -O2 -pipe'
    ac_cv_env_CXX_FOR_TARGET_set=
    ac_cv_env_CXX_FOR_TARGET_value=
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_DLLTOOL_FOR_TARGET_set=
    ac_cv_env_DLLTOOL_FOR_TARGET_value=
    ac_cv_env_DLLTOOL_set=
    ac_cv_env_DLLTOOL_value=
    ac_cv_env_GCC_FOR_TARGET_set=
    ac_cv_env_GCC_FOR_TARGET_value=
    ac_cv_env_GCJ_FOR_TARGET_set=
    ac_cv_env_GCJ_FOR_TARGET_value=
    ac_cv_env_GFORTRAN_FOR_TARGET_set=
    ac_cv_env_GFORTRAN_FOR_TARGET_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_LD_FOR_TARGET_set=
    ac_cv_env_LD_FOR_TARGET_value=
    ac_cv_env_LD_set=
    ac_cv_env_LD_value=
    ac_cv_env_LIPO_FOR_TARGET_set=
    ac_cv_env_LIPO_FOR_TARGET_value=
    ac_cv_env_LIPO_set=
    ac_cv_env_LIPO_value=
    ac_cv_env_NM_FOR_TARGET_set=
    ac_cv_env_NM_FOR_TARGET_value=
    ac_cv_env_NM_set=
    ac_cv_env_NM_value=
    ac_cv_env_OBJCOPY_set=
    ac_cv_env_OBJCOPY_value=
    ac_cv_env_OBJDUMP_FOR_TARGET_set=
    ac_cv_env_OBJDUMP_FOR_TARGET_value=
    ac_cv_env_OBJDUMP_set=
    ac_cv_env_OBJDUMP_value=
    ac_cv_env_RANLIB_FOR_TARGET_set=
    ac_cv_env_RANLIB_FOR_TARGET_value=
    ac_cv_env_RANLIB_set=
    ac_cv_env_RANLIB_value=
    ac_cv_env_STRIP_FOR_TARGET_set=
    ac_cv_env_STRIP_FOR_TARGET_value=
    ac_cv_env_STRIP_set=
    ac_cv_env_STRIP_value=
    ac_cv_env_WINDMC_FOR_TARGET_set=
    ac_cv_env_WINDMC_FOR_TARGET_value=
    ac_cv_env_WINDMC_set=
    ac_cv_env_WINDMC_value=
    ac_cv_env_WINDRES_FOR_TARGET_set=
    ac_cv_env_WINDRES_FOR_TARGET_value=
    ac_cv_env_WINDRES_set=
    ac_cv_env_WINDRES_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=i686-pc-linux-gnu
    ac_cv_host_alias=i686-pc-linux-gnu
    ac_cv_path_install='/bin/install -c'
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_target=i686-pc-linux-gnu
    ac_cv_target_alias=i686-pc-linux-gnu
    acx_cv_prog_LN=ln
    ## Output variables. ##
    AR=''
    AR_FOR_BUILD='$(AR)'
    AR_FOR_TARGET=''
    AS=''
    AS_FOR_BUILD='$(AS)'
    AS_FOR_TARGET=''
    BISON=''
    CC='gcc'
    CC_FOR_BUILD='$(CC)'
    CC_FOR_TARGET=''
    CFLAGS='-march=i686 -O2 -pipe'
    CFLAGS_FOR_BUILD=''
    COMPILER_AS_FOR_TARGET=''
    COMPILER_LD_FOR_TARGET=''
    COMPILER_NM_FOR_TARGET=''
    CONFIGURE_GDB_TK=''
    CPPFLAGS=''
    CXX=''
    CXXFLAGS='-march=i686 -O2 -pipe'
    CXXFLAGS_FOR_BUILD=''
    CXX_FOR_BUILD='$(CXX)'
    CXX_FOR_TARGET=''
    DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
    DEFS=''
    DLLTOOL=''
    DLLTOOL_FOR_BUILD='$(DLLTOOL)'
    DLLTOOL_FOR_TARGET=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EXEEXT=''
    EXPECT=''
    FLAGS_FOR_TARGET=''
    FLEX=''
    GCC_FOR_TARGET=''
    GCJ_FOR_BUILD='$(GCJ)'
    GCJ_FOR_TARGET=''
    GDB_TK=''
    GFORTRAN_FOR_BUILD='$(GFORTRAN)'
    GFORTRAN_FOR_TARGET=''
    GNATBIND=''
    GNATMAKE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_GDB_TK=''
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    LD=''
    LDFLAGS=''
    LDFLAGS_FOR_BUILD=''
    LD_FOR_BUILD='$(LD)'
    LD_FOR_TARGET=''
    LEX=''
    LIBOBJS=''
    LIBS=''
    LIPO=''
    LIPO_FOR_TARGET=''
    LN='ln'
    LN_S='ln -s'
    LTLIBOBJS=''
    M4=''
    MAINT=''
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE=''
    MAKEINFO=''
    NM=''
    NM_FOR_BUILD='$(NM)'
    NM_FOR_TARGET=''
    OBJCOPY=''
    OBJDUMP=''
    OBJDUMP_FOR_TARGET=''
    OBJEXT=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    RANLIB=''
    RANLIB_FOR_BUILD='$(RANLIB)'
    RANLIB_FOR_TARGET=''
    RAW_CXX_FOR_TARGET=''
    RPATH_ENVVAR=''
    RUNTEST=''
    SHELL='/bin/sh'
    STRIP=''
    STRIP_FOR_TARGET=''
    SYSROOT_CFLAGS_FOR_TARGET=''
    TOPLEVEL_CONFIGURE_ARGUMENTS='../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang,ada --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic'
    WINDMC=''
    WINDMC_FOR_BUILD='$(WINDMC)'
    WINDMC_FOR_TARGET=''
    WINDRES=''
    WINDRES_FOR_BUILD='$(WINDRES)'
    WINDRES_FOR_TARGET=''
    YACC=''
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_GNATBIND=''
    ac_ct_GNATMAKE=''
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnu'
    build_alias=''
    build_configargs=''
    build_configdirs='build-libiberty build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes'
    build_cpu='i686'
    build_libsubdir='build-i686-pc-linux-gnu'
    build_noncanonical='i686-pc-linux-gnu'
    build_os='linux-gnu'
    build_subdir='build-i686-pc-linux-gnu'
    build_tooldir=''
    build_vendor='pc'
    config_shell='/bin/sh'
    configdirs='intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools'
    datadir='${prefix}/share'
    datarootdir=''
    do_compare=''
    docdir=''
    exec_prefix='NONE'
    gmpinc=''
    gmplibs=''
    host='i686-pc-linux-gnu'
    host_alias=''
    host_configargs=''
    host_cpu='i686'
    host_noncanonical='i686-pc-linux-gnu'
    host_os='linux-gnu'
    host_subdir='.'
    host_vendor='pc'
    htmldir=''
    includedir='${prefix}/include'
    infodir='/usr/share/info'
    libdir='/usr/lib'
    libexecdir='/usr/lib'
    localstatedir='${prefix}/var'
    mandir='/usr/share/man'
    oldincludedir='/usr/include'
    pdfdir=''
    prefix='/usr'
    program_transform_name='s,y,y,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    stage1_cflags=''
    stage1_checking=''
    stage1_languages=''
    stage2_werror_flag=''
    sysconfdir='${prefix}/etc'
    target='i686-pc-linux-gnu'
    target_alias=''
    target_configargs=''
    target_cpu='i686'
    target_noncanonical='i686-pc-linux-gnu'
    target_os='linux-gnu'
    target_subdir='i686-pc-linux-gnu'
    target_vendor='pc'
    tooldir=''
    ## Output files. ##
    alphaieee_frag=''
    host_makefile_frag='config/mh-x86omitfp'
    ospace_frag=''
    serialization_dependencies=''
    target_makefile_frag=''
    ## confdefs.h. ##
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    configure: exit 77
    But i'm still unsure what the problem is!
    ~cupcake
    Last edited by cupcake (2009-04-15 03:10:46)

    mmm maybe the wiki page is outdated. I reccomend to use this PKGBUILD [#1]
    Do this:
    # pacman -S base-devel
    $ wget http://aur.archlinux.org/packages/gcc-ada/gcc-ada.tar.gz
    $ tar xf gcc-ada.tar.gz
    $ cd gcc-ada
    $ makepkg
    Take a coffee
    And a gcc-ada package will be created, just install with pacman -U
    [#1] http://aur.archlinux.org/packages.php?ID=15042

  • [SOLVED]Cannot compile Wine on Arch64

    I am trying to compile the 32 bit version of Wine on Arch 64. I know I could use PKGBUILDS and all that but I want to compile it from scratch.
    I am not very experienced (at all) so please  post in retard language for me.
    bash-3.2# ./configure
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... 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 ISO C89... none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for cpp... cpp
    checking whether gcc -m32 works... no
    configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
    I have installed the lib32 package, I don't know what I'm missing. I have done this before on an X86_64 system but never on Arch Linux.
    Any ideas on what I might need?
    Thanks!
    Last edited by speng (2009-01-18 02:37:28)

    speng wrote:
    I'll try this. When I have compiled wine, do I need to use the Arch32 system every time I want to load a program?
    Also, is this the only way to do it?
    Thanks.
    You're going to need a bunch of 32 bit libraries to run 32 bit Wine. Either a chroot or lib32 libraries will work.
    I don't know much about cross compilers, so I can't help with your other question. What distro were you running when you did this before?

Maybe you are looking for

  • Short text of service entry sheet in accounting document

    Hi All I want shor text (ESSR - TXZ01) of service entry sheet to get populated in the text field(BSEG - SGTXT) of corresponding accounting document of service entry sheet created against GR document. Please suggest how  can I achieve the same.Is ther

  • Embedding graphic in Email

    I need help with embedding a graphic in email. I have a desktop progarm that allows me to do so, but I havent been able to do it in CF. Running CF7

  • How to make a trailing light animation like new Nikita TV show logo background

    Hi folks. I'm looking all over for some help on this and thought maybe some of you could point me in the right direction or even tell me how to do it! http://www.youtube.com/watch?v=YrLkkxvkj24 In this video at 45 seconds you will see lights in the b

  • ABAP certification exam...

    Hi SAP Experts Could any of u give any sample questions & answers for ABAP certification....please also let me know how to prepare for taking up ABAP certification exam... Or if u have any documents Do send it to this ID [email protected] Any general

  • Mac Pro display going blank when opening Pages.

    I have a Early 2008 MacPro 3,1, 2 x 2.8 GHz Quad-Core Intel Xeon, 2GB 800 MHz DDR2 FB-DIMM / MAC OS X LION Version 10.7.4 Graphics  ATI Radeon HD 2600 XT 256 MB. When I open Pages, the screen goes black with horizontally moving thin white stripes - T