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 "Jason E. Stewart" <ja...@openinformatics.com> on 2001/10/05 20:08:50 UTC

Re: HP-UX support? (fwd)

"Kent Johnson" <ke...@rsn.hp.com> writes:

> changed my path so my gnu make will be used instead... ran
> `/opt/perl5/bin/perl Makefile.PL` and got:

Good.

> ..then changed "CC = /opt/ansic/bin/cc" to "CC = /usr/bin/cc" in Makefile,
> and ran `make` to get:
> 
> a08 : make
> make -C Handler static
> make[1]: Entering directory `/opt/xerces-p1.5.6/Handler'
> /opt/ansic/bin/cc -c -I. -IHandler -I/opt/xerces-c/include -D_HPUX_SOURCE
> -Aa -I/usr/local/include -O    -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z
> -I/opt/perl5.004_04/lib/PA-RISC1.1/5.00404/CORE
> PerlContentCallbackHandler.cpp
> /opt/ansic/bin/cc -c -I. -IHandler -I/opt/xerces-c/include -D_HPUX_SOURCE
> -Aa -I/usr/local/include -O    -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z
> -I/opt/perl5.004_04/lib/PA-RISC1.1/5.00404/CORE
> PerlDocumentCallbackHandler.cpp
> /opt/ansic/bin/cc -c -I. -IHandler -I/opt/xerces-c/include -D_HPUX_SOURCE
> -Aa -I/usr/local/include -O    -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z
> -I/opt/perl5.004_04/lib/PA-RISC1.1/5.00404/CORE
> PerlErrorCallbackHandler.cpp
> /opt/ansic/bin/cc -c -I. -IHandler -I/opt/xerces-c/include -D_HPUX_SOURCE
> -Aa -I/usr/local/include -O    -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" +z
> -I/opt/perl5.004_04/lib/PA-RISC1.1/5.00404/CORE  PerlExceptionHandler.cpp
> rm -rf .././blib/arch/auto/Handler/Handler.a
> ar cr .././blib/arch/auto/Handler/Handler.a PerlContentCallbackHandler.o
> PerlDocumentCallbackHandler.o PerlErrorCallbackHandler.o
> PerlExceptionHandler.o && : .././blib/arch/auto/Handler/Handler.a
> ar: No such file or directory
> ar: could not open PerlContentCallbackHandler.o
> ar: No such file or directory
> ar: could not open PerlDocumentCallbackHandler.o
> ar: No such file or directory
> ar: could not open PerlErrorCallbackHandler.o
> ar: No such file or directory
> ar: could not open PerlExceptionHandler.o
> make[1]: *** [.././blib/arch/auto/Handler/Handler.a] Error 4
> make[1]: Leaving directory `/opt/xerces-p1.5.6/Handler'
> make: *** [blib/arch/auto/Handler/Handler.a] Error 2

Make is using your C compiler to compile C++ files, and this won't
work (unless you're using gcc).

Problem is, I haven't set the module up properly so that Perl Knows
this is C++!!! I'll fix this soon. In the meantime, you can force make
to use your C++ compiler by doing:

  make CC=CC

Try this for now, and sorry for the mess. This shouldn't be as hard as
I've made it.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org