From owner-freebsd-ports@FreeBSD.ORG Mon Jun 8 12:35:31 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DC9B106566B for ; Mon, 8 Jun 2009 12:35:31 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id E0A868FC13 for ; Mon, 8 Jun 2009 12:35:30 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E3AC.dip.t-dialin.net [217.226.227.172]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 2954F844024; Mon, 8 Jun 2009 14:35:24 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 2A80229BB48; Mon, 8 Jun 2009 14:35:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1244464521; bh=fNpRaS+KrCxjLcIIsi99Ob8epfaXXz+YEsWysDsq7ow=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=USotVOqrMmkseTdNzuPo1RFHrpiAwTZsVtUF9eMurGd56ai4yc1IGf0pxdVz72WPe oeJtkZq5wWwgLu9sRg1ErPCegNtHQRj+WFqzrOuWjomz12LJsnPBmAQlizx59T1+TA YgFFlKS+hZpwHLxBdxu2Lk+QDjT/RvtI6cXkNXsnFmuVTCq/wdR9/DJsJtisDfeIRS CHT9vFDkrH25wjxPAgWd72If+LfV0bR3ycELpkF3RahMtscL4Jj6UM+hVMRUZaNRhE Mh1q4oqZOV6Li8q4fj/bDbk2XQXj0WSdyjI7bp1YbebB+8+teJxYHhW+5xoNabIPuX AFexWv8zElo+A== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n58CZKCH048746; Mon, 8 Jun 2009 14:35:20 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 08 Jun 2009 14:35:19 +0200 Message-ID: <20090608143519.1866665ogux2b8g0@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 08 Jun 2009 14:35:19 +0200 From: Alexander Leidinger To: Robert Huff References: <18988.39724.572280.687111@jerusalem.litteratus.org> <20090608082930.GD9529@server.vk2pj.dyndns.org> <18988.65260.635443.439491@jerusalem.litteratus.org> In-Reply-To: <18988.65260.635443.439491@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-8.0 X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 2954F844024.4A94F X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.798, required 6, autolearn=disabled, ALL_TRUSTED -1.44, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, J_CHICKENPOX_32 0.60, J_CHICKENPOX_92 0.60, TW_YY 0.08, URIBL_BLACK 1.96) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1245069326.02605@BC4Bd/5lyvCvhIKPe2fgWg X-EBL-Spam-Status: No Cc: ports@freebsd.org, Peter Jeremy Subject: Re: porting: Linux to Freebsd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 12:35:31 -0000 Quoting Robert Huff (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