THANK YOU!!!!!

On Thursday, 23 March 2017 15:23:27 UTC, Dima Pasechnik wrote:
>
> I get through to 
>
>
> checking build system type... amd64-unknown-freebsd11.0
>
> checking host system type... amd64-unknown-freebsd11.0
>
> configure: error: 
>
> You are attempting to build Sage on the FreeBSD operating system
>
> ...
>
>
> as it should have been all along, if I change #! /bin/sh
>
> to bash in the 1st line of configure. 
>
>
> Gory details, if anyone cares:
>
> without this, there are apparent bash-isms in ./configure:
>
> in  line 2969/70:
>
> test "x$ac_build_alias" = x && 
>
>    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
>
> is meant to test that ac_build_alias is empty and call config.guess
> And this fails; namely, if I remove test "x$ac_build_alias" = x && 
> config.guess gets executed and I get a bit further:
>
> checking for root user... no
>
> checking build system type... amd64-unknown-freebsd11.0
>
> checking host system type... Invalid configuration `x': machine `x' not 
> recognized
>
> configure: error: bash config/config.sub x failed
>
>
> So it fails due to a similar problem involving "test" a bit later on.
>
> Specifically, if I replace
>
>
>  if test "x$host_alias" = x; then
>
>  ac_cv_host=$ac_cv_build
>
> else
>
>  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
>
>    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" 
> "$LINENO" 5
>
> fi
>
>
> with 
>
>
>   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
>
>     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" 
> "$LINENO" 5
>
>
> I get through to 
>
>
> checking build system type... amd64-unknown-freebsd11.0
>
> checking host system type... amd64-unknown-freebsd11.0
>
> configure: error: 
>
> You are attempting to build Sage on the FreeBSD operating system
>
> ...
>
>
> as it should have happened all along.
>
>
>
> Any idea what causes this weirdness (perhaps it's just something one has 
> to accept, that /bin/sh has to be very much
>
> like bash nowadays)?
>
>
> SHELL is set to /usr/local/bin/bash
>
> which is 
>
> $ bash --version
>
> GNU bash, version 4.4.12(1)-release (amd64-portbld-freebsd11.0)
>
>
>
>
> On Wednesday, March 22, 2017 at 4:07:42 PM UTC, Dima Pasechnik wrote:
>>
>> running ./configure after
>> ./bootstrap fails with
>>
>> checking build system type... Invalid configuration `x': machine `x' not 
>> recognized
>> configure: error: bash config/config.sub x failed
>>
>> Any idea how to proceed?
>>
>> $ uname -a
>> FreeBSD dimpase-bsd.cs.ox.ac.uk 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 
>> #0 r306420: Thu Sep 29 01:43:23 UTC 2016     
>> r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to