[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Autogen and Configure Error - libtool

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 03 Apr 2014 22:57:45 +0100

Nathan <naroyce_at_hotmail.com> writes:

>> checking for g++ option to enable C++11 features... -std=gnu++11
>> checking if g++ -std=gnu++11 accepts -std=c++98... yes
>> checking if g++ -std=gnu++11 accepts -w... yes
>> checking if g++ -std=gnu++11 accepts -Werror=unknown-warning-option... no
>> checking how to run the C preprocessor... gcc -std=gnu11 -E
>> checking for a sed that does not truncate output... /bin/sed
>> configure: error: cannot run /bin/sh build/config.sub
>>
>> "configure:5076: error: cannot run /bin/sh build/config.sub"
>>
>> "# Grab target_cpu, so we can use it in the Solaris pkginfo file
>> # Make sure we can run config.sub.
>> $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
>> as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5"
>>
>> $ /bin/bash ./build/config.sub sun4
>> Usage: /home/user/Desktop/subversion/build/config.sub [OPTION]...
>> [MODE-ARG]...
>> Try 'config.sub --help' for more information.
>> config.sub: error: you must specify a MODE

On my machine

$ ../src/build/config.sub sun4
sparc-sun-sunos4.1.1

My config.sub does not contain the string "MODE" and so cannot produce
the output you show. I'm using config.sub from Debian's autotools-dev
20120608.1

I associate MODE-ARG with libtool and that error looks like the error
libtool produces. Have you managed to get libtool and config.sub mixed
up?

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-04-03 23:58:21 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.