Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2006 13:58:24 +0100
From:      Willem Hendriks <willem.hendriks.reg@xs4all.nl>
To:        FreeBSD mailing list - freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: portmanager error: Error occurred reading /usr/local/etc/pkgtools.conf - SOLVED
Message-ID:  <457026F0.1000200@xs4all.nl>
In-Reply-To: <20061201074649.9878.GERARD@seibercom.net>
References:  <20061201074649.9878.GERARD@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Gerard wrote:
> On Friday December 01, 2006 at 07:18:16 (AM) Willem Hendriks wrote:
> 
> 
>> When i install any port with portmanager, i get the following error-message:
>>
>> <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
>> ...
>> </error message>
>>
>> This example was outputted after: portmanager -u, but i see it with
>> every install. In pkgtools.conf i indeed see x11base:
>>
>> <pkgtools.conf>
>> ...
>> 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()),
>>   }
>> ...
>> </pkgtoosl.conf>
>>
>> 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
> 
> I use 'portmanager' all the time; however, I do not avail myself of the
> pkgtool.conf file, preferring to use the pm-020.conf file instead.
> 
> Are you sure about the syntax of the pkgtools.conf file? Obviously the
> problem lies there. You could just try commenting out that section, or
> just renaming the file entirely -- portmanager will then ignore it --
> and try rebuilding the port again.
> 
> 

The files is a standard file which i didn't touched. I did not knew the
small importantce of those lines, i commented them out and no more error
message..



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