-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure script unable to check for C compiler #297
Comments
I think we need more information about you're trying to do before we can help. |
Try it yourself: http://fox-toolkit.org/ftp/fox-snapshot.zip |
A couple of problems with the
I got export PATH_SEPARATOR=';'
export ac_executable_extensions='.exe' Running |
Same experience, even though I pass the path to the utilities directly via environment variable like |
The problem with the build getting stuck is due to this function in the # Convert file name or path ARG from MSYS format to w32 format. Return
# result in func_convert_core_msys_to_w32_result.
func_convert_core_msys_to_w32 ()
{
$debug_cmd
# awkward: cmd appends spaces to result
func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
$SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
} In the Cygwin world I've no idea why libtool is using such a convoluted method to get func_convert_core_msys_to_w32 ()
{
$debug_cmd
func_convert_core_msys_to_w32_result="$1"
} With that change the build gets much further. I don't know how much further because I stopped it after a while. The issue has been discussed on the |
Actually, the problem in We can only get so far by hacking GNU Autotools as they currently exist. The ultimate solution is to have proper support for the w64devkit environment in Autotools. Anyway, here's a script that can be sourced before running export PATH_SEPARATOR=';'
export ac_executable_extensions='.exe'
export build_alias="$(uname -m)-pc-mingw64"
if [ -f configure ]
then
echo "Converting configure..."
sed -i 's/func_convert_file_msys_to_w32/func_convert_file_noop/' configure
fi I've used this to successfully build Expat with w64devkit. |
It also fails to check for various utilities like sed,... even though they are all there!
Note: this is after passed
--build=x86_64-w64-mingw32
to configure script, otherwise it will not able to detect the platform. See #296The text was updated successfully, but these errors were encountered: