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

configure: error: cannot guess build type; on arm platform #178

Open
ossdev07 opened this issue Oct 9, 2018 · 1 comment
Open

configure: error: cannot guess build type; on arm platform #178

ossdev07 opened this issue Oct 9, 2018 · 1 comment

Comments

@ossdev07
Copy link

ossdev07 commented Oct 9, 2018

Working on arm64 platform.
uname -a
Linux e7fac9d4ba1c 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:33:57 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
node -v
v10.9.0

While installing package in arm platform, i am facing below error:
cd deps/jscoverage && ./configure && make && mv jscoverage node-jscoverage
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... ./config.guess: unable to guess system type

This script, last modified 2008-01-23, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to [email protected] in order to provide the needed
information to handle your system.

config.guess timestamp = 2008-01-23

uname -m = aarch64
uname -r = 4.10.0-38-generic
uname -s = Linux
uname -v = #42~16.04.1-Ubuntu SMP Tue Oct 10 16:33:57 UTC 2017

/usr/bin/uname -p =
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch =
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 4.10.0-38-generic
UNAME_SYSTEM = Linux
UNAME_VERSION = #42~16.04.1-Ubuntu SMP Tue Oct 10 16:33:57 UTC 2017
configure: error: cannot guess build type; you must specify one
Makefile:30: recipe for target 'deps/jscoverage/node-jscoverage' failed
make: *** [deps/jscoverage/node-jscoverage] Error 1

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] preinstall: make deps/jscoverage/node-jscoverage
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-10-09T13_30_22_356Z-debug.log

Need to update config.guess for arm support.

Please suggest how to solve this issue for arm platform.

@ossdev07
Copy link
Author

We need to update config.guess in js-coverage folder for resolving this issue. config.guess need to be updated from link wget 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' -O config.guess. But unable to raise a pull request with updated config.guess in expresso package.
Please help me on resolving this issue.
Thanks in advance.

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