[noPoll] Some package-related bugs

Félix xcodexif en xif.fr
Jue Oct 30 03:21:30 CET 2014


Hello,

I have found some bugs while packaging noPoll for ArchLinux. I have the same bugs on OS X.

First, autogen.sh is producing some warnings, which are treated as errors  :
	configure.ac:47: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
	configure.ac:47: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
	src/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
	test/Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

Also, the '--Werror' flag is not defined for autoconf :
	automake: error: unrecognized option '--Werror'.
'-Werror' should be used.

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.
Maybe the includes should me prefixed with 'nopoll/', like this : #include <nopoll/nopoll_[…].h>

Regards
Félix Faisant

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.aspl.es/pipermail/nopoll/attachments/20141030/261714ed/attachment.html>


Más información sobre la lista de distribución noPoll