[sword-devel] Autotools Bug?

Greg Hellings greg.hellings at gmail.com
Mon May 11 11:48:49 MST 2009

On Mon, May 11, 2009 at 1:37 PM, Jonathan Marsden <jmarsden at fastmail.fm> wrote:
> Greg Hellings wrote:
>> I just updated to the latest SWORD svn and ran autogen.sh and
>> usrinst.sh.  Forgetting that I was in a fresh install of Ubuntu, I
>> didn't think to manually install g++, so I have no C++ compiler on my
>> system.  Nevertheless, the configure script simply noted this and
>> moved on, completing the configuration process without so much as a
>> complaint.  Should this be considered a bug, or simply a silly PEBKAC
>> issue?
> There is something odd going on here... a fresh default install of Ubuntu
> should not have had autotools installed either :)  So autogen.sh should have
> failed...

The install was not 100% fresh... I had already tried to do
autotools.sh, and thus installed automake/conf and libtool.

> Incidentally (as you probably already know), doing
>  sudo apt-get install build-essential

Never did like that - I enjoy doing things in Linux the longer way.
That pulls in extra packages (dpkg-dev) that I don't want to bother

> should get you g++ and other basic development tools installed on any Debian
> or Ubuntu system -- you probably do not want to install g++ manually, you
> should install build-essential and let it install g++ for you, so you also
> get a few other important things, like make and libc6-dev .

Make appears to have already been on the system, and libc6-dev is
pulled in automatically with g++ (or, more exactly, libstdc++6-4.3-dev
which depends on libc6-dev).

> While I think about it: if there is a goal of making initial SWORD
> development setup really easy, we could consider adding a few lines to
> autogen.sh that notices if it is running on Ubuntu/Debian and does the
> sudo-apt-get install build-essential for you if necessary, and likewise
> notices if you are on  a Fedora/RHEL/CentOS machine and does the equivalent
> (yum install ...) .  This kind of approach would take care of a large
> percentage of Linux development platforms.

I would be startled, alarmed and probably not trust a package which
asked me for my sudo password while I was just configuring it.  No


> Jonathan
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list