Mailing List Archive

Installation problem (sed?)
Hi listers,

I found a problem in installation of gpg to solaris 2.6 system.
In my setting, /usr/bin is former than /usr/local/bin in path setting
of root.
When I attempted to `make install', libtool script failed to find
$thisdir variable. When I found it uses /usr/bin/sed so I specified
/usr/local/bin/sed in the script and installation went smoothly.
The sed in /usr/local/bin was GNU sed.
Some attempts to search the right sed (GNU sed?) in the system may
required in configuration process or in libtool script.
(Though I have no idea what to do this.)


Best regards.

--
****************************************
Koichi Inoue Ricoh co. ltd.
Information and Communication R&D Center
e-mail: kinoue@ic.rdc.ricoh.co.jp
Re: Installation problem (sed?) [ In reply to ]
> I found a problem in installation of gpg to solaris 2.6 system.
> [...] libtool script failed to find $thisdir variable.

The line that defines $thisdir is incorrect: \n should be '\n'
(i.e., the single quotes are missing in libtool). Otherwise, the
backslash disappears too early, and printf outputs the letter n
instead of a newline. GNU sed accepts unterminated lines and produces
a correct result (the extra letter n does not hurt in this case
because sed is instructed to remove anything after the last slash),
but other implementations of sed don't produce output on the
incomplete line, thus leaving $thisdir empty.