modperl digest subjects broken
List manager, I truly enjoy mod_perl. I enjoy just as much the numerous ideas and technologies that the mod_perl list exposes me to. However, I number amongst those that cannot handle the numerous list e-mails, and therefore rely on the digest. Unfortunately, the digest function appears to be partially broken. As is illustrated below, the subjects are not being included in the Topics section. I have noticed that 2 or 3 ppl have made this complaint before - I believe the first on Nov. 28th, and the most recent on Dec. 4th. However, there has yet to be any feedback (or at least, I could find no evidence in the mail archives.). I am assuming that this is a problem w/ the list software - if this is the case, is there a fix planned for this problem? thanks, -john marquart ---Illustration of what is being recieved in the digest--- modperl Digest 5 Dec 2000 23:42:00 - Issue 271 Topics (messages 11622 through 11660): (null) 11622 by: 11623 by: 11624 by: 11625 by: ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Rapid prototyping and mirroring
Hello, At various points in time I have seen ppl mention combinations of moudles that they use for content delivery. I have often seen combinations of AxKit and Mason being praised. Both of these seem to revolve around rapid prototyping and content delivery in a consistent (and hopefulyl attractive :) manner. I seem to recall, that some people where using this two tools in combination with perhaps a 3rd, to enable easy mirroring of websites. We are investigating a project which aims to allow both end-users and us to host extensive amounts of academic material for both publishing and peer-review applications. As part of this project, we are looking at the possibility of multiple mirror sites around the world. Is there a apache/mod_perl module that enables this? (i.e. an end-user add content at one sight, and upon committing it, it propogates to the other mirror sites?) Or am I just ficticiously remembering past postings. Also - I am sure I have read posts about text-search capabilities. However when I visited the apache/modperl modules page, I was unable to find any modules to assist in text-searches. Hoping that someone has the knowledge (or a better memory then me), -jamie John "Jamie" Marquart | This message posted 100% MS free. Digital Library SysAdmin| Work: 812-856-5174 Pager: 812-334-6018 Indiana University Libraries| ICQ: 1131494 D'net Team: 6265
Re: Perl as DSO...whats wrong with it, specifically?
On Tue, 25 Jul 2000, Jens-Uwe Mager wrote: > On Tue, Jul 25, 2000 at 04:04:12PM -0500, John Marquart wrote: > > In general - all of the previous threads on this topic have either gone > > off-list or were never resolved. > > Sorry, I dropped your last post onto the floor somehow. I will answer in > a seperate post about these. Many thanks - very much appreciated. > > even w/ these patches I was unable to build it successfully. I tried to > > use perl 5.6 as well - but ran into more problems (unrelated?) then I had > > w/ 5.00503. > > That is strange - what kind of errors do you get? > Using the following config. line: perl Makefile.PL EVERYTHING=1 USE_APACI=1 APACI_ARGS='--enable-shared=perl' Everything builds up to this point ... ===> src/modules/standard Target "all" is up to date. <=== src/modules/standard ===> src/modules/perl rm -f libperl.so ld -bhalt:4 -bM:SRE -bI:/usr/local/lib/perl5/5.00503/aix/CORE/perl.exp - bE:.exp -b noentry -lc -L/usr/local/lib -bI:/httpd.exp -o libperl.so mod_perl.lo perlxsi.lo perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo Apache.lo Constants.lo ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo File. lo Table.lo ld: 0706-004 Cannot find or read export file: .exp ld:accessx(): A file or directory in the path name does not exist. make: 1254-004 The error code from the last command is 255. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 2. Stop. Since the problem appears the improper definition of the export file (I believe mod_perl.exp) I tried to link it by hand - but I don't understand the .lo files. I also tried changing -bE:$(BASEEXT).exp to -bE:mod_perl.exp. Neither of these helped. I haven't messed w/ apxs much yet - but will try it when i have time. (my mod_perl problems have actually taken back seat at the moment) thanks for all your alls help! -jamie John "Jamie" Marquart | This message posted 100% MS free. Digital Library SysAdmin| Work: 812-856-5174 Pager: 812-334-6018 Indiana University Libraries| ICQ: 1131494 D'net Team: 6265
Re: Perl as DSO...whats wrong with it, specifically?
In general - all of the previous threads on this topic have either gone off-list or were never resolved. I spent several weeks trying various configurations w/ mod_perl-1.24 & apache 1.3.12 on an AIX 4.3.3 box running perl 5.00503 and using xlc as my compiler. I was never able to successfully compile a DSO mod_perl. However, most of the versions have a patch that needs to be applied to the dynamic loader code in perl. perl needs then to be recompiled before building mod_perl. even w/ these patches I was unable to build it successfully. I tried to use perl 5.6 as well - but ran into more problems (unrelated?) then I had w/ 5.00503. I wish I could offer you some secret key - but for me it has been a constant source of frustration. -john On Tue, 25 Jul 2000, blue wrote: > On Tue, 25 Jul 2000, Michael Nachbaur wrote: > > > I'm working with IBM (sorry! Its not my choice!) to try to get > > mod_perl compiled into their custom version of Apache, and their techs > > want to know why I can't run mod_perl as a DSO. So, I need to know, > > whats specifically wrong with it? Like, what are the repurcussions of > > it? This is going to be run under a lot of load as well. > > is this the continuation of a thread, or a new question? > > this has come up a lot in the mailing list.. have you checked the > archives? > > -- > Blue Lang Unix Systems Admin > QSP, Inc., 3200 Atlantic Ave, Ste 100, Raleigh, NC, 27604 > Home: 919 835 1540 Work: 919 875 6994 Fax: 919 872 4015 > > > John "Jamie" Marquart | This message posted 100% MS free. Digital Library SysAdmin| Work: 812-856-5174 Pager: 812-334-6018 Indiana University Libraries| ICQ: 1131494 D'net Team: 6265
Re: AIX, dlopen problem?
Jens-Uwe, Listees: Sorry that it has taken me about a week to get back to you. It has been busy, and this problem had backgrounded itself. Starting off w/ a fresh compliation of apache 1.3.12 & mod_perl 1.24, I ended up with the same errors as before. I then added the flags that you suggested to link my module. The httpd.exp file it expects for some reason is /httpd.exp. I copied the httpd.exp from src/support to /. At this point, the module compiled/linked correctly. I added the PerlModule line to the httpd.conf to include it, and achieved the same broken httpd. (See attached or below for details.) Attached is a (long) listing of both the compilation & linking as well as the 'dump -nv AuthenKerberos.so' that you suggested would be helpful. I tried to read the dump - however I just don't quite understand it. A few other notes: The module demands some mod_perl functions -> perl_cmd_perl_FLAG, perl_cmd_perl_TAKE1... (in attached file) which I was previously told were not usually exported by mod_perl, but I could put the symbol names in my mod_perl.exp file to help with linking. I added those symbol names before compiling mod_perl. (I also had some odd problems at the "perl Makefile.PL" stage -> If I left the arguments in a certain order it would work, another order would cause segfaults :( -> the make test worked fine when run by hand. Since the problem I am having was the exact same under this new configuration and the other - I am assuming this is something random and circumstantial.) thanks, jamie On Fri, 7 Jul 2000, Jens-Uwe Mager wrote: > On Thu, Jul 06, 2000 at 07:08:03PM -0500, John Marquart wrote: > > > Environment: > > AIX 4.3.3 > > xlc > > apache 1.3.12 > > mod_perl 1.22 > > perl 5.00503 (compiled w/ INSTALL patch, details below) > > > > I have had various difficulties trying to get mod_perl to compile > > successfully using perl 5.6.0, also w/ mod_perl 1.24. However, with the > > above configuration I have had no compilation problems. When I try to > > include a module in httpd.conf w/ a "PerlModule > > Apache::IU::AuthenKerberos" statement & then run apachectl start I get the > > following error message: > > > > bash-2.01# ./apachectl start > > Syntax error on line 191 of /usr/local/apache_perl.4/conf/httpd.conf: > > Can't load > > >'/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so' > > for module Apache::IU::AuthenKerberos: dlopen: > > >/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so: > > 30 > > >/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so36 > > ap_add_module 20 httpd36 ap_null_cleanup 21 httpd36 ap_palloc 22 httpd36 > > ap_register_cleanup 23 httpd at > > /usr/local/lib/perl5/5.00503/aix/DynaLoader.pm line 169. > > This suspicially looks like you have some imports in the AuthenKerberos > wrong. Modules that are plug-ins to Perl but at the same time need to > reference Apache symbols need some more ld flags to compile. The > Apache::src modules knows which: > > $ perl -MApache::src -le 'print Apache::src->new->otherldflags;' > -bI:/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/mod_perl.exp >-bI:/usr/local/apache/libexec/httpd.exp > > Add these to the link line of the AuthenKerberos module. If that still > does not work, I would need to examine the exact link command line and > the output of "dump -nv AuthenKerberos.so". > > -- > Jens-Uwe Mager > > HELIOS Software GmbH > Steinriede 3 > 30827 Garbsen > Germany > > Phone:+49 5131 709320 > FAX: +49 5131 709325 > Internet: [EMAIL PROTECTED] > John "Jamie" Marquart | This message posted 100% MS free. Digital Library SysAdmin| Work: 812-856-5174 Pager: 812-334-6018 Indiana University Libraries| ICQ: 1131494 D'net Team: 6265 Script command is started on Mon Jul 10 17:55:48 EST 2000.sh-2.01# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Apache::IU::AuthenKerberos sh-2.01# make mkdir blib mkdir blib/lib mkdir blib/lib/Apache mkdir blib/lib/Apache/IU cp AuthenKerberos.pm blib/lib/Apache/IU/AuthenKerberos.pm /usr/bin/perl "-I/usr/local/lib/perl5/5.00503/aix" "-I/usr/local/lib/perl5/5.00503" -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "Apache::IU::AuthenKerberos", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' /usr/bin/perl -I/usr/local/lib/perl5/5.00503/aix -I/usr/local/lib/perl5/5.00
AIX, dlopen problem?
Hallo all, I am having the most frustrating time getting a home brew module to work. Environment: AIX 4.3.3 xlc apache 1.3.12 mod_perl 1.22 perl 5.00503 (compiled w/ INSTALL patch, details below) I have had various difficulties trying to get mod_perl to compile successfully using perl 5.6.0, also w/ mod_perl 1.24. However, with the above configuration I have had no compilation problems. When I try to include a module in httpd.conf w/ a "PerlModule Apache::IU::AuthenKerberos" statement & then run apachectl start I get the following error message: bash-2.01# ./apachectl start Syntax error on line 191 of /usr/local/apache_perl.4/conf/httpd.conf: Can't load '/usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so' for module Apache::IU::AuthenKerberos: dlopen: /usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so: 30 /usr/local/lib/perl5/site_perl/5.005/aix/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so36 ap_add_module 20 httpd36 ap_null_cleanup 21 httpd36 ap_palloc 22 httpd36 ap_register_cleanup 23 httpd at /usr/local/lib/perl5/5.00503/aix/DynaLoader.pm line 169. at (eval 3) line 3 ./apachectl start: httpd could not be started I suspect that this has something to to w/ dynamically loaded libs due to the dlopen() portion of the message - however I have no idea where to look next to resolve the problem. a more detailed look at my environment: compile mod_perl + apache as follows: perl Makefile.PL USE_APACI=1 EVERYTHING=1 \ APACHE_PREFIX=/usr/local/apache_perl make make test make install Perl (w/ the patched dl_aix.xs file): Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=aix, osvers=4.3.3.0, archname=aix uname='aix hautbois 3 4 0073556b4c00 ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='-O', gccversion= cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 -I/us r/local/include' ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 -I/us r/local/include' stdchar='unsigned char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='ld', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW libc=, so=a, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp' cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(B ASEEXT).exp -b noentry -lc -L/usr/local/lib' Characteristics of this binary (from libperl): Built under aix Compiled at Jul 4 2000 18:34:39 @INC: /usr/local/lib/perl5/5.00503/aix /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/aix /usr/local/lib/perl5/site_perl/5.005 . Many thanks, -jamie John "Jamie" Marquart | This message posted 100% MS free. Digital Library SysAdmin| Work: 812-856-5174 Pager: 812-334-6018 Indiana University Libraries| ICQ: 1131494 D'net Team: 6265
perl_cmd_perl_TAKE*
Can anyone direct me to information on what the symbols perl_cmd_perl_TAKE* and perl_cmd_perl_FLAG refer to? On an AIX 4.3 box, I have successfully installed mod_perl for apache (1.22 & 1.3.12 respectively). My installation was performed from the mod_perl dir as "perl Makefile.PL EVERYTHING=1 USE_APACI=1 DO_HTTPD". It compiled and passed its tests fine. However, when attempting to install a local kerberos authentication module, I run into linking errors: LD_RUN_PATH="" ld -o blib/arch/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.00503/aix/CORE/perl.exp -bE:AuthenKerberos.exp -b noentry -lc AuthenKerberos.o ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_TAKE2 ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_TAKE1 ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_TAKE123 ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_FLAG ld: 0711-317 ERROR: Undefined symbol: perl_perl_merge_dir_config ld: 0711-317 ERROR: Undefined symbol: .ap_add_module ld: 0711-317 ERROR: Undefined symbol: .ap_palloc ld: 0711-317 ERROR: Undefined symbol: perl_perl_cmd_cleanup ld: 0711-317 ERROR: Undefined symbol: ap_null_cleanup ld: 0711-317 ERROR: Undefined symbol: .ap_register_cleanup ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. when I started to investigate, I found these symbols in: apache_1.3.12/src/modules/perl/libperl.a apache_1.3.12/src/modules/perl_config.o however, I could not locate the symbols anywhere else on the system (in particular the apache install dir, and libs dirs.) Any help would be greatly appreciated. I apologize if I have not included any pertinent information - and would be happy to supply an additional info. thanks, -jamie John "Jamie" Marquart | This message posted 100% MS free. Digital Library SysAdmin| Work: 812-856-5174 Pager: 812-334-6018 Indiana University Libraries| ICQ: 1131494 D'net Team: 6265