You are not logged in.
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)
Offline
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.
Offline
yeah i have all of those installed but it still fails to build.
Offline
I'm now having the same problem you are...
Offline
well i guess that's a good thing now that i know it's not my machine that's having the problem. hopefully it's a simple bug that get fixed soon.
Offline
We now have a thread going on the awesome mailing list about this...
Offline
good to know, thanks.
Offline
a fix is here...
Offline
well i read that and just tried to install awesome-git and everything went fine. so i guess my problem is gone. thanks.
Offline
Yes, this has been fixed in git. The workaround I posted in the mailing list is no longer necessary.
Offline