Web Hosting Talk







View Full Version : RAQ2 Perl


WorldNet
02-06-2003, 05:32 PM
so I picked up this RAQ2 as a dedicated box for running a perlscript that eats alot of cpu

the problem is that the script needs LWP::Useragent and that needs at least Perl 5.005. The server comes with 5.004, and I was afraid if I upgraded it then I would hose the RAQ conrol panel. :bawling:

So I was attempting to install from source in a different location than where 5.004 is and I kept getting the following error when I do "make"


make: *** File `/usr/lib/gcc-lib/mipsel-linux/2.7.2/include/float.h' has modification time in the future
make: *** File `/usr/lib/gcc-lib/mipsel-linux/2.7.2/include/limits.h' has modification time in the future
make: *** File `/usr/lib/gcc-lib/mipsel-linux/2.7.2/include/stdarg.h' has modification time in the future
make: *** File `/usr/lib/gcc-lib/mipsel-linux/2.7.2/include/stddef.h' has modification time in the future
make: *** File `/usr/lib/gcc-lib/mipsel-linux/2.7.2/include/syslimits.h' has modification time in the future
make: *** File `/usr/lib/gcc-lib/mipsel-linux/2.7.2/include/va-mips.h' has modification time in the future
`sh cflags libperl.a miniperlmain.o` miniperlmain.c
CCCMD = cc -DPERL_CORE -c -Dbool=char -DHAS_BOOL -O2


do I need to update GCC or is there another problem?

any input would be appreciated...

CmptrWz
02-06-2003, 09:22 PM
to ME it looks like the server's time isn't set correctly. That is, however, just what it looks like to me.

WorldNet
02-06-2003, 11:24 PM
yeah I thought about that, but the time is correct...

CmptrWz
02-06-2003, 11:30 PM
In THAT case, why not just go edit them to change the modification time(just open them, maybe add a comment, and close them again)?

BruceT
02-07-2003, 05:56 AM
The default gcc on the RaQ2 is broken. You can find links to upgrade RPMS and directions at http://www.brtnet.org/linux/raq2mysql.htm.

It's a MySQL installation HOWTO for the RaQ2, but the first piece of it discusses fixing gcc...

WorldNet
02-07-2003, 06:47 AM
OK thanks I will give that a shot...