Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make for mac m1 #2

Open
NewGraphEnvironment opened this issue Mar 14, 2023 · 0 comments
Open

make for mac m1 #2

NewGraphEnvironment opened this issue Mar 14, 2023 · 0 comments

Comments

@NewGraphEnvironment
Copy link

This is actually the tool I was looking for. Thank you for putting something together.

I might be looking for love in all the wrong places trying to build this image on an M1 mac aarch64 but thought I would check just incase you might know a work around. Sorry for the hassles. Should I be trying to specifying the --build= parameter during the ./configure step . This link https://stackoverflow.com/questions/72231796/install-talib-on-docker seems promising but not sure how to implement with docker. Sorry for the gorb out.

./configure --build=aarch64-unknown-linux-gnu

Error I get when trying to make is

#7 2.042   inflating: __MACOSX/._libecwj2-3.3
#7 2.045 patching file libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJP2File.cpp
#7 2.045 patching file libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCBuffer.cpp
#7 2.045 patching file libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCPLTMarker.cpp
#7 2.045 patching file libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCT1Coder.cpp
#7 2.046 patching file libecwj2-3.3/Source/include/NCSJPCBuffer.h
#7 2.197 checking build system type... ./config.guess: unable to guess system type
#7 2.286
#7 2.286 This script, last modified 2005-04-22, has failed to recognize
#7 2.286 the operating system you are using. It is advised that you
#7 2.286 download the most up to date version of the config scripts from
#7 2.286
#7 2.286   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
#7 2.286 and
#7 2.286   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
#7 2.286
#7 2.286 If the version you run (./config.guess) is already up to date, please
#7 2.286 send the following data and any information you think might be
#7 2.286 pertinent to <config-patches@gnu.org> in order to provide the needed
#7 2.286 information to handle your system.
#7 2.286
#7 2.286 config.guess timestamp = 2005-04-22
#7 2.286
#7 2.286 uname -m = aarch64
#7 2.286 uname -r = 5.15.49-linuxkit
#7 2.286 uname -s = Linux
#7 2.286 uname -v = #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022
#7 2.286
#7 2.286 /usr/bin/uname -p = aarch64
#7 2.286 /bin/uname -X     =
#7 2.286
#7 2.286 hostinfo               =
#7 2.286 /bin/universe          =
#7 2.286 /usr/bin/arch -k       =
#7 2.286 /bin/arch              = aarch64
#7 2.286 /usr/bin/oslevel       =
#7 2.286 /usr/convex/getsysinfo =
#7 2.286
#7 2.286 UNAME_MACHINE = aarch64
#7 2.286 UNAME_RELEASE = 5.15.49-linuxkit
#7 2.286 UNAME_SYSTEM  = Linux
#7 2.286 UNAME_VERSION = #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022
#7 2.290 configure: error: cannot guess build type; you must specify one
------
executor failed running [/bin/sh -c wget https://github.com/bogind/libecwj2-3.3/raw/master/libecwj2-3.3-2006-09-06.zip     && wget http://trac.osgeo.org/gdal/raw-attachment/ticket/3162/libecwj2-3.3-msvc90-fixes.patch     && unzip libecwj2-3.3-2006-09-06.zip     && patch -p0< libecwj2-3.3-msvc90-fixes.patch     && cd libecwj2-3.3     && ./configure     && make     && make install     && cd ..]: exit code: 1
make: *** [build] Error 1

Thank you for your help! Maybe this is not quite the tool for M1 but I appreciate your time nevertheless.

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

No branches or pull requests

1 participant