Re: [Openca-Users] Problem compiling: XML::Parser-2.23 important vice 2.34?

2004-08-17 Thread Kevin
On Fri, 2004-08-13 at 03:11, Michael Bell wrote:
 Kevin wrote:
 
  Or is this the problem?
  Can't locate XML/Parser.pm in @INC (@INC contains:
  ...
  
  I don't see XML/Parser.pm in @INC either.  How do I get it there given
  that I do have this module installed on my system?
 
 You can link it to a directory in you @INC array. Simply run find and 
 then create an appropriate link from one of your directories in @INC to 
 the file or a directory in the path of this file. The path must look 
 exactly like for the original file.
 

Hi again Michael and thanks for your suggestion here.  I tried it with
the following steps:

tombstone root # cat test.perl
#!/usr/bin/perl
print [EMAIL PROTECTED] is @INC\n;

tombstone root # ./test.perl
@INC is /etc/perl /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.4/i686-linux-thread-multi /usr/lib/perl5/5.8.4
/usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.2 .
tombstone root # cd /usr/local/lib/site_perl
tombstone site_perl # ln -s \
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/XML XML
tombstone site_perl # ls -l
total 0
lrwxrwxrwx1 root root   47 Aug 17 08:50 XML -
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/XML
tombstone site_perl # cd XML
tombstone XML # ls -l
total 156
drwxr-xr-x4 root root 4096 Aug 10 13:41 GDOME
-r--r--r--1 root root12554 Aug 10 13:41 GDOME.pm
-r--r--r--1 root root 2862 Aug 10 13:41 GDOME.pod
drwxr-xr-x3 root root 4096 Aug 10 13:54 LibXML
-r--r--r--1 root root31844 Aug 10 09:29 LibXML.pm
-r--r--r--1 root root 5338 Aug 10 09:29 LibXML.pod
-r--r--r--1 root root11061 Aug 10 09:29 LibXSLT.pm
drwxr-xr-x4 root root 4096 Aug 10 08:25 Parser
-r--r--r--1 root root27103 Aug 10 08:25 Parser.pm
drwxr-xr-x4 root root 4096 Aug 10 09:28 Sablotron
-r--r--r--1 root root29538 Aug 10 09:28 Sablotron.pm
-r--r--r--1 root root 7889 Aug 10 09:29 benchmark.pl
tombstone XML # ls -l Parser
total 48
drwxr-xr-x2 root root 4096 Aug 10 08:25 Encodings
-r--r--r--1 root root33917 Aug 10 08:25 Expat.pm
-r--r--r--1 root root 1571 Aug 10 08:25 LWPExternEnt.pl
drwxr-xr-x2 root root 4096 Aug 10 08:25 Style

So I'm thinking I've successfully linked the perl modules in
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/XML to a directory that is
in @INC.

However, when I run the ./configure and make commands now, I get a
slightly different error:

XML-Twig-3.09/MANIFEST
make[4]: Entering directory
`/mnt/tmp/working/openca-0.9.2-RC6/src/modules'
Checking if your kit is complete...
Looks good
Warning: prerequisite XML::Parser 2.23 not found.
Writing Makefile for XML::Twig
make[4]: Leaving directory
`/mnt/tmp/working/openca-0.9.2-RC6/src/modules'
make[4]: Entering directory
`/mnt/tmp/working/openca-0.9.2-RC6/src/modules/XML-Twig-3.09'
/usr/bin/perl5.8.4 speedup Twig.pm.slow  Twig.pm
Can't locate loadable object for module XML::Parser::Expat in @INC (@INC
contains: ../Digest-SHA1-2.02/blib/lib ../IO-Socket-SSL-0.92/blib/lib 
snipped for brevity
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.4/i686-linux-thread-multi /usr/lib/perl5/5.8.4
/usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.2 .) at
/usr/local/lib/site_perl/XML/Parser.pm line 14
Compilation failed in require at /usr/local/lib/site_perl/XML/Parser.pm
line 14.
BEGIN failed--compilation aborted at
/usr/local/lib/site_perl/XML/Parser.pm line 18.
Compilation failed in require at speedup line 5.
BEGIN failed--compilation aborted at speedup line 5.
make[4]: *** [Twig.pm] Fehler 255
make[4]: Leaving directory
`/mnt/tmp/working/openca-0.9.2-RC6/src/modules/XML-Twig-3.09'
make[3]: *** [XML-Twig-3.09] Error 2
make[3]: Leaving directory
`/mnt/tmp/working/openca-0.9.2-RC6/src/modules'
make[2]: *** [modules] Error 2
make[2]: Leaving directory
`/mnt/tmp/working/openca-0.9.2-RC6/src/modules'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/mnt/tmp/working/openca-0.9.2-RC6/src'
make: *** [src] Error 2

Strangely, when I run make a second time, immediately after getting this
error, it does complete successfully.  I'm not sure if it's skipping
over the portions that caused the failure initially or if it's including
them and getting it right the second time or what, but I'd still like to
resolve the problem with XML::Parser just on general principle---perhaps
this is a symptom of a more general problem with my perl installation
and I'd prefer to resolve it now rather than ignore it and have it cause
other problems later.

When I 

Re: [Openca-Users] Problem compiling: XML::Parser-2.23 important vice 2.34?

2004-08-17 Thread Kevin
I think I've found the problem now, but not sure about the best way to
fix it.

I used Tom Phoenix's perl module Inside to discover that, for some
reason, XML::Parser::Expat is installed on my system as:

i686-linux::XML::Parser::Expat (version 2.34) found in
/usr/lib/perl5/vendor_perl/5.8.4

I suppose one very difficult way to resolve the problem would be to
change all instances of XML::Parser::Expat in the OpenCA code to
i686-linux::XML::Parser::Expat, but that seems awfully silly.

Anyone have a suggestion on the best way to resolve this one?

Thanks.

-Kevin




---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: [Openca-Users] Problem compiling: XML::Parser-2.23 important vice 2.34?

2004-08-17 Thread Michael Bell
Hi Kevin,
you are missing some files from Expat:
/usr/lib/perl5 find . -name *xpat*
./site_perl/5.8.0/i586-linux-thread-multi/XML/Parser/Expat.pm
./site_perl/5.8.0/i586-linux-thread-multi/auto/XML/Parser/Expat
./site_perl/5.8.0/i586-linux-thread-multi/auto/XML/Parser/Expat/Expat.bs
./site_perl/5.8.0/i586-linux-thread-multi/auto/XML/Parser/Expat/Expat.so
The important thing is the auto area which must be linked too.
Michael
--
---
Michael Bell   Email: [EMAIL PROTECTED]
ZE Computer- und MedienserviceTel.: +49 (0)30-2093 2482
(Computing Centre)Fax:  +49 (0)30-2093 2704
Humboldt-University of Berlin
Unter den Linden 6
10099 Berlin   Email (private): [EMAIL PROTECTED]
Germany   http://www.openca.org
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


[Openca-Users] batchprocessor: finite statemachine and states

2004-08-17 Thread Michael Konietzka
I have a question regarding the batch interface.
If you use the batch interface to show a user and his processes,
you can actually select a process and edit some data.
For example you can add a state and remove a state.
With this interface you can edit the process to have two or even more states just
by adding them. But isn't this impossible in finite automata?
From my point of view a automata can only have one current state.
Additionally, you can execute a batchfunction independent from the current state?
How can this work?
Regards
 Michael
--
Dipl.-Inform. Michael Konietzka  Schlund + Partner AG
- Development UNIX - Brauerstraße 48
Webservices  D-76135 Karlsuhe
http://www.schlund.de/   Germany
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


[Openca-Users] too short symmetric keylength: General Error. 6251043.

2004-08-17 Thread Kevin
Hi List-

Many thanks for suggestions relating to my other posts here (some of
which I'm still trying to resolve), but I did get a successful
configure/make/make install of OpenCA according to the OpenCA Cookbook
that Johnny Gonzalez referred me to on a SuSE 9.0 box.  I'm still
struggling with this part on a Gentoo system, but with the SuSE system,
I may be suffering from a configuration problem, and that's what I'm
trying to resolve with this message.

I have the following error upon accessing https://localhost/ra

Error Aborting connection - you are using a too short symmetric
keylength ().
General Error. 6251043.

I saw in the archives in May where someone else had this problem and
Michael pointed out the solution by explaining that the keylength in
etc/access_control/ra.xml file was appraently the problem.

In my etc/access_control/ra.xml, I have the following:

openca
access_control
channel
typemod_ssl/type
protocolssl/protocol
source.*/source
asymmetric_cipher.*/asymmetric_cipher
asymmetric_keylength0/asymmetric_keylength
symmetric_cipher.*/symmetric_cipher
symmetric_keylength128/symmetric_keylength
/channel
...

And when I use Mozilla Firefox to view https://localhost/ra and click
the lock, it reports that the connection is encrypted with High-grade
Encryption (AES-256 256 bit).

Perhaps OpenCA doesn't know about the AES cipher?

Or is it this other thing that Michael mentioned in his reply to that
poster: The empty () at the end of the errormessage looks like a 
general problem with your SSL

I have no problems viewing other content over the https protocol.  Only
OpenCA stuff.

Any help here?

-Kevin




---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users