Re: Running an uninstalled executable

2015-05-13 Thread Alberto Luaces
Bob Friesenhahn writes: > On Tue, 12 May 2015, Alberto Luaces wrote: > >> Hello, >> >> in an autoconf+automake+libtool C++ project containing only one program, >> I want to run the executable before installing it. >> >> Reading the manual I thought that

Re: Running an uninstalled executable

2015-05-12 Thread Alberto Luaces
David writes: > El Tue, 12 May 2015 11:38:42 +0200 > Alberto Luaces escribió: >> Hello, >> >> in an autoconf+automake+libtool C++ project containing only one >> program, I want to run the executable before installing it. >> >> Reading the m

Running an uninstalled executable

2015-05-12 Thread Alberto Luaces
Hello, in an autoconf+automake+libtool C++ project containing only one program, I want to run the executable before installing it. Reading the manual I thought that it could be done with libtool --mode=execute program_binary but it fails, since there are undefined references to shared libraries

Re: Getting executable to link to libtool-built library

2009-12-28 Thread Alberto Luaces
David Bruce writes: > OK, I can get it to work post-installation with either LD_LIBRARY_PATH > or the ldconfig+/etc/ld.so.conf mechanism. What I want to learn is > the "right" way to do this as a programmer/packager from an autotools > perspective so that a user can do "./configure; make; sudo m

Re: Trouble upgrading to 2.2.6a

2009-09-14 Thread Alberto Luaces
Hello Ralf, El Sábado, 12 de Septiembre de 2009ES 07:20:48 Ralf Wildenhues escribió: > Well, not really. libtoolize has > > if test -n "$ac_auxdir"; then > # If $configure_ac contains AC_CONFIG_AUX_DIR, check that it was > # not given in terms of a shell variable! > [...] > e

Re: Trouble upgrading to 2.2.6a

2009-09-10 Thread Alberto Luaces
El Miércoles, 9 de Septiembre de 2009ES 19:56:22 Kurt Roeckx escribió: > This is a typical behaviour of mixing libtool 1.5 and 2.2 parts. > You probably have some aclocal.m4 file or simular somewhere still > containing 1.5 macro's. This is true in many cases, as I have seen from many other people.

Re: Trouble upgrading to 2.2.6a

2009-09-08 Thread Alberto Luaces
Hi Bob, On Martes, 8 de Septiembre de 2009 04:20:15 Bob Friesenhahn escribió: > >>> I have searched on the web and it seems that the problem is a mismatch > >>> with the libtool templates. However, I haven't been able to find any > >>> outdated template on my system: > >> > >> The outdated templat

Trouble upgrading to 2.2.6a

2009-09-07 Thread Alberto Luaces
Hello, I have recently updated my system, so now I have new versions of the Autotools: autoconf 2.64-2 automake 1:1.11-1 libtool 2.2.6a-4 I have a simple testcase where libtool fails to do the linking of a tiny executable, here is the process: $ ls configure.ac Makefile.am test1.c $ auto