Now if I could only get the Oracle client to install I will be back to developing more code!
Thanks,
Tom
--On Monday, April 04, 2005 12:34 PM -0400 Stas Bekman <[EMAIL PROTECTED]> wrote:
Tom Caldwell wrote:I am having a problem install mod_perl on red hat 9 with apache 2.0.53 installed in dir /opt/apache2 (it runs).
I executed >perl Makefile.PL with options MP_USE_DSO=1 and MP_AP_PREFIX=/opt/apache2
which ran successfully. Then I executed >make and got the following results:
gcc -I/home/caldwell/perl/modperl/mod_perl-2.0.0-RC4/src/modules/per l -I/home/caldwell/perl/modperl/mod_perl-2.0.0-RC4/xs -I/opt/apache2/include -I/opt/apache2/include -I/opt/apache2/include -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm -I/opt/perl5.8.6/lib/5.8.6/x86_64-linux/CORE -DMOD_PERL -DMP_COMPAT_1X -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -O2 \ -c modperl_sys.c && mv modperl_sys.o modperl_sys.lo
modperl_sys.c:65:2: #error "modperl_sys_dlclose not defined on
this platform" make[1]: *** [modperl_sys.lo] Error 1 make[1]: Leaving directory `/home/caldwell/perl/modperl/mod_perl-2.0.0-RC4/src/modules/perl' make: *** [modperl_lib] Error 2
Tom, it comes from:
/* * Perl does not provide this abstraction. * APR does, but requires a pool. efforts to expose this area of apr * failed. so we roll our own. *sigh* */ int modperl_sys_dlclose(void *handle) { # if defined(MP_SYS_DL_DLOPEN) [...] # elif defined(MP_SYS_DL_DYLD) [...] # elif defined(MP_SYS_DL_HPUX) [...] # elif defined(MP_SYS_DL_WIN32) [...] # elif defined(MP_SYS_DL_BEOS) [...] # elif defined(MP_SYS_DL_DLLLOAD) [...] # elif defined(MP_SYS_DL_AIX) [...] # else # error "modperl_sys_dlclose not defined on this platform" return 0; # endif
This define comes from:
lib/ModPerl/Code.pm: (my $dlsrc = uc $Config{dlsrc}) =~ s/\.xs$//i; lib/ModPerl/Code.pm: print $h_fh "\n#define MP_SYS_$dlsrc 1\n";
On my machine it's:
% perl -V:dlsrc dlsrc='dl_dlopen.xs';
As you didn't follow my request to submit a proper bug report as explained at http://perl.apache.org/bugs/, I can't tell you more until you do so :)
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Tom Caldwell Vanderbilt University Medical Center