Add "tar" to base prereqs to appease autotools
authorDan Scott <dscott@laurentian.ca>
Tue, 22 May 2012 20:45:33 +0000 (16:45 -0400)
committerDan Scott <dan@coffeecode.net>
Thu, 31 May 2012 02:21:06 +0000 (22:21 -0400)
On a minimal install of Fedora 17, I was running into the perplexing
error message whilst running 'autoreconf -i':

libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `./'

This was confusing because a manual copy would, in fact, copy the file
just fine.

http://lists.gnu.org/archive/html/libtool/2009-07/msg00030.html finally
lead to enlightenment: autotools uses "tar" to copy files, not "cp".
Thus, to avoid similar head-scratching install problems in the future,
add "tar" to the base prerequisites for building OpenSRF (both to the
DEBs list and the RPMs list).

Signed-off-by: Dan Scott <dscott@laurentian.ca>

src/extras/Makefile.install

index e69b49b..f4d5cf5 100644 (file)
@@ -76,6 +76,7 @@ DEBS =  \
        python-dev\
        python-libxml2\
        python-setuptools\
+       tar\
        zlib1g-dev
 
 FEDORAS = \
@@ -136,7 +137,8 @@ FEDORAS = \
        python-memcached \
        python-setuptools \
        python-simplejson \
-       readline-devel
+       readline-devel \
+       tar
 
 DEB_APACHE_MODS = \
        ssl