Skip to content

Libffi recipe fails with "unrecognized options: --enable-shared" #733

@bidafiwoc

Description

@bidafiwoc

I'm trying to use the packaged cryptography recipe, which includes the Libffi recipe as a dependency. I'm getting the following errors with Libffi while trying to build the apk:

configure: WARNING: unrecognized options: --enable-shared
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

I'm using recent versions of the toolchain: p4a (checked out from github a week ago), most recent Android SDK & NDK (25.1.3 and r11c, respectively). I'm invoking p4a as follows:

p4a apk --sdk_dir ~/AndroidUpstream/android-sdk-linux \
    --ndk_dir ~/AndroidUpstream/android-ndk-r11c \
    --android_api 16 --ndk_ver r11c \
    --private ~/src/TestCrypto \
    --package=org.example.testcrypto \
    --name=TestCrypto --version=0.5 \
    --bootstrap=sdl2 \
    --requirements=sdl2,python2,kivy,cryptography \
    --dist_name=remotepython \
    --permission=INTERNET

I've looked around (on web, and here on github issue tracker), but can't find explanations for this error message. Thanks in advance for any suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions