[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP-BUG: [bug #59673] cross compilation is not possible

From: Harry Thijssen
Subject: Re: PSPP-BUG: [bug #59673] cross compilation is not possible
Date: Mon, 14 Dec 2020 16:48:03 +0000


pspp.exe is generated in src/ui/terminal  and automake.mk mentions src/ui/termina/pspp

So I used a stub  bash script src/ui/terminal//pspp which calls pspp.exe
Between the configure and make I put this in src/uit/terminal.

It is picked up and executed. But I get:

(cd ./examples \
         && /home/pspp/pspp-master-20201214/pspp-1.5.2-g443d13/src/ui/terminal/pspp ../doc/pspp-figures/aggregate.sps -o - -O format=spv) > doc/pspp-figures/aggregate.spv.tmp
pspp.exe: cannot remove temporary directory C:\users\pspp\Temp\psppKn2Uty: Directory not empty
mv doc/pspp-figures/aggregate.spv.tmp doc/pspp-figures/aggregate.spv
i686-w64-mingw32-gcc -ggdb -I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo -I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1 -I/usr/i686-w64-mingw32/sys-root/mingw/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2 -I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16 -I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0 -I/usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz -mms-bitfields  -Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory -fstack-protector  utilities/pspp-output.c   -o utilities/pspp-output
utilities/pspp-output.c:17:10: fatal error: config.h: No such file or directory
   17 | #include <config.h>
      |          ^~~~~~~~~~

compilation terminated.
make[2]: *** [<builtin>: utilities/pspp-output] Error 1
make[2]: Leaving directory '/home/pspp/pspp-master-20201214/pspp-1.5.2-g443d13'
make[1]: *** [Makefile:12387: all-recursive] Error 1
make[1]: Leaving directory '/home/pspp/pspp-master-20201214/pspp-1.5.2-g443d13'
make: *** [Makefile:6485: all] Error 2
Uncaught exception from user code:
system 'Mingw32-make'  failed: 512 at pspp4windows/buildpspp4windows.pl line 586, <FILE> line 951.
It looks as if this won't be a good path forward.

Stay safe

Op ma 14 dec. 2020 om 13:25 schreef Harry Thijssen <pspp4windows@gmail.com>:

Op ma 14 dec. 2020 om 13:41 schreef John Darrington <john@darrington.wattle.id.au>:
On Sun, Dec 13, 2020 at 01:30:35PM -0800, Ben Pfaff wrote:

I would be very wary of wine-binfmt.    Not only does it raise the risk of
you inadvertently executing Windows malware in your inbox,

Indeed, that is that reason why I won´t install this on my 'normal' environment.  In this case it is not so important because it is a dedicated environment which I don´t use for other work. I don´t get  e-mail there, and I don´t download stuff there.
but it also
confuses autoconf into believing that you are NOT cross-compiling when in
fact you are.

That is a big problem.


Stay safe 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]