Hi Richard, On Thu, Jul 12, 2007 at 13:28:05 +0200, Richard Pöttler wrote:
hi,
The story: Atm I am trying to create a p5-xml-libxml port on my own, without any patches. The p5-xml-libxml port depends on the p5-xml-sax port, which contains the file: /usr/lib/perl5/site_perl/5.8.8/XML/SAX/ParserDetails.ini. During the installation of p5-xml-libxml it (imho) wants to register itself as a sax parser, but can't, sice it doesn't have write permissions to this file (i am building my ports as unprivileged user)(see attached log file). Ports should never write to the live filesystem, even when building as root. If the standard installation routines do that, you'll have to
[...] patch it out or find another way to stop it from doing that. If an application needs to register itself in a file not owned by that port, using post-install scripts and/or asking the user to perform that action manually after installation is the only way to achieve that. HTH, Johannes -- Johannes Winkelmann mailto:jw@smts.ch Zurich, Switzerland http://jw.smts.ch