Hi guys,

I'm pretty sure there are other people like me that would see the
benefit in bringing Performance Co-Pilot (PCP) to the SmartOS world.
For those who don't know what PCP is:

* http://pcp.io

It can be then fed into tools like, for example, Vector:

* https://github.com/Netflix/vector

The good news: PCP is actually shipping ready binary for Solaris 11.
The bad news: there are no packages for Illumos-based systems nor pkgsrc.

I first grabbed Solaris package and was trying to use pkgtrans
accordingly to blog post by Jonathan Perkin:

* http://www.perkin.org.uk/posts/installing-svr4-packages-on-smartos.html

I then realized, that it would actually make more sense to port it to
pkgsrc (PCP is open source and you can grab the source to potentially
build the packages).

I went to https://pkgsrc.joyent.com to learn how to build package from
the source and to prepare my environment.

Unfortunately, I hit the wall. Here are the relevant error messages I
came across:

./configure: line 7260: -spec: command not found
./configure: line 7263: test: : integer expression expected
./configure: line 7268: test: : integer expression expected
gmake: Makefile: No such file or directory
gmake: *** No rule to make target 'Makefile'.  Stop.

So the whole building process can be seen here:

* http://pastebin.com/e84nhnEC

Makefile used for building process:

* http://pastebin.com/5gM6CRf1

url2pkg line that works fine for gathering the source from GitHub is following:

$ url2pkg https://github.com/performancecopilot/pcp/archive/3.10.8.tar.gz

If there's anybody that is willing to step in and give me a hand then,
I guess, I the long run, I won't be the only one thanking for this to
become working part of pkgsrc :)

All the best
 - Filip


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to