From owner-freebsd-questions@FreeBSD.ORG Fri Dec 1 12:17:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 AE3E716A415 for ; Fri, 1 Dec 2006 12:17:27 +0000 (UTC) (envelope-from willem.hendriks@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AD0043CB1 for ; Fri, 1 Dec 2006 12:17:10 +0000 (GMT) (envelope-from willem.hendriks@xs4all.nl) Received: from [192.168.6.100] (a82-93-0-128.adsl.xs4all.nl [82.93.0.128] (may be forged)) (authenticated bits=0) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id kB1CHGjd070058 for ; Fri, 1 Dec 2006 13:17:23 +0100 (CET) (envelope-from willem.hendriks@xs4all.nl) Message-ID: <45701D13.90608@xs4all.nl> Date: Fri, 01 Dec 2006 13:16:19 +0100 From: Willem Hendriks User-Agent: Thunderbird 1.5.0.8 (X11/20061129) MIME-Version: 1.0 To: FreeBSD mailing list - freebsd-questions X-Enigmail-Version: 0.94.1.0 OpenPGP: id=A7383F9A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Portmanager Install - Error occured reading /usr/local/etc/pkgtools.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2006 12:17:27 -0000 When i install any port with portmanager, i get the following error-message: ** Error occured reading /usr/local/etc/pkgtools.conf: undefined method `x11base' for nil:NilClass ** Error occured reading /usr/local/etc/pkgtools.conf: undefined method `x11base' for nil:NilClass ... This example was outputted after: portmanager -u, but i see it with every install. In pkgtools.conf i indeed see x11base: ... AFTERINSTALL = { # Re-enable the X wrapper 'x11-servers/XFree86-4-Server' => sprintf( 'cd %s/bin && if [ -x Xwrapper-4 ]; then ln -sf Xwrapper-4 X; fi', x11base()), } ... When i installed some port (antiword) manually by going to /usr/ports/textproc and do a make, make install. I dont see any error message at all. When i do a $ portmanager textproc/antiword The same error gets by again. My system: FreeBSD 6.1-RELEASE with xorg installed and working correctly. dmesg output: http://www.xs4all.nl/~whendrik/dmesg Greetings Willem Hendriks (This is my first mailist question, i hope my mail client settings are correct, and my mail is proper composed)