Skip Menu |

This queue is for tickets about the String-Ediff CPAN distribution.

Report information
The Basics
Id: 4646
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: String-Ediff

People
Owner: Nobody in particular
Requestors: fix [...] fixler.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: 0.09



Subject: Does not build from CPAN Shell (darwin/Mac OS X 10.2)
Hi. It looks like there's a small issue with the makefile: CPAN.pm: Going to build B/BO/BOXZOU/String-Ediff-0.03.tar.gz Checking if your kit is complete... Looks good Writing Makefile for String::Ediff cp lib/String/Ediff.pm blib/lib/String/Ediff.pm cc -c -D_GNU_SOURCE -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/System/Library/Perl/darwin-thread-multi/CORE" st_wrap.c cc -c -D_GNU_SOURCE -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/System/Library/Perl/darwin-thread-multi/CORE" st.c Running Mkbootstrap for String::Ediff () chmod 644 Ediff.bs rm -f blib/arch/auto/String/Ediff/Ediff.bundle LD_RUN_PATH="" cc -shared st_wrap.o st.o -o blib/arch/auto/String/Ediff/Ediff.bundle cc: unrecognized option `-shared' ld: Undefined symbols: _main _Perl_Gthr_key_ptr _Perl_Isv_undef_ptr _Perl_Isv_yes_ptr _Perl_Tmarkstack_ptr_ptr _Perl_Tna_ptr _Perl_Tstack_base_ptr _Perl_Tstack_sp_ptr _Perl_croak_nocontext _Perl_get_sv _Perl_mg_find _Perl_mg_get _Perl_newXS _Perl_sv_2iv _Perl_sv_2pv_flags _Perl_sv_isobject _Perl_sv_magic _Perl_sv_newmortal _Perl_sv_setiv _Perl_sv_setnv _Perl_sv_setpv _Perl_sv_setref_pv _Perl_sv_setsv_flags make: *** [blib/arch/auto/String/Ediff/Ediff.bundle] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
From: billy.zophar [...] gmail.com
This module does not build on Mac OS X 10.4 from CPAN or being built manually (perl Makefile.PL; make;) I get the same error output that the first person reported below. I should point out that this is failing because the -shared flag is NOT an option in GCC when compiled for Mac OS X. To build dynamic shared libraries, the -dynamic flag must be used. -shared isn't even implemented in GCC for OS X. I tried removing the building of shared libraries from the Makefile generated by Perl Makefile.PL, but to no avail, I still get the symbol errors. Can the maintainer please comment on this problem? Looks like this bug has been open for a long time. Thanks! Billy [guest - Thu Dec 11 17:55:37 2003]: Show quoted text
> Hi. It looks like there's a small issue with the makefile: > > CPAN.pm: Going to build B/BO/BOXZOU/String-Ediff-0.03.tar.gz > > Checking if your kit is complete... > Looks good > Writing Makefile for String::Ediff > cp lib/String/Ediff.pm blib/lib/String/Ediff.pm > cc -c -D_GNU_SOURCE -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 > -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "- > I/System/Library/Perl/darwin-thread-multi/CORE" st_wrap.c > cc -c -D_GNU_SOURCE -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 > -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "- > I/System/Library/Perl/darwin-thread-multi/CORE" st.c > Running Mkbootstrap for String::Ediff () > chmod 644 Ediff.bs > rm -f blib/arch/auto/String/Ediff/Ediff.bundle > LD_RUN_PATH="" cc -shared st_wrap.o st.o -o > blib/arch/auto/String/Ediff/Ediff.bundle > cc: unrecognized option `-shared' > ld: Undefined symbols: > _main > _Perl_Gthr_key_ptr > _Perl_Isv_undef_ptr > _Perl_Isv_yes_ptr > _Perl_Tmarkstack_ptr_ptr > _Perl_Tna_ptr > _Perl_Tstack_base_ptr > _Perl_Tstack_sp_ptr > _Perl_croak_nocontext > _Perl_get_sv > _Perl_mg_find > _Perl_mg_get > _Perl_newXS > _Perl_sv_2iv > _Perl_sv_2pv_flags > _Perl_sv_isobject > _Perl_sv_magic > _Perl_sv_newmortal > _Perl_sv_setiv > _Perl_sv_setnv > _Perl_sv_setpv > _Perl_sv_setref_pv > _Perl_sv_setsv_flags > make: *** [blib/arch/auto/String/Ediff/Ediff.bundle] Error 1 > /usr/bin/make -- NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible
From: Ryan Wagner
Reading another post on this board, I was able to get ediff to install using the following Makefile.PL: use ExtUtils::MakeMaker; use Cwd; WriteMakefile( NAME=>'String::Ediff', 'VERSION_FROM'=>'lib/String/Ediff.pm', LIBS=>$libs, OBJECT=>"st_wrap.o st.o", # LDDLFLAGS => "-shared", # OPTIMIZE => "-O2", CCFLAGS => "-D_GNU_SOURCE -Dbool=char -DHAS_BOOL -I/usr/local/include", ); Maybe the author can update his release? -Ryan Wagner On Thu Dec 11 17:55:37 2003, guest wrote: Show quoted text
> Hi. It looks like there's a small issue with the makefile: > > CPAN.pm: Going to build B/BO/BOXZOU/String-Ediff-0.03.tar.gz > > Checking if your kit is complete... > Looks good > Writing Makefile for String::Ediff > cp lib/String/Ediff.pm blib/lib/String/Ediff.pm > cc -c -D_GNU_SOURCE -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 > -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "- > I/System/Library/Perl/darwin-thread-multi/CORE" st_wrap.c > cc -c -D_GNU_SOURCE -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 > -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "- > I/System/Library/Perl/darwin-thread-multi/CORE" st.c > Running Mkbootstrap for String::Ediff () > chmod 644 Ediff.bs > rm -f blib/arch/auto/String/Ediff/Ediff.bundle > LD_RUN_PATH="" cc -shared st_wrap.o st.o -o > blib/arch/auto/String/Ediff/Ediff.bundle > cc: unrecognized option `-shared' > ld: Undefined symbols: > _main > _Perl_Gthr_key_ptr > _Perl_Isv_undef_ptr > _Perl_Isv_yes_ptr > _Perl_Tmarkstack_ptr_ptr > _Perl_Tna_ptr > _Perl_Tstack_base_ptr > _Perl_Tstack_sp_ptr > _Perl_croak_nocontext > _Perl_get_sv > _Perl_mg_find > _Perl_mg_get > _Perl_newXS > _Perl_sv_2iv > _Perl_sv_2pv_flags > _Perl_sv_isobject > _Perl_sv_magic > _Perl_sv_newmortal > _Perl_sv_setiv > _Perl_sv_setnv > _Perl_sv_setpv > _Perl_sv_setref_pv > _Perl_sv_setsv_flags > make: *** [blib/arch/auto/String/Ediff/Ediff.bundle] Error 1 > /usr/bin/make -- NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible
Subject: Re: [rt.cpan.org #4646] Does not build from CPAN Shell (darwin/Mac OS X 10.2)
Date: Sat, 5 May 2007 17:46:24 -0700 (PDT)
To: bug-String-Ediff [...] rt.cpan.org
From: Bo Zou <boxzou [...] yahoo.com>
Hi, Can you assign this bug to me? It is fixed in String::Ediff version 0.09. Thanks. Bo --- Guest via RT <bug-String-Ediff@rt.cpan.org> wrote: Show quoted text
> > Queue: String-Ediff > Ticket <URL: > http://rt.cpan.org/Ticket/Display.html?id=4646 > > > Reading another post on this board, I was able to > get ediff to install > using the following Makefile.PL: > > use ExtUtils::MakeMaker; > use Cwd; > > WriteMakefile( > NAME=>'String::Ediff', > 'VERSION_FROM'=>'lib/String/Ediff.pm', > LIBS=>$libs, > OBJECT=>"st_wrap.o st.o", > # LDDLFLAGS => "-shared", > # OPTIMIZE => "-O2", > CCFLAGS => "-D_GNU_SOURCE -Dbool=char -DHAS_BOOL > -I/usr/local/include", > ); > > > > Maybe the author can update his release? > > -Ryan Wagner > > > > > On Thu Dec 11 17:55:37 2003, guest wrote:
> > Hi. It looks like there's a small issue with the
> makefile:
> > > > CPAN.pm: Going to build
> B/BO/BOXZOU/String-Ediff-0.03.tar.gz
> > > > Checking if your kit is complete... > > Looks good > > Writing Makefile for String::Ediff > > cp lib/String/Ediff.pm blib/lib/String/Ediff.pm > > cc -c -D_GNU_SOURCE -Dbool=char -DHAS_BOOL
> -I/usr/local/include -O2
> > -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "- > > I/System/Library/Perl/darwin-thread-multi/CORE"
> st_wrap.c
> > cc -c -D_GNU_SOURCE -Dbool=char -DHAS_BOOL
> -I/usr/local/include -O2
> > -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "- > > I/System/Library/Perl/darwin-thread-multi/CORE"
> st.c
> > Running Mkbootstrap for String::Ediff () > > chmod 644 Ediff.bs > > rm -f blib/arch/auto/String/Ediff/Ediff.bundle > > LD_RUN_PATH="" cc -shared st_wrap.o st.o -o > > blib/arch/auto/String/Ediff/Ediff.bundle > > cc: unrecognized option `-shared' > > ld: Undefined symbols: > > _main > > _Perl_Gthr_key_ptr > > _Perl_Isv_undef_ptr > > _Perl_Isv_yes_ptr > > _Perl_Tmarkstack_ptr_ptr > > _Perl_Tna_ptr > > _Perl_Tstack_base_ptr > > _Perl_Tstack_sp_ptr > > _Perl_croak_nocontext > > _Perl_get_sv > > _Perl_mg_find > > _Perl_mg_get > > _Perl_newXS > > _Perl_sv_2iv > > _Perl_sv_2pv_flags > > _Perl_sv_isobject > > _Perl_sv_magic > > _Perl_sv_newmortal > > _Perl_sv_setiv > > _Perl_sv_setnv > > _Perl_sv_setpv > > _Perl_sv_setref_pv > > _Perl_sv_setsv_flags > > make: ***
> [blib/arch/auto/String/Ediff/Ediff.bundle] Error 1
> > /usr/bin/make -- NOT OK > > Running make test > > Can't test without successful make > > Running make install > > make had returned bad status, install seems
> impossible > > > >
Show quoted text
____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
fixed in version 0.09.