[SOLVED] Trouble building postler-git
After fixing a few (common) issues I had with a vala dependency, I now get an error message saying
zeitgeist is needed for Postler to show up in Synapse, the Unity dash or the Activity log.
If you want to build without it, pass --disable-zeitgeist.
whenever I attempt to install postler-git via yaourt.
Yes, I have installed the zeitgeist package and still receive this message. I am unsure where to put "--disable-zeitgeist" in order to pass it, and I am unsure that I would want to, since being able to see things in the activity log seems like a good thing.
I am still a bit new to the whole Linux thing, and I am sorry if the answer I seek is self-evident or something. I would appreciate any responses though!
Last edited by oalicein (2011-06-20 07:07:37)
I have not done this, so this is general advice.
You probably wont be able to do it from yaourt. You will need to do it in accordance with this AUR article.
Abridged version:
Grab the tarbel from ABS
unpack it
change to the directory you unpacked
edit PKGBUILD
find this line: ./waf configure --prefix=/usr --disable-libindicate
add the --disable-zeitgeist to that line.
do a makepkg
If success, install with sudo pacman -U
edit: fixed makepkg command, added sudo to pacman command
Last edited by ewaller (2011-06-18 04:00:13)
Similar Messages
-
[SOLVED] problems building awesome-git
hi this is my first post. i'm trying to get awesome-git to compile from the aur but everytime i try to do it i get this error:
Scanning dependencies of target awesome
[ 6%] Building C object CMakeFiles/awesome.dir/awesome.c.o
In file included from /tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:29:
/usr/include/ev.h:359: error: expected specifier-qualifier-list before 'sig_atomic_t'
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c: In function 'main':
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:421: error: 'SIGINT' undeclared (first use in this function)
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:421: error: (Each undeclared identifier is reported only once
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:421: error: for each function it appears in.)
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:422: error: 'SIGTERM' undeclared (first use in this function)
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:423: error: 'SIGHUP' undeclared (first use in this function)
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:431: error: variable 'sa' has initializer but incomplete type
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:431: error: unknown field 'sa_handler' specified in initializer
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:431: warning: excess elements in struct initializer
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:431: warning: (near initialization for 'sa')
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:431: error: unknown field 'sa_flags' specified in initializer
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:431: warning: excess elements in struct initializer
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:431: warning: (near initialization for 'sa')
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:431: error: storage size of 'sa' isn't known
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:432: warning: implicit declaration of function 'sigemptyset'
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:433: warning: implicit declaration of function 'sigaction'
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:433: error: 'SIGSEGV' undeclared (first use in this function)
/tmp/yaourt-tmp-senses3/aur-awesome-git/awesome-git/src/awesome-build/awesome.c:431: warning: unused variable 'sa'
make[2]: *** [CMakeFiles/awesome.dir/awesome.c.o] Error 1
make[1]: *** [CMakeFiles/awesome.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build awesome-git package.
can anyone help me out here?
thanks.
Last edited by senses3 (2009-08-04 02:32:29)Looks like some library is missing. I don't know if the dependencies on the PKGBUILD are right, so I ran ldd on my /usr/bin/awesome and the libraries it returns come from the following packages:
cairo
dbus-core
e2fsprogs
expat
fontconfig
freetype2
glib2
glibc
imlib2
libev
libice
libpng
libsm
libx11
libxau
libxcb
libxdg-basedir
libxdmcp
libxext
libxrender
lua
pango
pcre
pixman
startup-notification
xcb-util
zlib
Do you have all of those installed? (There's also a linux-vdso.so.1 reported that I don't know where it is.)
I left a comment on the AUR page for awesome-git saying that recently (past few days), I've had to install newer versions of a bunch of packages (newer than are on the Arch repos, I had to build them myself...but using the official PKGBUILDs and upping the versions tended to suffice). But the build errors I was getting are different than yours. Mine was about a variable LIBXCB_something_or_other_EVENT_something that seemed not to be in the library versions I was linking against. -
ever since the release of xorg-server 1.5.3, i've been using a modified
PKGBUILD to build xorg-server sans hal and dbus. (not gonna try
justifying it again; that'd just lead to yet another flame war.)
i've never had a problem until the 1.6.1-1 PKGBUILD, which adds the lines:
libtoolize --force || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing || return 1
after applying patches and before running the configure. these added lines produce:
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in
AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in
AM_CONDITIONAL
==> ERROR: Build Failed.
Aborting...
my modified PKGBUILD is build. please note that i *have* tried
reverting my changes (the commented patches), to no avail.
as i'm pretty clueless vis-a-vis makefiles and the autoconf system,
could somehow point me in the direction of a fix?
many thanks,
kludge
# $Id: PKGBUILD 21903 2008-12-17 20:32:54Z jgc $
# Maintainer: Alexander Baldeck <[email protected]>
# Contributor: Jan de Groot <[email protected]>
pkgname=xorg-server
pkgver=1.6.1
pkgrel=1
pkgdesc="X.Org X servers"
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org"
depends=('libgl' 'libxfont>=1.4.0' 'openssl>=0.9.8j' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xcursor-themes' 'xkeyboard-config>=1.5' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils')
makedepends=('libx11>=1.2' 'mesa>=7.4' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'libgl>=7.4' 'glproto>=1.4.9')
#optdepends=( 'xf86-input-evdev: to provide input device hotplugging'
# 'hal>=0.5.11: to provide input devices for hotplugging' )
options=('!libtool')
provides=('x-server' ) # 'xorg-server')
conflicts=('catalyst-utils<=9.2')
groups=('xorg')
install=xorg-server.install
source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
xorg-redhat-die-ugly-pattern-die-die-die.patch
hal-wait.patch)
md5sums=('ed0878bf32a24d4948c3b8a122a39eff'
'1a336eb22e27cbf443ec5a2ecddfa93c'
'f16d2caef84e1a9c4075b6c5e145512d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Get rid of the ugly pattern
patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
# Fix dbus config path - removed b/c no dbus config'd
# sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
# Revert waiting for hal, assume hal won't show up when initial connect fails
# commented out b/c no hal config'd
# patch -R -Np1 -i "${srcdir}/hal-wait.patch" || return 1
libtoolize --force || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing || return 1
# --enable-config-{dbus,hal} switched to --disable
# to disable hotplugging and dependencies
./configure --prefix=/usr \
--enable-ipv6 \
--enable-dri \
--disable-dmx \
--enable-xvfb \
--enable-xnest \
--enable-composite \
--enable-xcsecurity \
--enable-xorg \
--enable-xephyr \
--enable-glx-tls \
--enable-kdrive \
--enable-install-setuid \
--disable-config-hal \
--disable-config-dbus \
--enable-record \
--disable-xfbdev \
--disable-xfake \
--disable-xsdl \
--disable-static \
--sysconfdir=/etc/X11 \
--localstatedir=/var \
--with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
--with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -rf "${pkgdir}/var/log" || return 1
install -m755 -d "${pkgdir}/etc/X11" || return 1
install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
# Needed for non-mesa drivers, libgl will restore it
mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
Last edited by kludge (2009-05-01 17:25:39)Not any help to your error but have you tried the one in aur with disabled dbus and hal?
I've been using it for a week or so with no problems and it built fine.
http://aur.archlinux.org/packages.php?ID=23750 -
[SOLVED] Trouble building VMware modules
Hello there,
I have VMware Player installed, but since last kernel update from 2.6.32 to .33 all modules have to be rebuilt. The thing is that when I start the app I get a message about it not finding the kernel headers. I have kernel26-headers installed, and the headers are actually under /usr/src/2.6.33-ARCH/include, but vmware won't find them.
Any ideas?
Thanks!
Last edited by Surgat_ (2010-04-19 20:48:57)Ok, VMware Player 3.0.1 actually finds the headers and builds its moudles, so now /etc/rc.d/vmware start works ok. But now vmplayer crashes without any errors when I open it. Launching it from the cli drops this output:
$ vmplayer
Logging to /tmp/vmware-quique/setup-12148.log
filename: /lib/modules/2.6.33-ARCH/misc/vmmon.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
filename: /lib/modules/2.6.33-ARCH/misc/vmnet.ko
supported: external
license: GPL v2
description: VMware Virtual Networking Driver.
author: VMware, Inc.
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
filename: /lib/modules/2.6.33-ARCH/misc/vmblock.ko
supported: external
version: 1.1.2.0
license: GPL v2
description: VMware Blocking File System
author: VMware, Inc.
srcversion: 400149ED038D22A87322D56
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
parm: root:The directory the file system redirects to. (charp)
filename: /lib/modules/2.6.33-ARCH/misc/vmci.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Communication Interface (VMCI).
author: VMware, Inc.
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
filename: /lib/modules/2.6.33-ARCH/misc/vsock.ko
supported: external
license: GPL v2
version: 1.0.0.0
description: VMware Virtual Socket Family
author: VMware, Inc.
srcversion: BC1943DCE52AE461DCC2D43
depends: vmci
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
filename: /lib/modules/2.6.33-ARCH/misc/vmmon.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
And then the window just dissappears. Also:
$ cat /tmp/vmware-quique/setup-12148.log
abr 18 17:45:23.484: app-3077506752| Log for VMware Workstation pid=12148 version=7.0.1 build=build-227600 option=Release
abr 18 17:45:23.484: app-3077506752| The process is 32-bit.
abr 18 17:45:23.484: app-3077506752| Host codepage=UTF-8 encoding=UTF-8
abr 18 17:45:23.484: app-3077506752| Logging to /tmp/vmware-quique/setup-12148.log
abr 18 17:45:23.648: app-3077506752| modconf query interface initialized
abr 18 17:45:23.648: app-3077506752| modconf library initialized
So there are no errors in any logs. I am completely lost, any ideas?
Thanks! -
[SOLVED] Can't build 'crystalhd-git' package
Hi
I've bought Broadcom BCM70012 Video Decoder [Crystal HD] today. I'm trying to compile driver for this device. I need to compile two packages.
1. libcrystalhd-git
2. crystalhd-git
Libcrytstalhd-git compiles just fine, no errors. But I can't build the driver crystalhd-git . Here is the output :
make -C /lib/modules/2.6.39-ARCH/build SUBDIRS=/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux modules
make[1]: Wejście do katalogu `/usr/src/linux-2.6.39-ARCH'
CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o
CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o
CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o
CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c: In function ‘crystalhd_hw_post_tx’:
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c:719:21: warning: variable ‘high_addr’ set but not used [-Wunused-but-set-variable]
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c:719:11: warning: variable ‘low_addr’ set but not used [-Wunused-but-set-variable]
CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o
CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function ‘crystalhd_flea_init_dram’:
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:42: warning: variable ‘sd_1_row_size’ set but not used [-Wunused-but-set-variable]
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:26: warning: variable ‘sd_1_bank_size’ set but not used [-Wunused-but-set-variable]
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:11: warning: variable ‘sd_1_col_size’ set but not used [-Wunused-but-set-variable]
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function ‘crystalhd_flea_set_power_state’:
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:847:12: warning: variable ‘sts’ set but not used [-Wunused-but-set-variable]
CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c: In function ‘crystalhd_flea_ddr_pll_config’:
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:152:5: error: implicit declaration of function ‘msleep_interruptible’ [-Werror=implicit-function-declaration]
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c: In function ‘crystalhd_flea_ddr_ctrl_init’:
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:324:10: warning: variable ‘DQ_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:323:10: warning: variable ‘CTL_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:322:10: warning: variable ‘DM_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:320:10: warning: variable ‘DQ_WIDTH’ set but not used [-Wunused-but-set-variable]
cc1: some warnings being treated as errors
make[2]: *** [/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o] Błąd 1
make[1]: *** [_module_/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.39-ARCH'
make: *** [all] Błąd 2
==> BŁĄD: Wystąpił błąd w build().
Przerywam...
==> ERROR: Makepkg was unable to build .
==> Restart building crystalhd-git ? [y/N]
==> --------------------------------------
==>
Last edited by lgolebio (2011-06-29 06:01:46)Try replacing `sed -i 's/'-Werror'/''/g' Makefile` with `sed -i 's/-Werror/-Wno-error=implicit-function-declaration/g' Makefile` in the PKGBUILD. This won't fix the warning but the package should build.
-
[SOLVED] How to patch package build (uzbl-git)
Hello,
I am experiencing a similar issue while building uzbl-git as reported here in the last few posts https://aur.archlinux.org/packages.php? … 2&detail=1
When running "makepkg -s", I receive the following error:
creating /usr/lib/python3.2/site-packages/uzbl
error: could not create '/usr/lib/python3.2/site-packages/uzbl': Permission denied
make: *** [install-event-manager] Error 1
A user on the page posted a patch for this issue:
PKGBUILD diff:
======
14,15c14,15
< source=()
< md5sums=()
> source=('Makefile.patch')
> md5sums=('1fb21dc7128e11d9a91351702c5fee53')
45a46,48
>
> # fix python site-packages installation
> patch -p0 < "$srcdir/Makefile.patch"
=====
Makefile.patch:
=====
--- Makefile 2012-06-26 15:00:00.017779376 +0000
+++ Makefile.fixed 2012-06-26 14:54:24.969594488 +0000
@@ -12,6 +12,7 @@
PYTHON=python3
PYTHONV=$(shell $(PYTHON) --version | sed -n /[0-9].[0-9]/p)
COVERAGE=$(shell which coverage)
+PYINSTALL_EXTRA=--prefix="${DESTDIR}${PREFIX}"
# --- configuration ends here ---
=====
Could someone enlighten me on how this patch should be applied? I have looked over the patching page on the arch wiki, but am still not sure. Should those lines be added at lines 14,15 and 45,46,48 in the PKGBUILD, respectively, and should I then create the file makefile.patch in the same directory with the second part of the code? It is unclear to me as both source=() and md5sums=() are not anywhere in the PKGBUILD, so I can't remove these lines as the patch suggests if I am reading it correctly (I have no coding experience).
Someone posted an alternative patch, I am note sure if this is any easier to apply (https://github.com/keis/uzbl/commit/d4c … 6874dda0ea)
Thank you in advance.
Last edited by OLSHoya (2012-09-11 19:51:24)PKGBUILD
# Maintainer: Mark Foxwell <[email protected]>
# Contributor: Dieter Plaetinck <[email protected]>
# Contributer: Brendan Taylor <[email protected]>
# Contributer: L42y <[email protected]>
pkgname=uzbl-git
pkgver=20120212
pkgrel=1
pkgdesc="All uzbl web interface tools: latest from the git master branch"
arch=('i686' 'x86_64')
url="http://github.com/Dieterbe/uzbl/"
license=('GPL3')
depends=('libwebkit3' 'socat' 'zenity' 'xclip' 'dmenu' 'python2' 'pygtk')
makedepends=('git' 'pkgconfig' 'libwebkit>=1.2.0')
source=('Makefile.patch')
md5sums=('1fb21dc7128e11d9a91351702c5fee53')
provides=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed')
conflicts=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed' 'uzbl-experimental-git')
_gitroot="git://github.com/Dieterbe/uzbl.git"
_gitname="uzbl"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
patch -p0 < "$srcdir/Makefile.patch"
for file in bin/*; do
sed -i 's_#!/usr/bin/env python$_#!/usr/bin/env python2_' $file
done
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
$(find ./ -name '*.py')
make
package(){
cd "$srcdir/$_gitname-build"
make DESTDIR="$pkgdir" PREFIX=/usr install
Makefile.patch
--- Makefile 2012-06-26 15:00:00.017779376 +0000
+++ Makefile.fixed 2012-06-26 14:54:24.969594488 +0000
@@ -12,6 +12,7 @@
PYTHON=python3
PYTHONV=$(shell $(PYTHON) --version | sed -n /[0-9].[0-9]/p)
COVERAGE=$(shell which coverage)
+PYINSTALL_EXTRA=--prefix="${DESTDIR}${PREFIX}"
Save them both in the same folder and run makepkg. After you save Makefile.patch run "md5sum Makefile.patch" and update the md5sums array in the PKGBUILD if you need to. -
Trouble building kernel module for sensor support
Hi, I'm new here but have been using Arch for a while. Recently, I decided to install Arch on an old laptop (Toshiba A70) and have managed to work out most of the kinks to where it runs nicely. Unfortunately, ACPI support is spotty and the /sys/class/thermal directory gives me only cooling_device0. I installed the lm-sensors package and ran sensors-detect, which yielded no results. Although the laptop runs smoothly otherwise, I would like to know the CPU's temp so that I would be able to set up a fan control scheme and CPU scaling (so far it's stuck at the lowest frequency, and that's kind of a big deal for me since the laptop runs on an archaic mobile P4 chip).
Sorry for the story but I felt some context was necessary. I did manage to find a kernel module that would connect those sensors to ACPI for me (http://sourceforge.net/projects/omnibook/), however I'm having trouble building it on the latest kernel. Here is the output from running make:
make -C /lib/modules/3.16.1-1-ARCH/build SUBDIRS=/root/omnibook-2.20070211 modules
make[1]: Entering directory '/usr/lib/modules/3.16.1-1-ARCH/build'
CC [M] /root/omnibook-2.20070211/init.o
In file included from /root/omnibook-2.20070211/init.c:26:0:
/root/omnibook-2.20070211/laptop.h:25:3: warning: initialization from incompatible pointer type
.callback = dmi_matched,
^
/root/omnibook-2.20070211/laptop.h:25:3: warning: (near initialization for ‘omnibook_ids[0].callback’)
/root/omnibook-2.20070211/laptop.h:34:3: warning: initialization from incompatible pointer type
.callback = dmi_matched,
^
/root/omnibook-2.20070211/laptop.h:34:3: warning: (near initialization for ‘omnibook_ids[1].callback’)
/root/omnibook-2.20070211/laptop.h:43:3: warning: initialization from incompatible pointer type
.callback = dmi_matched,
^
// I left out most of the 'incompatible pointer type' warnings since they repeat for a while.
^
/root/omnibook-2.20070211/laptop.h:1001:3: warning: (near initialization for ‘omnibook_ids[108].callback’)
/root/omnibook-2.20070211/init.c: In function ‘dmi_matched’:
/root/omnibook-2.20070211/init.c:141:16: warning: assignment discards ‘const’ qualifier from pointer target type
laptop_model = dmi_get_system_info(DMI_PRODUCT_VERSION);
^
/root/omnibook-2.20070211/init.c: In function ‘omnibook_init’:
/root/omnibook-2.20070211/init.c:281:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
^
/root/omnibook-2.20070211/init.c:281:14: warning: assignment makes pointer from integer without a cast
proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
^
/root/omnibook-2.20070211/init.c:290:13: error: dereferencing pointer to incomplete type
proc_entry->data = feature;
^
/root/omnibook-2.20070211/init.c:291:13: error: dereferencing pointer to incomplete type
proc_entry->read_proc = &procfile_read_dispatch;
^
/root/omnibook-2.20070211/init.c:293:14: error: dereferencing pointer to incomplete type
proc_entry->write_proc = &procfile_write_dispatch;
^
/root/omnibook-2.20070211/init.c:294:13: error: dereferencing pointer to incomplete type
proc_entry->owner = THIS_MODULE;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/root/omnibook-2.20070211/init.o' failed
make[2]: *** [/root/omnibook-2.20070211/init.o] Error 1
Makefile:1333: recipe for target '_module_/root/omnibook-2.20070211' failed
make[1]: *** [_module_/root/omnibook-2.20070211] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.16.1-1-ARCH/build'
Makefile:88: recipe for target 'omnibook.ko' failed
make: *** [omnibook.ko] Error 2
I have honestly no idea what to make of any of this and would really appreciate any help towards a solution. Thanks for readingWelcome to Arch Linux
That looks like it is a 2.6 kernel module
http://sourceforge.net/p/omnibook/bugs/58/
Did you try either of these AUR offerings?
ewaller$@$odin ~ 1001 %packer -Ss omnibook
aur/omnibook-git 20110911-9 (7)
Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
aur/omnibook-svn-zen 268-1 (1)
Kernel module for HP OmniBook, Pavilion, Toshiba and Compal ACL00 laptops
ewaller$@$odin ~ 1002 %
Last edited by ewaller (2014-08-23 23:33:53) -
[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.
-
[SOLVED] Cannot compile taskview-git
I cannot compile taskview-git. Here's my output:
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> taskview-git dependencies:
- glib2 (already installed)
- git (already installed)
==> Continue building taskview-git ? [Y/n]
==> --------------------------------------
==>
==> Building and installing package
==> Determining latest git revision...
-> Version found: 20110318
==> Making package: taskview-git 20110318-1 (Fri Mar 18 19:50:42 EET 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to the GIT server....
Cloning into TaskView...
remote: Counting objects: 1158, done.
remote: Compressing objects: 100% (605/605), done.
remote: Total 1158 (delta 801), reused 751 (delta 536)
Receiving objects: 100% (1158/1158), 336.24 KiB | 121 KiB/s, done.
Resolving deltas: 100% (801/801), done.
==> GIT checkout done.
==> Starting make for: taskview-git
Cloning into /tmp/yaourt-tmp-alexandros/aur-taskview-git/src/TaskView-build...
done.
==> Starting configure...
./autogen.sh: line 22: .: gnome-autogen.sh: file not found
Aborting...
==> ERROR: Makepkg was unable to build taskview-git.
Any ideas?
Thanks in advance!
Last edited by Aventinus (2011-03-18 19:22:06)I guess you're missing gnome-autogen.sh which is provided by gnome-common.
# pacman -Qo gnome-autogen.sh
/usr/bin/gnome-autogen.sh is owned by gnome-common 2.28.0-1
Last edited by oliver (2011-03-18 18:07:05) -
Can't build mediastreamer-git for linphone-git
Why compiling mediaserver-git the following error always comes up:
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
./configure: line 16833: syntax error near unexpected token `0.40,'
./configure: line 16833: `IT_PROG_INTLTOOL(0.40, no-xml)'
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build mediastreamer-git.
==> Restart building mediastreamer-git ? [y/N]
my friend also uses linphone-git and has no probs installing it...any advice?
thanks,
DFso I found the package I needed from an ubuntuform post: http://ubuntuforums.org/archive/index.p … 51641.html
pacman -S intltool -
Hi
Can someone help me building emerald-git from AUR. I know it is flagged as "out of date" but this should not be problem building it. I know the process of makepkg but i just can't build this PKGBUILD. https://aur.archlinux.org/packages.php?ID=11539
Error output when compiling the package:
main.c:3044:11: warning: assignment makes pointer from integer without a cast [enabled by default]
main.c: In function ‘update_switcher_window’:
main.c:3242:9: warning: assignment makes pointer from integer without a cast [enabled by default]
main.c:3291:11: warning: assignment makes pointer from integer without a cast [enabled by default]
mv -f .deps/engine_loader.Tpo .deps/engine_loader.Po
main.c: In function ‘main’:
main.c:5620:5: error: too few arguments to function ‘decor_set_dm_check_hint’
/usr/include/compiz/decoration.h:462:1: note: declared here
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/saso/Downloads/emerald-git/src/emerald-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/saso/Downloads/emerald-git/src/emerald-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...I think, this is due to Emerald being discontinued. The packages version is of 2007, the last commit in the git repo is of mid 2010 with three code commits since the beginning of 2009 (everything else are just version bumps and translation updates): http://gitweb.compiz.org/?p=fusion/deco … ;a=summary So I'm not really surprised that something is broken now...
-
[Solved] Problem building cal3d
In building cal3d, the pkg subdirectory is populated, but the resulting package xz doesn't have any files. I've tried this on 2 computers with the same result and haven't had any trouble building other packages. I'm still a newbie with Arch and am not sure what to look for to fix it. Here's the PKGBUILD in case there's an obvious problem with it.
# Contributor: Hussam Al-Tayeb <...>
pkgname=cal3d
pkgver=0.11.0
pkgrel=5
pkgdesc="A skeletal-based 3D character animation library"
arch=(i686 x86_64)
url="https://gna.org/projects/cal3d"
options=(!libtool)
license=(GPL2)
depends=('gcc-libs')
makedepends=('patch')
source=(http://download.gna.org/cal3d/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff)
md5sums=('82ad09c1c28e73bc9596aec47237bfba'
'f290fb54f844e044ae80165f083cf58f')
build() {
cd ${pkgname}-$pkgver
patch -p0 < ../cal3d-gcc43.diff
./configure --prefix=/usr
make
package() {
cd ${pkgname}-$pkgver
make DESTDIR=$startdir/pkg install
Last edited by Myshkin (2013-06-29 13:42:58)That PKGBUILD needs updating - it doesn't install to the proper directory so makepkg has nothing to make a package out of. This works:
pkgname=cal3d
pkgver=0.11.0
pkgrel=5
pkgdesc="A skeletal-based 3D character animation library"
arch=(i686 x86_64)
url="https://gna.org/projects/cal3d"
options=(!libtool)
license=(GPL2)
depends=('gcc-libs')
makedepends=('patch')
source=(http://download.gna.org/cal3d/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff)
md5sums=('82ad09c1c28e73bc9596aec47237bfba'
'f290fb54f844e044ae80165f083cf58f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 < ../cal3d-gcc43.diff
./configure --prefix=/usr
make
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
Be sure to report this to the package maintainer -
Error trying to build kernel26zen-git
I get this message when i try to build kernel26zen-git.
Failed... Your source tree might be broken. Run 'make mrproper' in src/zen-sources to clean it up
However, I follow the instructions and run make mrproper in the zen-sources directory, re-run the kernel26zen package and still get the same error. Is there something I must do that I am not aware of to make it compile properly? I had this kernel working once before. Thanks ahead of time.I no i just used the standard downloaded the package in AUR via yaourt, and let it run. I dont think it switched to the master branch.
==> Creating branch: v2.6.24-rc6-zen0...
==> Switching to branch: v2.6.24-rc6-zen0...
Switched to branch "v2.6.24-rc6-zen0"
==> Generating commit ChangeLog...
warning: refname 'v2.6.24-rc6-zen0' is ambiguous.
==> Testing if current kernel version is supported by this PKGBUILD...
==> Loading configuration...
-> Running make menuconfig... -
[SOLVED] make fails but makepkg works fine (when building zathura git)
Hello,
when I build the "zathura-girara-git" AUR package with makepkg everything works fine, but if I try to build zathura after cloning the git repo make fails with some errors.
make output from makepkg:
zathura build options:
CFLAGS = -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -std=c99 -pedantic -Wall -Wno-format-zero-length -Wextra -pthread -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/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
LIBS = -lgirara-gtk2 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread -lm
DFLAGS = -g
CC commands.c
CC = cc
CC document.c
CC render.c
CC zathura.c
CC completion.c
CC bookmarks.c
CC utils.c
CC shortcuts.c
CC config.c
CC callbacks.c
CC print.c
CC database-plain.c
CC -o zathura
installing executable file
installing header files
installing manual pages
which: no rst2man in (/usr/lib/ccache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/bin/:/home/bexie/bin)
installing desktop file
installing pkgconfig file
make output:
zathura build options:
CFLAGS = -std=c99 -pedantic -Wall -Wno-format-zero-length -Wextra -pthread -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/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
LIBS = -lgirara-gtk2 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lsqlite3 -ldl -lpthread -lm
DFLAGS = -g
CC = cc
CC commands.c
In file included from commands.c:3:0:
commands.h:7:20: fatal error: girara.h: No such file or directory
compilation terminated.
make: *** [commands.o] Error 1
I tried exporting the enviroment variables from /etc/makepkg.conf, to no avail. I also tried adding the girara include files to CFLAGS, but it throws the same kind of error about some gtk dependency.
I don't know if this is a general issue, but as I can compile it through makepkg I don't think this is due to zathura.
Does anyone have a clue on what could be wrong here?
Last edited by donbex (2012-01-22 12:56:59)In the PKGBUILD, they are cloning the repo by doing :
_gitroot="git://pwmt.org/zathura.git"
_gitname="zathura"
git clone $_gitroot
cd $_gitname && git checkout --track -b develop origin/develop
Are you doing the same ? -
[SOLVED] makepkg fails when building libdivecomputer-git from AUR.
I'm not sure where to start debugging this failure as I'm a newb when it comes to compiling packages.
Can anyone point me in the right direction?
[dan@arch libdivecomputer-git]$ makepkg -s PKGBUILD
==> Determining latest git revision...
-> Version found: 20120714
==> Making package: libdivecomputer-git 20120714-1 (Sat Jul 14 13:43:22 EST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'libdivecomputer'...
remote: Counting objects: 3995, done.
remote: Compressing objects: 100% (1563/1563), done.
remote: Total 3995 (delta 3240), reused 2983 (delta 2429)
Receiving objects: 100% (3995/3995), 739.19 KiB | 59 KiB/s, done.
Resolving deltas: 100% (3240/3240), done.
==> GIT checkout done or server timeout
==> Starting make...
Cloning into '/home/dan/libdivecomputer-git/src/libdivecomputer-build'...
done.
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:25: installing './config.guess'
configure.ac:25: installing './config.sub'
configure.ac:21: installing './install-sh'
configure.ac:21: installing './missing'
examples/Makefile.am: installing './depcomp'
automake: warnings are treated as errors
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libdivecomputer.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:4: while processing Libtool library 'libdivecomputer.la'
autoreconf: automake failed with exit status: 1
==> ERROR: A failure occurred in build().
Aborting...
Last edited by bergersau (2012-07-18 03:57:09)You may want to notify the maintainer by posting a comment on https://aur.archlinux.org/packages.php?ID=52648
Maybe you are looking for
-
How to catch the event for change dropdown value in alv
it has a column output by dropdown in alv. the dropdown type cl_salv_wd_uie_dropdown_by_idx. now the problem is if change the dropdown value, i want to catch the event to change another column value. how can i do it?
-
If possible can i show todays date on my mac book pro screen?
if possible can i display todays date on my mac book pro's screen
-
How to solve power error when using USB camera adapter in your camera
Hello Everyone, First of all I wanna say reducing the output of the USB camera adapter from 100mA to 20mA just to save battery life is by far the most incredible adjustment in the history of @)#*$#%*($#! I know most of us bought the USB Camera adapte
-
Mac OSX 10.4 compatable with FCE?
I have recently bought Mac OSX tiger and wanted to know if it's working ok with FCE ver 2.03?
-
IPod Touch, iOS6, "Other" memory increasing every sync?
I have noticed that since the "update" to 6.0, my iPod touch has an increasing amount of "other" memory with every sync. The amount of "other" increases by about 400 mb every time I sync it. Even when I synced it twice in a row with no new podcasts o