Subject: | Can't open libmemcached.pop: No such file or directory at pod2man line 60 |
This is on SunOS 5.11
It appears the making of GENERIC_PAGES in Memcached-libmemcached-
0.4406/src/libmemcached/docs/Makefile.in is broken, when symlinking the files, using $*
alone doesn't remove the .pop from the end of the filenames.
Output from build process:
<snip>
ln -s ../docs/libmemcached.pop.pod ../docs/libmemcached.pop
ln -s ../docs/libmemcached_examples.pop.pod ../docs/libmemcached_examples.pop
ln -s ../docs/libmemcachedutil.pop.pod ../docs/libmemcachedutil.pop
ln -s ../docs/memcached_analyze.pop.pod ../docs/memcached_analyze.pop
ln -s ../docs/memcached_dump.pop.pod ../docs/memcached_dump.pop
<snip>
ln -s ../docs/.pod ../docs/libmemcached.pop
pod2man -c "libmemcached" -r "" -s 3 libmemcached.pop > libmemcached.3
Can't open libmemcached.pop: No such file or directory at pod2man line 60
*** Error code 2
make: Fatal error: Command failed for target `libmemcached.3'
This then kills the build / install process.
To solve this I've modified Memcached-libmemcached-
0.4406/src/libmemcached/docs/Makefile.in (line 931) and Memcached-libmemcached-
0.4406/src/libmemcached/docs/Makefile.am (line 494 for completeness)
from:
ln -s ${top_srcdir}/docs/$*.pod ${top_builddir}/docs/$@
to:
ln -s ${top_srcdir}/docs/`echo "$*" | cut -d'.' -f1`.pod ${top_builddir}/docs/$@