You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by David Fielding <dl...@digilib.library.cornell.edu> on 2001/10/04 21:01:08 UTC
Installing Xerces Perl on Solaris 2.8
Hello,
I am trying to install Xerces Perl on Solaris 2.8. I have successfully
installed Xerces C++.
The message below comes up as a result of typing 'make' after first doing
a 'perl Makefile.pl'.
Someone else posted about this error a few months back. They never
solved the problem and moved on to something else.
Is there a fix to the problem below?
or
Do you know of another validating XML parser accessible via Perl?
Thanks,
David
----------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: Installing Xerces Perl on Solaris 2.8
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"David Starks-Browning" <st...@ebi.ac.uk> writes:
> 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?
> Perhaps you have a chance with gcc, which can handle both C and C++
Ahh.... Yes, you're correct. It's been so long since I built Perl, I
had forgotten that it doesn't actually ask about a C++ compiler. So it
works if you use gcc.
"David Fielding" <dl...@digilib.library.cornell.edu> writes:
> I'm using Sun's C compiler - cc.
Try running 'gmake CC=CC' to force it to use the C++ compiler.
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: Installing Xerces Perl on Solaris 2.8
Posted by David Starks-Browning <st...@ebi.ac.uk>.
On 4 Oct 01, Jason E. Stewart writes:
> "David Fielding" <dl...@digilib.library.cornell.edu> 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 | starksb@ebi.ac.uk
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: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: Installing Xerces Perl on Solaris 2.8
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"David Fielding" <dl...@digilib.library.cornell.edu> 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?
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: Installing Xerces Perl on Solaris 2.8
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"David Fielding" <dl...@digilib.library.cornell.edu> writes:
> Is there a fix to the problem below?
There isn't a known fix, however, I do have access to a Solaris 8 box
at sourceforge with the Sun compiler and gcc. Which are you using?
> Do you know of another validating XML parser accessible via Perl?
None that I know of.
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org