Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Installing SDCC 3.3.0, Ubuntu 12.04, root? permissions?

Matt
2013-09-04
2013-09-04
  • Matt
    Matt
    2013-09-04

    Hello,

    While following the installation instructions bundled with SDCC 3.3.0, it fails for me when trying to copy files to /usr/local/* . This is all owned by root, and nowhere did the install instructions tell me to install files as root.

    Am I supposed to install these files as root, or should I change ownership of the target directories?

    Kind regards,
    Matt

     
  • To install to the default location, /usr/local/* you need to be root. After all you are installing a program visible to all users. /usr/local is meant to be owned by root, and I would recommend against changing ownership.

    Philipp

     
  • Borut Ražem
    Borut Ražem
    2013-09-04

    During confiure you can specify where you have all permissions, for example:

    configure --prefix=~/local
    

    Borut

     
  • Maarten Brock
    Maarten Brock
    2013-09-04

    I think the real request is for SDCC to document that you need to have root privileges to run 'make install'.

    Maarten