visionmedia / expresso

use mocha
http://visionmedia.github.com/expresso
759 stars 89 forks source link

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

Open ossdev07 opened 6 years ago

ossdev07 commented 6 years ago

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 config-patches@gnu.org 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! expresso@0.9.2 preinstall: make deps/jscoverage/node-jscoverage npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the expresso@0.9.2 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 commented 5 years ago

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.