[Bins] new (l)user, bugs

Bill Clarke llib at computer.org
Wed Sep 24 12:30:52 BST 2003


g'day all,

just recently found and installed bins (1.1.23), which was an exercise
in itself.
installing on sparc-sun-solaris2.8, firstly with perl 5.6.1 and then
with 5.8.0.

the initial installs in both perls was full of errors when "test"-ing
several of the packages bins requires (e.g., , so i force installed
them.  then bins refused to run with an "unsupported conversion" error.
 i changed optimizeConversion to 1 instead of zero[1], which worked
around that problem.

but then i got the same error reported recently about Html::Template,
and the "quoting" workaround in Template.pm[2] fixed that problem.

and then i got another conversion problem when using bins_edit, which is
worked around by commenting out the converter assignment[3] (which
doesn't seem to be used anyway).

i suspect the Iconv bugs are solaris-specific, since i know it has
deficient capabilities in this area.

anyway, now that i have bins and bins_edit working, it's great!
unfortunately it will take far too long to install the supporting
software to get bins-edit-gui going so i cannot comment on that.

cheers,
/lib


[1]
--- bins        Tue Sep  9 21:54:55 2003
+++ /usr/local/bin/bins Tue Sep 23 11:54:04 2003
@@ -842,7 +842,7 @@

 # charset converters
 my ($xml2htmlConverter, $html2xmlConverter, $xml2localConverter);
-my $optimizeConversion = 0;    # this cause problem if set to 1,
+my $optimizeConversion = 1;    # this cause problem if set to 1,
                                 # I'm investigating why...


[2]
--- Template.pm.~1~     Fri Aug 30 06:39:18 2002
+++ Template.pm Tue Sep 23 13:41:02 2003
@@ -1907,7 +1907,7 @@
                     (.*) # $19 => $post - text that comes after the tag
                    $/sx) {

-      $which = uc($1); # which tag is it
+      $which = uc("$1"); # which tag is it

       $escape = defined $5 ? $5 : defined $15 ? $15 : 0; # escape set?


[3]
--- bins_edit   Tue Sep  9 21:54:55 2003
+++ /usr/local/bin/bins_edit    Tue Sep 23 16:20:36 2003
@@ -55,7 +55,7 @@
   print "Forcing encoding to $localEncoding\n" if ($verbose >=2);
 }
 }
-my $converter = Text::Iconv->new($localEncoding, "UTF-8");
+#my $converter = Text::Iconv->new($localEncoding, "UTF-8");

 # decode HTML entites which doesn't exist in XML
 sub decodeEntites{


-- 
/lib BillClarke PostdoctoralFellow CompSci ANU cs.anu.edu.au/CC-NUMA
http://llib.cjb.net llib at computer.org  tel:+61-2-6125x5687 fax:x0010
PGPid:B381EE7DB7D3E58F17248C672E2DA124ADADF444 GNU unix LaTeX XPilot
Buffy DrWho Goodies StarTrek XFiles Origami SML SMP MPI mozilla tcsh
Asimov Bear Clarke Donaldson Volleyball Ultimate Cricket emacs C++ X
Jordan Kay Lackey Martin Stasheff DeepPurple H&C KLF Queen PinkFloyd



More information about the Bins mailing list