Nate, take a look inside Twig.pm

Go to line 6832 and check it for syntax errors. In my case it looks like
this:

$data=~ s{([&<''])}{$XML::Twig::base_ent{$1}}g;

Yours probably will look like this:

$data=~ s{([&<"'])}{$XML::Twig::base_ent{$1}}g;

See the difference?

I had same error like you, perl -c Twig.pm doesn't showed anything, but
there is syntax error in line 6832.




> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Jorge Davila
> Sent: Friday, May 13, 2005 11:21 PM
> To: OpenCA
> Subject: Re: [Openca-Users] configure_etc.sh fails on all 
> templates with noerror messages
> 
> do you receive some error during the installation of Twig?
> 
> Maybe you need resolve some module dependency for Twig ....
> 
> El vie, 13-05-2005 a las 16:14 -0500, Nate Johnson escribió:
> > Jorge Davila wrote:
> > > There is a issued with Twig module ... you can check the 
> version of 
> > > Twig module ??? and check is only a version of Twig is 
> installed ...
> > 
> > Thanks so much for your help, Jorge. I removed the XML::Twig version
> > 3.15-r1 (from portage) and manually installed the version 
> that version
> > 3.09 (from open source). Now I get this error:
> > 
> > # sh configure_etc.sh
> > =================================================================
> > fixing directory: /usr/local/OpenCA/etc 
> > =================================================================
> > -------------begin file-----------------
> > template: ./backup.xml.template
> > target: ./backup.xml
> > XML/Twig.pm did not return a true value at 
> > /usr/lib/perl5/site_perl/5.8.5/OpenCA/Tools.pm line 428.
> > BEGIN failed--compilation aborted at
> > /usr/lib/perl5/site_perl/5.8.5/OpenCA/Tools.pm line 428.
> > Compilation failed in require at 
> /usr/local/bin/openca-configure line 7.
> > BEGIN failed--compilation aborted at 
> /usr/local/bin/openca-configure line 7.
> > 
> > In fact XML::Twig is simply unhappy:
> > 
> >  # cat test_twig.pl
> >  #!/usr/bin/perl
> >  use XML::Twig;
> >  # ./test_twig.pl
> >  XML/Twig.pm did not return a true value at ./test_twig.pl line 2.
> >  BEGIN failed--compilation aborted at ./test_twig.pl line 2.
> > 
> > Thanks,
> > Nate
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Oracle Space Sweepstakes 
> Want to be 
> > the first software developer in space?
> > Enter now for the Oracle Space Sweepstakes!
> > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> > _______________________________________________
> > Openca-Users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/openca-users
> 




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to