On Mon, 2005-01-17 at 19:38 +0000, Tim Nicholson wrote:
I am trying to get the template toolkit installed under 9.2:-
/usr/bin/perl -MCPAN -e 'install "Template"'
but it fails in two places. Firstly when performing the database tests on the default 'test' mysql database (user test, null password) it comes up saying:-
t/dbi............ok 13/63Template process failed: DBI error - DBI connect failed: Unknown MySQL Server Host 'test' (1) FAILED 14: - template text 6 process FAILED: [% USE dbi -%]\n[% dbi.connect(da...
Which suggests to me that its using the db name as the server name by mistake, or perhaps its the wrong default user/pw but thats what used to work on previous SuSE.
Also setting the option to install XS Stash eventually leads to:-
/bin/sh: cc: command not found make[1]: *** [Stash.o] Error 127 make[1]: Leaving directory `/root/.cpan/build/Template-Toolkit-2.14/xs' make: *** [subdirs] Error 2 /usr/bin/make -- NOT OK
Anyone any ideas where to poke it now? I find the XS Stash error particularly obscure!
looks like you need to install gcc. Try rpm -q gcc to see if it's installed or try yast2 -i gcc to install it. -- Jack Morgan