To clarify,
I installed Apple's Xcode libraries, which I believe contain perl.

The only perl executable on my system is /usr/bin/perl, which I believe to be Apple's (I don't have a perl executable under /sw/..., i.e. `find /sw -type f -name perl` returns nothing).

I have the /sw paths configured first in my PATH.

-Matthew


Hello,

No, I haven't installed anything Perl related via means other than Fink.

Regards,
Matthew


From: "Alexander K. Hansen" <[EMAIL PROTECTED]>
To: "Matt Hutton" <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [Fink-users] Problem installing xml-sax-pm586 package: "Can't locate XML/SAX.pm in @INC"
Date: Thu, 20 Jul 2006 11:36:36 -0400

On 7/20/06, Matt Hutton <[EMAIL PROTECTED]> wrote:
Hello,
I'm receiving errors while trying to instal the xml-sax-pm586 package. I
receive the following message:
"
Can't locate XML/SAX.pm in @INC (@INC contains:
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level
/Library/Perl/5.8.6 /Library/Perl
/Network/Library/Perl/5.8.6/darwin-thread-multi-2level
/Network/Library/Perl/5.8.6 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at
/sw/sbin/update-perl586-sax-parsers line 16.
"
(The full output is at the end of this email.)

I've seen the related FAQ question Q6.20, so to respond to suggestions:

>>Q6.20: I get the following message: configure: error: XML::Parser perl
>>module is required for intltool. What do I do about it?
>>A: If you're using the unstable tree, make sure you have intltool-0.34.1or
>>later installed.

An attempt to install intltool package fails, complaining that xml-sax-pm586
is not installed.


>>...Otherwise, you need to make sure that you have the right variant of the
>>xml-parser-pm package to match the Perl version for your system. For
>>example, if you're on Panther you should have xml-parser-pm581 rather than >>xml-parser-pm560 (you may also have the xml-parser-pm placeholder), since >>you have Perl-5.8.1 rather than Perl-5.6.0. If you're on Jaguar, and are >>using the default system Perl version, you'll have the pm560 variant, and
>>if you've installed Perl 5.8.0 you may have the pm580 variant.

I have system-perl 5.8.6-1 installed, and am trying to install the matching
package xml-sax-pm586.


Well, this isn't exactly applicable to your situation, anyway.  The
installation complaining because the binary install tools see that
xml-sax-pm586 is in an incomplete installation state.


Versions:
- Binary installation of Fink, version: 0.24.17

That's out of date, by the way, but I don't think it's related to your
problem (and will require actually fixing what's going on here).

- Mac OS X version: 10.4.7

A list of the perl related fink modules installed:
"
$ fink list -i|grep -i "perl\|pm"
i compress-zlib-pm586 1.34-11 Part of the info-zip zlib compression
library
p      getopt-long-pm586       1:2.34.b3-12    Extended processing of
command line options
i      html-parser-pm586       3.45-3  Perl modules that parse and extract
info
i      html-tagset-pm  3.03-2  Perl module, data tables useful in HTML
i      libwww-pm586    5.803-3 Perl modules, programming interface to WWW
i      libxml-pm586    0.07-13 Perl modules for working with XML in Perl
i      pcre-shlibs     4.5-1   Perl Compatible Regular Expressions Library
p      scalar-list-utils-pm586 1.17-1  Common Scalar and List utility
subroutines
i      system-java13-dev       1.3.1-1 [virtual package representing Java
1.3.1 development headers]
i      system-java14-dev       1.4.2-1 [virtual package representing Java
1.4.2 development headers]
i      system-java15-dev       1.5.0-1 [virtual package representing Java
1.5.0 development headers]
i      system-perl     5.8.6-1 [virtual package representing perl]
i      system-xfree86-dev      2:4.4-2 [placeholder for user installed x11
development tools]
p      test-simple-pm586       0.47-15 Basic utilities for writing tests
i text-iconv-pm586 1.2-12 Perl interface to the iconv() codeset
conversion function
i      uri-pm586       1.35-3  Perl module that implements the URI class
i      xml-dom-pm586   1.43-12 Perl ext that adds new style to XML::Parser
i      xml-namespacesupport-pm 1.08-1  Perlmods for supporting generic
namespaces
i      xml-node-pm586  0.11-4  Perl extension interface to XML::Node
i      xml-parser-pm586        2.34-14 Perl ext interface to XML
parser/expat
i      xml-regexp-pm   0.03-2  Perl modules for XML tokens
i      xml-twig-pm586  3.14-12 Process huge XML documents in tree mode
i xml-writer-pm 0.531-13 Perl module for writing XML documents
"

An attempt to install xml-sax-pm586 returns the following:

"
$ sudo apt-get install xml-sax-pm586
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, xml-sax-pm586 is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
3 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up xml-sax-pm586 (0.13-2) ...
Can't locate XML/SAX.pm in @INC (@INC contains:
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level
/Library/Perl/5.8.6 /Library/Perl
/Network/Library/Perl/5.8.6/darwin-thread-multi-2level
/Network/Library/Perl/5.8.6 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at
/sw/sbin/update-perl586-sax-parsers line 16.
BEGIN failed--compilation aborted at /sw/sbin/update-perl586-sax-parsers
line 16.
/sw/bin/dpkg: error processing xml-sax-pm586 (--configure):
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of
xml-filter-buffertext-pm586:
xml-filter-buffertext-pm586 depends on xml-sax-pm586 (>= 0.12-6); however:
  Package xml-sax-pm586 is not configured yet.
/sw/bin/dpkg: error processing xml-filter-buffertext-pm586 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xml-sax-writer-pm586:
xml-sax-writer-pm586 depends on xml-sax-pm586; however:
  Package xml-sax-pm586 is not configured yet.
xml-sax-writer-pm586 depends on xml-filter-buffertext-pm586; however:
  Package xml-filter-buffertext-pm586 is not configured yet.
/sw/bin/dpkg: error processing xml-sax-writer-pm586 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xml-sax-pm586
xml-filter-buffertext-pm586
xml-sax-writer-pm586
E: Sub-process /sw/bin/dpkg returned an error code (1)
"

Any advice would be greatly appreciated.

Regards,
Matthew


It works here.  The first question that I'll ask is whether you've
installed any Perl stuff via means other than Fink.

--
Alexander K. Hansen
Fink Documenter (still)

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to