From owner-freebsd-ports Tue Dec 2 21:27:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA09984 for ports-outgoing; Tue, 2 Dec 1997 21:27:37 -0800 (PST) (envelope-from owner-freebsd-ports) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA09978 for ; Tue, 2 Dec 1997 21:27:32 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.73 #1) id 0xd7Bn-0000BE-00; Tue, 2 Dec 1997 21:17:36 -0800 Date: Tue, 2 Dec 1997 21:17:33 -0800 (PST) From: Tom To: Chuck Robey cc: Kazuhiko Kiriyama , ports@freebsd.org Subject: Re: Can't compile kdelibs-2.1b In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 2 Dec 1997, Chuck Robey wrote: > > checking for moc... test: syntax error ... > notice in the first group of errors above that there was a syntax error > when it tried to get moc. FreeBSD found it, but that configure script > choked at that point. moc is part of qt, and I don't know why kdelibs I've seen configure choke looking for stuff before (in 2.2.5-stable). I think it is /bin/sh bug, actually. You will probably find something like the following in configure: for ac_dir in $PATH:/usr/bin:/usr/local/bin; do sh handles this in an interesting way. Basically, it iterates over the elements of $PATH, then glues the last element of $PATH to the remaining string, and returns it as the last element. So if $PATH is "/usr/bin:/bin:/home/tom/bin", the for will loop with "/usr/bin", "/bin", and "/home/tom/bin:/usr/local/bin". The last entry causes "test" to freak, and so configure defaults to some default directory. Tom