Thanks for the useful informations, Julien. Just for the record, I
made available an agar package for Archlinux users [1] and it seems
someone already uploaded package for agar-svn [2].

[1] https://aur.archlinux.org/packages.php?ID=24001
[2] https://aur.archlinux.org/packages.php?ID=51180

Thanks,

--Rafael

2011/9/20 Julien Nadeau <[email protected]>:
>
> Hi Rafael,
>
> Agar's configure looks for a working "-lGL". The configure script
> tries to find it using pkg-config and reverts to scanning predefined
> directories if unavailable.
>
> Mentions of "sdlgl" in the Agar documentation refer to an Agar display
> driver called "sdlgl" (for GL rendering via SDL), documented here:
> http://libagar.org/man3/AG_DriverSDLGL. It is not related to the sdlgl
> project on SourceForge.
>
> On Sat, Sep 17, 2011 at 08:59:22PM -0300, rafael ff1 wrote:
>> Great, thanks a lot!
>>
>> Last, I have a doubt and then you leave the rest for possible bug
>> reports: What package provide the OpenGL required by Agar's
>> ../configure?
>>
>> 1. sdlgl [1], name mentioned in libagar's wiki [2]
>>
>> 2. Glew [3] [4]
>>
>> 3. 'libGL.1.so' lib from drivers, for example, mesa [5]
>>
>> [1] http://sourceforge.net/projects/sdlgl/
>> [2] http://wiki.libagar.org/wiki/Sdlgl
>> [3] http://glew.sourceforge.net/
>> [4] http://www.archlinux.org/packages/extra/i686/glew/files/
>> [5] http://www.archlinux.org/packages/extra/i686/libgl/files/
>>
>> 2011/9/17 Julien Nadeau <[email protected]>:
>> > 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