On Wed, Sep 4, 2013 at 4:56 PM, Ben Greear <greearb@candelatech.com> wrote: > I tried to condense your original email instructions down to specifics for > my machine, > but I'm having no luck. I'm using ugmeir's perl repo as you suggested...I > did not choose > any particular branch, I just cloned it from github. > > I'm Hugmeir, so :) You want the configure-for-cross branch, not the main one. I think that might be the issue. > Any idea what I'm doing wrong? I'm suspicious that perl's Configure would > have > no idea what to do with my $DEVICE? > > > export ANDROID_NDK=$HOME/android/**android-ndk-r9 > export ANDROID_SDK=$HOME/android/**android-sdk-linux > export ANDROID_TOOLCHAIN=$HOME/my-**android-toolchain-8 > export PATH="$ANDROID_SDK/platform-**tools:$ANDROID_NDK/toolchains/** > arm-linux-androideabi-4.8/**prebuilt/linux-x86_64/bin:$**PATH" > > # Turn on USB debugging in developer-options on phone, then: > adb devices > export DEVICE=04dba74c5cde4be7 > > export TARGETDIR=/data/data/candela.**lanforge/local/ > adb -s $DEVICE shell "echo sh -c '\"mkdir -p $TARGETDIR\"' | su --" > > adb -s $DEVICE pull /system/lib /tmp/tmpandroidlib > ./Configure -des -Dusedevel -DDEBUGGING -Dusecrosscompile > -Dcc=arm-linux-androideabi-gcc -Dtargethost=$DEVICE > -Dsysroot=$ANDROID_TOOLCHAIN/**sysroot -Dtargetdir=$TARGETDIR > > > [greearb@ben-dt2 perl-cross-ugmeir]$ ./Configure -des -Dusedevel > -DDEBUGGING -Dusecrosscompile -Dcc=arm-linux-androideabi-gcc > -Dtargethost=$DEVICE -Dsysroot=$ANDROID_TOOLCHAIN/**sysroot > -Dtargetdir=$TARGETDIR > First let's make sure your kit is complete. Checking... > Would you like to see the instructions? [n] > Locating common programs... > Checking compatibility between /usr/bin/echo and builtin echo (if any)... > Symbolic links are supported. > Checking how to test for symbolic links... > You can test for symbolic links with 'test -h'. > Guessing incpth '/home/greearb/android/**android-ndk-r9/toolchains/arm-** > linux-androideabi-4.8/**prebuilt/linux-x86_64/bin/../** > lib/gcc/arm-linux-androideabi/**4.8/include /home/greearb/android/android- > **ndk-r9/toolchains/arm-linux-**androideabi-4.8/prebuilt/** > linux-x86_64/bin/../lib/gcc/**arm-linux-androideabi/4.8/**include-fixed'. > Guessing libpth '/home/greearb/android/**android-ndk-r9/toolchains/arm-** > linux-androideabi-4.8/**prebuilt/linux-x86_64/bin/../** > lib/gcc/arm-linux-androideabi/**4.8/include-fixed'. > Using targetarch arm-linux-androideabi. > Using incpth '/home/greearb/android/**android-ndk-r9/toolchains/arm-** > linux-androideabi-4.8/**prebuilt/linux-x86_64/bin/../** > lib/gcc/arm-linux-androideabi/**4.8/include /home/greearb/android/android- > **ndk-r9/toolchains/arm-linux-**androideabi-4.8/prebuilt/** > linux-x86_64/bin/../lib/gcc/**arm-linux-androideabi/4.8/**include-fixed'. > Using libpth '/home/greearb/android/**android-ndk-r9/toolchains/arm-** > linux-androideabi-4.8/**prebuilt/linux-x86_64/bin/../** > lib/gcc/arm-linux-androideabi/**4.8/include-fixed'. > Usrinc not defined. > Using targethost 04dba74c5cde4be7. > Cannot continue, aborting. > > > Thanks, > Ben > > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > >Thread Previous | Thread Next