Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

./configure: permission denied

Options
  • 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 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 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