From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 14:16:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93E909A3 for ; Sun, 16 Dec 2012 14:16:57 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5027A8FC0C for ; Sun, 16 Dec 2012 14:16:56 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id 38EEC3CB85; Sun, 16 Dec 2012 15:16:56 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBGEGwlc001996; Sun, 16 Dec 2012 15:16:58 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 16 Dec 2012 15:16:58 +0100 From: Polytropon To: nightrecon@hotmail.com Subject: Re: aclocal-1.12: error: 'configure.ac' Message-Id: <20121216151658.4413edd0.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 14:16:57 -0000 On Sun, 16 Dec 2012 02:13:52 -0500, Michael Powell wrote: > Oleg simonoff wrote: > > > Hi to all! > > Want to to ask the unix community about my problem. Don`t know what > > to do..... > > racking my brain over ... > > The system freeBSD 8.2 > > Got some trouble with compilation portupgrade-2.4.9.9,2 > > > > /usr/ports/ports-mgmt/portupgrade sudo make install > > ........................... > > ===> Configuring for ruby-1.8.7.370,1 > > /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure > > aclocal-1.12: error: 'configure.ac' or 'configure.in' is required > > *** Error code 1 > > > > Stop in /opt/ports/lang/ruby18javascript:doImageSubmit('Send'). > > *** Error code 1 > > > > Stop in /opt/ports/lang/ruby18. > > *** Error code 1 > > > > Stop in /opt/ports/ports-mgmt/portupgrade. > > *** Error code 1 > > > > Stop in /opt/ports/ports-mgmt/portupgrade. > ^^^^^^ > > Don't know if this matters, never tried it that way - this is FreeBSD, not > Linux. FreeBSD is not some kind of Linux. With setting $PORTSDIR it should be possible to have a valid (!) ports tree in any location you want. See "man 7 ports" for details. > With that said, the ports tree usually lives under /usr/ports. No idea why > it would show up under /opt, except as some carry over Linuxism. Probably you aren't old enough to remember that /opt is not a Linuxism, but a Solarism, Solarisism. It expresses the optimistic attitude that the content of this subtree will work as expected. :-) > You > probably need to wipe the Linuxism and start over as a FreeBSD user. There's nothing wrong with /opt, but I've never found it would be a good place to put the ports tree in. I'm (ab)using /opt myself for software that I manage outside of the ports tree, completely manually: it's basically scripts in /opt/bin, some specific printer filters in /opt/libexec (called by printcap), and few "self-contained" subtrees of non-ports stuff. In this way, it does not touch the main system. However, having the complete (!) ports in /usr/ports should avoid trouble. What's confusing here is the fact that the OP seems to have a "mixed" installation. The prompt reads: > > /usr/ports/ports-mgmt/portupgrade sudo make install But the error messages say: > > /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure So there seems to be both /usr/ports and /opt/ports... ??? But finally: > > Stop in /opt/ports/ports-mgmt/portupgrade. Is there some symlinking issue opt<->usr? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...