mod perl libapreq make test problem

2003-02-26 Thread Lamotte Denis
make test
t/httpd -f `pwd`/t/httpd.conf
dyld: t/httpd Undefined symbols:
_ap_null_cleanup
_ap_pcalloc
_ap_register_cleanup
_ap_table_add
_ap_table_get
_ap_table_set
_ap_table_unset
_hvrv2table
_mod_perl_tie_table
_perl_request_rec
_sv2request_rec
_ap_day_snames
_ap_month_snames
_ap_null_cleanup
make: *** [start_httpd] Trace/BPT trap

i think ive successfully compile apache with mod perl
and mod php.
i'm working on Mac osx 10.2.4 with perl 5.8.0
apache 1.3.27
mod perl 1.27
php 4.3.0

as soon as i activate in any httpd.conf an mod_perl
like:
Appache::request or ::Registry or :Cookie

i've got the same problem.

so if any one can help ( already 2 weeks ok nightmare
:-) )

cordially

Lamotte Denis

=
Lamotte Denis

+352021268760

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


Fwd: Re: mod perl libapreq make test problem

2003-02-17 Thread Lamotte Denis
 Remarque : message transféré en pièce jointe. 

=
Lamotte Denis

+352021268760

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
---BeginMessage---
yes david i've followed your own article, the only
thing is that i have to modify the script BUILD.SH
with
glibtoolize --automake -c -f
aclocal
autoconf
automake -a -c

adding a g before libtoolize because the script cannot
find libtoolize on my computer.

i use the following steps:
Configure Apache.

  dlamotte% cd apache_x.x.xx
  dlamotte% ./configure

Build mod_perl:

  dlamotte% cd ../mod_perl-1.27
  dlamotte% perl Makefile.PL \
APACHE_SRC=../apache_1.3.27/src NO_HTTPD=1 \
USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
  dlamotte% make

Build mod_php:

  dlamotte% cd ../php-4.3.0
  dlamotte% ./configure --with-apache=../apache_1.3.27
\
 --with-mysql --enable-track-vars
  dlamotte% make
  dlamotte% sudo make install

Reconfigure Apache to use mod_perl and PHP and build
it:

  dlamotte% cd ../apache_1.3.27
  dlamotte% ./configure \
 --activate-module=src/modules/perl/libperl.a \
 --activate-module=src/modules/php4/libphp4.a
 --with-layout=Darwin --server-uid=www \ 
 --server-gid=www --enable-module=most
  dlamotte% make

Test and install mod_perl

  dlamotte% cd ../mod_perl-1.27
  dlamotte% make test
  dlamotte% sudo make install.

Complete the Apache installation.

  dlamotte%  cd ../apache_1.3.27
  dlamotte% sudo make install

making the latest librapeq 1.1

dlamotte% cd ../httpd-apreq
dlamotte% sudo sh BUILD.sh
dlamotte%  ./configure
--with-apache-includes=/usr/include/httpd
dlamotte% make
dlamotte% sudo make install
dlamotte% perl Makefile.PL
dlamotte% make
dlamotte% make test - and the problems comes here :-(


Cordially

 --- David Wheeler [EMAIL PROTECTED] a écrit : 
On Sunday, February 16, 2003, at 09:37  AM, Lamotte
 Denis wrote:
 
  i think ive successfully compile apache with mod
 perl
  and mod php.
  i'm working on Mac osx 10.2.4 with perl 5.8.0
 
 Did you compile the libapreq C library before
 compiling 
 Apache::libapreq? See INSTALL.MacOSX in the libapreq
 distribution for 
 complete details. I've also published an update to
 may Build 
 Apache/mod_perl on Mac OS X article that covers
 this issue:
 
   

http://www.macdevcenter.com/pub/a/mac/2003/02/07/libapreq_update.html
 
 HTH,
 
 David
 
 -- 
 David Wheeler
 AIM: dwTheory
 [EMAIL PROTECTED] 
 ICQ: 15726394

 Yahoo!: dew7e

 Jabber: [EMAIL PROTECTED]
 Kineticode. Setting knowledge in motion.[sm]
  

=
Lamotte Denis

+352021268760

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

---End Message---


Fwd: mod perl libapreq make test problem

2003-02-17 Thread Lamotte Denis
I've found i nice url:
http://www.advogato.org/article/627.html
with this modification in config.pm :

What to do before attempting to compile ANY Perl
extensions
 more information: man 1 dyld
 The first thing you should do is change line 596 of
/System/Library/Perl/darwin/Config.pm to:
 lddlflags='-bundle -bundle_loader /usr/bin/perl
-lperl -L/System/Library/Perl/darwin/CORE'
 This causes perl extensions to be compiled with
two-level namespaces.  If you use flat namespaces, you
will have problems if two different dynamically
modules define the same symbol (the second one won't
import at all).  It has the added benefit that it lets
you know in advance if you're going to run into
undefined symbol problems, where undefined symbols are
suppressed in the flat namespace case.   

by doing this the problem goes worse in apperence
only!
the explanation of the error get clearer and appear
directly when doing the made command:
LD_RUN_PATH=/usr/local/src/httpd-apreq/Request/../blib/arch/auto/libapreq
cc  -bundle -bundle_loader /usr/bin/perl -lperl 
-L/System/Library/Perl/darwin/CORE Request.o  -o
../blib/arch/auto/Apache/Request/Request.bundle  
-L/usr/local/src/httpd-apreq/Request/../blib/arch/auto/libapreq
-lapreq  
ld: Undefined symbols:
_ap_null_cleanup
_ap_pcalloc
_ap_register_cleanup
_ap_table_add
_ap_table_get
_ap_table_set
_ap_table_unset
_hvrv2table
_mod_perl_tie_table
_perl_request_rec
_sv2request_rec
_ap_day_snames
_ap_find_path_info
_ap_get_client_block
_ap_getword
_ap_getword_conf
_ap_hard_timeout
_ap_ind
_ap_kill_timeout
_ap_log_rerror
_ap_make_array
_ap_make_dirstr_parent
_ap_make_table
_ap_month_snames
_ap_pfclose
_ap_pfdopen
_ap_popenf
_ap_psprintf
_ap_pstrcat
_ap_pstrdup
_ap_pstrndup
_ap_push_array
_ap_setup_client_block
_ap_should_client_block
_ap_table_do
_ap_unescape_url
make[1]: ***
[../blib/arch/auto/Apache/Request/Request.bundle]
Error 1
make: *** [subdirs] Error 2

i'm still in trouble so if you can help me

Cordially






=
Lamotte Denis

+352021268760

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



mod perl libapreq make test problem

2003-02-16 Thread Lamotte Denis
make test
t/httpd -f `pwd`/t/httpd.conf
dyld: t/httpd Undefined symbols:
_ap_null_cleanup
_ap_pcalloc
_ap_register_cleanup
_ap_table_add
_ap_table_get
_ap_table_set
_ap_table_unset
_hvrv2table
_mod_perl_tie_table
_perl_request_rec
_sv2request_rec
_ap_day_snames
_ap_month_snames
_ap_null_cleanup
make: *** [start_httpd] Trace/BPT trap

i think ive successfully compile apache with mod perl
and mod php.
i'm working on Mac osx 10.2.4 with perl 5.8.0
apache 1.3.27
mod perl 1.27
php 4.3.0

as soon as i activate in any httpd.conf an mod_perl
like:
Appache::request or ::Registry or :Cookie

i've got the same problem.

so if any one can help ( already 2 weeks ok nightmare
:-) )

cordially

Lamotte Denis

=
Lamotte Denis

+352021268760

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: mod perl libapreq make test problem

2003-02-16 Thread David Wheeler
On Sunday, February 16, 2003, at 09:37  AM, Lamotte Denis wrote:


i think ive successfully compile apache with mod perl
and mod php.
i'm working on Mac osx 10.2.4 with perl 5.8.0


Did you compile the libapreq C library before compiling 
Apache::libapreq? See INSTALL.MacOSX in the libapreq distribution for 
complete details. I've also published an update to may Build 
Apache/mod_perl on Mac OS X article that covers this issue:

  http://www.macdevcenter.com/pub/a/mac/2003/02/07/libapreq_update.html

HTH,

David

--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED]  ICQ: 15726394
   Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]
Kineticode. Setting knowledge in motion.[sm]