arthurnn / memcached

A Ruby interface to the libmemcached C client
Academic Free License v3.0
432 stars 125 forks source link

Update libmemcached `config.guess`/`config.sub` to latest #213

Open mattwebbio opened 1 year ago

mattwebbio commented 1 year ago

When trying to install this gem on Ubuntu 22.04 on ARM, I'm experiencing the following failure:

checking build system type... config/config.guess: unable to guess system type

This script, last modified 2009-04-27, 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/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 = 2009-04-27

uname -m = aarch64
uname -r = 6.1.29-0-virt
uname -s = Linux
uname -v = #1-Alpine SMP Wed, 17 May 2023 14:22:15 +0000

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

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

UNAME_MACHINE = aarch64
UNAME_RELEASE = 6.1.29-0-virt
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1-Alpine SMP Wed, 17 May 2023 14:22:15 +0000
configure: error: cannot guess build type; you must specify one

Updating the gem's copy of libmemcached with the latest config.guess and config.sub (as suggested in the error) resolved the issue for me. This should close https://github.com/arthurnn/memcached/issues/210 and https://github.com/arthurnn/memcached/issues/161.

Diasporism commented 1 year ago

Bump. I've got the same issue. Can this be merged?

duhrich commented 1 year ago

Bump. I've got the same issue. Can this be merged?

same here :/

talhaijaz commented 4 months ago

Bump. I've got the same issue. Can this be merged?

same here is there any workaround to get this work for m1 macs