[sword-devel] Autotools Bug?
jmarsden at fastmail.fm
Mon May 11 11:37:24 MST 2009
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
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...
Incidentally (as you probably already know), doing
sudo apt-get install build-essential
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 .
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.
More information about the sword-devel