Results 1 to 4 of 4

Thread: Installing packages with limited privilages

  1. #1
    Join Date
    Apr 2008
    Beans
    7

    Question Installing packages with limited privilages

    I'm trying to install the ImageMagick package as well as a program called OOF2 on a server at my university. I have been given privileges to install in the folder /afs/engin.umich.edu/contrib/oof2

    when trying to install ImageMagick i run the commands

    ./configure
    make install

    during the make install it tries to install to /usr/bin/local/...... which i do not have privileges to so the install fails

    i have tried the -prefix= and the -exec-prefix= options on the configure however the make install still tries to install to /usr/bin/local

    how can i limit the install to my folder /afs/engin.umich.edu/contrib/oof2 so i will have privileges to install it?

    For the oof2 install i have to run
    python setup.py build
    python setup.py install

    is there similar options for these commands that will allow me to limit the install to the folder /afs/engin.umich.edu/contrib/oof2?

  2. #2
    Join Date
    Dec 2006
    Location
    US and A
    Beans
    919
    Distro
    Ubuntu Development Release

    Re: Installing packages with limited privilages

    Its been a while but can't you specify the directory with make?

    make install --directory=/my/install/dir
    Last edited by bwhite82; November 3rd, 2008 at 07:59 PM.

  3. #3
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Installing packages with limited privilages

    Well, in theory what you are doing should work ...

    http://www.control-escape.com/linux/...stall-tar.html

    Try ./configure --help
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  4. #4
    Join Date
    Apr 2008
    Beans
    7

    Re: Installing packages with limited privilages

    After running

    make install --directory=/afs/engin.umich.edu/contrib/oof2/ImageMagick-6.4.5

    the install proceeds well until it displays

    cd PerlMagick && make CC='gcc -std=gnu99' install
    make[3]: Entering directory `/afs/engin.umich.edu/contrib/oof2/ImageMagick-6.4.5/PerlMagick'
    Warning: You do not have permissions to install into /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi at /usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 114.
    mkdir /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Image: Permission denied at /usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 176
    make[3]: *** [pure_site_install] Error 13
    make[3]: Leaving directory `/afs/engin.umich.edu/contrib/oof2/ImageMagick-6.4.5/PerlMagick'
    make[2]: *** [install-exec-perl] Error 2
    make[2]: Leaving directory `/afs/engin.umich.edu/contrib/oof2/ImageMagick-6.4.5'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory `/afs/engin.umich.edu/contrib/oof2/ImageMagick-6.4.5'
    make: *** [install] Error 2
    make: Leaving directory `/afs/engin.umich.edu/contrib/oof2/ImageMagick-6.4.5'

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •