[SOLVED]can't compile from aur

/usr/bin/ld: main.o: undefined reference to symbol 'XPending'
/usr/bin/ld: note: 'XPending' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [netwmpager] error 1
Last edited by nevliv (2012-05-30 01:56:33)

Yup, not quite the same problem.  It's an entirely independent problem with a related root cause: old/faulty PKGBUILDS.
Terminator is correct about the general solution, but note the sed line will have to be modified more than that.  The above sed line was specific to the netwmpager Makefile.  The extcalc Makefile will not have the same linker line so the sed context will not match.
For one-of fixes, it's probably easier to manually edit the Makefile.  Once you find an edit that works, it can be made into a sed line [and reported to the package maintainer] so they can add it to the PKGBUILD in the AUR, so other users can benefit from your fix.
Just to stress that last point - please make sure  you are reporting these problems and the fixes on the AUR page of the package.
EDIT: I just looked at extcalc.  It uses cmake.  I'm not remotely familiar with cmake, so the exact solution for this package may be very different.
Last edited by Trilby (2012-05-29 13:02:02)

Similar Messages

  • [SOLVED] Can't compile hdjmod and hdjcpl from AUR.

    Hello,
    I've bought a Hercules DJ Console MK2, and I would like to use it with Mixxx.
    It doesn't seem to be recognized by Mixxx, probably because no drivers are installed.
    So I decide to install hdjmod from AUR.
    It also gets hdjcpl (dependency), but while compiling, it fails.
    Here's the error message :
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c ghelpers.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gbutton.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gcheckbox.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gcombobox.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gslider.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gstatic.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gstatictext.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps gcc -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -c binreloc.c
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    g++ -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -pthread -o hdjcpl hdjcpl.o alsainterface.o bulkinterface.o drivernotification.o hidnotification.o dmanager.o localization.o devnulldlg.o devdjcdlg.o devmk2dlg.o devmp3dlg.o devrmxdlg.o devsteeldlg.o gcontrol.o gdialog.o ghelpers.o gbutton.o gcheckbox.o gcombobox.o gslider.o gstatic.o gstatictext.o binreloc.o -L../../wxWidgets-2.8.10/buildgtk/lib -lz -lm -lasound -pthread -lSM -lgtk-x11-2.0 -lgthread-2.0 -lglib-2.0 -lwx_gtk2_adv-2.8 -lwx_gtk2_core-2.8 -lwx_base-2.8 -lwxpng-2.8
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::ChangeMode(wxVideoMode const&)':
    displayx11.cpp:(.text+0x20f): undefined reference to `XF86VidModeGetAllModeLines'
    displayx11.cpp:(.text+0x2f1): undefined reference to `XF86VidModeSwitchToMode'
    displayx11.cpp:(.text+0x3bd): undefined reference to `XF86VidModeSwitchToMode'
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::GetCurrentMode() const':
    displayx11.cpp:(.text+0x462): undefined reference to `XF86VidModeGetModeLine'
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::GetModes(wxVideoMode const&) const':
    displayx11.cpp:(.text+0x6b7): undefined reference to `XF86VidModeGetAllModeLines'
    collect2: ld returned 1 exit status
    make[2]: *** [hdjcpl] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-alex/aur-hdjcpl/hdjcpl/src/hdjcpl-1.09/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-alex/aur-hdjcpl/hdjcpl/src/hdjcpl-1.09'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build hdjcpl package.
    Do you have any idea about the reason I got this error ?
    What are the prerequisite to install these drivers (I mean, is there any other dependency that isn't asked in the PKGBUILD ?) ?
    Sorry for my bad english.
    Thanks for future answers.
    skYzer
    Last edited by skYzer (2009-09-23 10:32:20)

    Welcome to the forum skYzer!
    makepkg can show you if there are some dependencies that you didn't installed, and makepkg with -s option does it for you automatically, so it installs all the dependencies.
    If the author missed this dependencies from the PKGBUILD, you can see on the url address in the PKGBUILD (so on the author site) what do they write about dependencies, in last case try it manually, and see config.log, or similar outputs.
    Btw, it can be built by  me without any problem.
    Last case you could build it manually, without using fakeroot environment, and the PKGBUILD from maintainer.

  • [SOLVED] Can't compile kyotocabinet-python AUR package after Python up

    Hello,
    after today's upgrade to 3.3.0-1, Python lost access to the kyotocabinet package (kyotocabinet-python 1.22-1 from AUR). I tried to recompile it, but when I run makepkg, It just aborts with an error. Anyone knows what is going on?
    running build
    running build_ext
    building 'kyotocabinet' extension
    gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/python3.3m -c kyotocabinet.cc -o build/temp.linux-i686-3.3/kyotocabinet.o
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
    In file included from /usr/include/python3.3m/pyatomic.h:8:0,
    from /usr/include/python3.3m/Python.h:53,
    from kyotocabinet.cc:24:
    /usr/include/python3.3m/dynamic_annotations.h:472:3: error: template with C linkage
    error: command 'gcc' failed with exit status 1
    EDIT: Issue Solved.
    Last edited by jjalocha (2012-11-21 11:27:28)

    Hello,
    sadly I still haven't been able to recompile kyotocabinet-python with the new Python version (3.3.0-1)—it always gives the same error described in my first post. No new version has been released by Hatsuki Hirabayashi either, so I had to downgrade the system to Python 3.2.3-3.
    I'd like to know if anyone else is currently able/unable to use kyotocabinet-python, so that I may contact the package author directly.
    Any ideas?

  • [SOLVED] can't compile grass "Unable to locate includes."

    Hello everybody!
    I am somewhat stuck at getting QGIS up and running as I am not able to compile grass (https://aur.archlinux.org/packages/grass/).
    System is up-to-date Arch64 running 3.8.6-3-ck. I used cower to get the source-files and PKGBUILD from AUR.
    makepkg is throwing:
    checking for curses.h... no
    configure: error: *** Unable to locate curses includes.
    curses is of course installed and in /usr/include where it is supposed to be. After unsuccessfully fiddling around for a while I disabled curses-support in the PKGBUILD file (--without-curses) which got me as far as the zlib includes:
    checking for zlib.h... no
    configure: error: *** Unable to locate zlib includes.
    Trying grass7svn got me stuck with the same problems.
    If anyone could point me into a direction I would greatly appreciate it.
    Many thanks in advance!
    a
    The full output of makepkg (with and without curses) as well as the respective config.log files can be found here: https://gist.github.com/attractedtofire/5345416
    Last edited by attractedtofire (2013-04-12 11:16:37)

    Thanks brebs, I will look into that tomorrow!
    Funny enough I got grass to get through "./configure" manually with the exact same settings from the PKGBUILD, namely:
    ./configure --prefix=/opt --enable-64bit --enable-W11 --with-jpg --with-tiff --with-png --with-tcltk --with-opengl --with-fftw --with-postgres --with-freetype --with-freetype-includes=/usr/include/freetype2 --without-glw --with-nls --with-gdal --with-geos --with-proj-includes=/usr/include --with-proj-libs=/usr/lib --with-proj-share=/usr/share/proj --with-python=/usr/bin/python2-config --with-wxwidgets=/usr/bin/wx-config
    Ran through makepkg, which - as far as I understand from the PKGBUILD - does exactly the same, it throws up aforementioned configure-errors.
    I eventually ran ./configure and make, went back to the PKGBUILD, removed the build()-section and used makepkg just to turn the compiled source code into a pkg-file. It installed without a problem, will see if it works once qgis finished compiling.
    Anyway, I'd really like to understand what is the problem..

  • [SOLVED] Installing Catalyst drivers from AUR

    Hi everyone!
    Got me an new laptop and have an Radeon HD 3200 in it and hoped to get it working but
    I dont managed to get it to work so I hoped someone here could help me
    Ive tested the xf86-video-ati
                         xf86-video-radeonhd
                         xf86-video-radeonhd-git
    But those does get it to work but the performance is really shit and I really want 3d acceleration
    so I decided to give the catalyst 9.4-1 from AUR a go.
    Installs with yaourt and everything seems to go fine but when I startx it goes back to command line.
    My xorg:
    Section "ServerFlags"
          Option "DontZap" "false"
    EndSection
    #Section "Module"
    #      Load "glx"
    #      Load "dri"
    #      Load "drm"
    #EndSection
    Section "Device"
          Identifier "Card0"
          Driver "fglrx"
    #      Option "AccelMethod" "exa"
    #      Option "DRI" "on"
    #      Option "ColorTiling" "on"
    EndSection
    #Section "DRI"
    #      Group "video"
    #      Mode 0666
    #EndSection
    The commented lines were used for the radeonhd driver.
    Here is the Xorg.0.log when using fglrx driver:
    X.Org X Server 1.6.1
    Release Date: 2009-4-14
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.29-ARCH x86_64
    Current Operating System: Linux acer 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 29 15:36:46 CEST 2009 x86_64
    Build Date: 15 April 2009  11:01:49AM
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sat May  9 12:36:07 2009
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) No Layout section.  Using the first Screen section.
    (==) No screen section available. Using defaults.
    (**) |-->Screen "Default Screen Section" (0)
    (**) |   |-->Monitor "<default monitor>"
    (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
    (**) |   |-->Device "Card0"
    (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
    (**) Option "DontZap" "false"
    (==) Automatically adding devices
    (==) Automatically enabling devices
    (WW) The directory "/usr/share/fonts/Type1" does not exist.
        Entry deleted from font path.
    (==) FontPath set to:
        /usr/share/fonts/misc,
        /usr/share/fonts/100dpi:unscaled,
        /usr/share/fonts/75dpi:unscaled,
        /usr/share/fonts/TTF,
        built-ins
    (==) ModulePath set to "/usr/lib/xorg/modules"
    (II) Cannot locate a core pointer device.
    (II) Cannot locate a core keyboard device.
    (II) The server relies on HAL to provide the list of input devices.
        If no devices become available, reconfigure HAL or disable AllowEmptyInput.
    (II) Loader magic: 0x15c0
    (II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 5.0
        X.Org XInput driver : 4.0
        X.Org Server Extension : 2.0
    (II) Loader running on linux
    (--) using VT number 7
    (--) PCI:*(0@1:5:0) ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics] rev 0, Mem @ 0xd0000000/268435456, 0xcfdf0000/65536, 0xcfe00000/1048576, I/O @ 0x00009000/256
    (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    (II) No APM support in BIOS or kernel
    (II) System resource ranges:
        [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [4] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [5] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [6] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [7] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [8] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [9] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [10] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [11] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [12] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [13] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [14] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [15] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [16] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [17] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [18] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [19] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [20] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [21] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [22] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [23] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [24] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [25] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [26] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [27] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [28] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [29] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [30] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [31] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [32] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [33] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [34] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [35] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    (II) LoadModule: "extmod"
    (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.6.1, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension MIT-SCREEN-SAVER
    (II) Loading extension XFree86-VidModeExtension
    (II) Loading extension XFree86-DGA
    (II) Loading extension DPMS
    (II) Loading extension XVideo
    (II) Loading extension XVideo-MotionCompensation
    (II) Loading extension X-Resource
    (II) LoadModule: "dbe"
    (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.6.1, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DOUBLE-BUFFER
    (II) LoadModule: "glx"
    (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
    (II) Module glx: vendor="X.Org Foundation"
        compiled for 7.4.0, module version = 1.0.0
    (II) Loading extension GLX
    (II) LoadModule: "record"
    (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
    (II) Module record: vendor="X.Org Foundation"
        compiled for 1.6.1, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension RECORD
    (II) LoadModule: "dri"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
    (II) Module dri: vendor="X.Org Foundation"
        compiled for 7.4.0, module version = 1.0.0
    (II) Loading extension XFree86-DRI
    (II) Loading sub module "fglrxdrm"
    (II) LoadModule: "fglrxdrm"
    (II) Loading /usr/lib/xorg/modules/linux//libfglrxdrm.so
    (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
        compiled for 1.4.99.906, module version = 8.60.3
    (II) LoadModule: "dri2"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.6.1, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DRI2
    (II) LoadModule: "fglrx"
    (II) Loading /usr/lib/xorg/modules/drivers//fglrx_drv.so
    (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
        compiled for 1.4.99.906, module version = 8.60.3
        Module class: X.Org Video Driver
    (II) Primary Device is: PCI 01@00:05:0
    (WW) Falling back to old probe method for fglrx
    (II) ATI Proprietary Linux Driver Version Identifier:8.60.3
    (II) ATI Proprietary Linux Driver Release Identifier: 8.602                               
    (II) ATI Proprietary Linux Driver Build Date: Apr  1 2009 15:01:03
    (II) PCS database file /etc/ati/amdpcsdb not found
    (II)   Creating PCS database from initial defaults instead
    (WW) This ATI Proprietary Linux Driver does not guarantee support of video driver ABI higher than 2.0
    (WW) Video driver ABI version of the X server is 5.0
    (--) Assigning device section with no busID to primary device
    (--) Chipset Supported AMD Graphics Processor (0x9612) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:1) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:5:1) found
    (II) AMD Video driver is running on a device belonging to a group targeted for this release
    (II) AMD Video driver is signed
    (II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [4] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [5] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [6] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [7] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [8] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [9] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [10] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [11] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [12] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [13] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [14] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [15] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [16] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [17] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [18] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [19] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [20] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [21] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [22] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [23] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [24] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [25] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [26] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [27] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [28] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [29] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [30] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [31] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [32] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [33] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [34] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [35] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    (II) fglrx(0): pEnt->device->identifier=0x2499770
    (II) resource ranges after probing:
        [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [4] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [5] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [6] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [7] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [8] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [9] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [10] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [11] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [12] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [13] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [14] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [15] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [16] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [17] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [18] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [19] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [20] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [21] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [22] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [23] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [24] 0    0    0x000a0000 - 0x000affff (0x10000) MS[b]
        [25] 0    0    0x000b0000 - 0x000b7fff (0x8000) MS[b]
        [26] 0    0    0x000b8000 - 0x000bffff (0x8000) MS[b]
        [27] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [28] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [29] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [30] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [31] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [32] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [33] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [34] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [35] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [36] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [37] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [38] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [39] 0    0    0x000003b0 - 0x000003bb (0xc) IS[b]
        [40] 0    0    0x000003c0 - 0x000003df (0x20) IS[b]
    (II) Setting vga for screen 0.
    (II) fglrx(0): === [atiddxPreInit] === begin
    (II) Loading sub module "vgahw"
    (II) LoadModule: "vgahw"
    (II) Loading /usr/lib/xorg/modules//libvgahw.so
    (II) Module vgahw: vendor="X.Org Foundation"
        compiled for 1.6.1, module version = 0.1.0
        ABI class: X.Org Video Driver, version 5.0
    (II) fglrx(0): PCI bus 1 card 5 func 0
    (II) fglrx(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 8/8
    (EE) fglrx(0): Given depth (8) is not supported by fglrx driver
    (EE) fglrx(0): PreInitVisual failed
    (EE) fglrx(0): PreInit failed
    (II) fglrx(0): === [atiddxPreInit] === end
    SetVBEMode failed
    (II) UnloadModule: "fglrx"
    (II) UnloadModule: "vgahw"
    (II) Unloading /usr/lib/xorg/modules//libvgahw.so
    (EE) Screen(s) found, but none have a usable configuration.
    Fatal server error:
    no screens found
    Please consult the The X.Org Foundation support
         at http://wiki.x.org
    for help.
    Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    Anyone knows why it isnt working. Im not so good at this so I really have no idea.
    Thx in advance for all help I can get
    Last edited by lord_zlayer (2009-05-10 12:22:13)

    Thanks greenfish for your help I changed my xorg.conf to this:
    Section "ServerLayout"
    Identifier "aticonfig Layout"
    Screen "aticonfig-Screen[0]-0" RightOf "Screen0"
    EndSection
    Section "ServerFlags"
    Option "DontZap" "false"
    Option "AllowMouseOpenFail" "true"
    Option "AutoAddDevices" "true"
    EndSection
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    BusID "PCI:1:5:0"
    EndSection
    Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device "aticonfig-Device[0]-0"
    Monitor "aticonfig-Monitor[0]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    And now I get into X with the catalyst driver and it seems much smoother than with
    the radeonhd driver.
    But now comes the next problem, when I try to launch a 3d application such as tuxkart
    I get this outout:
    [johan@acer ~]$ tuxkart
    Data files will be fetched from: '/usr/share/games/tuxkart'
    X Error of failed request: BadRequest (invalid request code or no such operation)
    Major opcode of failed request: 137 (GLX)
    Minor opcode of failed request: 19 (X_GLXQueryServerString)
    Serial number of failed request: 21
    Current serial number in output stream: 21
    Anyone knows anything about this? glxgears gives me the same results.

  • [Solved] Can't compile lastfm-client

    Hi!
    I'm having some problems compiling lastfm-client from AUR. Long story short, I'll just post the output of makepkg
    g++ -Wl,-rpath,/usr/lib -shared -Wl,-soname,libMoose.so.1 -o libMoose.so.1.0.0 ../../build/Moose/release/confirmdialog.o ../../build/Moose/release/MooseCommon.o ../../build/Moose/release/LastFmSettings.o ../../build/Moose/release/moc_confirmdialog.o ../../build/Moose/release/moc_LastFmSettings.o -L/home/shin/lfm/src/last.fm-1.5.1.31879/bin -L/usr/lib -lLastFmTools -lQtXml -L/usr/lib -pthread -pthread -lQtGui -L/usr/X11R6/lib -pthread -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork -lssl -lcrypto -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
    ln -s libMoose.so.1.0.0 libMoose.so
    ln -s libMoose.so.1.0.0 libMoose.so.1
    ln -s libMoose.so.1.0.0 libMoose.so.1.0
    rm -f ../../bin/libMoose.so.1.0.0
    rm -f ../../bin/libMoose.so
    rm -f ../../bin/libMoose.so.1
    rm -f ../../bin/libMoose.so.1.0
    mv -f libMoose.so.1.0.0 libMoose.so libMoose.so.1 libMoose.so.1.0 ../../bin/
    make[1]: Leaving directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libMoose'
    cd src/libFingerprint/fplib/pro_qmake/ && make -f Makefile.fplib
    make[1]: Entering directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake'
    make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile.fplib'. Stop.
    make[1]: Leaving directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake'
    make: *** [sub-src-libFingerprint-fplib-pro_qmake-fplib-pro-make_default-ordered] Error 2
    mv: cannot stat `build/fplib/libfplib_debug.a': No such file or directory
    ==> ERROR: Build Failed.
    Any ideas?
    Last edited by lateralus (2008-11-09 15:59:28)

    kazuo wrote:
    lateralus wrote:
    make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile.fplib'. Stop
    Any ideas?
    The qt4 path is wrong, qmake.conf is installed on /usr/share/qt/mkspecs/linux-g++/qmake.conf.
    The PKGBUILD is from commubity correctly? it have a sed to change qt4 to qt, I don't know why it is commented you can try to change it.
    OK, I've made an symbolic link /usr/share/qt -> /usr/share/qt4 and now it works. PKGBUILD was straight from the AUR CVS.
    Thanks!

  • [SOLVED] Can't compile any kernels or modules

    I can't compile the kernel, or any kernel modules. I tried the [core] kernel from ABS and the linux-ck kernel from AUR. I also tried to build vhba and nvidia modules.
    I tried the standard cflags and many others.
    All kernel compiles fail (immediately) with:
    scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
    /* empty file to figure out endianness / word size */
    ^
    edward_81 had the same problem, with a default makepkg.conf and linux-mainline, which was never resolved.
    I don't know why this file is being compiled in PIC mode. I have not explicitly enabled PIC anywhere I know of. I checked everywhere I know to look.
    Last edited by quequotion (2015-02-04 15:46:10)

    graysky wrote:Try building one of them in a clean chroot.
    Will try.
    Finally got this working:
    Please add V=1 to the make command on line 89 and rebuild with MAKEFLAGS="-j1" to get verbose output.
    make -f ./scripts/Makefile.build obj=scripts/genksyms
    [...snip...]
    gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/.tmp_empty.o scripts/mod/empty.c
    scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
    /* empty file to figure out endianness / word size */
    ^
    scripts/Makefile.build:257: recipe for target 'scripts/mod/empty.o' failed
    Last edited by quequotion (2015-02-04 13:40:15)

  • [SOLVED] How to install from AUR?

    Ok, I know I'm posting too many questions too fast but I'm at the last step in configuring my videocard driver to install X and I'm stranded in the middle of nowhere, sorry for too much posting.
    I need to install a package from AUR but even I read the guide (http://wiki.archlinux.org/index.php/AUR_User_Guidelines) I can't make it clear enough on how to do it so please correct me if there's anything wrong.
    a. first of all, I need to download and install wget because I'm at CLI ready to configure X but I need the latest test drivers that fully support my videocard.
    b. mkdir ~/myuser/build && cd ~/myuser/build
    c. I need to download from here (http://aur.archlinux.org/packages.php?ID=34773) the Tarball, PKGBUILD and all the files listed in "Files", right?
    d. Once I have files downloaded all I need to do is follow the instructions in the wiki, 
       1.  Acquire a PKGBUILD  and any other required files (e.g. patches)
       2. Run makepkg in the directory where the files are saved
       3. Install the resulting package with pacman
    Thanks for any advice!
    Last edited by martin77 (2010-03-29 01:38:25)

    guys,
    did you ever saw that Heineken TV Ad where a woman shows her dresser-room to her fellow friends and they start screaming like (women does) crazy, and while they still screaming a lot they start to hear a somewhat identical scream from other part of the house that in fact shows up as the boyfriend/husband of the first lady showing his buddys his special fridge-room filled with green bottles?
    Well, that was my *exact* impression yesterday after having KDE4 up and running with composite turned on faster than any Fluxbox system on a iCore 7, and that's the top part of the iceberg.
    I think the best thing I like about Arch it's it's simplicity - besides it's speed. Okay, it may seem somewhat obscure to profane because editing configuration files is something strange to profanes, but if you have a little knowledge of GNU/Linux like myself once completed the Beginner's Guide, looking at /var/log/pacman.log and start tweaking you found yourself with a very powerfull yet easy to use, easy and fast to learn system. Arch is incredible, that's why it's gaining so much popularity, and it's community is superb.
    I'm doing my first steps around it and find Yaourt a very cool tool, I love all the info it shows about installed and AUR packages and the way it colorize, very pragmatic-oriented (as Arch is).
    On the other hand Packer is a swift tool to replace pacman.
    Thank you guys for your kindness and time spent on this n00b, best!

  • [SOLVED] Building VCS packages from AUR fails

    Hello,
    Whenever I try to build a git or svn package from AUR, build fails with the error in a clean chroot enviroment:
    ==> ERROR: Unknown download protocol: svn
    Aborting...
    When the build starts, makepkg actually downloads source files properly. Any clues?
    Last edited by yuan_modu (2015-04-02 16:31:03)

    Trilby wrote:How many packages has this happened with?  Can you give an example of one that produces this error?  If the download proceeds when the build starts, it sounds like the PKGBUILD is outdated and is manually grabbing the source in the build function (in pacman<4.0 style).
    I was building https://aur.archlinux.org/packages/uefi-shell-svn: a popular and up-to-date PKGBUILD.
    Indeed I didn't merge the conf files of  clean chroot. There was a makepkg.conf.pacnew, the lacking part in my old makepkg.conf was:
    VCSCLIENTS=('bzr::bzr'
    'git::git'
    'hg::mercurial'
    'svn::subversion')
    and some small changes. Everything works fine now. Was my bad. Sorry for incovenience and thanks for your help.
    Last edited by yuan_modu (2015-04-02 13:08:21)

  • [Solved] Cant install\compile certain AUR packages

    This is a brand new 32-bit build on my laptop. Everything is working great, but for some reason I cant get some AUR packages. I have Yaourt, pacman-color, and slock installed from AUR and working fine, but I cant get mpd-git or mplayer-svn installed? I have gcc, python installed and tried both root and user accounts. Not sure what is missing. This is a new dual core laptop so not sure why I am getting the CPU errors below?
    This is for mplayer-svn:
    ==> SVN checkout done or server timeout, updating build dir
    ==> Applying disabled-features patch...
    /var/abs/local/yaourtbuild/mplayer-svn/./PKGBUILD: line 56: patch: command not found
    Detected operating system: Linux
    Detected host architecture: i386
    Checking for host cc ... gcc
    Checking for cross compilation ... yes
    ./configure: line 1605: gcc: command not found
    ./configure: line 1610: gcc: command not found
    Checking for CPU vendor ... GenuineIntel (6:15:11)
    Checking for CPU type ... Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
    Checking for kernel support of mmx ... failed
    It seems that your kernel does not correctly support mmx.
    To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of mmxext ... failed
    It seems that your kernel does not correctly support mmxext.
    To use mmxext extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse ... failed
    It seems that your kernel does not correctly support sse.
    To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse2 ... failed
    It seems that your kernel does not correctly support sse2.
    To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of ssse3 ... failed
    It seems that your kernel does not correctly support ssse3.
    To use ssse3 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of cmov ... failed
    It seems that your kernel does not correctly support cmov.
    To use cmov extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for mtrr support ... yes
    Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
    error
    Checking for byte order ... failed to autodetect byte order, defaulting to little-endian
    Checking for extern symbol prefix ...
    Error: Symbol mangling check failed.
    Check "configure.log" if you do not understand why it failed.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mplayer-svn package.
    This is for mpd-git:
    Looks like I need to set the path for gcc in here, but not sure how?
    configure: error: in `/tmp/yaourt-tmp-banshee/aur-mpd-git/mpd-git/src/mpd-build':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mpd-git package.
    Last edited by banshee28 (2009-09-03 04:15:43)

    Allan wrote:
    You need to install the base-devel group (pacman -S base-devel).
    This is a bit weird though....
    Checking for cross compilation ... yes
    hopefully it goes away!
    Ah, I see all the apps in this group now! Not sure how I missed this? Was this in the wiki somwhere??
    Anyways,its getting further along now ....

  • [SOLVED] Makepkg, install dependencies from AUR.

    Is it possible for makepkg to install the dependencies from AUR with makepkg -si?
    Last edited by lemanski6 (2012-09-20 18:05:38)

    Nope.  Many "AUR helpers" do this though.  In my limited experience yaourt seems to be one that handles this seemlessly, but I'd say it comes with some costs of hiding what is doing from the user.

  • [SOLVED] Can't compile tupi-git or Ktoon from AUR - hardware failure

    EDIT:  Tupi-git compiles fine, just not on my main desktop. the machine, has some nasty hardware problems, caused by a lightning storm/power failure a few weeks ago .
    it appears, the CMOS is damaged (clock skew and other problems), and that the motherboard also has problems (NMI interrupt handler warning, as well as CPU damage, fun).
    it's time to buy some new hardware, i guess.
    Hi everyone,
    I am having a strange issue.  I have been using Tupi-git, for a while - but the other day i went to re-compile it, and now it won't build. it's interesting because i have been able to compile Tupi-git in the past, no problem. i've also tried compiling it manually from git too.
    I am running gnome3 and tupi / ktoon shouldn't have much dependencies to KDE itself (as i said i have compiled Tupi before. I tried to compile Ktoon, thinking it might pull in a dependency i had missed or something, but no dice... I've even chatted with the Tupi developer about it, he even installed Arch and was able to get it to compile...
    however, he is using KDE, so i am wondering if their is some mysterious dependency (although i did try installing kdebase, but it made no difference). my main concern is tupi / not so much ktoon - but i mention ktoon because Tupi is a fork of it.
    I'm at a loss as to what is stopping it, i had thought maybe a linker is missing somewhere, or it can't find a header / library.
    it fails here:
    lavformat -laspell -ltupifwgui -ltupifwcore -ltupifwsound -lz -lQtSvg -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lpthread
    ../../src/components/paintarea/libpaintarea.a(ktviewdocument.o): In function `KTViewDocument::setSpaceContext()':
    ktviewdocument.cpp:(.text+0x4a96): undefined reference to `KTProject::updateSpaceContext(KTProject::Mode)'
    ktviewdocument.cpp:(.text+0x4b26): undefined reference to `KTProject::updateSpaceContext(KTProject::Mode)'
    ../../src/components/paintarea/libpaintarea.a(ktpaintarea.o): In function `KTPaintArea::frameResponse(KTFrameResponse*)':
    ktpaintarea.cpp:(.text+0xb6b): undefined reference to `KTGraphicsScene::frameResponse(KTFrameResponse*)'
    ../../src/components/paintarea/libpaintarea.a(ktpaintarea.o): In function `KTPaintArea::sceneResponse(KTSceneResponse*)':
    ktpaintarea.cpp:(.text+0x112f): undefined reference to `KTGraphicsScene::sceneResponse(KTSceneResponse*)'
    ../../src/components/paintarea/libpaintarea.a(ktpaintarea.o): In function `KTPaintArea::layerResponse(KTLayerResponse*)':
    ktpaintarea.cpp:(.text+0x333f): undefined reference to `KTGraphicsScene::layerResponse(KTLayerResponse*)'
    collect2: ld returned 1 exit status
    make[2]: *** [../../bin/tupi.bin] Error 1
    make[2]: Leaving directory `/home/ninez/Desktop/tupi/src/shell'
    make[1]: *** [sub-shell-make_default] Error 2
    make[1]: Leaving directory `/home/ninez/Desktop/tupi/src'
    make: *** [sub-src-make_default] Error 2
    and i have log files from but './configure' and the full output of 'make', over here (at pastebin):
    http://pastebin.com/Mbf8Ck2s  ( ./configure logs)
    http://pastebin.com/4iVbbSgF   ( make logs )
    I would appreciate any help, i have been trying to figure this out for a few days, but am not much of a programmer.  in fact, i am supposed to be doing some translations and icon sets / themes for Tupi: Magia 2d .. but this is hindering my ability to do so...
    thanks in advance
    Last edited by triplesquarednine (2011-07-16 18:21:20)

    graysky wrote:Try building one of them in a clean chroot.
    Will try.
    Finally got this working:
    Please add V=1 to the make command on line 89 and rebuild with MAKEFLAGS="-j1" to get verbose output.
    make -f ./scripts/Makefile.build obj=scripts/genksyms
    [...snip...]
    gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/.tmp_empty.o scripts/mod/empty.c
    scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
    /* empty file to figure out endianness / word size */
    ^
    scripts/Makefile.build:257: recipe for target 'scripts/mod/empty.o' failed
    Last edited by quequotion (2015-02-04 13:40:15)

  • [solved] Can no longer untar AUR packages with tar xvf /directory/

    For about a year now I've used this line of code from my .bash_aliases file to untar files from their source directory to the one I am currently CDed in at that moment: 
    alias tarx='tar xvf' # extracts files from a tarball using tar [e]x[tract] v[erbose] f[orced]
    This alias failed to work a few weeks ago for some unknown reason and now spits out this error:
    tarx /media/aur/srcpackages/atom-editor.tar.gz ./
    tar: .: Not found in archive
    tar: Exiting with failure status due to previous errors
    Why on earth would this suddenly stop working.  I haven't changed my .bashrc file apart from some small comments but here it is in case I'm totally out of it:
    # ~/.bashrc
    # This file is sourced by all *interactive* bash shells on startup, #
    # including some apparently interactive shells such as scp and rcp #
    # that can't tolerate any output. So make sure this doesn't display #
    # anything or bad things will happen ! #
    # If not running interactively, don't do anything #
    [[ $- != *i* ]] && return
    # If the connection to the system is a remote connection 'ssh' will be #
    ## appended to the prompt. Otherwise the prompt will be displayed normally #
    # See: remote.colourful.prompt_how-to on /media/lynwyn/networking/ssh #
    # Default prompt from the above-named document: #
    # export PS1='\[\e[0;31m\]\u@\h:\w${text}$\[\e[m\]' # # #
    if [ -n "$SSH_CLIENT" ]; then text=":ssh:"
    fi
    # Alias definitions.
    # You may want to put all your additions into a separate file like
    # ~/.bash_aliases, instead of adding them here directly.
    # See /usr/share/doc/bash-doc/examples in the bash-doc package.
    if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
    fi
    ### [User Prompts]
    ### White Yunzi
    export PS1='\[\e[0;37m\]: \[\e[1;92m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
    #### Silver Yunzi
    #export PS1='\[\e[0;37m\]: \[\e[1;94m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
    ### Pink Yunzi
    #export PS1='\[\e[0;37m\]: \[\e[1;95m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[1;95m\]'
    ### [Root Prompts]
    ### White Yunzi Root
    #export PS1='\[\e[1;37m\]:\[\e[1;92m\]\u\[\e[1;37m\]:\[\e[1;92m\]\W\[\e[1;37m\]:\[\e[m\] \[\e[0;37m\]'
    ### Silver Yunzi Root
    #export PS1='\[\e[0;37m\]:\[\e[1;94m\]\u\[\e[0;37m\]:\[\e[1;94m\]\W\[\e[0;37m\]:\[\e[m\]\[\e[0;37m\]'
    ### Pink Yunzi Root
    #export PS1='\[\e[0;37m\]:\[\e[1;95m\]\u\[\e[0;37m\]:\[\e[1;95m\]\W\[\e[0;37m\]:\[\e[m\] \[\e[0;37\]'
    ### * BASH options * ###
    ### Last edited January 2014 by H.L.
    # Bash won't get SIGWINCH if another process is in the foreground.
    # Enable checkwinsize so that bash will check the terminal size when
    # it regains control.
    # [check the window size after each command and, if necessary,
    # update the values of LINES and COLUMNS.]
    # http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
    shopt -s checkwinsize
    # automatically prepend cd when entering just a path in the shell
    shopt -s autocd
    # Enable history appending instead of overwriting.
    shopt -s histappend
    # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
    HISTSIZE=10000
    HISTFILESIZE=20000
    ## erase duplicate entries in your history file
    ## and force Bash History to ignorespace
    export HISTCONTROL=erasedups:ignorespace
    # set variable identifying the chroot you work in (used in the prompt below)
    #if [ -z "$arch_chroot" ] && [ -r /etc/arch_chroot ]; then
    # debian_chroot=$(cat /etc/arch_chroot)
    #fi
    # make "less" more friendly for non-text input files, see lesspipe(1)
    [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
    # TMUX
    # Put this this snippet BEFORE the aliases in .bashrc.
    # This code starts TMUX with only one session (unless you start some manually), on login;
    # it will try to attach to a currently running session.
    # If there isn't a currently running session then TMUX will create one.
    # if which tmux 2>&1 >/dev/null; then
    # if not inside a tmux session, and if no session is started start a new session
    # test -z "$TMUX" && (tmux attach || tmux new-session)
    # fi
    # environment variables using gedit and nano
    export EDITOR="$(if [[ -n $DISPLAY ]]; then echo 'gedit'; else echo 'nano'; fi)"
    ### Coloured man pages with explanations of colours in comments
    # Note to self: all of the colour & escape statements work ONLY by using double quote marks, e.g. " ... "
    ## Coloured man pages with explanations of colours in comments
    # 67: Primary colour for program names is Dark Green [old 80's CRT green!]
    # 68: Optional arguments and/or separate options for arguments is Bright Green
    # 69: Text Reset
    # 70: Text Reset
    # 71: man page info bottom of page is Dark Red on Black background (net effect is transparent background with red writing)
    # 72: Text Reset
    # 73: References to other programs (and their respective man page(s)) are Bright Yellow [good neutral yellow]
    man() {
    env LESS_TERMCAP_mb=$(printf "\e[1;31m") \
    LESS_TERMCAP_md=$(printf "\e[1;31m") \
    LESS_TERMCAP_me=$(printf "\e[0m") \
    LESS_TERMCAP_se=$(printf "\e[0m") \
    LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
    LESS_TERMCAP_ue=$(printf "\e[0m") \
    LESS_TERMCAP_us=$(printf "\e[1;32m") \
    man "$@"
    ## To get a skin of your choice loaded instead of mc's default
    ## skin, you might consider the following solution:
    ## Multi-User: Create an alias for mc in your ~/.bashrc, like:
    if [ $TERM = "screen-256color" ]; then
    if [ $USER = "root" ]; then
    myMCSkin="modarcon16root-defbg"
    else
    myMCSkin="modarcon16-defbg"
    fi
    alias mc='mc --skin $myMCSkin'
    alias mcedit="mcedit --skin $myMCSkin"
    alias mcview="mcview --skin $myMCSkin"
    alias mcdiff="mcdiff --skin $myMCSkin"
    fi
    Last edited by MoonSwan (2014-07-09 04:31:06)

    I seem to have a larger problem on my desktop machine.  When I try to untar stuff on that one it creates a .cache directory for some weird reason and populates it with, I think, cached files from my home directory.  It ends up having firefox, mc and other cached files in the new directory and then tar just errors out with:
    gzip: stdin: unexpected end of file
    tar: Unexpected EOF in archive
    tar: Unexpected EOF in archive
    tar: Error is not recoverable: exiting now
    Very odd behaviour and I'm assuming some config file somewhere is responsible for this behaviour.  But where else can I look apart from .bashrc? 
    @ids1024, I'll do what you've what you suggested on my netbook later today and record the information to post afterward.
    [edit] Here are the contents of that .cache directory, if it helps:
    dconf event-sound-cache.tdb.silver_yunzi.x86_64-unknown-linux-gnu event-sound-cache.tdb.tengen.x86_64-unknown-linux-gnu fontconfig mc dmenu_run
    event-sound-cache.tdb.silveryunzi.x86_64-unknown-linux-gnu event-sound-cache.tdb.white_yunzi.x86_64-unknown-linux-gnu gstreamer-1.0 mozilla
    Last edited by MoonSwan (2014-06-28 19:57:10)

  • [SOLVED] Removing E17 desktop from AUR script

    Hello,
    I went about today installing Arch with much success and was trying to install the E17 desktop which isn't working; anytime I type startx I get:
    xset: bad font path element (#0), possible cause are:
    Directory does not exist or has wrong permissions
    Director missing fonts.dir
    Incorrect font server address or syntax
    /home/fox/.xinitrc: line 4: exec: enlightenment_start: not found
    xinit looks like this:
    xset +fp /usr/share/fonts/local
    xset fp rehash
    exec enlightenment_start
    I was going to remove E17 and reinstall it, but since I used the easy_e17.sh script I don't know how to go about removing it. I got the script from the AUR and used pacman -U to install it, but I can't seem to find a way to undo it. I tried reading easy_e17 --help and googled for a while, but couldn't find any info. Any help is appreciated.
    Last edited by NexusX (2011-01-14 22:34:12)

    Awebb wrote:What's the objection against the package in the repos? Why all the hassle with a non-pacman install?
    I had the install from the repo's previously; the install was very smooth and it started just fine but I ran into a bug where if I attempted to remove a gadget from my desktop, my whole system would lock up. I jumped on to irc to see if anyone knew of a workaround when a dev told me that the snapshots in the repo's were about 2 weeks old, and that a large amount of work had been done over that time to that area, and that updating the snapshot would probably fix the issue. I know that at this point, it'd probably be easier to just re-install the package in the repos and avoid doing anything to reproduce the bug, but rather than take the easy way out I'd rather address the problem directly and have an up-to-date e17 install. In the meantime I got XFCE up and running so I have a fully functioning system.
    moetunes wrote:Enlightenment_start would be a script to set the environment up and start the window manager, it is important. It looks like the make errors, as they always are, are important and shouldn't be ignored. Try again and pay attention to what happens during make, more then likely it will be dependency problems.
    I went back and did another reinstall to see if I could read into those make errors a bit better, especially now that I have XFCE and a web browser to search with. The make errors didn't show up this time around (/shrug) but at the end of the install was a set of 3 instructions instructing the user to add 3 paths to their environment, one of which was the PATH argument listed in the wiki, the other two were for Python and an e17 library. Added them to /etc/profile:
    #E17 eas-e17
    PATH="$PATH:/opt/e17/bin"
    PYTHONPATH=":$PYTHONPATH"
    LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/e17/lib"
    And shazaam, Enlightenment works I saw these instruction in previous installs, but dismissed them since 1 was in the wiki instructions, thinking that was all that was needed. I'm considering appending this finding to the wiki.
    The new updated install fixed the problem I was having with e17 before Now, lol, however a new one is showing up that might be worse.  Now that I can update the snapshot with a single command though I suppose I'll keep e17 around and play with it as updates happen. Thanks for sticking around, if it wasn't for you insistence that the problem probably was a fudged path variable, I might have missed it.

  • [SOLVED] Firefox add-ons from AUR?

    Can someone enlighten me about the advantages and disadvantages of installing Firefox add-ons from the AUR?
    I used to install add-ons from https://addons.mozilla.org or from the author's website.
    Last edited by Markus00000 (2011-11-02 11:36:31)

    https://bbs.archlinux.org/viewtopic.php?id=129330

Maybe you are looking for

  • Oracle 8.1.5 with redhat 6.2

    I am currently running 8i 8.1.5 straight from the CD w/o any patches on red hat 6.0. When I tried applying the patches a while ago, nothing would work. Anycase for what I am doing all works very well. My question is simple. Can I upgrade to redhat 6.

  • Routing with a multihomed Mac

    Hi, I have a Mac running Leopard 10.5.4 with two network cards in it, and I'm trying to get it to act as a router. The setup is very simple: A ---- M ---- B M is the Mac with two nics. The nic (en0) on computer M connected to computer A has an IP of

  • How much pain does registering two Oracle Testing Id Cause to everyone?

    Reading the forum over the last 8 months or so seems apparent to me that if a candidate has two (or more!) Oracle Testing Id's and takes exams under both then problems will result as certifications will not be generated untill all pre-requisite passe

  • Account Hacked and In-App Purchases Charged

    I was charged for in-app purchases for an app I never downloaded.  The app is listed as a free app and therefore as best I can tell there is no course of action through Apple for getting the total ($43.56) refunded.  Anyone know of anything that can

  • OUTPUT type status change

    Hello All, We have an OUTPUT type for Distribution ALE (for Order confirmation), we stop OUTBOUND IDOC depending on few conditions. Problem : OUTPUT type shows RED status (fair enough), No Log (unfair). I need to change the status to green and genera