Re: [Vala] why valac says "error: Failed to execute child process (Exec format error)"
- From: oyster <lepto python gmail com>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] why valac says "error: Failed to execute child process (Exec format error)"
- Date: Tue, 21 Jun 2016 22:56:31 +0800
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/mingw64/bin
to delete all possible things in old Msys, I run
$ export PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/mingw64/bin
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/opt/bin:/mingw64/bin
$ vala ./hello.vala
Compilation failed: 3 error(s), 0 warning(s)
error: Failed to execute child process (No such file or directory)
error: Failed to execute child process (No such file or directory)
error: Failed to execute child process (No such file or directory)
2016-06-21 22:44 GMT+08:00 Al Thomas <astavale yahoo co uk>:
________________________________
From: oyster <lepto python gmail com>
Sent: Tuesday, 21 June 2016, 15:38
Subject: Re: [Vala] why valac says "error: Failed to execute child process
(Exec format error)"
Msys2 (msys2-x86_64-20160205.exe) has been installed, and I have used
$ pacman -Sy pacman
$ pacman -Syu
$ pacman -Su
which all say " there is nothing to do" now
I use this line to install Vala in msys2.exe
$ pacman -S mingw-w64-x86_64-vala
then
$ export LANG=en
$ export PATH=$PATH:/mingw64/bin
What does
echo $PATH
show? Does it still include your old MSYS path so those binaries/libraries
are being picked up first?
$ vala ./hello.vala
Compilation failed: 3 error(s), 0 warning(s)
error: Failed to execute child process (No such file or directory)
error: Failed to execute child process (No such file or directory)
error: Failed to execute child process (No such file or directory)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]