"Brett W. Denner" wrote:
>
> I just tried to install Inline-0.33.tar.gz, and had problems with Inline-C
> not recognizing my compiler. Here's the scenario and the problem (the
> solution remains TBD):
> The C compiler 'cc -n32' was not found on your system by searching your
> PATH. You can install Inline.pm without installing Inline::C. But you'll
> need to install another Inline language module (like Inline::Java for
> instance) to actually make any use of it.
>
> Do you want to install Inline::C? [n]
>
> I know I could re-compile perl (don't wanna) or modify Inline::C Makefile.PL
> (did), but this test should probably be changed to work with $cc strings
> which are valid on a command-line but not which are not valid file names.
Brett,
Thanks for the bug report. I obviously need to make this search smarter.
Let me set the record straight for all the others:
If 'perl Makefile.PL' complains that it can't find your compiler *and*
you know your compiler is properly installed, simply answer 'y' when it
asks you if you wish to install 'Inline::C'. Everything else should work
just fine. It's only the PATH search that is buggy. (NOTE: You still may
wish to email the error message to me so that I can account for all
variants of errors)
I needed to make 'Inline::C' optional so that people without C compilers
could still use Inline w/ Inline::Java and anything else that doesn't
need C. And I needed to guess a reasonable default for people using
automated install scripts.
I will fix this bug and release it this weekend. I want to wait that
long, so that any other bugs may pop up. (Now would be a good time to
report your bugs :)
BTW, I had no problems with the 10+ different (platform/version) install
tests I did before releasing. It's pretty hard to account for
everything. I appreciate your collective patience, and will appreciate
it more for the upcoming 0.40 release, where a *lot* of things will be
done differently.
I'll probably put out a couple prereleases and would appreciate everyone
banging the heck out of them!
Thanks again, Brian
--
perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf
("Just Another %s Hacker",x);}};print JAxH+Perl'