Tzafrir Cohen
Thu, 10 Jan 2002 15:02:15 -0800
On Thu, 10 Jan 2002, Tzafrir Cohen wrote:
> On Thu, 10 Jan 2002, Kohn Emil Dan wrote:
> >
> > the build process aborts when installing lib refreshd_cnt.a because the
> > path to install-sh is wrong.
> >
>
> On my account I have ginstall on the path, and it gets used. Therefore
> install-sh is unnecessary. I have no problems.
>
> I'll try to check it later without ginstall.
>
> > This can be fixed by editing
> >
> > r2l-0.9.5/src/refreshd/src/make.defs
> >
> > and changing the definition of
> >
> > INSTALL=../../.././install-sh -c
> >
> > to
> >
> > INSTALL=../../../../install-sh -c
> >
>
> Hmmm... I'll try to make a kludge there...
>
> (if INSTALL begins with '..' the set REFRESHD_INSTALL to ../${INSTALL} ,
> or something similar)
OK. I saw that the approach above was not as simple as I thought, so
here's the brute-force approace. Append this to the end of configure.in
and re-run autoconf to get the configure script:
[Nothing close to robust, but this was the fastest to write
dnl
dnl fix src/refreshd/src/make.defs [TODO: remove this ugly kludge]
dnl
# replace 'INSTALL=../../../install-sh' with
'INSTALL=../../../../install-sh'
if perl -e 'print "perl can run"' >/dev/null 2>&1; then
perl -p -i \
-e 's|^INSTALL=\.\./\.\./\.\./install-sh$|INSTALL=../../../../install-sh|' \
src/refreshd/src/make.defs
else
# and if this system does not have perl?
# Well, if a system lacks both bsd install and perl, I consider it totally
# broken and leave the fixing job to whoever tries to build it on such a
# system
AC_MSG_WARN(In src/refreshd/src/make.defs replace
'INSTALL=../../../install-sh' with 'INSTALL=../../../../install-sh')
fi
--
Tzafrir Cohen /"\
mailto:[EMAIL PROTECTED] \ / ASCII Ribbon Campaign
Taub 229, 972-4-829-3942, X Against HTML Mail
http://www.technion.ac.il/~tzafrir / \
-------------------------------------------------------------------------
Haifa Linux Club Projects Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]