Ask a Question related to PERL Miscellaneous, Design and Development.
-
Cyde Weys #1
Template::Provider from CPAN
I'm trying to install slashcode, and I'm hitting this annoying error.
I get to the point where I run the bin/install-slashsite part (long
after installing Perl, MySQL, Apache, etc.), and get the following error:
Base class package "Template::Provider" is empty.
(Perhaps you need to 'use' the module which defines that
package first.) at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/Display/Provider.pm
line 34
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/Display/Provider.pm
line 34.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/Display.pm
line 44.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/Display.pm
line 44.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/Utility/Access.pm
line 30.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/Utility/Access.pm
line 30.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/Utility.pm
line 31.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/Utility.pm
line 31.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/DB/Utility.pm
line 9.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/DB/Utility.pm
line 9.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/DB.pm line 10.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Slash/DB.pm line 10.
Compilation failed in require at bin/install-slashsite line 18.
BEGIN failed--compilation aborted at bin/install-slashsite line 18.
Line 34 of Provider.pm reads:
use base qw(Template::Provider);
However, from CPAN, it says that Template::Provider is installed ... but
when I try to do "test Template::Provider" (after it compiles everything
and blah blah blah) I end up with the following error:
all skipped: XML::XPath v1.0 or later not installed
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/dbi.t 1 1 100.00% 1
9 tests skipped.
Failed 1/90 test scripts, 98.89% okay. 1/2514 subtests failed, 99.96% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Finding the 1 test script that failed, I see:
------
t/dbi............Use of uninitialized value in concatenation (.) or
string at t/dbi.t line 64.
DBI connect() failed:
Please ensure that your database server is running and that you specified
the correct connection parameters. If necessary, re-run the Makefile.PL
and specify new parameters, or answer 'n' when prompted:
- Do you want to run the DBI tests?
FAILED 1:
t/dbi............FAILED test 1
Failed 1/1 tests, 0.00% okay
------
So the dbi test cannot access my MySQL server ... that's strange. I can
easily get in from the commandline by simply typing mysql.
Also, here's another error I got during the install of the Bundle::Slash
package (specifically DBIx::Password)
##################Note!#########################
If you are not on the machine that will be using
these passwords this will most likely fail.
Now, lets test getDriver() by itself
Finding driver:mysql
Now, lets see if we can make create objects
Trying: <*my virtual name*>
install_driver(mysql) failed: Can't load
'/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so:
undefined symbol: mysql_ssl_set at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at blib/lib/DBIx/Password.pm line 31
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Could this be the cause? I'm not exactly familiar with all of this CPAN
stuff ...
Anyway, if someone is familiar with the installation of Slashcode, and
could help me out here, that would be great. Frankly I'm in way over my
head and I have no clue what to do from here.
(And FWIW, I'm running RedHat9).
Cyde Weys Guest
-
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails
FYI Have problem Upgrading perl packages from CPAN.pm version v1.61 to version v1.76) failed with final error messages: <stuff snipped> CPAN.pm:... -
ASP.NET and OLE DB Provider problems
Hi All, I have problem to accessing FoxPro database, located on Novell file server, over the VFPOLEDB.1 provider from my webservice. The... -
Listed in search.cpan.org but not www.cpan.org
Dear Y'all - I published the PeopleSoft.pm modules about a year ago and they're available via interactive CPAN and via the engine on... -
Problem with 'cc' command in CPAN makes (i.e., Bundle::CPAN)
I'm using the CPAN module to build my modules and have hung up just trying install Bundle::CPAN. Installing Data::Dumper, for example, shows a 'cc:... -
Provider error?
What is GetConnectionString? A function? Where is it? What does it say? Ray at work "Dean J. Garrett" <deanj_garrett@yahoo.com> wrote in...



Reply With Quote

