[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] saga of Perl 5.6.1
- Subject: [cobalt-users] saga of Perl 5.6.1
- From: "Jerry Blanton" <jerry@xxxxxxxxxxxxxxxx>
- Date: Sun Dec 30 13:18:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
I'm fairly new to Linux/Unix but have been mining this list for info and
answers to questions (it's been great!). I've read through the archives
regarding upgrading a Qube2 to Perl v5.6.1 and have now attempted it for
myself but it does not seem to be working properly.
When I did the config for Perl prior to make, I had it install in
/usr/local/ instead of just /usr/ so I have two versions of Perl on the
machine (I did this in order to avoid breaking the cobalt GUI which seems to
be the consensus of overwriting Perl with the newer version). config / make
/ make test and make install worked with no errors. excpet that I was warned
that perl was already on the path that I was installing. Otherwise no
problems.
The reason I need the newer version is that I want to use the Qube as an MP3
server for the SliMP3 device. The server side runs an mp3 server that needs
Perl v5.6.1. It also needs a module called Time-HiRes that I attempted to
make and install. When I ran make without any specific argument to use
5.6.1 the make and make test / make install went w/out a hitch but when I
attempted to invoke perl5.6.1 specifically I get an error:
--------------------------------------------------------------------
[root@cube Time-HiRes-01.20]# /usr/local/bin/perl Makefile.PL
Configuring...
Looking for usleep()...
You have usleep()
Looking for ualarm()...
You have ualarm()
Writing Makefile for Time::HiRes
Done configuring
Now you may issue 'make'. Do not forget also 'make test'.
[root@cube Time-HiRes-01.20]# make
cc -c -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"01.20\" -DXS_VERSION=\"01.20\" -fpic -I/usr/local/lib/perl5/5.6
.1/mips-linux/CORE -DHAS_USLEEP -DHAS_UALARM -DATLEASTFIVEOHOHFIVE HiRes.c
HiRes.c: In function `boot_Time__HiRes':
HiRes.c:355: `sv_yes' undeclared (first use this function)
HiRes.c:355: (Each undeclared identifier is reported only once
HiRes.c:355: for each function it appears in.)
make: *** [HiRes.o] Error 1
[root@cube Time-HiRes-01.20]#
------------------------------------------------
Anyone have a clue as to why this is happening? thanks!