------------------------------------------------ On Thu, 13 Feb 2003 10:17:47 -0500, "Paul Kraus" <[EMAIL PROTECTED]> wrote:
> I am trying to build Compress-Zlib-1.19 on sco openserver 5. GCC is > installed from skunkware but it seems to try and use CC. I do not have > the sco development software installed so CC is not there. > > Running Perl 5.6.0 which is a whole other problem I cant get Perl 5.8 to > build on this machine either. However I think the problems are related. > I have been hammering away at this for about 2 weeks now and I am > getting nowhere any help would be very appreciated. > > $ perl Makefile.PL > > Parsing config.in... > > Looks Good. > > Up/Downgrade complete. > > Writing Makefile for Compress::Zlib > > $ make > > Skip blib/lib/Compress/Zlib.pm (unchanged) > > cc -c -I/usr/local/include -UM_XENIX -DPERL_SCO -DPERL_SCO5 -w0 -belf > -O0 -D > VERSION=\"1.19\" -DXS_VERSION=\"1.19\" -Kpic > -I/usr/lib/perl5/5.6.0/i486-pc-sco3 > .2v5.0/CORE Zlib.c > > make: cc: Command not found > > make: *** [Zlib.o] Error 127 > > $ pwd > > /pm6/Compress-Zlib-1.19 > Well no one else has taken a stab so I thought I would bite ;-)... It appears on the Solaris 8 box I have here that the Makefile (for most modules, not sure about Compress-Zlib) is built using defaults from the Config.pm that is generated based on the compile time options of Perl itself. So I am assuming that your Perl is built with cc but was installed in a binary fashion, which is why no cc was found (perl -V to check). That leaves 3 things to try (at least that I can see initially and in my somewhat limited experience with such issues), edit the Config.pm (scary) to point to gcc instead of cc, edit the Makefile that is created after using (perl Makefile.PL) (less scary, though still scary), or to see if you can force the CC switch of the 'perl Makefile.PL' not unlike you can pass it PREFIX=/path, etc. I looked (briefly) and could not find where this was an option, but it sure seems like it would be, if this will work then I would think this would be the least scary. I would assume that you will have to also check any flags passed to the ! compiler, I don't know if both cc and gcc take the same switches, etc. The other concern I would have would be whether Perl built with cc and Perl modules built with gcc play well together, seems like it wouldn't matter but I can't attest to that. Lastly whatever you do you are probably going to have to test the hell out of it all to sleep well at night .... As far as Perl 5.8.0 not installing, it would seem like this might be an easier issue to solve for some of the gurus here, what error messages were given? I assume you have the proper development packages installed, aka all the headers, etc. that are required, whatever those may be. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]