[odb-users] [BUG] Missing paths in Automake build system files

Amr Ali amr.ali.cc at gmail.com
Sat Oct 30 14:39:54 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I cloned your ODB ORM git repository into my project and added it as a
submodule. I tried the following steps to compile it ...

$ ./bootstrap
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/config.guess'
libtoolize: copying file `config/config.sub'
libtoolize: copying file `config/install-sh'
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:12: installing `config/missing'
automake: no `Makefile.am' found for any configure output
automake: Did you forget AC_CONFIG_FILES([Makefile]) in configure.ac?
autoreconf: automake failed with exit status: 1

After facing this error, which after I looked in the file in question
(configure.ac) I found that most of the paths/directories/files are replaced
with a rather weird `__file__' or `__path__'.

I downloaded your TAR packages from your website and compared the build system
files in general and found out that this is a general phenomena. I'm rather
confused as of why you did this, as after I gone through your various versions
for the different packages (ex. odb, libodb, libodb-mysql, etc.) I found it to
be everywhere.

Example diff:
7c7
< AC_INIT([libodb], [1.0.0], [odb-users at codesynthesis.com])
- ---
> AC_INIT([libodb], [__value__(version)], [odb-users at codesynthesis.com])
56c56
< AC_CONFIG_FILES([libodb.pc Makefile odb/Makefile])
- ---
> AC_CONFIG_FILES([__path__(config_files)])
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkzMZnoACgkQ2VxGY2VcpoiGjwCfdVEvcg5CGd4BV4t9w0u4ioUe
8iQAniI/yZtddfeZiyFlV+IGpz/lZqWc
=leZb
-----END PGP SIGNATURE-----



More information about the odb-users mailing list