On Sat, 8 May 2021, Allin Cottrell wrote:
Hello all,
I'd like to test the water for a change in the gretl build process which
could be unpopular but which I think is needed -- namely, disallowing
building of gretl in the source tree.
OK.
Right now you can do ./configure and make in the top level of the
gretl
source tree -- either a released source package or gretl-git. Under my
proposal you'd have to use a parallel tree or subtree. I'll illustrate with
reference to gretl-git.
Parallel:
Make a build directory at the same level in the directory hierarchy as gretl
git. In that directory, do
../gretl-git/configure ; make
Subtree:
Make a build directory inside gretl-git, and in that directory do
../configure ; make
With both methods, configure+make run fine here; "make install" fails,
since all the .la files get created in the "plugins" directory of the git
source tree and can't found in the build tree. What am I doing wrong?
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------