From: <RGi...@a1...> - 2002-03-18 08:18:21
|
> 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? Yes, that's a common problem, as I had to find out the past few days. The details are: on RH6.2, perl is configured with gcc and due to some glitch, a compiler option is added to the cppflags, which is ignored by gcc's version of cpp, but unfortunately not by other cpps. As I have learned, $Config{cpp} isn't really set to something useful after perl is configured, instead, $Config{cpprun} should be used. Don't ask me why... Anyway, I'll continue to fiddle around to get it portably running, in the meantime just remove the offending option... HTH, Roland -- RGi...@cp... |