Linux on the Toshiba Satellite 1130

samtregar on 2003-04-14T21:41:37

I just got a new laptop from my generous employers, a Toshiba Satellite 1130. It's fast (2Ghz Celeron) and it has plenty of memory (512MB) and disk space (40GB). Unfortunately, it's somewhat difficult to get Linux running on it. I wrote up a document describing my progress, and you can read it here:

http://sam.tregar.com/toshiba_1130.html

I'm posting this here because Google indexes these journals and I figured it was the fastest way to get it up and searchable. I've submited the link to linux-laptop.net but they haven't updated their page in months. The idea of anyone else having to stumble through the flaming hoops I've already stumbled through is just terrible.

On a Perl-related note, as far as I can tell the Redhat 8 Perl breakage is fixed in Redhat 9. HTML::Template wouldn't install on Redhat 8 but it worked just fine in Redhat 9, even though Redhat 9 still defaults to a UTF-8 locale. Go figure.

-sam


HTML::Template on RH8

dws on 2003-04-14T21:58:34

I got HTML::Template installed by doing telling CPAN to do a "force" install.

% perl -MCPAN -e shell
cpan> force install HTML::Template

Brutal, but effective.

Re:HTML::Template on RH8

samtregar on 2003-04-15T05:41:39

Yes, that will work. But be aware that you haven't addressed the real problem and you might very well have to. The combination of RH8's default UTF8 locale with Perl 5.8.0's broken UTF8 locale system is not a safe one. You really should fix it by turning off the UTF8 locale settings in /etc/sysconfig/i18n. Then you won't need to ignore the results of my carefully crafted tests and you won't be subject to random failures deep in the regular expression system.

-sam

The UTF-8 fixature...

jhi on 2003-04-15T08:00:22

...was probably caused by the RedHat people picking up some of the related fixes from the Perl 5.8.1-to-be.

Re:The UTF-8 fixature...

Dom2 on 2003-04-15T08:33:21

Gah! It'd be nice if RedHat modified perl to actually list the patches that they'd applied when you run "perl -V". It'd make me feel a whole lot more comfortable with it...

-Dom

Re:The UTF-8 fixature...

samtregar on 2003-04-15T14:56:11

Did you look? My copy says:
  Locally applied patches:
        MAINT18379

-sam

Re:The UTF-8 fixature...

Dom2 on 2003-04-15T17:06:44

Really? Mine doesn't. And it's fairly vanilla, too:
% rpm -q perl
perl-5.8.0-55
% rpm -V perl
SM5....T   /usr/bin/perldoc
SM5....T   /usr/bin/pod2usage
SM5....T   /usr/bin/podchecker
SM5....T   /usr/bin/podselect
S.5....T   /usr/lib/perl5/5.8.0/ExtUtils/xsubpp
..5....T   /usr/lib/perl5/5.8.0/Term/ANSIColor.pm
S.5....T   /usr/lib/perl5/5.8.0/Term/Cap.pm
S.5....T   /usr/lib/perl5/5.8.0/Test/Builder.pm
S.5....T   /usr/lib/perl5/5.8.0/Test/More.pm
..5....T   /usr/lib/perl5/5.8.0/Test/Simple.pm
S.5....T   /usr/lib/perl5/5.8.0/Test/Tutorial.pod
S.5....T   /usr/lib/perl5/5.8.0/base.pm
S.5....T   /usr/lib/perl5/5.8.0/fields.pm
S.5....T   /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Digest/MD5.pm
S.5....T   /usr/lib/perl5/5.8.0/i386-linux-thread-multi/MIME/Base64.pm
S.5....T&nbsp ;  /usr/lib/perl5/5.8.0/i386-linux-thread-multi/MIME/QuotedPrint.pm
S.5....T&nbsp ;  /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Time/HiRes.pm
S.5....T   /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Digest/MD5/MD5.so
S.5....T&n bsp;  /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/MIME/Base64/Base64.so
S.5... .T   /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Time/HiRes/HiRes.so

Side note: why the heck can't slash display that properly?

-Dom

Re:The UTF-8 fixature...

samtregar on 2003-04-15T17:23:41

I have no idea what rpm -V shows you. I thought we were talking about perl -V:
$ perl5.8.0 -V

  ...

  Locally applied patches:
        MAINT18379

-sam

Re:The UTF-8 fixature...

Dom2 on 2003-04-15T20:05:53

I was saying that my "perl -V" output does not include any mention of what patches have been applied to it. I was then attempting to back it up by showing that my perl install is pretty much vanilla redhat. "rpm -V" checks files against what the rpm database says they should be. The "5" means md5 mismatch, the "T" means timestamp mismatch and so on. It would appear that I have been careless installing CPAN module, which is why the list of altered files is so long. :-(

Alas, though, still no indication of what patches RedHat have attached to my perl. Without looking at the source RPM anyway...

-Dom

Re:The UTF-8 fixature...

samtregar on 2003-04-15T21:52:13

And you're running Redhat 9? How odd. I guess I got a different Redhat 9 than you did!

-sam

Re:The UTF-8 fixature...

Dom2 on 2003-04-16T08:19:09

Nah, I'm on RedHat 8.0.

Doh. Big point hat to me for not mentioning that. :-(

-Dom

Re:The UTF-8 fixature...

nicholas on 2003-04-15T15:16:19

Gah! It'd be nice if RedHat modified perl to actually list the patches that they'd applied when you run "perl -V". It'd make me feel a whole lot more comfortable with it...

And is anyone surprised why on perl5-porters the first question to answer is "can this be replicated with a perl built from source?" Our source.