<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
On jue, 2014-10-30 at 03:21 +0100, Félix wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Hello,<BR>
</BLOCKQUOTE>
<BR>
Hi Félix,<BR>
<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
I have found some bugs while packaging noPoll for ArchLinux. I have the same bugs on OS X.
</BLOCKQUOTE>
<BR>
Ok,<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
First, autogen.sh is producing some warnings, which are treated as errors :
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
configure.ac:47: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
configure.ac:47: <A HREF="http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation">http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation</A>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
src/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
test/Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
</BLOCKQUOTE>
<BR>
Uhmn...I don't these errors on debian wheezy, debian squeeze, ubuntu precise and other distributions.... :-?<BR>
<BR>
I've tried to update these value to the provided indications but I'm getting lot of m4/autoconf errors... :-?<BR>
<BR>
Maybe you could provide a patch that I can test easily...<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
Also, the '--Werror' flag is not defined for autoconf :
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
automake: error: unrecognized option '--Werror'.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
'-Werror' should be used.
</BLOCKQUOTE>
<BR>
Fixed,<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
And finally, there is a problem for headers : they are installed in …/include/nopoll, but, in the headers, #include <nopoll_[…].h> is used, so the compiler can't find it.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Maybe the includes should me prefixed with 'nopoll/', like this : #include <nopoll/nopoll_[…].h>
</BLOCKQUOTE>
<BR>
Ok, for this to work, you have to use pkg-config, that is, running the following will give you the right includes:<BR>
<BR>
>> pkg-config --cflags nopoll<BR>
-I/usr/include/nopoll <BR>
<BR>
More info at: <A HREF="http://www.aspl.es/nopoll/html/nopoll_core_library_manual.html#using_nopoll">http://www.aspl.es/nopoll/html/nopoll_core_library_manual.html#using_nopoll</A><BR>
<BR>
Thanks for reporting Félix :-) Best Regards<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
Regards
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<HR ALIGN="center">
<PRE>
Félix Faisant
</PRE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
noPoll mailing list
<A HREF="mailto:noPoll@lists.aspl.es">noPoll@lists.aspl.es</A>
<A HREF="http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll">http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>