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 Tim Harsch <ha...@llnl.gov> on 2001/06/28 23:47:34 UTC
XML::Xerces ver. 1.5 won't install either
I still hve the same install problem:
mkdir blib
mkdir blib/lib
mkdir blib/lib/XML
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/XML
mkdir blib/arch/auto/XML/Xerces
mkdir blib/lib/auto
mkdir blib/lib/auto/XML
mkdir blib/lib/auto/XML/Xerces
mkdir blib/man3
cp DOMParse/DOMParse.pm blib/lib/XML/Xerces/DOMParse.pm
cp Xerces.pm blib/lib/XML/Xerces.pm
mkdir ../blib/arch/auto/XML/Xerces/DOMParse
mkdir ../blib/lib/auto/XML/Xerces/DOMParse
Skip ../blib/lib/XML/Xerces/DOMParse.pm (unchanged)
Manifying ../blib/man3/XML::Xerces::DOMParse.3
mkdir ../blib/arch/auto/Handler
mkdir ../blib/lib/auto/Handler
cc -c -I. -IHandler -I/home/harsch/temp/xerces-c-src1_5_0/include -Drand=ran
dom -Dsrand=srandom -I/usr/local/include -O -DVERSION=\"0.10\" -DXS_VER
SION=\"0.10\" -KPIC -I/usr/local/perl5.005/lib/CORE
PerlContentCallbackHandler.cpp
cc: No input file specified, no output generated
*** Error code 1
make: Fatal error: Command failed for target `PerlContentCallbackHandler.o'
Current working directory /home/harsch/temp/XML-Xerces-1.5.0/Handler
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: XML::Xerces ver. 1.5 won't install either
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Jason E. Stewart" <ja...@openinformatics.com> writes:
> Hey Tim,
>
> So I went to build Xerces.pm on the Solaris machine at the
> sourceforge.net compilefarm, and got the same sort of error.
>
> I did a google search and found this article:
>
> http://mail.gnu.org/pipermail/help-make/2000-April/000402.html
>
> Is your GNU make install setuid? Can you change it to be non-setuid?
I finally got it to build. I had to rebuild perl from source, and then
the build ran fine.
Here's the compile line that works:
gcc -c -I. -IHandler
-I/home/users/jason_e_stewart/build/xerces-c1_5_0-SolCC/include
-DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-fPIC -I/home/users/jason_e_stewart/lib/perl5/5.6.1/sun4-solaris/CORE
PerlErrorCallbackHandler.cpp
And here's the one that doesn't:
cc -c -I. -IHandler
-I/home/users/jason_e_stewart/build/xerces-c1_5_0-SolCC/include
-D_REENTRANT -DDEBIAN -DHAS_BOOL -DSWIG__ -xO3 -xdepend
-DVERSION=\"1.5.0\" -DXS_VERSION=\"1.5.0\" -KPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE
Handler/PerlExceptionHandler.cpp
Maybe this will shed some light,
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: XML::Xerces ver. 1.5 won't install either
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Brent Nye" <xa...@yahoo.com> writes:
> Hi guys,
>
> I put another installation of Perl (5.6.1) on the
> HP-UX 11 machine and used cc instead of gcc, and this
> is what I am getting now when I type "make:"
>
> cc -c -I. -IHandler
> -I/pbuild/brentnye/xerces/xerces-c15/include
> -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
> -DDEBUGGING -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -g
> -DVERSION="0.10" -DXS_VERSION="0.10" +z
> -I/pbuild/brentnye/perl56/lib/5.6.1/PARISC2.0thread/COREPerlContentCallbackHandler.cpp
Is this an email typo? There should be a space after the -I flag and
before the filename, otherwise PerlContentCallbackHandler.cpp won't
get built.
> LD_RUN_PATH="" ld -b +vnocompatwarnings
> -L/usr/local/lib PerlContentCal
> lbackHandler.o PerlDocumentCallbackHandler.o
> PerlErrorCallbackHandler.o PerlE
> xceptionHandler.o -o
> ../blib/arch/auto/Handler/Handler.sl
>
> ld: Can't open PerlContentCallbackHandler.o
If it wasn't built above becuase of a bogus cc line, that would make
it dificult to open...
Try running the build line for it by hand and then relink.
jas.
<FYI>
All the .cpp files in Handler/ are hand written by me (starting with
ideas from Harmon and the NetArx team) to implement the various
callback XML interfaces. The Xerces-C code expects you to register C++
methods for all the *Handlers. But most perl coders want to register
Perl callback methods. So the Perl*Handler classes act as glue methods
which register themselves with Xerces-C and then call your perl
methods when they get called.
</FYI>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: XML::Xerces ver. 1.5 won't install either
Posted by Brent Nye <xa...@yahoo.com>.
Hi guys,
I put another installation of Perl (5.6.1) on the
HP-UX 11 machine and used cc instead of gcc, and this
is what I am getting now when I type "make:"
cc -c -I. -IHandler
-I/pbuild/brentnye/xerces/xerces-c15/include
-D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
-DDEBUGGING -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -g
-DVERSION="0.10" -DXS_VERSION="0.10" +z
-I/pbuild/brentnye/perl56/lib/5.6.1/PARISC2.0thread/COREPerlContentCallbackHandler.cpp
cc -c -I. -IHandler
-I/pbuild/brentnye/xerces/xerces-c15/include -D_POSI
X_C_SOURCE=199506L -D_HPUX_SOURCE -DDEBUGGING
-I/usr/local/include -D_LARGEFILE_
SOURCE -D_FILE_OFFSET_BITS=64 -Ae -g
-DVERSION="0.10" -DXS_VERSION="0.10\r
" +z
-I/pbuild/brentnye/perl56/lib/5.6.1/PA-RISC2.0-thread/CORE
PerlDocumentCal
lbackHandler.cpp
cc -c -I. -IHandler
-I/pbuild/brentnye/xerces/xerces-c15/include -D_POSI
X_C_SOURCE=199506L -D_HPUX_SOURCE -DDEBUGGING
-I/usr/local/include -D_LARGEFILE_
SOURCE -D_FILE_OFFSET_BITS=64 -Ae -g
-DVERSION="0.10" -DXS_VERSION="0.10\r
" +z
-I/pbuild/brentnye/perl56/lib/5.6.1/PA-RISC2.0-thread/CORE
PerlErrorCallba
ckHandler.cpp
cc -c -I. -IHandler
-I/pbuild/brentnye/xerces/xerces-c15/include -D_POSI
X_C_SOURCE=199506L -D_HPUX_SOURCE -DDEBUGGING
-I/usr/local/include -D_LARGEFILE_
SOURCE -D_FILE_OFFSET_BITS=64 -Ae -g
-DVERSION="0.10" -DXS_VERSION="0.10\r
" +z
-I/pbuild/brentnye/perl56/lib/5.6.1/PA-RISC2.0-thread/CORE
PerlExceptionHa
ndler.cpp
rm -f ../blib/arch/auto/Handler/Handler.sl
LD_RUN_PATH="" ld -b +vnocompatwarnings
-L/usr/local/lib PerlContentCal
lbackHandler.o PerlDocumentCallbackHandler.o
PerlErrorCallbackHandler.o PerlE
xceptionHandler.o -o
../blib/arch/auto/Handler/Handler.sl
ld: Can't open PerlContentCallbackHandler.o
ld: No such file or directory
*** Error exit code 1
Brent
>
> "Tim Harsch" <ha...@llnl.gov> writes:
>
> > I still hve the same install problem:
> >
> > mkdir blib
> > mkdir blib/lib
> > mkdir blib/lib/XML
> > mkdir blib/arch
> > mkdir blib/arch/auto
> > mkdir blib/arch/auto/XML
> > mkdir blib/arch/auto/XML/Xerces
> > mkdir blib/lib/auto
> > mkdir blib/lib/auto/XML
> > mkdir blib/lib/auto/XML/Xerces
> > mkdir blib/man3
> > cp DOMParse/DOMParse.pm
> blib/lib/XML/Xerces/DOMParse.pm
> > cp Xerces.pm blib/lib/XML/Xerces.pm
> > mkdir ../blib/arch/auto/XML/Xerces/DOMParse
> > mkdir ../blib/lib/auto/XML/Xerces/DOMParse
> > Skip ../blib/lib/XML/Xerces/DOMParse.pm
> (unchanged)
> > Manifying ../blib/man3/XML::Xerces::DOMParse.3
> > mkdir ../blib/arch/auto/Handler
> > mkdir ../blib/lib/auto/Handler
> > cc -c -I. -IHandler
> -I/home/harsch/temp/xerces-c-src1_5_0/include
> -Drand=ran
> > dom -Dsrand=srandom -I/usr/local/include -O
> -DVERSION="0.10" -DXS_VER
> > SION="0.10" -KPIC
> -I/usr/local/perl5.005/lib/CORE
> > PerlContentCallbackHandler.cpp
> > cc: No input file specified, no output generated
> > *** Error code 1
> > make: Fatal error: Command failed for target
> `PerlContentCallbackHandler.o'
> > Current working directory
> /home/harsch/temp/XML-Xerces-1.5.0/Handler
> > *** Error code 1
> > make: Fatal error: Command failed for target
> `subdirs'
> >
> >
> >
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: XML::Xerces ver. 1.5 won't install either
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
Hey Tim,
So I went to build Xerces.pm on the Solaris machine at the
sourceforge.net compilefarm, and got the same sort of error.
I did a google search and found this article:
http://mail.gnu.org/pipermail/help-make/2000-April/000402.html
Is your GNU make install setuid? Can you change it to be non-setuid?
jas.
"Tim Harsch" <ha...@llnl.gov> writes:
> I still hve the same install problem:
>
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/XML
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/XML
> mkdir blib/arch/auto/XML/Xerces
> mkdir blib/lib/auto
> mkdir blib/lib/auto/XML
> mkdir blib/lib/auto/XML/Xerces
> mkdir blib/man3
> cp DOMParse/DOMParse.pm blib/lib/XML/Xerces/DOMParse.pm
> cp Xerces.pm blib/lib/XML/Xerces.pm
> mkdir ../blib/arch/auto/XML/Xerces/DOMParse
> mkdir ../blib/lib/auto/XML/Xerces/DOMParse
> Skip ../blib/lib/XML/Xerces/DOMParse.pm (unchanged)
> Manifying ../blib/man3/XML::Xerces::DOMParse.3
> mkdir ../blib/arch/auto/Handler
> mkdir ../blib/lib/auto/Handler
> cc -c -I. -IHandler -I/home/harsch/temp/xerces-c-src1_5_0/include -Drand=ran
> dom -Dsrand=srandom -I/usr/local/include -O -DVERSION=\"0.10\" -DXS_VER
> SION=\"0.10\" -KPIC -I/usr/local/perl5.005/lib/CORE
> PerlContentCallbackHandler.cpp
> cc: No input file specified, no output generated
> *** Error code 1
> make: Fatal error: Command failed for target `PerlContentCallbackHandler.o'
> Current working directory /home/harsch/temp/XML-Xerces-1.5.0/Handler
> *** Error code 1
> make: Fatal error: Command failed for target `subdirs'
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org