At 20:16 Uhr +0000 17.01.2002, Finlay Dobbie wrote:
>On Thursday, January 17, 2002, at 01:17 am, Max Horn wrote:
>
>>I guess once the DB really works, we'll want to make storable-pm an
>>essential package, but at least during bootstrap, we have to go
>>without it. AFAIK this was the main problem holding back the DB
>>code, wasn't it, Finlay?
>
>Backslash found where operator expected at
>/Volumes/os9/DarwinStuff/sandbox/fink-finlayd-
>cache/perlmod/Fink/Package.pm line 384, near "store \"
> (Do you need to predeclare store?)
>syntax error at /Volumes/os9/DarwinStuff/sandbox/fink-finlayd-
>cache/perlmod/Fink/Package.pm line 384, near "store \"
>Compilation failed in require at
>/Volumes/os9/DarwinStuff/sandbox/fink-finlayd-
>cache/perlmod/Fink/Engine.pm line 27.
>BEGIN failed--compilation aborted at
>/Volumes/os9/DarwinStuff/sandbox/fink-finlayd-
>cache/perlmod/Fink/Engine.pm line 27.
>Compilation failed in require at
>/Volumes/os9/DarwinStuff/sandbox/fink-finlayd-cache/bootstrap.pl
>line 336.
>
>Related lines:
> if (eval { require Storable; 1; }) {
> print "Updating package index... ";
> store \@package_list, "$basepath/var/db/fink.db";
> print "done.\n";
> }
Maybe it would help to outsource the code that uses storable to a
seperate file, that gets only loaded when Storable is present?
Max
--
-----------------------------------------------
Max Horn
Software Developer
email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel