On Wed, 25 Mar 2020, Sven Schreiber wrote:
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 re-downloaded setup.sh as per the wget command in the guide and
ran:
bash setup.sh.
Clearly this did not fully work. You're missing (at least part) of
the content of the the gretl-x86_64-deps package from the pacman
repository at sourceforge. That package includes the R and mpi
headers that your build is missing. See section 3.5 of "Building
gretl on MS Windows".
(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.)
Perhaps I should offer a split of the gretl-x86_64-deps package,
leaving out openblas and curl so people could just use the mingw64
versions. The reasons I've not done that to date are:
* Openblas should really be multi-threaded via OpenMP for use with
gretl, but the mingw64 package uses raw pthreads.
* The mingw64 curl package is fine, but it's full-featured and drags
in as dependencies a lot of DLLs that gretl has no use for. The curl
in my package is slimmed down to what gretl actually needs. This has
more relevance if you're building gretl for distribution rather than
just for your own use.
Allin