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

Wow thanks... So, my fears were right... I am now thinking of installing a local version of Perl under my home directory and a local installation of gcc as well. I guess this is quicker than getting the system configured correctly.

Any idea on how I can get a local Perl installation and a local gcc to go along with it? I read some topics on the Internet on how to do this.. but I'm not sure whether I need to get only a newer version of Perl, or whether I need to get both gcc and Perl, as a "pack"?

  • Comment on Re^2: GCC and Perl: Module installation error cc1

Replies are listed 'Best First'.
Re^3: GCC and Perl: Module installation error cc1
by shmem (Chancellor) on Aug 09, 2011 at 14:49 UTC
    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 Config.pm to some place included in the PERL5LIB environment variable, and edit Config.pm. Alternatively, build a local perl, probably tweaking the spec file of the system perl (from the source rpm).