« Return to Thread: how to install playerc module for python

Re: how to install playerc module for python

by Rich Mattes-2 :: Rate this Message:

| View in Thread

> -----Original Message-----
> From: sthrm91 [mailto:sthrm91@...]
> Sent: Thursday, September 29, 2011 12:45 PM
> To: playerstage-users@...
> Subject: Re: [Playerstage-users] how to install playerc module for
> python
>
>
> the os iam using is Ubuntu 9.04
> i turned the python bindings on using ccmake...
> it also generated _playercpppython.so
> Swig was properly installed.. but python reports no module known as
> playerc
> or _playerc


It'd be helpful to see the cmake and make install output. Look at the output
when you do "make install" and see if you see any .so libraries getting
installed to the system python directories.  If you see them, then the
modules are being built, and0 it's probably a path issue.  If your
CMAKE_INSTALL_PREFIX is the default /usr/local, then your python libraries
might be getting installed to /usr/local/lib/python instead of
/usr/lib/python.  You can either change your CMAKE_INSTALL_PREFIX or add the
PYTHONPATH environment variable[1].  You might also have to specify that
LIB_SUFFIX="" if you're installing on an x86_64 ubuntu machine.

Rich

[1] http://docs.python.org/tutorial/modules.html#the-module-search-path 


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Playerstage-users mailing list
Playerstage-users@...
https://lists.sourceforge.net/lists/listinfo/playerstage-users

 « Return to Thread: how to install playerc module for python