memcached 1.1.11 install glitch (fwd)

Brad Fitzpatrick brad@danga.com
Thu, 22 Jul 2004 10:01:34 -0700 (PDT)


Can anybody who speaks autoconf help us with this?


---------- Forwarded message ----------
Date: Thu, 22 Jul 2004 12:55:06 -0400
From: Jamie McCarthy <jamie@mccarthy.vg>
To: Brad Fitzpatrick <brad@danga.com>
Subject: memcached 1.1.11 install glitch

Sounds like you're getting close to a new release.  There's a minor
install glitch that you should fix.  I got this on all systems I try
to install on, with /usr/local/man/man1/doc.  'install' tries to
copy doc/memcached.1 to /usr/local/man/man1/doc/memcached.1, and it
should go to /usr/local/man/man1/memcached.1 instead.

Simple fix is to move memcached.1 out of the doc/ subdir and edit
the man_MANS line in Makefile.am;  or have make recurse into doc/
and put a Makefile in there.  I don't know what the complex fix
would be, I speak Makefile about as well as I speak French (je ne
parle pas le metalangue).

    make[1]: Entering directory `/usr/local/src/memcached-1.1.11'
    /bin/sh ./mkinstalldirs /usr/local/bin
      /usr/bin/install -c  memcached /usr/local/bin/memcached
    make  install-man1
    make[2]: Entering directory `/usr/local/src/memcached-1.1.11'
    /bin/sh ./mkinstalldirs /usr/local/man/man1
     /usr/bin/install -c -m 644 ./doc/memcached.1 /usr/local/man/man1/doc/memcached.1
    /usr/bin/install: cannot create regular file `/usr/local/man/man1/doc/memcached.1': No such file or directory
    make[2]: *** [install-man1] Error 1
    make[2]: Leaving directory `/usr/local/src/memcached-1.1.11'
    make[1]: *** [install-man] Error 2
    make[1]: Leaving directory `/usr/local/src/memcached-1.1.11'
    make: *** [install-am] Error 2

[later]

    jamie@ellie:~$ memcached -h
    memcached 1.1.11
    [...]
    jamie@ellie:~$ man memcached
    No manual entry for memcached
    See 'man 7 undocumented' for help when manual pages are not available.
-- 
  Jamie McCarthy
 http://mccarthy.vg/
  jamie@mccarthy.vg