nand | 6 Oct 2003 23:24

LC III, NetBSD, and Perl

I'm having some problems with Perl for NetBSD 1.6(SBC) on my LC III. I've
tried several times to get Perl installed and working, but none of my
efforts have succeeded.

First, I tried installing Perl 5.6.1. It installed fine, but whenever I
try to use a module (such as when I use perl -V) it says:

Perl v80482.2147483648.2147483648 required--this is only v5.6.1, stopped at
/usr/pkg/lib/perl5/5.6.1/Exporter.pm line 3.
Compilation failed in require at 
/usr/pkg/lib/perl5/5.6.1/m68k-netbsd/Config.pm

line 2.
BEGIN failed--compilation aborted at

/usr/pkg/lib/perl5/5.6.1/m68k-netbsd/Config.pm line 2.
Compilation failed in require.
BEGIN failed--compilation aborted.

or if the module does not require a specific version of perl, it hangs
until I kill it with ^C.

Then I tried installing Perl 5.8, but I didn't have enough disk space
(my disk is only 150MB, so this is not a big surprise).

I also tried using Perl 5.6.0 from NetBSD 1.5, but that didn't run
because the applications and libraries were of different kinds
(Libraries (/usr/lib/libm.so.0.1) are ELF, /usr/pkg/bin/perl is "demand
paged").

(Continue reading)

John Klos | 7 Oct 2003 00:12

Re: LC III, NetBSD, and Perl

Hi,

> I'm having some problems with Perl for NetBSD 1.6(SBC) on my LC III. I've
> tried several times to get Perl installed and working, but none of my
> efforts have succeeded.

> Perl v80482.2147483648.2147483648 required--this is only v5.6.1, stopped at

Might I assume that you do not have an FPU? If this is the case, then you
can try the FPU-less Perl 5.6.1 binary package.

Let me know if this is the case; I'm about to put those binaries into
place on the NetBSD ftp server.

John Klos
Sixgirls Computing Labs

nand | 7 Oct 2003 18:05

Re: LC III, NetBSD, and Perl

John Klos <john <at> sixgirls.org> wrote:
> Might I assume that you do not have an FPU?

You might. I don't think I have one, but I don't really know and I don't know how to find out.

I did open up the Macintosh and look at the Logic Board. There are two big square chips on the board (one
labeled ZILOG, that's SCSI, and the other VLSI). Neither of them say "FPU" or "68 anything". There is also a
suspicious empty socket partially hiding underneath the ethernet card.

Low End Mac[1] and Apple's spec page[2] both say that the FPU is optional.

> you can try the FPU-less Perl 5.6.1 binary package.

I think that would be worth a try. The package I've been trying to use is "perl-5.6.1nb7.tgz" in 1.6/mac68k.

-nand

[1] http://www.lowendmac.com/lc/lciii.shtml
[2] http://docs.info.apple.com/article.html?artnum=112201

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

Riccardo Mottola | 8 Oct 2003 19:49
Picon
Favicon

gtk2 compile problem

Hello,

I need gtk2 as a dependency for a problem (giram). I am using pkgsrc.tar.gz
from maybe a week ago on 1.6.1 building I get:

cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -DG_DISABLE_CAST_CHECKS
-D_REENTRANT -I/usr/pkgsrc/x11/gtk2/work/.buildlink/include/glib/glib-2.0
-I/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/glib-2.0/include
-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-I/usr/pkgsrc/x11/gtk2/work/.buildlink/include
-I/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/include -O2
-I/usr/pkgsrc/x11/gtk2/work/.build
link/include -I/usr/pkgsrc/x11/gtk2/work/.buildlink-x11/include -Wall -c
pixops.c  -fPIC -DPIC -o .libs/pixops.o
pixops.c: In function `bilinear_quadrant':
pixops.c:1355: internal error--unrecognizable insn:
(insn 204 56 58 (set (reg:DF 17 %fp1)
        (const_double:DF (mem/u:DF (symbol_ref/u:SI ("*.LC10")) 0) 0 [0x0] 0
[0x0] 0 [0x0])) -1 (nil)
    (nil))
gmake[3]: *** [pixops.lo] Error 1

Any suggestions? In the binary packages for 1.6.1 I did not found gtk2 so I
could not just install the package.

Btw, what is the error? intermediate compiler code representation? it
doesn't look like C to me :-)

-Riccardo

(Continue reading)

John Klos | 8 Oct 2003 21:38

Re: LC III, NetBSD, and Perl

Hi,

> You might. I don't think I have one, but I don't really know and I don't
> know how to find out.
>
> I did open up the Macintosh and look at the Logic Board. There are two
> big square chips on the board (one labeled ZILOG, that's SCSI, and the
> other VLSI). Neither of them say "FPU" or "68 anything". There is also a
> suspicious empty socket partially hiding underneath the ethernet card.

Yes - the motherboard does not have one, but it can be added via many
ethernet cards. Since you don't have one, try Perl for fpu-less systems:
ftp://lilith.sixgirls.org/pub/NetBSD/perl-5.6.1nb9.tgz

Please let us know how it works.

John Klos
Sixgirls Computing Labs

nand | 9 Oct 2003 19:40

Re: LC III, NetBSD, and Perl

John Klos <john <at> sixgirls.org> wrote:
> try Perl for fpu-less systems:
> ftp://lilith.sixgirls.org/pub/NetBSD/perl-5.6.1nb9.tgz

It doesn't seem to work very well. I get this error:
bash-2.05b# pkg_add perl-5.6.1nb9.tgz
pkg_add: no pkg found for 'libiconv-1.9.1nb1', sorry.
pkg_add: autoload of dependency `libiconv-1.9.1nb1' failed!
pkg_add: no pkg found for 'libiconv', sorry.
pkg_add: autoload of dependency `libiconv>=1.9.1' failed!

This would be fine, but I can't find that version of libiconv! The only versions I can find for mac68k are
1.7nb2 and 1.8, and 1.8 is only for 1.6.1. Is it safe to ignore this error?

I tried this and every time I try to use a module it says "perl: Undefined PLT symbol "__gtdf2" (reloc type =
21, symnum = 217)"

Is there someplace where I can find a binary of this version of libiconv?

-nand

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

(Continue reading)

John Klos | 9 Oct 2003 23:03

Re: LC III, NetBSD, and Perl

Hi,

> > try Perl for fpu-less systems:
> > ftp://lilith.sixgirls.org/pub/NetBSD/perl-5.6.1nb9.tgz
>
> It doesn't seem to work very well. I get this error:
> bash-2.05b# pkg_add perl-5.6.1nb9.tgz
> pkg_add: no pkg found for 'libiconv-1.9.1nb1', sorry.

> This would be fine, but I can't find that version of libiconv! The only
> versions I can find for mac68k are 1.7nb2 and 1.8, and 1.8 is only for
> 1.6.1. Is it safe to ignore this error?

> Is there someplace where I can find a binary of this version of libiconv?

Oops! Sorry. Wasn't thinking. Sure, at the same place:
ftp://lilith.sixgirls.org/pub/NetBSD/libiconv-1.9.1nb1.tgz

The other binaries will be available soon...

John Klos
Sixgirls Computing Labs

nand | 10 Oct 2003 19:56

Re: LC III, NetBSD, and Perl

John Klos <john <at> sixgirls.org> wrote:
>> It doesn't seem to work very well. I get this error:

It still isn't working very well. I'm now/still getting _this_ error:

$ perl -V
perl: Undefined PLT symbol "__gtdf2" (reloc type = 21, symnum = 217)

Any idea what might be wrong? Do I need a 1.6.1 kernel?

-nand

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

Bruce O'Neel | 14 Oct 2003 12:17
Picon
Favicon

Re: LC III, NetBSD, and Perl

It still isn't working very well. I'm now/still getting _this_ error:

$ perl -V
perl: Undefined PLT symbol "__gtdf2" (reloc type = 21, symnum = 217)

Any idea what might be wrong? Do I need a 1.6.1 kernel?

--- 

Hmm, sorry, I didn't catch this sooner since I'm traveling (and will be out
of email contact for a few weeks soon.)

gtdf2 is a symbol in the 1.6 and 1.6.1 softfloat libc library.

You could try (carefull) downloading the libc.so file out of the base.tgz 
1.6.1 softfloat build and put it someplace (not /usr/lib/) and then
set LD_LIBRARY_PATH to include this file.  Then you might have success.

I was able to run perl 5.6.? on my 1.6.1 softfloat system and it did seem to
work, but, it was not heavily tested.

You can get base.tgz from 

ftp://lilith.sixgirls.org/pub/NetBSD/NetBSD-1.6.1/mac68k-softfloat/binary/sets

or 

ftp://reva.sixgirls.org/pub/NetBSD/m68k/NetBSD-1.6.1-mac-lc040/

or from http://edoneel.chaosnet.org/Downloads.html
(Continue reading)

Greg Haas | 14 Oct 2003 23:02

premature eof during install of base.tgz

Hello.

I googled one similar request from a couple years ago on this list but 
found no responses/solutions.

Mac SE/30, 20 MB RAM, 1GB HDD (900MP Root&Usr, 40MB swap, ~50MB HFS), 
Mode32 Installed.  NetBSD 1.6.1, Installer 1.1h, Booter 2.0.0.a10, 16MB 
RAM assigned to Installer...anything I'm forgetting?  Internal HDD with 
scsi ID set to zero.  Boot Mac OS off of Mac OS partition #1.  NetBSD 
binary sets, installer and booter are on Mac OS partition #2 (along 
with Mkfs).

Installer starts writing files then HDD starts chugging when the last 
line references ./bin/pax.  The next line, some minutes later reads: 
"Premature end of file reached".

Then that line shows up a bunch of times.

I've downloaded base.tgz a couple times.  All other .tgz files install 
without a problem.  I can't seem to boot, because I guess not enough of 
base.tgz was copied.  I get dumped into db.  (init missing?)  I tried 
cpin; write failed after several minutes of chugging along.  But even 
if I could successfully cpin base.tgz I can't boot into netBSD to unzip 
(or whatever) base.tgz.

I tried sysinst but don't have external CDROM and couldn't get out on 
network...so I'm back to traditional install.

Please?  Anyone?  What am I doing wrong?  I've been my head against 
this poor Mac for so long I'm afraid I'm missing something obvious.
(Continue reading)


Gmane