Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

./configure: permission denied

  • 02-07-2013 10:02PM
    #1
    Closed Accounts Posts: 2,696 ✭✭✭


    I am installing spatialite on android from tutorial below

    http://code.google.com/p/spatialite-android/

    I have extracted files to folder on sdcard and now running
    ./configure --build=x86_64-pc-linux-gnu --host=arm-linux-eabi

    but I get error ./configure: permission denied

    have done chmod 777
    root access is available
    have tried running su first then ./configure - same error
    have tried running "su ./configure --build=x86_64-pc-linux-gnu --host=arm-linux-eabi" - but receive parameter error

    any ideas on how to install are welcome


    I have: Samsung galaxy ace
    Terminal Emulator installed on Gingerbread 2.3.6


Comments

  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    You need to set executable permission on the file.

    sudo chmod +x ./configure


  • Closed Accounts Posts: 2,696 ✭✭✭mark renton


    Still get an error


    $ cd user
    $ ls
    proj-4.8.0.tar.gz
    sqlite-amalgamation-3071602.zip
    geos-3.3.6.tar.bz2
    libspatialite-4.0.0.tar.gz
    proj-4.8.0
    geos-3.3.6
    sqlite-amalgamation-3071602
    libspatialite-4.0.0
    $ cd proj-4.8.0
    $ ls
    jniwrap
    depcomp
    ltmain.sh
    configure
    install-sh
    COPYING
    README
    Makefile.in
    Makefile.am
    config.guess
    nad
    proj.pc.in
    man
    nmake.opt
    makefile.vc
    mkinstalldirs
    AUTHORS
    ltconfig
    aclocal.m4
    src
    configure.in
    INSTALL
    ChangeLog
    config.sub
    missing
    NEWS
    $ su chmod +x /.configure
    Usage: su [options] [LOGIN]
    Options:
    -c, --command COMMAND pass COMMAND to the invoked shell
    -h, --help display this help message and exit
    -, -l, --login make the shell a login shell
    -s, --shell SHELL use SHELL instead of the default in passwd
    -v, --version display version number and exit
    -V display version code and exit. this is
    used almost exclusively by Superuser.apk
    $ su
    # chmod +x ./configure
    Bad mode
    # chmod +x configure
    Bad mode
    #


  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    Is the sdcard writable? Is the physical lock switch turned on?

    Is this some odd old flavour of linux? What shell?

    Try "chmod a+x configure". Also try "chmod -R 777 *".


  • Closed Accounts Posts: 2,696 ✭✭✭mark renton


    Actually is seems my sdcard is not picked up and this is on usb storage - can I run from there or does it need to be on sdcard?


Advertisement