On 11/5/04 5:59 PM, in article
[EMAIL PROTECTED], "Jason
Gottshall" <[EMAIL PROTECTED]> wrote:

>> mkdir tt_c: Permission denied at
>> /Library/Perl/5.8.4/darwin-2level/Template/Provider.pm line 398
>> 
>> I have:
>> 
>> my $tt = Template->new({
>>   INCLUDE_PATH => 'tt/:lib/',
>>  COMPILE_DIR => 'tt_c/',
>>  COMPILE_EXT => '.ttc',
>> });
> 
> You probably don't want TT creating the directory for you. Creating the
> directory on the filesystem first, then give TT an absolute path to it.
> So, if you want your compiled templates stored in '/mydir/tt_c', use
> this:
> 
> my $tt = Template->new({
> INCLUDE_PATH => 'tt/:lib/',
> COMPILE_DIR => '/mydir/tt_c/',
> COMPILE_EXT => '.ttc',
> });
> 
> Then the templates that are found under 'tt/' will be stored in
> '/mydir/tt_c/tt/', etc.
I tried. Once I did that it told me it couldn't create the actual .ttc file.
So it must be a permission. I am new to OSX/Unix and gave it a 0755 (I
think).

Robert



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

Reply via email to