I give up.  I've tried ppm, I've tried installing from
source, it continually fails.  Any assistance? 
Apologies for the length of this message, but I wanted
to cover everything that I've tried already.

Environment:  Windows 2000, perl v5.8.6 from
ActiveState, using PPM 3.1.    Attempting to install
Template-Toolkit 2.1.4.

The PPM attempt:

ppm> search template::toolkit
Searching in Active Repositories
  1. Template-Toolkit [2.14] a fast, flexible and
extensible template processing system
ppm> install 1
Package 1:
Error: no suitable installation target found for
package Template-Toolkit.

So it seems that PPM found Template-Toolkit just fine.
 But couldn't install it?  Er?  Note that I've
successfully installed plenty of other packages via
PPM.  I can provide the addresses of my repositories
if that would be helpful.

>From source, I run 'perl Makefile.pl' and it creates a
nice little Makefile.  Running the command 'perl -e
"print $^O"' returned MSWin32, as I'd expect.  The
Makefile.pl *should* set the compiler to nmake,
apparently.  However the make variable CC is set to cl
(on line 34).  Which is unfortunate, since I don't
have cl on this machine, I have nmake.  On line 555
the cl is hardcoded as a string, which doesn't make
much sense to me.

Did I mention that I don't have cl on this machine?

Of course the simple approach of making a cl.bat file
in my path (a batch file which accepts all parameters
and passes those to nmake) didn't work.  Nmake doesn't
accept the -G option that cl probably does.  For
reference, the exact error was:

cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HA
SH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG
-O1 -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\"
"-IC:\Perl\lib\CORE" Stash.c 
NMAKE : U1065: invalid option 'G' Stop.

The only other thing I have to note is that the
Makefile.pl does not find the installed version of
AppConfig:

Warning: prerequisite AppConfig 1.55 not found.

Installing AppConfig via ppm provided the same errors
as installing Template-Toolkit (namely, "no suitable
installation target found for package AppConfig").  So
I attempted to download and install the tar.gz file. 
It seemed at first to work, but no, it copied files
from one directory to another within my temp AppConfig
directory:

cp lib/AppConfig/Args.pm blib\lib\AppConfig\Args.pm
cp lib/AppConfig/CGI.pm blib\lib\AppConfig\CGI.pm
cp lib/AppConfig/File.pm blib\lib\AppConfig\File.pm
cp lib/AppConfig.pm blib\lib\AppConfig.pm
cp lib/AppConfig/Getopt.pm
blib\lib\AppConfig\Getopt.pm
cp lib/AppConfig/State.pm blib\lib\AppConfig\State.pm
cp lib/AppConfig/Sys.pm blib\lib\AppConfig\Sys.pm

None of this means that it was installed, but since
that was the only output from the execution of nmake
(after perl Makefile.pl) it seemed that it should have
worked.

>From what I've read of the tutorial, Template-Toolkit
seems like a nifty utility.  I'd love to be able to
use it.


                
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to