Am 20.03.2020 um 10:31 schrieb Sven Schreiber:
Hi everybody and especially Allin of course,

I just remembered that I had tried again to build gretl (2020a) on
Windows last week but still got some errors. I will see if I can re-run
that thing and post the details.

OK here's what I did. I already have MSYS/MinGW installed (64bit). I
deleted the old /opt/gretl and ~/src/build. In ~/src/gretl-git I did git
pull. I deleted ~/pkglist.sh, ~/add-repo.sh, and ~/setup.sh. I ran
pacman -Syu (which produced quite a bit of updates). I did not delete
the texinst shell script in the hope that this time-consuming step could
be avoided.

I re-downloaded setup.sh as per the wget command in the guide and ran:
bash setup.sh.
(Mingw's openblas and curl conflict with the gretl deps package and have
to be removed along the way. This is a bit of a problem -but not major-
when you also do other stuff with this MSYS instance, you always have to
flip back and forth. But that's not the point right now.)

Then ran make inside ~/src/build. (But this is with the default GTK2.
The aim is to build with GTK3 afterwards.)
This gives the following error:
../../gretl-git/lib/src/gretl_foreign.c:39:11: fatal error:
Rinternals.h: No such file or directory
   39 | # include <Rinternals.h> /* for SEXP and friends */
      |           ^~~~~~~~~~~~~~
compilation terminated.

Then I ran 'make clean' inside ~/src/build and added to conf.sh the
additional switch  --with-libR=no. I got some warning about being unable
to build docs because XSLT or pdflatex not found. I ran make again
nonetheless. Then I get this error:
../../gretl-git/lib/src/gretl_mpi.c:23:10: fatal error: mpi.h: No such
file or directory
   23 | #include <mpi.h>
      |          ^~~~~~~
compilation terminated.

OK, so again 'make clean' and added  --with-mpi=no to conf.sh.
The build then finished without errors! (Didn't try installing etc.)

Now back to the GTK3 issue: Ran make clean again and deleted the
--enable-gtk2  line from conf.sh. The make stage is still running
(building on MSYS seems quite a bit slower than on Linux).

Will report back
thanks
sven
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

Reply via email to