Results 1 to 6 of 6

Thread: [SOLVED] How to know whether to uncompile/remove app 1st

  1. #1
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    [SOLVED] How to know whether to uncompile/remove app 1st

    Using

    ./configure
    make
    make install

    I have installed ext3grep. That's a program to restore shift deleted files.

    the ./configure and make worked fine, but make install returned:

    make[3]: Entering directory `/opt/ext3grep-0.9.0/src'
    test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
    /usr/bin/install -c 'ext3grep' '/usr/local/bin/ext3grep'
    /usr/bin/install: cannot create regular file `/usr/local/bin/ext3grep': Permission denied
    make[3]: *** [install-binPROGRAMS] Error 1
    make[3]: Leaving directory `/opt/ext3grep-0.9.0/src'
    make[2]: *** [install-am] Error 2
    make[2]: Leaving directory `/opt/ext3grep-0.9.0/src'
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/opt/ext3grep-0.9.0/src'
    make: *** [install-recursive] Error 1

    Reading on the 'net about this take me to posts that are so far above my ability to understand the computer-ese (I'm a cookbook author, not a coder), that I dont' know what to do to help myself.

    Is there a command to uncompile the ext3grep? Or will doing the make install with a path to a directory cause the app to crash into each other? Please help, I'm lost.
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  2. #2
    Join Date
    May 2007
    Beans
    1,091

    Re: How to know whether to uncompile/remove app 1st

    have you tried
    Code:
    sudo make install

  3. #3
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to know whether to uncompile/remove app 1st

    I don't know whether that will work. The instructions DO NOT show a sudo or su, so I'm thinking it's NOT supposed to be root.
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  4. #4
    Join Date
    May 2007
    Beans
    1,091

    Re: How to know whether to uncompile/remove app 1st

    your error was due to the fact that you didnt have permission to create the file ext3grep in the /usr/local/bin folder. only root can write into the /usr/local/bin folder.

  5. #5
    qamelian's Avatar
    qamelian is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Feb 2005
    Location
    Nova Scotia, Canada
    Beans
    1,580
    Distro
    Ubuntu Development Release

    Re: How to know whether to uncompile/remove app 1st

    Quote Originally Posted by Mark_in_Hollywood View Post
    I don't know whether that will work. The instructions DO NOT show a sudo or su, so I'm thinking it's NOT supposed to be root.
    Since it appears to be trying to install in /usr/local/bin, you will definitely need to use
    Code:
    sudo make install
    . This will almost always be the case.

  6. #6
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to know whether to uncompile/remove app 1st

    Someone else told me:

    Try doing "sudo make install" so it installs into the place of your system
    only root is allowed to touch.


    > ALSO, now that I've run make install, do I have to uninstall it before
    > trying again?

    Because it failed, you certainly don't have to. But anyway it should be
    fine to simply overwrite a new install on top of an old install without
    bothering to do 'make uninstall'
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

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
  •