Re: installation error with automake 1.11 but not with 1.10

2009-06-11 Thread Vincent Torri
Hey, * Vincent Torri wrote on Thu, Jun 11, 2009 at 11:30:14PM CEST: We are experiencing a strange error problem when doing 'make install' with automake 1.11. The error is: test -z "/tmp/lib/eina/mp/" || /bin/mkdir -p "/tmp/lib/eina/mp/" /bin/sh ../../../../libtool --mode=install /usr/bin/

Re: installation error with automake 1.11 but not with 1.10

2009-06-11 Thread Ralf Wildenhues
Hello Vincent, thanks for the bug report. * Vincent Torri wrote on Thu, Jun 11, 2009 at 11:30:14PM CEST: > We are experiencing a strange error problem when doing 'make > install' with automake 1.11. The error is: > test -z "/tmp/lib/eina/mp/" || /bin/mkdir -p "/tmp/lib/eina/mp/" > /bin/sh ../../

Re: RFE: allow for computed version number

2009-06-11 Thread Bob Friesenhahn
On Fri, 12 Jun 2009, Bruno Haible wrote: How to solve this? Should the arguments to AM_INIT_VERSION be 1. the expression that computes the version, 2. a dependency? An expression is most flexible and does not require use of a file which might cause the recursion issue with the version contr

Re: RFE: allow for computed version number

2009-06-11 Thread Bruno Haible
Ralf Wildenhues wrote: > > > AM_INIT_VERSION([$$version], [version=`sh $(top_srcdir)/gen-version`]) > > Here's a slightly different idea. The basic unit of granularity in > makefiles is a target, or a file. The problem we're facing is that the > version is clumped together with all other inf

Re: RFE: allow for computed version number

2009-06-11 Thread Bruno Haible
Hello Ralf, The proposed patch was meant as a prototype, not a proposed patch for Automake. Forget about the code, and just note that it can be done with - a new macro through which the user declares how to compute the version, - some modifications in init.m4 and distdir.am. > > - with a lazi

installation error with automake 1.11 but not with 1.10

2009-06-11 Thread Vincent Torri
Hey, We are experiencing a strange error problem when doing 'make install' with automake 1.11. The error is: test -z "/tmp/lib/eina/mp/" || /bin/mkdir -p "/tmp/lib/eina/mp/" /bin/sh ../../../../libtool --mode=install /usr/bin/install -c eina_chained_mempool.la '/tmp/lib/eina/mp/' libtoo

Re: Shared library location

2009-06-11 Thread Bruno Haible
Russell Shaw asked: > What "make" variable can i utilize that has a value > dependent on whether the package is installed or not? If you need this distinction only in the tests, you can use the Makefile.am variable TESTS_ENVIRONMENT to set an environment variable. Like this: In tests/Makefile.am