problem building polkit
Dennis Veatch
dennisveatch at bellsouth.net
Mon Dec 26 17:03:00 CET 2011
On Monday, December 26, 2011 8:57:34 AM Richard B. Pyne wrote:
> On 12/26/2011 5:50 AM, Zbigniew Luszpinski wrote:
> > Fixed and commited to moonbase. Thanks for bug reporting. Do lunar
> > update
> > to get fixed polkit module.
> >
> > merry christmas and happy new year,
> > Zbigniew Luszpinski
>
> With your fix gobject-introspection becomes a required dependency,
> without it the build fails with:
>
> libtoolize: copying file `libltdl/ltdl.h'
> libtoolize: copying file `libltdl/slist.c'
> libtoolize: You should add the contents of the following files to
> `aclocal.m4':
> libtoolize: `libltdl/m4/ltversion.m4'
> libtoolize: `libltdl/m4/argz.m4'
> libtoolize: `libltdl/m4/ltdl.m4'
> libtoolize: or else add `AC_CONFIG_MACRO_DIR([libltdl/m4])' to configure.ac.
> libtoolize: Remember to add `LTDL_INIT' to configure.ac.
> libtoolize: Remember to add `LT_CONFIG_LTDL_DIR([libltdl])' to
> `configure.ac'.
> libtoolize: Consider using `AC_CONFIG_AUX_DIR([libltdl/config])' in
> configure.ac.
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> /usr/share/aclocal/xml-i18n-tools.m4:27: warning: underquoted definition
> of AC_PROG_XML_I18N_TOOLS
> /usr/share/aclocal/xml-i18n-tools.m4:27: run info '(automake)Extending
> aclocal'
> /usr/share/aclocal/xml-i18n-tools.m4:27: or see
> http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
> libtoolize: putting auxiliary files in `.'.
> libtoolize: copying file `./ltmain.sh'
> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
> libtoolize: rerunning libtoolize, to keep the correct libtool macros
> in-tree.
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> /usr/share/aclocal/xml-i18n-tools.m4:27: warning: underquoted definition
> of AC_PROG_XML_I18N_TOOLS
> /usr/share/aclocal/xml-i18n-tools.m4:27: run info '(automake)Extending
> aclocal'
> /usr/share/aclocal/xml-i18n-tools.m4:27: or see
> http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
> src/polkit/Makefile.am:94: HAVE_INTROSPECTION does not appear in
> AM_CONDITIONAL
> src/polkitagent/Makefile.am:104: HAVE_INTROSPECTION does not appear in
> AM_CONDITIONAL
> autoreconf: automake failed with exit status: 1
> Creating /var/log/lunar/compile/polkit-0.103.bz2
> ! Problem detected during BUILD
>
>
> Thank you,
> --Richard
>
Polkit compiled fine here before your initial post so I cannot really test.
However, try making the optional_depends for gobject-introspection to look
like this;
optional_depends gobject-introspection "--enable-introspection=yes" "--
disable-introspection=no" "for API collection support"
--
Dennis Veatch
Lunar-Linux Developer
http://lunar-linux.org
More information about the Lunar
mailing list