Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Stas Bekman
Craig McMillon wrote: Sorry about just responding to you Stas and not the list(still getting use to that). Anyway yes, your suggestions below worked well. Thanks again. Great. Perhaps you want to save some white and lost hair to other kosh users and inform the person who created that perl that t

Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Craig McMillon
Sorry about just responding to you Stas and not the list(still getting use to that). Anyway yes, your suggestions below worked well. Thanks again. clm --- Stas Bekman <[EMAIL PROTECTED]> wrote: > Craig McMillon wrote: > > Here it is Thanks > > > > perl -V > > Summary of my perl5 (revision 5.0 ve

Re: Modperl 2.0 Not finding correct *.conf

2004-01-19 Thread Stas Bekman
steve larson wrote: OK, Point taken, can you point me to the document which outlines addition of LWP, CGI, etc. that's not a modperl issue. You should either go to search.cpan.org, grab the packages and install them. or you could use the cpan shell: perl -MCPAN -eshell cpan> install LWP CGI wha

Re: Modperl 2.0 Not finding correct *.conf

2004-01-19 Thread steve larson
Hello, embedded responses. Thanks for your support, :-) Steve Larson [EMAIL PROTECTED] --- Stas Bekman <[EMAIL PROTECTED]> wrote: > steve larson wrote: > > Hello, > > at this point, I have started from scratch with > a > > new > > Perl 5.8.2, and then rebuilt the modperl 2.0, with > new > > so

Re: Modperl 2.0 Not finding correct *.conf

2004-01-19 Thread Stas Bekman
steve larson wrote: Hello, at this point, I have started from scratch with a new Perl 5.8.2, and then rebuilt the modperl 2.0, with new source, source tree. I may still be missing some parts. Herein contains the error outputs from the make test. If you believe these are OK, then I would go on

Re: Modperl 2.0 Not finding correct *.conf

2004-01-19 Thread steve larson
Hello, at this point, I have started from scratch with a new Perl 5.8.2, and then rebuilt the modperl 2.0, with new source, source tree. I may still be missing some parts. Herein contains the error outputs from the make test. If you believe these are OK, then I would go on to the make install

Re: Input Connection Filters Problem with Apache 2.0.48 and mod_perl 1.99_12

2004-01-19 Thread Stas Bekman
Stas Bekman wrote: Mathias Herberts wrote: I solved my problem by adding a PerlModule .. directive in my Apache conf, but I saw nowhere in the documentation about modules that this directive was needed, maybe this is something to add to avoid repeating my problem. You mean the filter was

Re: [mp2] build problem mod_perl-1.99_12 and "make install DESTDIR"

2004-01-19 Thread Stas Bekman
Matthew Darwin wrote: If you build apache with ./configure \ --prefix=/kinnetics/component/httpd make install DESTDIR=/tmp/apache-kinnetics-$USER then when you try compiling mod_perl you get: perl Makefile.PL \ MP_AP_PREFIX=/tmp/apache-kinnetics-$USER/kinnetics/component/ht

Re: mod_perl2 (ModPerl::Registry) crashes httpd if request-object is used in a subroutine

2004-01-19 Thread Stas Bekman
Perrin Harkins wrote: Alexander Bergolth wrote: When I'm using the request-object in a subroutine without having passed it to the sub as a parameter, the apache child processes die with a segmentation fault when being reused. Well, it probably shouldn't segfault, but you can't do that. You are

Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Stas Bekman
Craig McMillon wrote: Here it is Thanks perl -V Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Platform: osname=linux, osvers=2.4.22-xfs+ti1211, archname=i386-linux-thread-multi uname='linux kosh 2.4.22-xfs+ti1211 #1 sat oct 25 10:11:37 est 2003 i686 gnu

Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Craig McMillon
Here it is Thanks perl -V Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Platform: osname=linux, osvers=2.4.22-xfs+ti1211, archname=i386-linux-thread-multi uname='linux kosh 2.4.22-xfs+ti1211 #1 sat oct 25 10:11:37 est 2003 i686 gnu

RE: File uploads using Apache:;request in mod_perl2

2004-01-19 Thread semuel
Hello There. Oh, and how could I forget. At the mason's wiki, There is a live discussion about it. http://www.masonhq.com/wiki/null?ApacheModPerl2 In general, I don't think that mason works well with Apache2. And here is the formal announcement: http://www.masonhq.com/docs/faq/#can_i_use_mason_wit

Re: /usr/bin/ld: cannot find -lperl

2004-01-19 Thread Stas Bekman
Craig McMillon wrote: I'm new to this so maybe what I'm about to say is incorrect. If so please attempt to correct me if possible. You shouldn't worry about that part, we are a friendly casper list. Just try to give us more context when asking questions in the future. Is it possible for me to se

Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Stas Bekman
Craig McMillon wrote: Better yet here's the complete error message: commmand: perl Makefile.PLAPACHE_SRC=/home/cmcmillo/src/apache_1.3.29 DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 error: Error Output for sanity check cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -DT

/usr/bin/ld: cannot find -lperl

2004-01-19 Thread Craig McMillon
I'm new to this so maybe what I'm about to say is incorrect. If so please attempt to correct me if possible. Is it possible for me to select which version of perl I use when building modperl? If so how would I do that? Could I do this via the makefile? Also I'm not attempting to install a binary

/usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Craig McMillon
Better yet here's the complete error message: commmand: perl Makefile.PLAPACHE_SRC=/home/cmcmillo/src/apache_1.3.29 DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 error: Error Output for sanity check cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -DTHREADS_HAVE_PIDS -

Re: cannot find -lperl?

2004-01-19 Thread Stas Bekman
Craig McMillon wrote: Has anyone gotten this type of error when installing modperl: /usr/bin/ld: cannot find -lperl? -mod_perl-1.28 -apache_1.3.29 You must have installed a binary rpm of apache/mp, but you don't have the exact perl binary package used to build that binary installed. (that's why it

cannot find -lperl?

2004-01-19 Thread Craig McMillon
Has anyone gotten this type of error when installing modperl: /usr/bin/ld: cannot find -lperl? -mod_perl-1.28 -apache_1.3.29 clm __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- Reporting bugs: http://perl.apache.o

Re: Re (3): perl sections howto?

2004-01-19 Thread Stas Bekman
gerard uolaquetalestem wrote: [...] Neither, let's look for add_config in search label ... i find! (http://perl.apache.org/docs/2.0/api/Apache/RequestUtil.html#C_add_config_) [...] Then, what object have i to use?? RequestUtil or ServerUtil? Apache->server->add_config() as I've suggested in the oth

Re: perl sections howto?

2004-01-19 Thread Stas Bekman
gerard uolaquetalestem wrote: But, Gerard, this should work for sure: use Apache::ServerUtil (); my $config = < $Location{'~ .*log$'} = { SetHandler => "perl-script", PerlResponseHandler => "Blogum::UserLog", PerlOptions => "+ParseHeaders", Allow => "from all",

Re: File uploads using Apache:;request in mod_perl2

2004-01-19 Thread Stas Bekman
semuel wrote: Hello There. No, this was changed to Apache::RequestRec and friends. See http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html Not really. Apache::RequestRec and Apache::Request are two different things. __ Stas B

Re: [Fwd: [Fwd: Apache::AuthenNTLM-2.04 Problems..]]

2004-01-19 Thread Shannon Eric Peevey
Shannon Eric Peevey wrote: I always get the output of: User not authenticated with error level 1 Hmmm... I was testing against my win2003 server, and was getting a positive. (Using this same code). So there may be a problem on your win2000 box. (Now, I do get the same error from the Auth

Re: Bandwidth limiting (per client or global)?

2004-01-19 Thread Raul Dias
Hi, I wrote a filter that would do that. It is really raw and simple, thought. It is working in a global basis, but it can be easily changed to work with different values in a per client, virtualdomain, path basis. It does not do it yet because I did not need that part. I am rewrinting it to w

Re: Re: perl sections howto?

2004-01-19 Thread gerard uolaquetalestem
>But, Gerard, this should work for sure: >use Apache::ServerUtil (); >my $config = < >$Location{'~ .*log$'} = { > SetHandler => "perl-script", > PerlResponseHandler => "Blogum::UserLog", > PerlOptions => "+ParseHeaders", > Allow => "from all", > }; > >EOI >Apache->ser

OT hint on FTPD with 'Alias Match'

2004-01-19 Thread c . hauser
Hello I'm using happily 'Alias Match' in Apache and dynamic handlers in Mason. For the content contributors we use MM Contribute via FTP. When they browse to a page which is represented by a file, they can edit directly. Assume that they visit: /fr/path/index.html but the file is accesib

Re (3): perl sections howto?

2004-01-19 Thread gerard uolaquetalestem
Hello again, these are my results about the discussion: - First, the obvious, the last problem about $Directory{'f:/projectes/sites/blogum.org'} = { PerlHeaderParserHandler => "module", Options => { All => "-Indexes", },

RE: File uploads using Apache:;request in mod_perl2

2004-01-19 Thread semuel
Hello There. No, this was changed to Apache::RequestRec and friends. See http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html Semuel. -Original Message- From: Pete Smith [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 6:07 PM To: 'Joe Schaefer' Cc: [EMAIL PROTECTED] Subj

Re: Segmentation Fault w/XML::XPath

2004-01-19 Thread Cory 'G' Watson
On Jan 19, 2004, at 10:51 AM, Ruslan U. Zakirov wrote: Cory 'G' Watson wrote: The following perl crashes my mod_perl-ed apache at startup. I've sent the same info to the libexpat and perl-xml lists, but noone seems to have any good ideas. So now I'll try you guys ;) use XML::XPath; my $xp = XM

Re: Segmentation Fault w/XML::XPath

2004-01-19 Thread Ruslan U. Zakirov
Cory 'G' Watson wrote: The following perl crashes my mod_perl-ed apache at startup. I've sent the same info to the libexpat and perl-xml lists, but noone seems to have any good ideas. So now I'll try you guys ;) use XML::XPath; my $xp = XML::XPath->new(xml => "Foo"); my $res = $xp->getNode

Segmentation Fault w/XML::XPath

2004-01-19 Thread Cory 'G' Watson
The following perl crashes my mod_perl-ed apache at startup. I've sent the same info to the libexpat and perl-xml lists, but noone seems to have any good ideas. So now I'll try you guys ;) use XML::XPath; my $xp = XML::XPath->new(xml => "Foo"); my $res = $xp->getNodeText("/config/name"); Th

RE: File uploads using Apache:;request in mod_perl2

2004-01-19 Thread Pete Smith
Sorry, I forgot to mention this too. I am defining $r as the request object, like in mod_perl1: my $r = Apache::Request->new(shift, TEMP_DIR => '/tmp/mason', ); Is this correct in mod_perl2? I'm sorry, but I'm not terribly clued up on mod_

RE: File uploads using Apache:;request in mod_perl2

2004-01-19 Thread Pete Smith
> In your mp1 code, you are simply slurping the upload into > $full_image_data; with apreq2 you can do that with a bucket > brigade via > > my $bb = $req->upload('image')->bb; > my $full_image_data = ""; > > while (my $b = $bb->first) { > $b->read(my $buffer); > $full_image_data .

Re: running 2 versions of apache and mod perl on the same machine

2004-01-19 Thread Malka Cymbalista
Thank you very much. We have successfully installed Apache 2 and modperl 2 as well as apache 1.3 and modperl1 on the same machine using the same perl library. thanks to all who gave their help. Malki Cymbalista Webmaster, Weizmann Institute of Science Rehovot, Israel 76100 Internet: [EMAIL PROTE