Re: [greenstone-users] make install error in mgpp

From Katherine Don
DateThu, 16 Oct 2003 11:52:20 +1300
Subject Re: [greenstone-users] make install error in mgpp
In-Reply-To (3F8DC843-3090409-wheaton-edu)
hi Jeff

in src/mgpp/text/Makefile, there is a section:

execinstall: $(EXEC)
../mkinstalldirs $(bindir);
for name in $(EXEC); do
$(INSTALL_PROGRAM) $$name
$(bindir)/`echo $$name | sed '$(transform)'`;
done

just comment out the ../mkinstalldirs line of this. (I'm not sure why its still in there)
and then rerun make install.
(there may be other places where the same thing happens, just comment out the mkinstalldirs lines)

If there is a problem in the installing, then the process stops so you wont have had some components installed properly.

hope this helps
Katherine Don

Jeff Beaird wrote:

> When I try to build Greenstone 2.40 from source, I get the following
> output from "make install" of src/mgpp:
>
> for subdir in lib text; do
> echo making install in $subdir;
> (cd $subdir && make install) || exit 1;
> done
> making install in lib
> make[1]: Entering directory `/usr/local/gsdl/src/mgpp/lib'
> make[1]: Nothing to be done for `install'.
> make[1]: Leaving directory `/usr/local/gsdl/src/mgpp/lib'
> making install in text
> make[1]: Entering directory `/usr/local/gsdl/src/mgpp/text'
> ../mkinstalldirs ../../../bin/linux;
> for name in mgpp_passes mgpp_decompress_text mgpp_perf_hash_build
> mgpp_invf_dump mgpp_weights_build mgpp_invf_dict mgpp_stem_idx
> mgpp_invf_dict_dump mgpp_compression_dict mgpp_fast_comp_dict
> QueryTester Queryer; do
> /usr/bin/install -c $name
> ../../../bin/linux/`echo $name | sed 's,x,x,'`;
> done
> /bin/sh: line 1: ../mkinstalldirs: Permission denied
> make[1]: Leaving directory `/usr/local/gsdl/src/mgpp/text'
>
> How much trouble could that "Permission denied" in the next to last line
> be causing me?
>
> I'm having the same problem noted in
> <http://216.239.41.104/search?q=cache:bOWecuMUWGcJ:https://list.scms.waikato.ac.nz/pipermail/greenstone-users/2003-September/000370.html+%22error+during+done+of+ivf.pass1&hl=en&lr=lang_en&ie=UTF-8>,
> and didn't know if they could be related.
>
> Sorry for the super long url.
>
> Thank you!
>
> --
> Jeff Beaird
> Buswell Memorial Library
> Wheaton College
> Wheaton, IL
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users&#64;list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users