--
You received this message because you are subscribed to the Google Groups "Guerrilla Capacity Planning" group.
To post to this group, send email to guerrilla-cap...@googlegroups.com.
To unsubscribe from this group, send email to guerrilla-capacity-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/guerrilla-capacity-planning?hl=en.
Rock on! Thanks.
I've got openSUSE too - let me see if I can make this work. I'm not a
Python geek, though, so be warned. ;-)
--
http://twitter.com/znmeb http://borasky-research.net
"A mathematician is a device for turning coffee into theorems." -- Paul
Erdős
Copying it to "~" and executing it works just fine on openSUSE!
Meanwhile, if it matters, SWIG is now at version 2.0.2
http://sourceforge.net/news/?group_id=1645&id=297686
>
> On Sun, Feb 20, 2011 at 1:53 AM, James wrote:
> I am trying to get PyDQ up and running under Ubuntu 10.04.
>
> Initially I was having issues with the PyDQ compilation but after
> some
> research found that I needed python-dev to be installed to have all
> the necessary headers for `python setup.py install` to execute.
>
> I have been able to run `make all` and execute the "test.pl [2]"
> under the
> perl5 sub-dir without issue.
>
> Under the python sub-dir I see that the build/lib.linux-i686-2.6 is
> populated with pdq.py and _pdq.so:
>
> 88
>
> If I run `make clean` I can see that the build sub-dir is blown away
> and if I re-execute `build all` the build sub-dir will be populated
> again as noted above.
>
> When I try to execute test.py I get the following output:
>
> 88
>
> I double checked the README.setup file I have copied the libpdq.a to
> /
> usr/local/lib and have also verified that the libpdq.a exists in the
> pdq/lib sub-dir.
>
> 88
>
> I am executing at root so I don't think there will be an issue
> accessing the _pdq.so shared object from under the build/lib.linux-
> i686-2.6 sub-dir. But, just to cover all the bases I did go ahead
> (as
> the README.setup recommended) and create a ~/lib/python sub-dir and
> copied the _pdq.so into the sub-dir and modified my .profile to
> export
> the environment variable for PYTHONPATH:
>
> 88
>
> But alas, no joy.
>
> I know two things about Python and swig: Diddly and Squat.
>
> Is there anybody else out there that has setup PyDQ under Ubuntu
> that
> could assist me? I've written my routine in python and made some
> nifty
> use of some lambda routines that I don't want to re-write in perl or
> R.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Guerrilla Capacity Planning" group.
> To post to this group, send email to
> guerrilla-cap...@googlegroups.com [3].
> To unsubscribe from this group, send email to
> guerrilla-capacity-...@googlegroups.com [4].
> For more options, visit this group at
> http://groups.google.com/group/guerrilla-capacity-planning?hl=en [5].
>
> --
> You received this message because you are subscribed to the Google
> Groups "Guerrilla Capacity Planning" group.
> To post to this group, send email to
> guerrilla-cap...@googlegroups.com.
> To unsubscribe from this group, send email to
> guerrilla-capacity-...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/guerrilla-capacity-planning?hl=en.
>
>
> Links:
> ------
> [1] mailto:icrush...@gmail.com
> [2] http://test.pl
> [3] mailto:guerrilla-cap...@googlegroups.com
> [4] mailto:guerrilla-capacity-planning%2Bunsu...@googlegroups.com
> [5] http://groups.google.com/group/guerrilla-capacity-planning?hl=en
python-devel on openSUSE (and I think Fedora as well) ;-)
>
> Thanks again.
>
> James
>
> On Sun, Feb 20, 2011 at 2:49 PM, Phil Feller wrote:
> Could you try copying test.py to another directory and executing it
> from there? The problem seems to be with trying to run it from the
> python directory under the source-code directory. If I copy it to my
> home directory I can execute it with no problem. Looking like the
> build script needs some updating.
>
> On Sun, Feb 20, 2011 at 1:53 AM, James wrote:
>
> I am trying to get PyDQ up and running under Ubuntu 10.04.
>
> Initially I was having issues with the PyDQ compilation but after
> some
> research found that I needed python-dev to be installed to have all
> the necessary headers for `python setup.py install` to execute.
>
> I have been able to run `make all` and execute the "test.pl [3]"
> under the
> perl5 sub-dir without issue.
>
> Under the python sub-dir I see that the build/lib.linux-i686-2.6 is
> populated with pdq.py and _pdq.so:
>
> 88
>
> If I run `make clean` I can see that the build sub-dir is blown away
> and if I re-execute `build all` the build sub-dir will be populated
> again as noted above.
>
> When I try to execute test.py I get the following output:
>
> 88
>
> I double checked the README.setup file I have copied the libpdq.a to
> /
> usr/local/lib and have also verified that the libpdq.a exists in the
> pdq/lib sub-dir.
>
> 88
>
> I am executing at root so I don't think there will be an issue
> accessing the _pdq.so shared object from under the build/lib.linux-
> i686-2.6 sub-dir. But, just to cover all the bases I did go ahead
> (as
> the README.setup recommended) and create a ~/lib/python sub-dir and
> copied the _pdq.so into the sub-dir and modified my .profile to
> export
> the environment variable for PYTHONPATH:
>
> 88
>
> But alas, no joy.
>
> I know two things about Python and swig: Diddly and Squat.
>
> Is there anybody else out there that has setup PyDQ under Ubuntu
> that
> could assist me? I've written my routine in python and made some
> nifty
> use of some lambda routines that I don't want to re-write in perl or
> R.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Guerrilla Capacity Planning" group.
> To post to this group, send email to
> guerrilla-cap...@googlegroups.com [4].
> To unsubscribe from this group, send email to
> guerrilla-capacity-...@googlegroups.com [5].
> For more options, visit this group at
> http://groups.google.com/group/guerrilla-capacity-planning?hl=en [6].
>
> --
> You received this message because you are subscribed to the Google
> Groups "Guerrilla Capacity Planning" group.
> To post to this group, send email to
> guerrilla-cap...@googlegroups.com [7].
> To unsubscribe from this group, send email to
> guerrilla-capacity-...@googlegroups.com [8].
> For more options, visit this group at
> http://groups.google.com/group/guerrilla-capacity-planning?hl=en [9].
>
> --
> You received this message because you are subscribed to the Google
> Groups "Guerrilla Capacity Planning" group.
> To post to this group, send email to
> guerrilla-cap...@googlegroups.com.
> To unsubscribe from this group, send email to
> guerrilla-capacity-...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/guerrilla-capacity-planning?hl=en.
>
>
> Links:
> ------
> [1] mailto:ph...@philfeller.com
> [2] mailto:icrush...@gmail.com
> [3] http://test.pl
> [4] mailto:guerrilla-cap...@googlegroups.com
> [5] mailto:guerrilla-capacity-planning%2Bunsu...@googlegroups.com
> [6] http://groups.google.com/group/guerrilla-capacity-planning?hl=en
> [7] mailto:guerrilla-cap...@googlegroups.com
> [8] mailto:guerrilla-capacity-planning%2Bunsu...@googlegroups.com
> [9] http://groups.google.com/group/guerrilla-capacity-planning?hl=en