@thirumalrao ... if the packaging was working correctly, the Python pieces (like everything else) would get installed in the correct place.
Unfortunately, the Mac OS X packaging for Python is broken at the moment. So the best workaround I have is ... install the source and setup a build environment, then
Thanks for the response.
I tried building from source on my mac machine. Executed the following
commands
$ git clone git://git.pcp.io/pcp
$ cd pcp
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
$ make
Got the following error.
.=== libpcp ===
for d in `echo src`; do if test -d "$d" -a -f "$d/GNUmakefile"; then
/bin/echo === $d ===;
/Applications/Xcode.app/Contents/Developer/usr/bin/make
--no-print-directory -C $d default || exit $?; fi; done
=== src ===
./check-statics
derive.o: s fmt : Error: additional symbol
secureserver.o: Info: security object file skipped, not configured
secureconnect.o: Info: security object file skipped, not configured
make[3]: **\* [check.done] Error 1
make[2]: **\* [default] Error 2
make[1]: **\* [default_pcp] Error 2
make: **\* [default_pcp] Error 2
I am running Mac OS X 10.11 and Xcode is available.
Thanks
Thirumal
On Sun, Mar 27, 2016 at 3:36 PM, Ken McDonell ***@***.*** wrote:
@thirumalraohttps://github.com/thirumalrao ... if the packaging was
working correctly, the Python pieces (like everything else) would get
installed in the correct place.
Unfortunately, the Mac OS X packaging for Python is broken at the moment.
So the best workaround I have is ... install the source and setup a build
environment, then
$ qa/admin/myconfigure
$ cd src/python
$ python setup.py build
$ sudo python setup.py install
and on my iMac this puts the required Python bits in
/Library/Python/2.6/site-packages/pcp/ and then things "just work" (tm)
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
e852abb#commitcomment-16859036
thirumalrao repliedMar 22, 2016
how to install python bindings for pcp client in mac?
kmcdonell repliedMar 27, 2016
@thirumalrao ... if the packaging was working correctly, the Python pieces (like everything else) would get installed in the correct place.
Unfortunately, the Mac OS X packaging for Python is broken at the moment. So the best workaround I have is ... install the source and setup a build environment, then
$ qa/admin/myconfigure
$ cd src/python
$ python setup.py build
$ sudo python setup.py install
and on my iMac this puts the required Python bits in /Library/Python/2.6/site-packages/pcp/ and then things "just work" (tm)
thirumalrao repliedMar 29, 2016
natoscott repliedApr 1, 2016
| derive.o: s fmt : Error: additional symbol
@thirumalrao the above issue should be resolved in the master branch now.