rkd77 / elinks

Fork of elinks
Other
349 stars 38 forks source link

Configure fails on arm64. #84

Closed FoundOne closed 2 years ago

FoundOne commented 3 years ago

Here is the output.

config.guess timestamp = 2004-09-07

uname -m = aarch64
uname -r = 5.7.19-1-MANJARO-ARM
uname -s = Linux
uname -v = #1 SMP Wed Sep 2 20:43:09 +03 2020

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

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

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.7.19-1-MANJARO-ARM
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP Wed Sep 2 20:43:09 +03 2020
configure: error: cannot guess build type; you must specify one
rkd77 commented 3 years ago

I don't have access to such configuration currently, but if it is elinks-0.14 or GIT version you can try build with meson. Install it first. Sample build script:

#!/bin/sh

rm -rf /tmp/builddir
meson /tmp/builddir -Dbrotli=true \
-Dtre=false \
-Dutf-8=true \
-Dtrue-color=true \
-Dgopher=true \
-Dspidermonkey=false \
-Dbzlib=true \
-Dlzma=false \
-Dperl=false \
-Dzlib=true \
-Dbacktrace=false \
-Dcombining=true \
-Dbittorrent=true \
-D88-colors=true \
-D256-colors=true \
-Dlibdom=false \
-Dopenssl=false \
-Dgnutls=true \
-Dlibevent=true \
-Dlibev=false \
-Dterminfo=false \
-Dcgi=true \
-Druby=false \
-Dsm-scripting=false \
-Dpython=false \
-Dzstd=true \
-Dwithdebug=false \
-Dluapkg='luajit' \
-Dguile=false \
-Dgpm=false \
-Dprefix=$HOME \
-Dx=false

meson compile -C /tmp/builddir
mtatton commented 3 years ago

Hello FoundOne,

could've been by different autoconfig files. I'm unsure whether it could help, but try followg: automake --version (e.g. 1.16.1) cp /usr/share/automake-1.16/config.sub ./config/config.sub cp /usr/share/automake-1.16/config.guess ./config/config.guess and try configure again. Find automake in /usr/share according to the version You have on Your system.

Best regards

SpacingBat3 commented 3 years ago

Hello FoundOne,

could've been by different autoconfig files. I'm unsure whether it could help, but try followg: automake --version (e.g. 1.16.1) cp /usr/share/automake-1.16/config.sub ./config/config.sub cp /usr/share/automake-1.16/config.guess ./config/config.guess and try configure again. Find automake in /usr/share according to the version You have on Your system.

Best regards

After updating the config.guess in the sources with the one provided in the automake or autoconf package (on Manjaro / Arch Linux ARM), it will configure itself fine, without any errors.