How to fix Libfaac – configure: error: cannot guess build type; you must specify one – Power8

Config.guessffmpegIBM Power8LibfaacLinuxUbuntu

This issue occurs when compiling on Power8. This is as a result of a rather old config.guess file which is included in the src folder of libfaac.

 

Problem description:

Attempting to ./configure the libfaac packages ends with the following output.

config.guess timestamp = 2006-07-02

 

uname -m = ppc64le

uname -r = 3.13.0-37-generic

uname -s = Linux

uname -v = #64-Ubuntu SMP Mon Sep 22 21:27:09 UTC 2014

 

/usr/bin/uname -p = 

/bin/uname -X     = 

 

hostinfo               = 

/bin/universe          = 

/usr/bin/arch -k       = 

/bin/arch              = 

/usr/bin/oslevel       = 

/usr/convex/getsysinfo = 

 

UNAME_MACHINE = ppc64le

UNAME_RELEASE = 3.13.0-37-generic

UNAME_SYSTEM  = Linux

UNAME_VERSION = #64-Ubuntu SMP Mon Sep 22 21:27:09 UTC 2014

configure: error: cannot guess build type; you must specify one

Solution:

 

Download a proper config.guess that is able to determine the power8 architecture.

Download a modernized config.guess file and overwrite the one in src folder that you are attempting to configure.

Re-run the ./configure command and everything should work as expected.

 

You can download a sample config.guess file below.

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

 

Sources:

https://www.ibm.com/developerworks/community/blogs/fe313521-2e95-46f2-817d-44a4f27eba32/entry/installing_native_rubygems?lang=en

Leave a Reply