FreeBSD 9 - RELEASE - package xfce4-utils-4.8.3_2 XML Parser
dependency
J B
jb.1234abcd at gmail.com
Sat Feb 18 05:13:39 UTC 2012
Hi,
there is a problem with missing XML Parser, shown below.
The reason is that the install of package xfce4-utils-4.8.3_2 does not
pull proper dependency.
$ pkg_add -r xfce4
$ startx
$ cat ~/.startx.log
...
Can't locate XML/Parser.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.12.4/BSDPAN
/usr/local/lib/perl5/site_perl/5.12.4/mach
/usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/mach
/usr/local/lib/perl5/5.12.4 .) at
/usr/local/lib/xfce4/xfconf-migration/xfconf-migration-4.6.pl line 20.
BEGIN failed--compilation aborted at
/usr/local/lib/xfce4/xfconf-migration/xfconf-migration-4.6.pl line 20.
...
$ less -N /usr/local/lib/xfce4/xfconf-migration/xfconf-migration-4.6.pl
1 #!/usr/bin/perl5 -w
2 ...
20 use XML::Parser;
21 ...
$ pkg_info -W /usr/local/lib/xfce4/xfconf-migration/xfconf-migration-4.6.pl
/usr/local/lib/xfce4/xfconf-migration/xfconf-migration-4.6.pl was installed by
package xfce4-utils-4.8.3_1
$ ls /var/db/pkg/xfce4-utils*
+COMMENT +CONTENTS.bak +MTREE_DIRS
+CONTENTS +DESC +REQUIRED_BY
Ports:
Category sysutils
xfce4-utils-4.8.3_2
Requires:
...
p5-XML-Parser-2.41
...
$ grep -i parser /var/db/pkg/xfce4-utils-4.8.3_1/+CONTENTS
$
$ grep XML/Parser.pm /usr/ports/textproc/p5-XML-Parser/pkg-plist
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser.pm
$ ls /var/db/pkg/*p5-XML-Parser*
ls: /var/db/pkg/*p5-XML-Parser*: No such file or directory
I had to add it in extra step (this dependency should have been
resolved automatically):
# pkg_add -r p5-XML-Parser
jb
More information about the freebsd-xfce
mailing list