[ccache] Unable to install CCache on SunOS 5.10

Martin Pool mbp at sourcefrog.net
Fri Apr 24 00:03:31 MDT 2015


You don't need admin rights to debug the build.

On Thu, Apr 23, 2015, 10:57 PM Jeya Ganesh <jeyaganesh51 at gmail.com> wrote:

> Ok. I am a C/C++ developer but for accessing this machine with admin
> rights is a big process which will take long time as well. Is there
> anything that I need to do without admin rights..? Please let me know that,
> I shall try and let you know the status.
>
> Thanks,
> S. Jeya Ganesh
>
> On Thu, Apr 23, 2015 at 10:40 PM, Martin Pool <mbp at sourcefrog.net> wrote:
>
>> You're not doing anything wrong but there seems to be a portability
>> shortcoming. Is there someone in your workplace who knows C and has access
>> to this machine and can send a patch?
>>
>> On Wed, Apr 22, 2015 at 3:17 AM, Jeya Ganesh <jeyaganesh51 at gmail.com>
>> wrote:
>>
>>> Hi Team,
>>>
>>> I am unable to install ccache on my SunOS mahine. My machine has SunOS
>>> 5.10
>>> - Generic_142900-15 sun4u sparc SUNW,SPARC-Enterprise. I tried the
>>> following commands and getting the error as mentioned below.
>>>
>>> *> [sxxj1 at dvcz7937:~/CCache/ccache-3.2.1]make*
>>> make: Fatal error in reader: Makefile, line 69: Macro assignment on
>>> dependency line
>>>
>>> >* gmake*
>>>
>>> gcc -DHAVE_CONFIG_H
>>> -DSYSCONFDIR=/nfs/home02/sxxj1/CCache/ccache-3.2.1/etc
>>> -I. -I.  -g -O2 -Wall -W -c -o ccache.o ccache.c
>>> In file included from system.h:28,
>>>                  from ccache.h:4,
>>>                  from ccache.c:22:
>>>
>>> /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:85:
>>> parse error before `timestruc_t'
>>>
>>> /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:85:
>>> warning: no semicolon at end of struct or union
>>>
>>> /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:86:
>>> warning: data definition has no type or storage class
>>>
>>> /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:87:
>>> parse error before `st_ctim'
>>>
>>> /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:87:
>>> warning: data definition has no type or storage class
>>>
>>> /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:92:
>>> parse error before `}'
>>> In file included from
>>>
>>> /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/signal.h:110,
>>>                  from
>>>
>>> /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/signal.h:15,
>>>                  from system.h:41,
>>>                  from ccache.h:
>>> .
>>> .
>>> .ccache.c:2566: warning: implicit declaration of function `putenv'
>>> gmake: *** [ccache.o] Error 1
>>>
>>> *>which make*
>>> /usr/ccs/bin/make
>>> *>which gmake*
>>> /serve/public/unsupported/utils/bin/gmake
>>>
>>>
>>> Please let me know where I am doing mistake and assist me in solving this
>>> issue.
>>>
>>> Thanks.
>>> S. Jeya Ganesh
>>> _______________________________________________
>>> ccache mailing list
>>> ccache at lists.samba.org
>>> https://lists.samba.org/mailman/listinfo/ccache
>>>
>>
>>
>>
>> --
>> Martin
>>
>
>


More information about the ccache mailing list