Mailing List Archive

Embperl 2.3.0 in CPAN using deprecated libxml2 calls?
Hi,

I'm trying to build Embperl from CPAN on an RHEL 5 x86_64 server with
Apache 2 and Mod Perl 2.

I'm running into the following error while it tries to run "make":

/usr/bin/perl /usr/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
xs/Embperl/App/App.xs > xs/Embperl/App/App.xsc && mv
xs/Embperl/App/App.xsc xs/Embperl/App/App.c
Can't find typemap in /root/.cpan/build/Embperl-2.3.0-4NqiCo/xs/Embperl/App
make: *** [xs/Embperl/App/App.o] Error 2
make: *** Waiting for unfinished jobs....
In file included from driver/eplibxslt.c:25:
/usr/include/libxml2/libxml/DOCBparser.h:22:2: warning: #warning "The
DOCBparser module has been deprecated in libxml2-2.6.0"


My suspicions are that the "typemaps" are being called for incorrectly,
and here's why:

"...-typemap typemap xs/Embperl/App/App.xs > ..."

Looking in the Makefile, it seems that should call to '../../typemap'

Anyone got a suggestion to get around this?

Also, what's with the deprecated libxml2 call?

-R

--
Robby Desmond
BiblioVault Operations Assistant
University of Chicago Press
http://www.bibliovault.org/
ph: 773-834-2387
cell: 773-458-0959
rdesmond@press.uchicago.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl 2.3.0 in CPAN using deprecated libxml2 calls? [ In reply to ]
Um, to add a complication, make / make test / make install works on this
source *outside* of CPAN.

-R

On 6/28/2010 12:45 PM, Robby Desmond wrote:
> Hi,
>
> I'm trying to build Embperl from CPAN on an RHEL 5 x86_64 server with
> Apache 2 and Mod Perl 2.
>
> I'm running into the following error while it tries to run "make":
>
> /usr/bin/perl /usr/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp -typemap
> /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
> xs/Embperl/App/App.xs > xs/Embperl/App/App.xsc && mv
> xs/Embperl/App/App.xsc xs/Embperl/App/App.c
> Can't find typemap in /root/.cpan/build/Embperl-2.3.0-4NqiCo/xs/Embperl/App
> make: *** [xs/Embperl/App/App.o] Error 2
> make: *** Waiting for unfinished jobs....
> In file included from driver/eplibxslt.c:25:
> /usr/include/libxml2/libxml/DOCBparser.h:22:2: warning: #warning "The
> DOCBparser module has been deprecated in libxml2-2.6.0"
>
>
> My suspicions are that the "typemaps" are being called for incorrectly,
> and here's why:
>
> "...-typemap typemap xs/Embperl/App/App.xs > ..."
>
> Looking in the Makefile, it seems that should call to '../../typemap'
>
> Anyone got a suggestion to get around this?
>
> Also, what's with the deprecated libxml2 call?
>
> -R
>


--
Robby Desmond
BiblioVault Operations Assistant
University of Chicago Press
http://www.bibliovault.org/
ph: 773-834-2387
cell: 773-458-0959
rdesmond@press.uchicago.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Embperl 2.3.0 in CPAN using deprecated libxml2 calls? [ In reply to ]
Hi,

it might help to run

cd xs
make
cd ..
make


Of course this is not possible inside of CPAN.

Maybe it works now outside of CPAN, because the above steps has already run

Gerald


> -----Original Message-----
> From: Robby Desmond [mailto:rdesmond@press.uchicago.edu]
> Sent: Monday, June 28, 2010 9:01 PM
> To: embperl@perl.apache.org
> Subject: Re: Embperl 2.3.0 in CPAN using deprecated libxml2 calls?
>
> Um, to add a complication, make / make test / make install works on
> this
> source *outside* of CPAN.
>
> -R
>
> On 6/28/2010 12:45 PM, Robby Desmond wrote:
> > Hi,
> >
> > I'm trying to build Embperl from CPAN on an RHEL 5 x86_64 server with
> > Apache 2 and Mod Perl 2.
> >
> > I'm running into the following error while it tries to run "make":
> >
> > /usr/bin/perl /usr/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp -
> typemap
> > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
> > xs/Embperl/App/App.xs > xs/Embperl/App/App.xsc && mv
> > xs/Embperl/App/App.xsc xs/Embperl/App/App.c
> > Can't find typemap in /root/.cpan/build/Embperl-2.3.0-
> 4NqiCo/xs/Embperl/App
> > make: *** [xs/Embperl/App/App.o] Error 2
> > make: *** Waiting for unfinished jobs....
> > In file included from driver/eplibxslt.c:25:
> > /usr/include/libxml2/libxml/DOCBparser.h:22:2: warning: #warning "The
> > DOCBparser module has been deprecated in libxml2-2.6.0"
> >
> >
> > My suspicions are that the "typemaps" are being called for
> incorrectly,
> > and here's why:
> >
> > "...-typemap typemap xs/Embperl/App/App.xs > ..."
> >
> > Looking in the Makefile, it seems that should call to '../../typemap'
> >
> > Anyone got a suggestion to get around this?
> >
> > Also, what's with the deprecated libxml2 call?
> >
> > -R
> >
>
>
> --
> Robby Desmond
> BiblioVault Operations Assistant
> University of Chicago Press
> http://www.bibliovault.org/
> ph: 773-834-2387
> cell: 773-458-0959
> rdesmond@press.uchicago.edu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl 2.3.0 in CPAN using deprecated libxml2 calls? [ In reply to ]
Yes, there's clearly something about the CPAN shell that is running this
"funny". Jumping out to a command shell, stepping into the CPAN build
directory for Embperl and running the standard "make" sequence worked
perfectly.

I suppose asking CPAN what's wrong would be the next step if I had the
time...

-R

On 7/1/2010 10:49 AM, Gerald Richter - ECOS wrote:
> Hi,
>
> it might help to run
>
> cd xs
> make
> cd ..
> make
>
>
> Of course this is not possible inside of CPAN.
>
> Maybe it works now outside of CPAN, because the above steps has already run
>
> Gerald
>
>
>> -----Original Message-----
>> From: Robby Desmond [mailto:rdesmond@press.uchicago.edu]
>> Sent: Monday, June 28, 2010 9:01 PM
>> To: embperl@perl.apache.org
>> Subject: Re: Embperl 2.3.0 in CPAN using deprecated libxml2 calls?
>>
>> Um, to add a complication, make / make test / make install works on
>> this
>> source *outside* of CPAN.
>>
>> -R
>>
>> On 6/28/2010 12:45 PM, Robby Desmond wrote:
>>> Hi,
>>>
>>> I'm trying to build Embperl from CPAN on an RHEL 5 x86_64 server with
>>> Apache 2 and Mod Perl 2.
>>>
>>> I'm running into the following error while it tries to run "make":
>>>
>>> /usr/bin/perl /usr/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp -
>> typemap
>>> /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
>>> xs/Embperl/App/App.xs > xs/Embperl/App/App.xsc && mv
>>> xs/Embperl/App/App.xsc xs/Embperl/App/App.c
>>> Can't find typemap in /root/.cpan/build/Embperl-2.3.0-
>> 4NqiCo/xs/Embperl/App
>>> make: *** [xs/Embperl/App/App.o] Error 2
>>> make: *** Waiting for unfinished jobs....
>>> In file included from driver/eplibxslt.c:25:
>>> /usr/include/libxml2/libxml/DOCBparser.h:22:2: warning: #warning "The
>>> DOCBparser module has been deprecated in libxml2-2.6.0"
>>>
>>>
>>> My suspicions are that the "typemaps" are being called for
>> incorrectly,
>>> and here's why:
>>>
>>> "...-typemap typemap xs/Embperl/App/App.xs > ..."
>>>
>>> Looking in the Makefile, it seems that should call to '../../typemap'
>>>
>>> Anyone got a suggestion to get around this?
>>>
>>> Also, what's with the deprecated libxml2 call?
>>>
>>> -R
>>>
>>
>>
>> --
>> Robby Desmond
>> BiblioVault Operations Assistant
>> University of Chicago Press
>> http://www.bibliovault.org/
>> ph: 773-834-2387
>> cell: 773-458-0959
>> rdesmond@press.uchicago.edu
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>> For additional commands, e-mail: embperl-help@perl.apache.org
>
>


--
Robby Desmond
BiblioVault Operations Assistant
University of Chicago Press
http://www.bibliovault.org/
ph: 773-834-2387
cell: 773-458-0959
rdesmond@press.uchicago.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Embperl 2.3.0 in CPAN using deprecated libxml2 calls? [ In reply to ]
Hi,

could you check if there are any difference in the environment when running inside and outside of CPAN.

Gerald


> -----Original Message-----
> From: Robby Desmond [mailto:rdesmond@press.uchicago.edu]
> Sent: Thursday, July 01, 2010 6:13 PM
> To: embperl@perl.apache.org
> Subject: Re: Embperl 2.3.0 in CPAN using deprecated libxml2 calls?
>
> Yes, there's clearly something about the CPAN shell that is running
> this
> "funny". Jumping out to a command shell, stepping into the CPAN build
> directory for Embperl and running the standard "make" sequence worked
> perfectly.
>
> I suppose asking CPAN what's wrong would be the next step if I had the
> time...
>
> -R
>
> On 7/1/2010 10:49 AM, Gerald Richter - ECOS wrote:
> > Hi,
> >
> > it might help to run
> >
> > cd xs
> > make
> > cd ..
> > make
> >
> >
> > Of course this is not possible inside of CPAN.
> >
> > Maybe it works now outside of CPAN, because the above steps has
> already run
> >
> > Gerald
> >
> >
> >> -----Original Message-----
> >> From: Robby Desmond [mailto:rdesmond@press.uchicago.edu]
> >> Sent: Monday, June 28, 2010 9:01 PM
> >> To: embperl@perl.apache.org
> >> Subject: Re: Embperl 2.3.0 in CPAN using deprecated libxml2 calls?
> >>
> >> Um, to add a complication, make / make test / make install works on
> >> this
> >> source *outside* of CPAN.
> >>
> >> -R
> >>
> >> On 6/28/2010 12:45 PM, Robby Desmond wrote:
> >>> Hi,
> >>>
> >>> I'm trying to build Embperl from CPAN on an RHEL 5 x86_64 server
> with
> >>> Apache 2 and Mod Perl 2.
> >>>
> >>> I'm running into the following error while it tries to run "make":
> >>>
> >>> /usr/bin/perl /usr/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp -
> >> typemap
> >>> /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
> >>> xs/Embperl/App/App.xs > xs/Embperl/App/App.xsc && mv
> >>> xs/Embperl/App/App.xsc xs/Embperl/App/App.c
> >>> Can't find typemap in /root/.cpan/build/Embperl-2.3.0-
> >> 4NqiCo/xs/Embperl/App
> >>> make: *** [xs/Embperl/App/App.o] Error 2
> >>> make: *** Waiting for unfinished jobs....
> >>> In file included from driver/eplibxslt.c:25:
> >>> /usr/include/libxml2/libxml/DOCBparser.h:22:2: warning: #warning
> "The
> >>> DOCBparser module has been deprecated in libxml2-2.6.0"
> >>>
> >>>
> >>> My suspicions are that the "typemaps" are being called for
> >> incorrectly,
> >>> and here's why:
> >>>
> >>> "...-typemap typemap xs/Embperl/App/App.xs > ..."
> >>>
> >>> Looking in the Makefile, it seems that should call to
> '../../typemap'
> >>>
> >>> Anyone got a suggestion to get around this?
> >>>
> >>> Also, what's with the deprecated libxml2 call?
> >>>
> >>> -R
> >>>
> >>
> >>
> >> --
> >> Robby Desmond
> >> BiblioVault Operations Assistant
> >> University of Chicago Press
> >> http://www.bibliovault.org/
> >> ph: 773-834-2387
> >> cell: 773-458-0959
> >> rdesmond@press.uchicago.edu
> >>
> >> --------------------------------------------------------------------
> -
> >> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> >> For additional commands, e-mail: embperl-help@perl.apache.org
> >
> >
>
>
> --
> Robby Desmond
> BiblioVault Operations Assistant
> University of Chicago Press
> http://www.bibliovault.org/
> ph: 773-834-2387
> cell: 773-458-0959
> rdesmond@press.uchicago.edu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org