[ 
https://issues.apache.org/jira/browse/CLOWNFISH-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189170#comment-15189170
 ] 

Nick Wellnhofer commented on CLOWNFISH-81:
------------------------------------------

{noformat}
  Compiler:
    cc='g++', ccflags ='-fwrapv -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2',
{noformat}

That's what I expected. Your Perl is configured to use {{g++}} as C compiler. 
This will cause problems with most XS-based Perl distributions, so I'd suggest 
to rebuild your Perl, using {{gcc}} as compiler.

Unfortunately, our build system doesn't allow to change the C compiler that's 
used to build {{charmonizer}}. For a temporary workaround, you can try to 
change line 56 in {{compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm}} 
from

{noformat}
my $cc = $self->config('cc');
{noformat}

to

{noformat}
my $cc = 'gcc';
{noformat}

*Also note that 0.4.99_1 is a developer version. The current stable version is 
0.4.4.*

> Cannot install
> --------------
>
>                 Key: CLOWNFISH-81
>                 URL: https://issues.apache.org/jira/browse/CLOWNFISH-81
>             Project: Apache Lucy-Clownfish
>          Issue Type: Bug
>          Components: Charmonizer
>    Affects Versions: 0.4.4
>         Environment: Linux - gcc 4.9.1
>            Reporter: david martin
>
> When installing the latest stable release:
> perl Build.PL
> ld: warning: cannot find entry symbol _start; defaulting to 00000000004000b0
> Created MYMETA.yml and MYMETA.json
> Creating new 'Build' script for 'Clownfish-CFC' version '0.4.99_1'
> os: Linux 2.6.32-431.el6.x86_64
> perl version: v5.22.1
> gcc:  4.9.1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to