Re: [Vala] why valac says "error: Failed to execute child process (Exec format error)"







 
      From: oyster <lepto python gmail com>
 Sent: Tuesday, 21 June 2016, 15:56
 Subject: Re: [Vala] why valac says "error: Failed to execute child process (Exec format error)"
   
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

That should really be 'valac'. 'vala' without the 'c' will also compile to a temporary directory and run the 
binary.This adds additional complexity to your testing.


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)


This is now a different error. The files are not being found. Have you also installed MSYS2 gcc and 
pkg-config?


   
 


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