On Wed, Jul 25, 2012 at 12:07:16PM -0700, Thibi wrote: > Hello! > > I'm in the process of setting up a PKGBUILD for Arch Linux with the > desktop and opensync-plugin-0.4x switches enabled, and I'm running > into an issue of getting opensync-plugin-0.4x to make.
Hi Thibi! Glad to hear it. Thank you for your effort. > Are the recommended toolkit versions on the website incorrect for 0.17.1? The dependencies on the website may have more than are needed for 0.17.1, since the website is updated for version 0.18.3, but if you have them all installed, 0.17.1 should build as well. I see you're really building version 0.18.3, which is what I'd recommend. :-) > If it makes any difference, I've replaced all instances of $PKG_CONFIG > looking for "libopensync1" to "libopensync" to allow pkg-config to > locate it successfully. Why do you need to change the pkg-config name? Which version of opensync are you building against? If you really want to use the 0.4x plugin, you should use the latest opensync as well, or you will run into linking and API changes that won't compile. Plus, bugs have been fixed in the latest opensync. The latest opensync is available in the binary-meta tarball in the Barry file download area. The binary-meta tarball contains the source code which the binary packages are based on, not just Barry's source, but also opensync and plugins. > Truncated, it ends up with this error: > > >> src/Makefile.am:26: Libtool library used but `LIBTOOL' is undefined > >> src/Makefile.am:26: > >> src/Makefile.am:26: The usual way to define `LIBTOOL' is to add > >> `AC_PROG_LIBTOOL' > >> src/Makefile.am:26: to `configure.ac' and run `aclocal' and `autoconf' > >> again. > >> make[2]: *** [Makefile.in] Error 1 In the verbose log, I saw: > >>> make[2]: Entering directory > >>> `/tmp/yaourt-tmp-user/aur-barry/src/barry-0.18.3/opensync-plugin-0.4x' > >>> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh > >>> /tmp/yaourt-tmp-user/aur-barry/src/barry-0.18.3/opensync-plugin-0.4x/missing > >>> --run aclocal-1.11 > >>> /tmp/yaourt-tmp-user/aur-barry/src/barry-0.18.3/opensync-plugin-0.4x/missing: > >>> line 52: aclocal-1.11: command not found > >>> WARNING: `aclocal-1.11' is missing on your system. You should only need > >>> it if > >>> you modified `acinclude.m4' or `configure.ac'. You might want > >>> to install the `Automake' and `Perl' packages. Grab them from > >>> any GNU archive site. > >>> cd . && /bin/sh > >>> /tmp/yaourt-tmp-user/aur-barry/src/barry-0.18.3/opensync-plugin-0.4x/missing > >>> --run automake-1.11 --foreign > >>> /tmp/yaourt-tmp-user/aur-barry/src/barry-0.18.3/opensync-plugin-0.4x/missing: > >>> line 52: automake-1.11: command not found > >>> WARNING: `automake-1.11' is missing on your system. You should only need > >>> it if > >>> you modified `Makefile.am', `acinclude.m4' or `configure.ac'. > >>> You might want to install the `Automake' and `Perl' packages. > >>> Grab them from any GNU archive site. > >>> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh > >>> /tmp/yaourt-tmp-user/aur-barry/src/barry-0.18.3/opensync-plugin-0.4x/missing > >>> --run autoconf > >>> aclocal.m4:16: warning: this file was generated for autoconf 2.67. > >>> You have another version of autoconf. It may work, but is not guaranteed > >>> to. > >>> If you have problems, you may need to regenerate the build system > >>> entirely. > >>> To do so, use the procedure documented by the package, typically > >>> `autoreconf'. > >>> configure.ac:17: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call > >>> detected in body > >>> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... > >>> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... > >>> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... > >>> m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... > >>> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from... > >>> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from... > >>> m4/libtool.m4:138: _LT_SETUP is expanded from... > >>> m4/libtool.m4:67: LT_INIT is expanded from... > >>> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... > >>> configure.ac:17: the top level > >>> configure.ac:17: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call > >>> detected in body This concerns me, as it appears that during your build, the makefiles are trying to regenerate themselves, and maybe you don't have all the required tools. When configure or scripts start barfing with uppercase symbols, it's probably because there's a missing piece, and the configure script did not get created correctly. I would check your autotools toolchain first, and make sure you have all the latest versions. Above, you are using automake-1.9, but here, it's looking for aclocal 1.11 and automake 1.11. Let me know if you have more questions. Thanks, - Chris ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel