Hoping someone can point out the error. I can't even get going with
ApacheDBI-0.87
Why are ApacheDBI modules installed into
/usr/lib/perl5/site_perl/5.005/Apache/ when mod_perl is installed to
/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/ ?
I am using stock (RPM) of perl, rest I'm building by hand.
Running the eg/startup.pl gives the same output as my own startup.pl...
- debug output,
[root@orion eg]# cd /usr/local/src/ApacheDBI-0.87/eg/
[root@orion eg]# perl startup.pl
Can't locate object method "module" via package "Apache" at
/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/DBI.pm line 202.
BEGIN failed--compilation aborted at startup.pl line 11.
- output of perl -v,
This is perl, version 5.005_03 built for i386-linux
- output of perl -V,
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=linux, osvers=2.2.5-22smp, archname=i386-linux
uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
09:11:51 edt 1999 i686 unknown '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lposix -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under linux
Compiled at Aug 30 1999 23:09:51
@INC:
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005
.
- version of ApacheDBI,
0.87
- version of DBI,
1.13
- used database
SQL Server 6.5 via DBD::ODBC-0.22
--
========================================================+
Mark Foster mdf@altrec.com ph4256880567x109 fx4256880590
Altrec is now ONLINE! http://www.altrec.com/
ApacheDBI-0.87
Why are ApacheDBI modules installed into
/usr/lib/perl5/site_perl/5.005/Apache/ when mod_perl is installed to
/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/ ?
I am using stock (RPM) of perl, rest I'm building by hand.
Running the eg/startup.pl gives the same output as my own startup.pl...
- debug output,
[root@orion eg]# cd /usr/local/src/ApacheDBI-0.87/eg/
[root@orion eg]# perl startup.pl
Can't locate object method "module" via package "Apache" at
/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/DBI.pm line 202.
BEGIN failed--compilation aborted at startup.pl line 11.
- output of perl -v,
This is perl, version 5.005_03 built for i386-linux
- output of perl -V,
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=linux, osvers=2.2.5-22smp, archname=i386-linux
uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
09:11:51 edt 1999 i686 unknown '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lposix -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under linux
Compiled at Aug 30 1999 23:09:51
@INC:
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005
.
- version of ApacheDBI,
0.87
- version of DBI,
1.13
- used database
SQL Server 6.5 via DBD::ODBC-0.22
--
========================================================+
Mark Foster mdf@altrec.com ph4256880567x109 fx4256880590
Altrec is now ONLINE! http://www.altrec.com/