Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hi all, I downloaded FLTK http://www.imm.uklinux.net/fltk/fltk...-07-14.tar.bz2 It goes well till 1. ./configure 2. make but when I do make install it shows me a strange error Code: === installing FL ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11

    Exclamation execvp: /usr/local/lib: Permission denied

    Hi all,

    I downloaded FLTK http://www.imm.uklinux.net/fltk/fltk...-07-14.tar.bz2

    It goes well till
    1. ./configure
    2. make

    but when I do make install it shows me a strange error
    Code:
    === installing FL ===
    Installing include files in /usr/local/include...
    === installing xutf8 ===
    Installing libfltk_xutf8.a in /usr/local/lib...
    make[1]: execvp: /usr/local/lib: Permission denied
    make[1]: execvp: ../lib/libfltk_xutf8.a: Permission denied
    make[1]: *** [install] Error 127
    make: *** [install] Error 1

    I am root still what kind of permission he is asking for ?
    Last edited by devils casper; 07-23-2007 at 12:41 PM. Reason: added code tags

  2. #2
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11
    Hey folks
    Reply please it's really required

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    You probably tried to run "make install" as a normal user. Try doing
    Code:
    $su -c "make install"
    Enter roots password when prompted.

  4. #4
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11
    Thanks for your reply

    I have tried follwing options already
    1. Sudo
    2. su
    3. changing file permission of /usr/local/lib with chmod +777


    /usr/local/lib
    drwxrwxrwx 8 root root 4096 Jul 20 2007 lib

    /usr/local/include
    drwxrwxrwx 16 root root 4096 Jul 23 2007 include

    But it's giving same error what might be the reason

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You must have root privileges to execute make install command.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Did you run the command I posted? If so, do you get the same output?

  7. #7
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11
    Thanks for your reply

    But I am root only what kind of privilege is required for that ?
    I have installed many versions of GTK,gtkmm etc... no one was showing this problem


    I have tried following options already :-

    1. changing permission of /usr/local/lib to chmod +777
    2. changing permission of ../lib/libfltk_xutf8.a to chmod +777
    3. sudo make install
    4. su -c "make install"


    But couldn't find the solution yet
    Please help me out of this mess

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which Distro do you have and Which Package are you trying to install?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11
    Linux version 2.4.20-8 ,(gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5))

    I am trying to install fltk118-utf8-2007-07-14 ...but it's showing permission denied error

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Are you logged in as root in GUI? If you are gaining root privileges in Terminal using 'su' command then execute 'su -' instead of 'su'.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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