You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chuck Rolke (JIRA)" <ji...@apache.org> on 2016/11/28 16:48:58 UTC

[jira] [Created] (QPIDIT-56) Rhea installs to /usr/lib regardless of cmake install dir

Chuck Rolke created QPIDIT-56:
---------------------------------

             Summary: Rhea installs to /usr/lib regardless of cmake install dir
                 Key: QPIDIT-56
                 URL: https://issues.apache.org/jira/browse/QPIDIT-56
             Project: Apache QPID IT
          Issue Type: Bug
          Components: Rhea JavaScript Shim
         Environment: Fedora 23 x64, bash
            Reporter: Chuck Rolke


{noformat}
    export INSTALLPREFIX=/opt/local
    cd ${QPID_INTEROP_TEST_HOME}/build
    cmake -DCMAKE_BUILD_TYPE=Debug \
          -DCMAKE_INSTALL_PREFIX=${INSTALLPREFIX} \
          -DPROTON_INSTALL_DIR=${INSTALLPREFIX} \
          ..
{noformat}
Fails when npm can't create a directory in /usr/lib
{noformat}
npm ERR! Error: EACCES, mkdir '/usr/lib/node_modules/rhea'
npm ERR!  { [Error: EACCES, mkdir '/usr/lib/node_modules/rhea']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/usr/lib/node_modules/rhea',
npm ERR!   fstream_type: 'Directory',
npm ERR!   fstream_path: '/usr/lib/node_modules/rhea',
npm ERR!   fstream_class: 'DirWriter',
npm ERR!   fstream_stack: 
npm ERR!    [ '/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR!      '/usr/lib/node_modules/mkdirp/index.js:37:53',
npm ERR!      'Object.oncomplete (fs.js:108:15)' ] }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.
{noformat}

My policy is to never run local builds as root. I have /opt/local set up as the target workspace for my local installs. Typically I build/install
* qpid-proton
* qpid-python
* qpid-cpp
* qpid-dispatch
* qpid-interop-test




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org