Re: problems with BerkeleyDB and apache
On Mon, 17 Sep 2001, Ask Bjoern Hansen wrote: [...] > try, > > export LD_PRELOAD=/usr/local/lib/libdb3.so > > before you start apache. It worked doing that. I first solved the problem by moving the db2 libs and headers before I compiled, but you solution seams cleaner to me apart from that I have to do it every time I start apache. What about compile time options? - gustav -- 1st graffitiist: QUESTION AUTHORITY! 2nd graffitiist: Why? Gustav Kristoffer Ek http://ek.dk/ +45 20 40 00 05
problems with BerkeleyDB and apache
trying to use BerkeleyDB with Apache/1.3.21-dev, but I keep getting "BerkeleyDB needs compatible versions of libdb & db.h ... you have db.h version 3.1.17 and libdb version 2.4.14" I have compiled BerkeleyDB to use db3, but apache is compiled to use db2, could it be the reason? It works just fine when I use BerkeleyDB without apache, but when I load the module from an apache proces I got the error. can I compile apache with db3 in any way? - gustav -- 1st graffitiist: QUESTION AUTHORITY! 2nd graffitiist: Why? Gustav Kristoffer Ek http://ek.dk/ +45 20 40 00 05
problems compiling Embperl 1.3.3 on MacOS X 10.0.4
When I try compiling Embperl, it dies when it comes to blib/arch/auto/HTML/Embperl/Embperl.bundle: cc -o blib/arch/auto/HTML/Embperl/Embperl.bundle -bundle -undefined suppress Embperl.o epmain.o epio.o epchar.o epcmd.o eputil.o epeval.o epapinit.o /usr/bin/ld: multiple definitions of symbol _embperl_module Embperl.o definition of _embperl_module in section (__DATA,__common) epmain.o definition of _embperl_module in section (__DATA,__common) epio.o definition of _embperl_module in section (__DATA,__common) epchar.o definition of _embperl_module in section (__DATA,__common) epcmd.o definition of _embperl_module in section (__DATA,__common) eputil.o definition of _embperl_module in section (__DATA,__common) epeval.o definition of _embperl_module in section (__DATA,__common) epapinit.o definition of _embperl_module in section (__DATA,__data) Any thing I can do to bugtraq and resolve this? - gustav -- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K +45 33147000, +45 2045, fax +45 33146200 http://www.netcetera.dk/
Re: problems with HTML::Embperl on macos x (darwin)
On Mon, 13 Nov 2000, Gerald Richter wrote: [...] > Does mod_perl build and run correctly ? Yes, it does. But I have a similar problem with Apache::Request though > If yes, we can maybe look at it's Makefile, to see what's different. you meen modperls' Makefile right? I think it has something to do with the way MacOS X handles libs and headers. It has something they call bundles, witch I think is some kind of pakage with both header and lib in it. It also uses 'dyld' shared object linker as I understand it. > If you find anything out, let me know I think I'll try asking the folks on the MacOS X list about this linker thing. - gustav -- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K +45 33147000, +45 2045, fax +45 33146200 http://www.netcetera.dk/
Re: problems with HTML::Embperl on macos x (darwin)
On Mon, 13 Nov 2000, Gerald Richter wrote: > >loading...dyld: /usr/bin/perl Undefined symbols: > >_ap_get_client_block > >... > > Mostly this is because the symbols have been striped from the Apache binary > after build. You can see the public symbols of the httpd binary with > > nm httpd > > are missing ones listed ? No one of them are listed. Think I have to figure out how the linker/compiler works on macos x in details. Any other suggestions? - gustav -- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K +45 33147000, +45 2045, fax +45 33146200 http://www.netcetera.dk/
problems with HTML::Embperl on macos x (darwin)
I have compiled the latest embperl from cpan (1.3b6) with apache support, but when I try make test I got: PERL_DL_NONLAZY=0 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl test.pl loading...dyld: /usr/bin/perl Undefined symbols: _ap_get_client_block _ap_log_error _ap_palloc _ap_pstrdup _ap_rflush _ap_rputc _ap_rwrite _ap_send_http_header _ap_set_content_length _ap_setup_client_block _ap_should_client_block _ap_table_add _ap_table_set make: *** [test_dynamic] Error 67 Versions is: Embedded Perl version v5.6.0 for Apache/1.3.15-dev (Darwin) mod_perl/1.24_02-dev running on macos x (darwin) and compiled with cc 2.7.2.1 what to do? - gustav -- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K +45 33147000, +45 2045, fax +45 33146200 http://www.netcetera.dk/
Re: problems compiling modperl under macos x pb
On Thu, 9 Nov 2000, Ken Williams wrote: > [EMAIL PROTECTED] (Gustav Kristoffer Ek) wrote: > >When I try compiling apache with modperl under macos x pb I got the > >folowing error. Both the source for apache and modperl is the latest > >cvs version. > > I couldn't get it to work either, but I don't have much experience > troubleshooting this stuff: Finally it worked. I found out, that the problem was about expanding maccros (dTHR and others) and appearantly the compiler on apples developer cd do preprocessing in an other way. Adding -traditional-cpp in the Makefile worked for me. - gustav -- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K +45 33147000, +45 2045, fax +45 33146200 http://www.netcetera.dk/
problems compiling modperl under macos x pb
When I try compiling apache with modperl under macos x pb I got the folowing error. Both the source for apache and modperl is the latest cvs version. I do it "the flexible way" perl Makefile.PL \ APACHE_SRC=../apache-1.3/src \ DO_HTTPD=1 \ USE_APACI=1 \ PREP_HTTPD=1 \ EVERYTHING=1 \ PERL_TRACE=1 make make install whitch goes fine, but when it comes to apache ./configure \ --prefix=/Library/WebServer \ --enable-module=status \ --enable-module=info \ --enable-module=rewrite \ --enable-module=digest \ --enable-module=proxy \ --enable-module=unique_id \ --activate-module=src/modules/perl/libperl.a make I got the folowin error: ===> src/modules/perl cc -O3 -I/System/Library/Perl/darwin/CORE -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DMOD_PERL_VERSION=\"1.24_02-dev\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.24_02-dev\" -DPERL_TRACE=1 -I../.. -I/System/Library/Perl/darwin/CORE -I../../os/unix -I../../include -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` -c mod_perl.c mod_perl.c:387: syntax error, missing `;' after `)' mod_perl.c:762: syntax error, missing `;' after `)' mod_perl.c:855: syntax error, missing `;' after `)' mod_perl.c:1165: syntax error, missing `;' after `)' mod_perl.c:1479: syntax error, missing `;' after `)' mod_perl.c:1479: illegal expression, found `register' mod_perl.c:1484: illegal expression, found `char' mod_perl.c:1485: illegal expression, found `int' mod_perl.c:1486: illegal expression, found `char' make[4]: *** [mod_perl.o] Error 1 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[1]: *** [build-std] Error 2 make: *** [build] Error 2 perl is v5.6.0 cc is 2.7.2.1 from the developer cd. Any hints? - gustav -- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K +45 33147000, +45 2045, fax +45 33146200 http://www.netcetera.dk/
Re: Virtual Hosting with Mod_perl?
On Wed, 26 Jan 2000, David Jourard wrote: > I know its a bit off-topic (my apologies) but I thought that for sure > someone from the list could recommend a web-hosting company that has a > virtual host account with mod_perl and SQL such as mySQL, mSQL and/or > Oracle, and possibly with your own apache web server, and of course good > tech support and performance. Check out <http://perl.apache.org/isp.html> thats just what you need :) - gustav -------- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K Telefon +45 33 14 70 00 / +45 20 40 00 05 - Faximile +45 33 14 62 00 Design, Webhotel, Mailhotel, UUCP & mod_perl http://www.netcetera.dk
Re: Another problem compiling Apache-Scoreboard-0.08
On Sun, 23 Jan 2000, Stas Bekman wrote: [...] > Gustav, I can build this version with no problems using the same > environment, but kernel 2.2.12. I thought that may be the > /usr/src/linux/include/linux/time.h has been changed, but according to > http://lxr.linux.no/diff/include/linux/time.h?v=2.3.28;diffvar=v;diffval=2.2.12 > it's the same. > > So I believe the difference you and me might have is in compiler version. > Mine is: (cc == gcc) gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 > release) Hmm... my gcc version is also egcs-2.91.66 19990314/Linux (egcs-1.1.2 release), any other hints? :) - gustav ------------ Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K Telefon +45 33 14 70 00 / +45 20 40 00 05 - Faximile +45 33 14 62 00 Webdesign, Webhotel, Mailhotel, UUCP & mere http://www.netcetera.dk/
Another problem compiling Apache-Scoreboard-0.08
I got the folowing error when compiling Apache::Scoreboard 0.08: make make[1]: Entering directory `/usr/src/cpan/build/Apache-Scoreboard-0.08/Dummy' cc -c -I../ -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/modules/perl -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/include -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/regex -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/os/unix -Dbool=char -DHAS_BOOL -I/usr/local/include -O2-DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fpic -I/usr/lib/perl5/5.00503/i686-linux/CORE DummyScoreboard.c In file included from DummyScoreboard.xs:2: /usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/include/scoreboard.h:150: field `start_time' has incomplete type /usr/lib/perl5/site_perl/5.005/i686-linux/auto/Apache/include/include/scoreboard.h:151: field `stop_time' has incomplete type make[1]: *** [DummyScoreboard.o] Error 1 make[1]: Leaving directory `/usr/src/cpan/build/Apache-Scoreboard-0.08/Dummy' make: *** [subdirs] Error 2 Line 150 and 151 in scoreboard.h looks like: struct timeval start_time; struct timeval stop_time; I'm using modperl 1.21_01-dev and perl 5.00503 on a i386 running linux 2.3.20. - gustav -------- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K Telefon +45 33 14 70 00 / +45 20 40 00 05 - Faximile +45 33 14 62 00 Webdesign, Webhotel, Mailhotel, UUCP & mere http://www.netcetera.dk/
Re: Mandrake 6.1 and Apache::Util loadproblem..
On Mon, 4 Oct 1999, Morten Bøgeskov wrote: > I've been trying to install mod_perl and Apache_1.3.9 on my mandrake > distribution, but thinga are not alle that well.. ... > Compiled apache and mod_perl (dso) with no problem... however.. > If I use the ``use Apache::Util qw(:all);''-statement, I get this > in my error_log: > [Mon Oct 4 08:23:12 1999] [error] Can't locate loadable object for module > Apache::Util in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux ... Try installing Apache::Util from cpan. - gustav -------- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K Telefon +45 33 14 70 00 / +45 20 40 00 05 - Faximile +45 33 14 62 00 Webdesign, Webhotel, Mailhotel, UUCP & mere http://www.netcetera.dk/
RE: HTML::Embperl and 'undefined symbol: perl_eval_sv'
On Sun, 3 Oct 1999, Gerald Richter wrote: > You should find the error message in > > test/tmp/test.err.log > I guess it will be the same as you get when running offline. # less test.err.log /usr/bin/perl: error in loading shared libraries: blib/arch/auto/HTML/Embperl/Embperl.so: undefined symbol: perl_eval_sv > I don't have the time now to install perl 5.005_61 here, but if you find > anything that have changed in perl I will be happy to correct Embperl. I'll go seking the diffs :) - gustav ------------ Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K Telefon +45 33 14 70 00 / +45 20 40 00 05 - Faximile +45 33 14 62 00 Webdesign, Webhotel, Mailhotel, UUCP & mere http://www.netcetera.dk/
RE: HTML::Embperl and 'undefined symbol: perl_eval_sv'
On Sun, 3 Oct 1999, Gerald Richter wrote: > > When I use HTML::Embperl for instance like: > > > > perl -MHTML::Embperl -e 'HTML::Embperl::Execute(some_embperl.epl)' > > > > I got: perl: error in loading shared libraries: > > /usr/local/lib/site_perl/5.00561/i686-linux/auto/HTML/Embperl/Embperl.so: > > undefined symbol: perl_eval_sv > > Does the "make test" runs without problem, or does it show the same error? make test complained about: ... pure.htm... ok plain.htm... make: *** [test_dynamic] Error 127 > The newest perl version I tried was 5.005_57, where it works without > problem. Maybe something has changed inside perl since that version? thanx, I'll try that :) - gustav -------- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K Telefon +45 33 14 70 00 / +45 20 40 00 05 - Faximile +45 33 14 62 00 Webdesign, Webhotel, Mailhotel, UUCP & mere http://www.netcetera.dk/
HTML::Embperl and 'undefined symbol: perl_eval_sv'
When I use HTML::Embperl for instance like: perl -MHTML::Embperl -e 'HTML::Embperl::Execute(some_embperl.epl)' I got: perl: error in loading shared libraries: /usr/local/lib/site_perl/5.00561/i686-linux/auto/HTML/Embperl/Embperl.so: undefined symbol: perl_eval_sv it seams that it can't be linked to perl. The versions is: Linux 2.3.10 5.005_61 built for i686-linux HTML-Embperl-1.2b9 there was no errors making the Embperl package. - gustav -------- Gustav Kristoffer Ek, Netcetera, Brolæggerstræde 4, 1211 København K Telefon +45 33 14 70 00 / +45 20 40 00 05 - Faximile +45 33 14 62 00 Webdesign, Webhotel, Mailhotel, UUCP & mere http://www.netcetera.dk/