Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: GCC and Perl: Module installation error cc1

by shmem (Chancellor)
on Aug 09, 2011 at 14:49 UTC ( #919483=note: print w/replies, xml ) Need Help??

in reply to Re^2: GCC and Perl: Module installation error cc1
in thread GCC and Perl: Module installation error cc1

Any idea on how I can get a local Perl installation and a local gcc to go along with it?

Er... yes. But last time I built my own gcc was gcc 1.83 on a SPARCstation ELC, and building stage1 through stage3 took 3 days... Why don't you just blame the admins of that box and let them do the job?

Another method that might work for you... grab the desired RPM package, dump it into your home directory with

server$ mkdir gcc; cd gcc server$ rpm2cpio ~/gcc*.rpm | cpio -i --make-directories

and set the search path and the spec file. You will have to tweak the cflags or such of your perl, that might work copying to some place included in the PERL5LIB environment variable, and edit Alternatively, build a local perl, probably tweaking the spec file of the system perl (from the source rpm).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://919483]
choroba's discovered two instances of a weird animal in the code at work: \@$var
[Eily]: hum, tied scalar, generates a new array when derefed ? :D
[Corion]: choroba: Ah, when doing a shallow copy, I prefer [ @$var ] - I think \@$var might return the same reference instead of a reference to a fresh copy
[Corion]: perl -wle "my $ar = [1,2,3]; my $br=\@$ar; print qq($ar / $br)" confirms this to me
[karlgoethebier]: "discovered" this to sum an array: perl -E 'say scalar map {1 .. $_} (1..3);'

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-09-26 08:45 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (293 votes). Check out past polls.