PDA

View Full Version : Error at ./configure


i.rachita
2007-08-10, 10:13
hi there,
I've tried to compile a few applications, and i got stuck at the very beginning.
This is what i get when i try to run ./configure for jamvm (on a N770)


checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... armv5tejl-unknown-linux-gnu
checking host system type... armv5tejl-unknown-linux-gnu
test: ==: unknown operand
Segmentation fault



I get an unknown operand and segmentation fault.
Did anybody encountered this problem before?

thanks.

gnuite
2007-08-10, 12:35
Looks like there's a bug in the configure.ac file (which generates the configure file that you run). Look for a line in the configure file (the generated one) containing the following code:

test "$host_cpu" == i386

Change the "==" to "=", which is the proper way to test for equality between strings.

i.rachita
2007-08-11, 11:19
made the change, but i get the same error
thank you for your reply.