On 4 Oct 01, Jason E. Stewart writes: > "David Fielding" <[EMAIL PROTECTED]> writes: > > > make > > make -C Handler static > > make[1]: Entering directory `/digital/local/src/XML-Xerces-1.5.6/Handler' > > cc -c -I. -IHandler -I/usr/local/src/xerces-c-src1_5_1/include > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O > > -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -KPIC > > -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE PerlContentCallbackHandler.cpp > > cc: No input file specified, no output generated > > make[1]: *** [PerlContentCallbackHandler.o] Error 1 > > make[1]: Leaving directory `/digital/local/src/XML-Xerces-1.5.6/Handler' > > make: *** [blib/arch/auto/Handler/Handler.a] Error 2 > > Hey David, > > I think this is because Perl is misconfigured. cc is giving an error > because it is a C++ file, what happens if you run 'make CC=CC' to > explicitly tell it to use the C++ compiler?
Jason, Is it really fair to say that Perl is misconfigured? Isn't it more accurate to say that perl's Configure.pm does not contain any information about compiling C++ source? I'm no perl or C++ expert, but this is the impression I get. I'm in the process of building perl-5.6.1 for four platforms, and paying attention to Configure.pm, with an eye to being able to build xerces-p on Digital. Maybe I'm wrong, but I don't see anything in Configure.pm about a C++ compiler or its options. Perhaps you have a chance with gcc, which can handle both C and C++ code with the same command and options. That's what I'm hoping, anyway. (But Perl's Configure and hints/dec_osf.sh are conspiring to make it very difficult to use gcc instead of ld!) I'll report back if I make any progress. Cheers, David ------------------------------------------------------------------- David Starks-Browning | [EMAIL PROTECTED] EMBL Outstation -- | The European Bioinformatics Institute | Wellcome Trust Genome Campus | tel: +44 (1223) 494 616 Hinxton, Cambridge, CB10 1SD, UK | fax: +44 (1223) 494 468 ------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
