[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] build-fix for Solaris (#970)
From: |
Michele La Monaca |
Subject: |
Re: [Chicken-hackers] [PATCH] build-fix for Solaris (#970) |
Date: |
Thu, 24 Jan 2013 22:00:40 +0100 |
Hi Mario,
in Solaris ...,8,9,10 it's there; in Solaris 11 it's an optional package. Still
the best option as the default BSD-compliant install program in my opinion...
much better than ginstall. As you suggest, this default can be overridden.
Btw, as far I can tell, /usr/ucb is quite common on other System-V platforms as
location for BSD compatible commands.
As regarding OpenSolaris, I can't remeber if /usr/ucb is installed by default
or provided as an optional package. I dont't think ginstall is there by default
either... anyway it looks like a dead OS.
A few open source programs come with a customized install.sh (using only mkdir,
cp, chmod commands) which is run if no BDS-compatible install can be detected.
Maybe this should be the long term solution.
My 2 cents.
Regards,
mikele
On Thu, Jan 24, 2013 at 10:34 AM, Mario Domenech Goulart
<address@hidden> wrote:
> Hi Michele,
>
> On Wed, 23 Jan 2013 22:08:45 +0100 Michele La Monaca <address@hidden> wrote:
>
>> Patch provided for the install issue on Solaris.
>>
>> ---
>> Makefile.solaris | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/Makefile.solaris b/Makefile.solaris
>> index 99f9826..f6914c7 100644
>> --- a/Makefile.solaris
>> +++ b/Makefile.solaris
>> @@ -36,7 +36,7 @@ SRCDIR = ./
>> ARCH ?= $(shell sh $(SRCDIR)/config-arch.sh)
>> # default to gcc - use "make ... C_COMPILER=cc ..." to use SunPro CC
>> export C_COMPILER ?= gcc
>> -export INSTALL_PROGRAM ?= ginstall
>> +export INSTALL_PROGRAM ?= /usr/ucb/install
>
> I'm totally clueless about Solaris, but won't that break other
> versions (e.g., OpenSolaris)?
>
> http://www.scalingbits.com/node/186 has some points.
>
> You can also configure INSTALL_PROGRAM by specifying it on the make
> call. Example:
>
> $ make PLATFORM=solaris INSTALL_PROGRAM=/usr/ucb/install ...
>
> Best wishes.
> Mario
> --
> http://parenteses.org/mario
Re: [Chicken-hackers] [PATCH] build-fix for Solaris (#970), Jim Ursetto, 2013/01/21