You are not logged in.

#1 2009-07-31 06:07:06

senses3
Member
From: ohio
Registered: 2009-07-31
Posts: 9

[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)

Offline

#2 2009-07-31 07:11:36

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: [SOLVED] problems building awesome-git

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

#3 2009-07-31 15:17:47

senses3
Member
From: ohio
Registered: 2009-07-31
Posts: 9

Re: [SOLVED] problems building awesome-git

yeah i have all of those installed but it still fails to build.

Offline

#4 2009-07-31 15:58:21

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: [SOLVED] problems building awesome-git

I'm now having the same problem you are...

Offline

#5 2009-07-31 16:10:05

senses3
Member
From: ohio
Registered: 2009-07-31
Posts: 9

Re: [SOLVED] problems building awesome-git

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

#6 2009-07-31 16:16:52

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: [SOLVED] problems building awesome-git

We now have a thread going on the awesome mailing list about this...

Offline

#7 2009-07-31 16:22:09

senses3
Member
From: ohio
Registered: 2009-07-31
Posts: 9

Re: [SOLVED] problems building awesome-git

good to know, thanks.

Offline

#8 2009-08-02 22:27:13

elstupidos
Arch Linux f@h Team Member
From: Santa Barbara, CA
Registered: 2008-01-14
Posts: 43

Re: [SOLVED] problems building awesome-git

Offline

#9 2009-08-04 02:31:44

senses3
Member
From: ohio
Registered: 2009-07-31
Posts: 9

Re: [SOLVED] problems building awesome-git

well i read that and just tried to install awesome-git and everything went fine. so i guess my problem is gone. thanks.

Offline

#10 2009-08-06 11:24:07

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: [SOLVED] problems building awesome-git

Yes, this has been fixed in git. The workaround I posted in the mailing list is no longer necessary.

Offline

Board footer

Powered by FluxBB