Re: Installing Slash (dyld errors)

2003-02-15 Thread Chris Nandor
In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Christian Schneider) wrote:

> I am trying to install Slash on Mac OS X with Perl 5.8.0. I can  
> configure, make, install everything without problems and  
> Apache/mod_perl seems to work fine. I cannot, however, use the Slash  
> installation. To be precise, I cannot use Slash::Apache::User. With  
> DYLD_PRINT_LIBRARIES turned on, I get the following output from Perl:

Slash::Apache::User requires some of the mod_perl symbols, and can only run 
under mod_perl.

This is normally not a problem, except when you go to rebuild the module, at 
which point Apache::ExtUtils tries to eval the module, and perl segfaults.  
On other platforms, it fails and puts the error in $@.  I patched 
Apache::ExtUtils locally to not do the eval; I am not sure what the Right 
Thing to do is.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/



Installing Slash (dyld errors)

2003-02-06 Thread Christian Schneider
Hi,

I am trying to install Slash on Mac OS X with Perl 5.8.0. I can  
configure, make, install everything without problems and  
Apache/mod_perl seems to work fine. I cannot, however, use the Slash  
installation. To be precise, I cannot use Slash::Apache::User. With  
DYLD_PRINT_LIBRARIES turned on, I get the following output from Perl:

use Slash::Apache::User;
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/Fcntl/Fcntl.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/DBI/DBI.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/Digest/MD5/MD5.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/HTML/Parser/ 
Parser.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/Cwd/Cwd.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/Opcode/Opcode.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/IO/IO.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/XML/Parser/Expat/ 
Expat.bundle
loading library: /sw/lib/libexpat.0.dylib
loading libraries for image: /sw/lib/libexpat.0.dylib
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/Socket/Socket.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/MIME/Base64/ 
Base64.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/POSIX/POSIX.bundle
loading libraries for image:  
/usr/local/perl5-8/Library/Perl/5.8.0/darwin/auto/Slash/Apache/ 
Apache.bundle
dyld: /usr/local/perl5-8/bin/perl Undefined symbols:
_ap_add_module
_ap_find_linked_module
_ap_null_cleanup
_ap_palloc
_ap_register_cleanup
_ap_remove_module
_perl_clear_symtab
_perl_cmd_perl_FLAG
_perl_cmd_perl_TAKE1
_perl_cmd_perl_TAKE2
_perl_get_startup_pool
_perl_perl_cmd_cleanup
Trace/BPT trap

I tried "fink rebuild expat" but that didn't help either. I tried the  
installation using the Perl 5.8 tutorial at Apple's and I tried it  
using Nathan's Perl-distribution (thank you, Nathan!). I'm afraid I  
have next to no knowledge about XS and don't really understand the  
setup with auto and bundle, any reading recommendation? And any ideas  
on resolving the issues above?


Best regards,

Christian