Re: Problem with makefile/configure on Solaris 5.5.1

[email protected] (Bob Proulx)
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
Zachary, Andrew L [FI] <[email protected]> [2002-10-08 18:16:01 -0400]:
> A generic problem with installing under Solaris 5.5.1 -- the configure
> utility reports that the install command is
> 
>   /some_system_path/install -c
> 
> which then gets executed as
> 
> /some_system_path/install -c -m 644 install_location source_location
> 
> Unhappily, the make dies with the error message
> 
> 	install: The -c, -f, -n optiions each require a directory following!
> 
> 
> What do I need to do to fix this problem? Is there a specific option
> to the configure script which will patch this apparent bug?

Purely as a workaround I would suggest overriding the install program
with the newly compiled install program.  That way the options will
work.  Something like this.  This is untested but I believe it would
work.

  make INSTALL=./src/install install

Or use the autoconf version which is shipped with most configure based
programs.

  make INSTALL=./install-sh install

Bob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.