pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/33403: Can't build perl module written by C++



The following reply was made to PR pkg/33403; it has been noted by GNATS.

From: OBATA Akio <obata%lins.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/33403: Can't build perl module written by C++
Date: Tue, 2 May 2006 10:34:32 +0900

 On Tue, 02 May 2006 10:28:58, Johnny C. Lam wrote:
 > Could you please try the attached patch?  I believe it is more in the
 > spirit of how the Perl developers are currently trying to handle GCC
 > __attribute__ expressions in the Perl codebase.  Please let me know if
 > this works for you.
 
 Same error occured.
 
 ===> Building for p5-mecab-0.91
 c++ -c  -I/usr/pkg/include  -fno-strict-aliasing -pipe -I/usr/pkg/include -O2 
-I/usr/pkg/include -I/usr/include   -I/usr/pkg/include -I/usr/include    
-DVERSION=\"0.91\"  -DXS_VERSION=\"0.91\" -DPIC -fPIC 
"-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE"   MeCab_wrap.cxx
 In file included from MeCab_wrap.cxx:708:
 
/usr/pkgsrc/wip/p5-mecab/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2704:
 error: parse
    error before `__attribute__'
 
/usr/pkgsrc/wip/p5-mecab/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2714:
 error: parse
    error before `__attribute__'
 
/usr/pkgsrc/wip/p5-mecab/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2714:
 error: syntax
    error before `)' token
 
 --
 "Of course I love NetBSD":-)
 OBATA Akio / obata%lins.jp@localhost
 



Home | Main Index | Thread Index | Old Index