[Scratchbox-users] SB2 - I broke it ):
Lauri Leukkunen
lle at rahina.org
Mon Dec 10 23:21:59 EET 2007
On 10/12/07 21:38 +0100, Harald Radke wrote:
> Hi!
>
> I just updated my source via git and rebuilt SB2...
>
> when I now log in and try ./configure inside some source dir I get:
>
> [SB2] loonatix at gambit ~/sources/dropbear-0.50 $ ./configure
> configure: WARNING: you should use --build, --host, --target
> configure: WARNING: invalid host type: ./configure
> checking for ./configure-gcc... no
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking whether make sets $(MAKE)... yes
> configure: No $CFLAGS set... using "-Os -W -Wall" for GCC
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... 64
> checking for _LARGE_FILES value needed for large files... no
> checking build system type... Invalid configuration `./configure': machine
> `./configure' not recognized
> configure: error: /bin/sh ./config.sub ./configure failed
>
>
> The problem is that I also rebuilt the root-fs and toolchain before that so I
> am not 100% it is only related to the SB2 update but I am pretty sure, it
> worked right before updating SB2
>
> Any ideas what the problem is?
I pushed a pretty big patch recently changing the way execve works, it's
possible I made a mistake :)
Could you send the relevant lines from config.log? This is possibly a problem
in the way sb2 hashbang execution is setting argv[]. At least it would seem
that way from the bizarre error you're getting.
/lauri
More information about the Scratchbox-users
mailing list