[cs615asa] Compile error using pkgsrc

Lisa Joseph ljoseph at stevens.edu
Mon Feb 15 13:42:07 EST 2010


Teddy,

Thanks for replying.
Yes, i am able to intall higher version of gcc.
But the problem is when i try to install other packages like python25, 
it throws error . I found that pkgsrc is using gcc for compiling and 
building python25. I confirmed it by copying gcc into /usr/pkg/bin from 
/usr/bin(which i had installed using OS native packet manager) and was 
able to build python25 successfully. I think /etc/mk.conf is refering 
to this gcc. But i dont know how to refer to higher versions of gcc so 
that other packages like python25 will sucessfully build.


Regards,
Lisa.

Teddy Reed wrote:


>Hello!
>
>You shouldn't need to install gcc 2.95, try something > 3, as in 
lang/gcc3.
>
>Though It sounds like you've tried that already, "I am able to install
>higher versions of gcc." Is there a reason you need version 2.95?
>
>-Teddy
>
>On Mon, Feb 15, 2010 at 11:08 AM, Lisa Joseph <ljoseph at stevens.edu> 
wrote:
>
>>
>> Hi All,
>>
>>
>> I am stuck in one particular portion of installing in pkgsrc.
>> I am installing gcc through pkgsrc but i am getting compiler error.I
>> tried two different pkgsrc versions and in two operating systems fedora
>> and ubuntu.The error is like this
>> "/usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/ch/decl.c: In function
>> 'start_struct':
>> /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/ch/decl.c:4451: error:
>> argument 'code' doesn't match prototype
>> /usr/pkgsrc/lang/gcc/work/gcc-2.95.3/gcc/ch/ch-tree.h:736: error:
>> prototype declaration"
>>
>> I am able to install higher versions of gcc.
>>
>> Did anybody run into similar issues or i missed installing anything? Or
>> is it like each operating system have their own version of pkgsrc?
>> If anybody knows about it or similar issue please reply.
>>
>> Regards,
>> Lisa.
>> _______________________________________________
>> cs615asa mailing list
>> cs615asa at lists.stevens.edu
>> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
>>
>
>
>
>-- 
>Theodore M. Reed V
>


------------------------------------------------------------------------


_______________________________________________
>cs615asa mailing list
>cs615asa at lists.stevens.edu
>https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
>


More information about the cs615asa mailing list