From: Ed R. <er...@pa...> - 2002-03-15 19:44:42
|
> > While trying to install IO-Tty-0.97_01 I get the following error: > > > > /home/root/IO-Tty-0.97_01# perl Makefile.PL > > Now let's see what we can find out about your system > > (logfiles of failing tests are available in the conf/ dir)... > > > > ERROR: cannot run the configured compiler cc_r > > (see conf/compilerok.log). Maybe you should build perl by > yourself? ... > Perl has been configured to use 'cc_r' as its C compiler, but noew it > cannot be found in the PATH. I had a similiar problem installing IO-Tty-1.0, but with "cpp". On my Red Hat 6.2 box, I was told that it couldn't find "cpp". Well, sure enough, "cpp" was in some exotic place so I added it to my PATH and tried again. This time, I got the complaint that "cpp" didn't like one of the options in its flags. I modified Config.pm to yank that offending option, and then the install went OK. That was with Perl 5.6.1 - perhaps there are issues with the production of Config.pm? > If you don't have 'cc_r' installed, > either edit Config.pm and change all commands and flags etc. to gcc > (ugh!) or build perl yourself using gcc. Also, ask your friendly > sysadmin for help. Funny. I'm so used to making minor patches to these things that I forgot completely about that problem until I read the post above. |