Skip to content

Instantly share code, notes, and snippets.

@mlasak
Last active December 27, 2015 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlasak/7371042 to your computer and use it in GitHub Desktop.
Save mlasak/7371042 to your computer and use it in GitHub Desktop.
webinos build on mac
Martins-MacBook-Pro:build-test-pzp mla$ libtool
libtool: no output file specified (specify with -o output)
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
Martins-MacBook-Pro:_mywebinos mla$ git clone https://github.com/webinos/webinos-pzp.git build-test-pzp
Cloning into 'build-test-pzp'...
remote: Counting objects: 1472, done.
remote: Compressing objects: 100% (725/725), done.
remote: Total 1472 (delta 809), reused 1326 (delta 681)
Receiving objects: 100% (1472/1472), 832.37 KiB | 541 KiB/s, done.
Resolving deltas: 100% (809/809), done.
Martins-MacBook-Pro:_mywebinos mla$ cd build-test-pzp/
Martins-MacBook-Pro:build-test-pzp mla$ npm install
npm http GET https://registry.npmjs.org/webinos-jsonrpc2
npm http GET https://registry.npmjs.org/websocket/1.0.2
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/jasmine-node
npm http 304 https://registry.npmjs.org/jasmine-node
npm http 304 https://registry.npmjs.org/webinos-jsonrpc2
npm http 304 https://registry.npmjs.org/websocket/1.0.2
npm http 304 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/open
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/jasmine-reporters
npm http GET https://registry.npmjs.org/requirejs
npm http GET https://registry.npmjs.org/jasmine-growl-reporter
npm http GET https://registry.npmjs.org/walkdir
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/gaze
npm http GET https://registry.npmjs.org/mkdirp
npm WARN package.json get42@0.0.1 No README data
npm http GET https://registry.npmjs.org/emailjs
npm http GET https://registry.npmjs.org/schema
npm http GET https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/open
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/jasmine-reporters
npm http 304 https://registry.npmjs.org/requirejs
npm http 304 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/jasmine-growl-reporter
npm http 304 https://registry.npmjs.org/walkdir
npm http 304 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/dustjs-linkedin
npm http GET https://registry.npmjs.org/dustjs-helpers
npm http 304 https://registry.npmjs.org/gaze
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/emailjs
npm http 304 https://registry.npmjs.org/schema
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/dustjs-linkedin
npm http GET https://registry.npmjs.org/growl
npm http 304 https://registry.npmjs.org/dustjs-helpers
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/fileset
npm http GET https://registry.npmjs.org/moment/1.7.0
npm http GET https://registry.npmjs.org/bufferjs/1.1.0
npm http GET https://registry.npmjs.org/JSV
npm http GET https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/data2xml
npm http GET https://registry.npmjs.org/crypto
> webinos-keyStorage@0.8.0 install /devel/_mywebinos/build-test-pzp/node_modules/webinos-certificateHandler/node_modules/webinos-keyStorage
> node-gyp configure build
npm http 304 https://registry.npmjs.org/fileset
npm http 304 https://registry.npmjs.org/growl
npm http 304 https://registry.npmjs.org/moment/1.7.0
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/bufferjs/1.1.0
npm http 304 https://registry.npmjs.org/JSV
npm http 304 https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/data2xml
npm http 304 https://registry.npmjs.org/crypto
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/xml2js
> webinos-policy@0.0.3 install /devel/_mywebinos/build-test-pzp/node_modules/webinos-policy
> node-gyp configure build
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/inherits
CXX(target) Release/obj.target/keystore/src/ksImpl.o
CXX(target) Release/obj.target/pm/src/pm.o
CXX(target) Release/obj.target/keystore/src/ksImpl_Darwin.o
npm http 304 https://registry.npmjs.org/inherits
SOLINK_MODULE(target) Release/keystore.node
SOLINK_MODULE(target) Release/keystore.node: Finished
COPY ../node_modules/keystore.node
TOUCH Release/obj.host/webinos_wrt.stamp
> webinos-certificateHandler@0.0.1 install /devel/_mywebinos/build-test-pzp/node_modules/webinos-certificateHandler
> node-gyp configure build
CXX(target) Release/obj.target/pm/src/core/policymanager/PolicyManager.o
CXX(target) Release/obj.target/pm/src/core/policymanager/Condition.o
CXX(target) Release/obj.target/certificate_manager/src/certificate_manager.o
CXX(target) Release/obj.target/certificate_manager/src/openssl_wrapper.o
../src/openssl_wrapper.cpp:204:34: warning: missing field 'tm_min' initializer [-Wmissing-field-initializers]
struct tm *t = NULL,valgrind={0};
^
../src/openssl_wrapper.cpp:559:48: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
sprintf(fp+(j*3), "%02x%s", md[j],((j+1) == n) ? "":":");
~~~ ^ ~
CXX(target) Release/obj.target/pm/src/core/policymanager/Globals.o
2 warnings generated.
SOLINK_MODULE(target) Release/certificate_manager.node
SOLINK_MODULE(target) Release/certificate_manager.node: Finished
COPY ../node_modules/certificate_manager.node
TOUCH Release/obj.host/webinos_wrt.stamp
CXX(target) Release/obj.target/pm/src/core/policymanager/IPolicyBase.o
CXX(target) Release/obj.target/pm/src/core/policymanager/Policy.o
CXX(target) Release/obj.target/pm/src/core/policymanager/PolicySet.o
CXX(target) Release/obj.target/pm/src/core/policymanager/Request.o
CXX(target) Release/obj.target/pm/src/core/policymanager/Rule.o
CXX(target) Release/obj.target/pm/src/core/policymanager/Subject.o
CXX(target) Release/obj.target/pm/src/core/policymanager/AuthorizationsSet.o
In file included from ../src/core/policymanager/AuthorizationsSet.cpp:21:
../src/core/policymanager/AuthorizationsSet.h:24:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
CXX(target) Release/obj.target/pm/src/core/policymanager/DataHandlingPreferences.o
In file included from ../src/core/policymanager/DataHandlingPreferences.cpp:21:
In file included from ../src/core/policymanager/DataHandlingPreferences.h:24:
../src/core/policymanager/AuthorizationsSet.h:24:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
1 warning generated.
CXX(target) Release/obj.target/pm/src/core/policymanager/Obligation.o
CXX(target) Release/obj.target/pm/src/core/policymanager/ObligationsSet.o
CXX(target) Release/obj.target/pm/src/core/policymanager/ProvisionalAction.o
CXX(target) Release/obj.target/pm/src/core/policymanager/ProvisionalActions.o
CXX(target) Release/obj.target/pm/src/core/policymanager/TriggersSet.o
CXX(target) Release/obj.target/pm/src/core/policymanager/IPolicyBaseDescriptor.o
CXX(target) Release/obj.target/pm/src/core/policymanager/PolicyDescriptor.o
CXX(target) Release/obj.target/pm/src/core/policymanager/PolicySetDescriptor.o
CXX(target) Release/obj.target/pm/src/core/common.o
CXX(target) Release/obj.target/pm/contrib/xmltools/tinyxml.o
CXX(target) Release/obj.target/pm/contrib/xmltools/slre.o
CXX(target) Release/obj.target/pm/contrib/xmltools/tinystr.o
CXX(target) Release/obj.target/pm/contrib/xmltools/tinyxmlparser.o
CXX(target) Release/obj.target/pm/contrib/xmltools/tinyxmlerror.o
SOLINK_MODULE(target) Release/pm.node
SOLINK_MODULE(target) Release/pm.node: Finished
CXX(target) Release/obj.target/promptMan/src/promptMan/promptMan_Darwin.o
SOLINK_MODULE(target) Release/promptMan.node
SOLINK_MODULE(target) Release/promptMan.node: Finished
COPY ../node_modules/pm.node
COPY ../node_modules/promptMan.node
TOUCH Release/obj.host/webinos_wrt.stamp
webinos-jsonrpc2@0.8.6 node_modules/webinos-jsonrpc2
websocket@1.0.2 node_modules/websocket
webinos-api-applauncher@0.8.0 node_modules/webinos-api-applauncher
├── open@0.0.4
└── node-uuid@1.3.3
optimist@0.6.0 node_modules/optimist
├── wordwrap@0.0.2
└── minimist@0.0.5
webinos-dashboard@0.1.4 node_modules/webinos-dashboard
├── node-uuid@1.3.3
├── dustjs-helpers@1.1.1
└── dustjs-linkedin@2.0.3
webinos-utilities@0.8.4 node_modules/webinos-utilities
├── node-uuid@1.4.1
├── schema@0.2.1
└── emailjs@0.3.6 (bufferjs@1.1.0, moment@1.7.0)
jasmine-node@1.11.0 node_modules/jasmine-node
├── underscore@1.5.2
├── mkdirp@0.3.5
├── walkdir@0.0.7
├── coffee-script@1.6.3
├── requirejs@2.1.9
├── jasmine-reporters@0.2.1
├── jasmine-growl-reporter@0.0.2 (growl@1.7.0)
└── gaze@0.3.4 (minimatch@0.2.12, fileset@0.1.5)
webinos-certificateHandler@0.0.1 node_modules/webinos-certificateHandler
└── webinos-keyStorage@0.8.0
webinos-policy@0.0.3 node_modules/webinos-policy
├── xml2js@0.2.8
├── crypto@0.0.3
├── node-uuid@1.3.3
├── data2xml@0.8.1
├── sax@0.5.5
└── JSV@4.0.2
Martins-MacBook-Pro:build-test-pzp mla$ rm -rf ~/.webinos
Martins-MacBook-Pro:build-test-pzp mla$ ./webinos_pzp.js
[08.11.2013 14:27:59:844] info configuration.js(143) created default webinos directories at location : /Users/mla/.webinos
[08.11.2013 14:27:59:848] info configuration.js(279) webinos configuration updated (/Users/mla/.webinos/metaData.json)
[08.11.2013 14:28:00:172] info certificate.js(202) PzpCA Created Private Key (certificate generation I step)
[08.11.2013 14:28:00:173] info certificate.js(204) PzpCA Generated CSR (Certificate Generation II step)
[08.11.2013 14:28:00:181] info certificate.js(206) PzpCA Generated Self-Signed Certificate (certificate generation III step)
[08.11.2013 14:28:00:188] info certificate.js(210) PzpCA Generated CRL (certificate generation IV step)
[08.11.2013 14:28:00:188] info pzp_sessionHandling.js(408) *****Pzp Master Certificate Generated*****
[08.11.2013 14:28:00:195] info certificate.js(202) Pzp Created Private Key (certificate generation I step)
[08.11.2013 14:28:00:196] info certificate.js(204) Pzp Generated CSR (Certificate Generation II step)
[08.11.2013 14:28:00:198] info certificate.js(206) Pzp Generated Self-Signed Certificate (certificate generation III step)
[08.11.2013 14:28:00:199] info pzp_sessionHandling.js(411) *****Pzp Connection Certificate Generated*****
[08.11.2013 14:28:00:206] info certificate.js(248) Signed Certificate by the PZP/PZH
[08.11.2013 14:28:00:207] info pzp_sessionHandling.js(414) *****Pzp Connection Certificate Signed by Master Certificate*****
[08.11.2013 14:28:00:207] info configuration.js(279) webinos configuration updated (/Users/mla/.webinos/certificates/internal/certificates.json)
[08.11.2013 14:28:00:208] info configuration.js(279) webinos configuration updated (/Users/mla/.webinos/crl.json)
[08.11.2013 14:28:00:209] info pzp_sessionHandling.js(437) created default set of PZP certificates
Adding: ServiceDiscovery
Adding: ServiceConfiguration
Adding: Dashboard
Adding: http://webinos.org/api/zonenotifications
[08.11.2013 14:28:00:247] info loadservice.js(232) New module webinos-api-applauncher detected with configuration parameters {} and testPath webinos-api-applauncher/test/web_root/applauncher.html
[08.11.2013 14:28:00:249] info loadservice.js(232) New module webinos-api-test detected with configuration parameters { num: '21' } and testPath webinos-utilities/node_modules/webinos-api-test/test/web_root/test.html
Adding: http://webinos.org/api/applauncher
Adding: http://webinos.org/api/test
[08.11.2013 14:28:00:265] info configuration.js(279) webinos configuration updated (/Users/mla/.webinos/userData/serviceCache.json)
[08.11.2013 14:28:00:267] info rpc_servicedisco.js(298) [Martins-MacBook-Pro.local] INFO: [Discovery] addRemoteServiceObjects: found 0
[08.11.2013 14:28:00:414] info policymanager.js(111) No policy file found, copying default policy instead
[08.11.2013 14:28:00:419] error pzp_eventHandler.js(67) MODULE_MISSING Pzp Local Discovery module is missing
Error raised in file /devel/_mywebinos/build-test-pzp/lib/pzp_otherManager.js in function initialize_PeerDiscovery at line number 52
[08.11.2013 14:28:00:424] info notifications.js(153) started promptNotification notification handler
[08.11.2013 14:28:00:426] error pzp_websocket.js(228) address in use, now trying port 8081
[08.11.2013 14:28:00:426] info pzp_websocket.js(237) httpServer listening at port 8081 and hostname localhost
[08.11.2013 14:28:00:427] info pzp_websocket.js(307) [Martins-MacBook-Pro.local] Successfully started pzp WebSocket server
[08.11.2013 14:28:00:427] info pzp_websocket.js(321) [Martins-MacBook-Pro.local] Pzp is in virgin mode i.e. not enrolled/registered with Personal Zone Hub.
[08.11.2013 14:28:00:427] info pzp_eventHandler.js(52) PZP_STARTED
Policy dir is /Users/mla/.webinos/policies
loadPmCore - manufacturer - /Users/mla/.webinos/policies/manufacturer.xml
Policy has a valid schema
loadPmCore - user - /Users/mla/.webinos/policies/policy.xml
Policy has a valid schema
Decision storage constructor
Permanent file is /Users/mla/.webinos/policies/decisionpermanent.xml
Policy editor constructor
[08.11.2013 14:28:01:203] info policymanager.js(93) Policy file loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment