Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2009 14:35:19 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        ports@freebsd.org, Peter Jeremy <peterjeremy@optushome.com.au>
Subject:   Re: porting: Linux to Freebsd
Message-ID:  <20090608143519.1866665ogux2b8g0@webmail.leidinger.net>
In-Reply-To: <18988.65260.635443.439491@jerusalem.litteratus.org>
References:  <18988.39724.572280.687111@jerusalem.litteratus.org> <20090608082930.GD9529@server.vk2pj.dyndns.org> <18988.65260.635443.439491@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Robert Huff <roberthuff@rcn.com> (from Mon, 8 Jun 2009  
08:07:08 -0400):

> 	First problem:

Looks like bash-isms in configure.

> 	When following the instructions here
> "http://ctp2.darkdust.net/anonsvn/branches/linux/doc/README.linux" I
> get to step 2 ("configure") and get this:
>
> appending configuration tag "F77" to libtool
> checking for flex... flex
> checking lex output file root... lex.yy
> checking lex library... none needed
> checking whether yytext is a pointer... no
> checking for byacc... /usr/bin/byacc
> test: x/usr/bin/byacc: unexpected operator

Some possibilities:
  - In the test for byacc they maybe forgot quotes to protect an empty value.
  - wrong operator used in test
  - unknown bashism

> checking for unzip... /usr/local/bin/unzip
> test: x/usr/local/bin/unzip: unexpected operator

The same as above.

[...]
> checking for acroread... /usr/local/bin/acroread
> ./configure: ${CFLAGS/...}: Bad substitution

Looks liek bashism. Someone tries to substitute something in CFLAGS,  
but this kind of advanced substitution is not supported in a posix  
compliant sh. You can test this assumption by installing bash and  
runnging "bash ./configure" instead. If it is true, you need to fix  
configure.in or configure.ac.

Bye,
Alexander.

-- 
This unit... must... survive.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090608143519.1866665ogux2b8g0>