tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build failure textproc/icu on Solaris 10 x86 with SunStudio compiler
Le 06/05/15 01:30, Ibraheem Saleh a écrit :
> I'm trying to build textproc/icu on Solaris 10 x86 with the SunStudio
> compiler and am stumped by this error:
>
...
> I see that patch-configure mentions needing c99 still on Solaris but
> don't understand what needs to be done to fix this.
>
> Does anybody know what might be causing this issue?
>
> Thanks!
>
Hi,
Can you first try modifying your textproc/icu/Makefile with:
> @@ -31,6 +30,7 @@ CONFIGURE_ARGS+= --disable-threads
>
> # from ICU_CHECK_MH_FRAG in source/acinclude.m4
> .if ${OPSYS} == "SunOS"
> +USE_LANGUAGES+= c99
> . if !empty(CC_VERSION:Mgcc*)
> PLIST_SUBST+= MH_NAME=mh-solaris-gcc
> . else
Normally this will allow mk/compiler/sunpro.mk to set the '-xc99'
flag by default for SunPro. It is harmless for gcc/clang which are
overridden in configure...
--
Richard PALO
Home |
Main Index |
Thread Index |
Old Index