Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

/bin/sh: ../src/nad2bin: Bad CPU type in executable #133

Open
Whirlwind opened this issue Mar 23, 2014 · 1 comment
Open

/bin/sh: ../src/nad2bin: Bad CPU type in executable #133

Whirlwind opened this issue Mar 23, 2014 · 1 comment

Comments

@Whirlwind
Copy link

When I build proj4, I got errors:

Making install in man
Making install in man1
make[3]: Nothing to be done for `install-exec-am'.
test -z "/Developer/maps/mapnik-packaging/osx/out/build-cpp03-libstdcpp-armv7/share/man/man1" || ../.././install-sh -c -d "/Developer/maps/mapnik-packaging/osx/out/build-cpp03-libstdcpp-armv7/share/man/man1"
 /usr/bin/install -c -m 644 geod.1 proj.1 cs2cs.1 '/Developer/maps/mapnik-packaging/osx/out/build-cpp03-libstdcpp-armv7/share/man/man1'
Making install in man3
make[3]: Nothing to be done for `install-exec-am'.
test -z "/Developer/maps/mapnik-packaging/osx/out/build-cpp03-libstdcpp-armv7/share/man/man3" || ../.././install-sh -c -d "/Developer/maps/mapnik-packaging/osx/out/build-cpp03-libstdcpp-armv7/share/man/man3"
 /usr/bin/install -c -m 644 pj_init.3 '/Developer/maps/mapnik-packaging/osx/out/build-cpp03-libstdcpp-armv7/share/man/man3'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in nad
make[2]: Nothing to be done for `install-exec-am'.
../src/nad2bin FL < FL.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin MD < MD.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin TN < TN.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin WI < WI.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin WO < WO.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin alaska < alaska.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin conus < conus.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin hawaii < hawaii.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin null < null.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin prvi < prvi.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin stgeorge < stgeorge.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin stlrnc < stlrnc.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
../src/nad2bin stpaul < stpaul.lla
/bin/sh: ../src/nad2bin: Bad CPU type in executable
make[2]: *** [process-nad2bin] Error 126
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

I test in MacOS 10.9 and Xcode 5.1, build for iPhoneOS.

@springmeyer
Copy link
Member

This is a bug in proj4's build system. I've been ignoring it. To truly workaround you'd need to run nad2bin on a host system that can run binaries from the command line.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants