1 Aug 2009 02:12
Re: Awesome git compilation errors in Archlinux
Jim Pryor <lists+awesome <at> jimpryor.net>
2009-08-01 00:12:01 GMT
2009-08-01 00:12:01 GMT
Renaming common/signal.h to signal2.h (and changing the include line in
common/luaclass.h from "common/signal.h" to "common/signal2.h" allows
the compile to succeed). So I think something like this is the problem.
Is something wrong with my build or cmake setup?
On Fri, Jul 31, 2009 at 12:15:19PM -0400, Jim Pryor wrote:
> I'm also seeing these difficulties. I haven't tracked down the exact
> cause yet, but I notice that a package library common/signal.h was
> recently added, and that the variables that the compile is failing
> because of are defined in /usr/include/signal.h (actually in a file that
> this sources). Is the package-level signal.h masking the system-level
> one? I don't understand cmake enough to know how. But it seems like this
> is related to the problem.
>
> Here are the build instructions I'm using. Any feedback on them would be
> welcome. $pkgdir is the Arch installation root.
>
>
> function build() {
>
> # irrelevant stuff, like synching against git..., then:
>
> sed 's!usr/local/lib!usr/lib!g' -i awesomeConfig.cmake #-i CMakeFiles/awesome.dir/link.txt ||
return 1
>
> cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc || return 1
> make || return 1
> make DESTDIR=$pkgdir install || return 1
>
> install -Dm644 ${srcdir}/awesome.desktop ${pkgdir}/usr/share/xsessions/awesome.desktop
(Continue reading)
RSS Feed