[Gluster-devel] minor "make install" issue for FreeBSD

Rick Macklem rmacklem at uoguelph.ca
Tue Dec 8 22:35:05 UTC 2015


Near the end of "make install", it fails in glusterfind because
DESTDIR is empty.
Here's the "make install" output:
 ../.././install-sh -c -d '/usr/local/libexec/glusterfs/gfind_missing_files'
 /usr/bin/install -c gfind_missing_files.sh gfid_to_path.sh gfid_to_path.py '/usr/local/libexec/glusterfs/gfind_missing_files'
Making install in glusterfind
Making install in src
 ../../.././install-sh -c -d '/usr/local/libexec/glusterfs/glusterfind'
 /usr/bin/install -c -m 644 tool.conf '/usr/local/libexec/glusterfs/glusterfind'
 ../../.././install-sh -c -d '/usr/local/libexec/glusterfs/glusterfind'
 /usr/bin/install -c -m 644 conf.py utils.py __init__.py main.py libgfchangelog.py changelogdata.py '/usr/local/libexec/glusterfs/glusterfind'
../../../py-compile: Missing argument to --destdir.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/glusterfs-3.7.6/tools/glusterfind/src
*** Error code 1

Stop.
make[3]: stopped in /usr/src/glusterfs-3.7.6/tools/glusterfind/src
*** Error code 1

Stop.
make[2]: stopped in /usr/src/glusterfs-3.7.6/tools/glusterfind
*** Error code 1

Stop.
make[1]: stopped in /usr/src/glusterfs-3.7.6/tools
*** Error code 1

Stop.
make: stopped in /usr/src/glusterfs-3.7.6

If I replace the --destdir "$(DESTDIR)" with something like
--destdir "$(DESTDIR)$(glusterfinddir)"
in the Makefile, then "make install" works.

I don't know where it should be installing this and/or why DESTDIR
is empty.

It would be nice to get it fixed so tha "make install" doesn't fail,
but I personally don't care, because it has installed the important
stuff.

Anyone know how to fix this? rick


More information about the Gluster-devel mailing list