On Sat, Sep 17, 2011 at 01:01:43PM -0300, rafael ff1 wrote:
> Well, I was able to make the installation work by setting
> "--with-catman=no" in ./configure line... Is it bad to set this
> command? I've got these files from installation:
> http://pastebin.com/gxMr31jp

That looks fine to me.

> By the way, is it correct to have includes installed in
> '/usr/includes/agar/agar', instead of just '/usr/includes/agar' ? This
> seems to happen with svn sources too.

Yes, that is correct. Since Agar apps use #include <agar/foo.h>, having
the includes in <prefix>/include/agar/agar allows `agar-config --cflags`
to output "-I/usr/include/agar" as opposed to "-I/usr/include" which may
not be desirable.

> -- Rafael
> 
> 2011/9/16 Julien Nadeau <[email protected]>:
> >
> > That one is due to a bug in bash (which I assume you have installed
> > under /bin/sh). There is a work around in svn, but I don't remember
> > where it was exactly. You can also set the SH environment variable
> > to an alternate shell when invoking make.
> >
> > On Fri, Sep 16, 2011 at 09:02:25PM -0300, rafael ff1 wrote:
> >> Great, this solved the compilation problem. But I came through another
> >> problem during the installation:
> >>
> >> * command line:
> >> make  DESTDIR="${pkgdir}" MANDIR=/usr/share/man LIBDIR=/usr/lib/agar 
> >> install
> >>
> >> (where "pkgdir" is the fakeroot for installing files)
> >>
> >> * error message output:
> >> (...)
> >> install -c -m 644   /home/rafael/builds/agar/pkg/usr/share/man/cat3
> >> install: cannot stat `\177': No such file or directory
> >> install-manpages.sh failed
> >>
> >> (complete output: http://pastebin.com/RHu5cX5e)
> >>
> >> 2011/9/16 Julien Nadeau <[email protected]>:
> >> >
> >> > Hi Rafael,
> >> >
> >> > The problem is due to gcc's new "-Wunused-but-set-variable" which
> >> > causes configure tests to fail. As a work around you can use:
> >> >
> >> >    env CFLAGS="-O2 -Wno-unused-but-set-variable" ./configure ...
> >> >
> >> > Or you can build from current svn sources which includes a fix.
> >> >
> >> > On Fri, Sep 16, 2011 at 04:54:09PM -0300, rafael ff1 wrote:
> >> >> Hi there,
> >> >>
> >> >> Trying to build agar in Archlinux 64bit, but it fails. Can you please
> >> >> help solving this problem?
> >> >>
> >> >> $ uname -a
> >> >> Linux asterix 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011
> >> >> x86_64 Intel(R) Atom(TM) CPU N550 @ 1.50GHz GenuineIntel GNU/Linux
> >> >>
> >> >> Config log: http://pastebin.com/HCz6Mek1
> >> >>
> >> >> Thanks in advance,
> >> >>
> >> >> Rafael
> >> >>
> >> >> _______________________________________________
> >> >> Agar mailing list
> >> >> [email protected]
> >> >> http://libagar.org/lists.html
> >> >
> >>
> >> _______________________________________________
> >> Agar mailing list
> >> [email protected]
> >> http://libagar.org/lists.html
> >

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to