Error occured reading /usr/local/etc/pkgtools.conf

2007-02-07 Thread Noah


Any clues on what is happening here.  Is there a way to fix the 
complaint below?


# portmanager -u -y
** 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

portmanager 0.4.1_8: Collecting installed port data



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error occured reading /usr/local/etc/pkgtools.conf

2007-02-07 Thread Gerard Seibert
On Wednesday February 07, 2007 at 12:12:21 (PM) Noah wrote:


 Any clues on what is happening here.  Is there a way to fix the 
 complaint below?
 
 # portmanager -u -y
 ** 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
 
 portmanager 0.4.1_8: Collecting installed port data
 

It is a harmless error from what I can tell. It has been doing it for
quite awhile now. I submitted a PR on it sometime ago. As far as I can
tell, the problem has not been corrected.

You might want to contact the port maintainer and see what they have to
say regarding the matter.

-- 
Gerard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Portmanager Install - Error occured reading /usr/local/etc/pkgtools.conf

2006-12-01 Thread Willem Hendriks
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

Greetings Willem Hendriks

(This is my first mailist question, i hope my mail client settings are
correct, and my mail is proper composed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portmanager error: Error occured reading /usr/local/etc/pkgtools.conf

2006-12-01 Thread Willem Hendriks
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

Greetings Willem Hendriks

(This is my first mailist question, i hope my mail client settings are
correct, and my mail is proper composed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmanager error: Error occured reading /usr/local/etc/pkgtools.conf

2006-12-01 Thread RW
On Friday 01 December 2006 12:18, 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:

pkgtools.conf is the configuration file for portupgrade. Unfortunately the 
developer of portmanager accepted some code from a user that enabled 
portmanager to read some configuration from pkgtools.conf. Most of the things 
that go in this file are better defined directly in make.conf, or using 
sysutils/portconf, because they aren't specific to any build tool.

I would suggest you replace the file with the sample and try again. If that 
fails try replacing it with an empty file
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]