* On 2015-06-21 at 20:23 BST, Steve wrote: > On 06/21/2015 03:20 PM, Chuck Barker wrote: > > > Diagnosing the install errors, then fixing them will take more time than > > installing a known good fresh installation. > > Start fresh. > > Yeah, that is likely. > > Thanks all for your help! Is there any more up to date instructions that > are safer to follow? Just a thought :)
This is something I'm working on. Essentially, if you're resorting to building from source then we've failed, either to provide you with a working binary package, or sufficient documentation for you to create or update the pkgsrc package for that software. So, if 'pkgin install <foo>' doesn't work, then our recommendation is to try to build it via pkgsrc. This provides a number of benefits: - pkgsrc tries very hard to sanitise the environment, and will pull in dependencies for you and set up compilers etc. It also provides helpers for creating patches, configuring options, and creating package lists. - By working on a pkgsrc update, your work will benefit all SmartOS users once we have integrated your changes for the next build. The first step would be to get a hold of the 'pkgdev' image that is currently available for testing: http://www.listbox.com/member/archive/184463/2015/05/sort/time_rev/page/1/entry/0:43/20150508083315:63DC32A6-F57E-11E4-9A2D-A5DC661E0B12/ This sets up a lot of the environment for you so that you can immediately start building packages. Once that's working you can take a look through: http://pkgsrc.joyent.com/docs/creating/ http://pkgsrc.joyent.com/docs/fixing/ Those are a little out of date but the general principles still apply, and I'll update them soon, as well as adding a page on updating an existing package. If you are looking to update CFengine then I'd be happy to use that as an example update package, and work through it with you on Freenode/#smartos. Cheers, -- Jonathan Perkin - Joyent, Inc. - www.joyent.com ------------------------------------------- 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
