I am attempting to install pyperl and am having an issue where it can't find perl2.so. I think this is one of those ones where it's looking under the stairs for something which is actually in the laundry under a pile of dirty clothes. cd /tmp/pyperl* cd Python-Object; perl Makefile.PL; make install cd .. python setup.py install python test.py Traceback (most recent call last): File "apply.py", line 1, in ? import perl ImportError: perl2.so not found echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin find -name perl2.so ./usr/lib/python2.4/site-packages/perl2.so whereis python python: /usr/bin/python /usr/bin/python2.4 /usr/lib/python2.4 /usr/lib/python2.3 /usr/include/python2.4 /usr/share/man/man1/python.1.gz whereis perl perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz python -V Python 2.4.1 perl -v This is perl, v5.8.6 built for i386-linux-thread-multi Obviously I've done something wrong and any clues to point me or the system in the right direction would be appreciated. Regards Cameron
On 3 Nov 2005, at 04:42, Cameron Beattie wrote:
I am attempting to install pyperl and am having an issue where it can't find perl2.so. I think this is one of those ones where it's looking under the stairs for something which is actually in the laundry under a pile of dirty clothes.
This is a Zope-related list. Can't see anything your post which has even a remote relationship with Zope. Did you post to the wrong list? jens
pyperl is a prerequisite to zoperl which allows perl scripts to be used within zope. I should have mentioned that. Regards Cameron ----- Original Message ----- From: "Jens Vagelpohl" <jens@dataflake.org> To: "The list Zope" <zope@zope.org> Sent: Thursday, November 03, 2005 10:01 PM Subject: Re: [Zope] Issues with pyperl: perl2.so not found
On 3 Nov 2005, at 04:42, Cameron Beattie wrote:
I am attempting to install pyperl and am having an issue where it can't find perl2.so. I think this is one of those ones where it's looking under the stairs for something which is actually in the laundry under a pile of dirty clothes.
This is a Zope-related list. Can't see anything your post which has even a remote relationship with Zope. Did you post to the wrong list?
jens
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On 11/3/05, Cameron Beattie <kjcsb@orcon.net.nz> wrote:
pyperl is a prerequisite to zoperl which allows perl scripts to be used within zope. I should have mentioned that.
Try the zope-perl@zope.org, if it still exists... zoperl hasn't been updated since 2001. That's probably more due to nobody using it than being perfect. The reason for that is that Zope already has a very good scripting language, so the need to use perl is very miniscule, and almost always more pain than it's worth. <asbestos_suit>Which of course is true for every use of Perl.</asbestos_suit> -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
On 11/3/05, Cameron Beattie <kjcsb@orcon.net.nz> wrote:
pyperl is a prerequisite to zoperl which allows perl scripts to be used within zope. I should have mentioned that.
Try the zope-perl@zope.org, if it still exists...
Thanks. Will do.
zoperl hasn't been updated since 2001. That's probably more due to nobody using it than being perfect. The reason for that is that Zope a>lready has a very good scripting language, so the need to use perl is very miniscule, and almost always more pain than it's worth.
I'm very happy with Zope and python. Unfortunately my bank doesn't have a python version of it's API which is why I'm trying to use perl with Zope. Regards Cameron
On 11/3/05, Cameron Beattie <kjcsb@orcon.net.nz> wrote:
I'm very happy with Zope and python. Unfortunately my bank doesn't have a python version of it's API which is why I'm trying to use perl with Zope.
If you get PyPerl to run, you could probably make a thin layer of python wrapings, and not have to use Zope-perl. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
On Fri, Nov 04, 2005 at 07:54:25AM +1300, Cameron Beattie wrote: | | >On 11/3/05, Cameron Beattie <kjcsb@orcon.net.nz> wrote: | >>pyperl is a prerequisite to zoperl which allows perl scripts to be used | >>within zope. I should have mentioned that. | | >Try the zope-perl@zope.org, if it still exists... | | Thanks. Will do. | | >zoperl hasn't been updated since 2001. That's probably more due to | >nobody using it than being perfect. The reason for that is that Zope | a>lready has a very good scripting language, so the need to use perl is | >very miniscule, and almost always more pain than it's worth. | | I'm very happy with Zope and python. Unfortunately my bank doesn't have a | python version of it's API which is why I'm trying to use perl with Zope. For that you might try some alternate approaches: - create a command-line wrapper for the API; in zope you can then use python's subprocess module to run the perl program that will make the API calls (I am successfully using this for a certain Java API) - create a non-zope server to host the perl portion and use XML-RPC or SOAP or whatever to communicate to that from your zope app - port the perl code to python (after all you have the source) HTH, -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot www: http://dman13.dyndns.org/~dman/ jabber: dman@dman13.dyndns.org
participants (4)
-
Cameron Beattie -
Derrick Hudson -
Jens Vagelpohl -
Lennart Regebro