"Kent Johnson" <[EMAIL PROTECTED]> writes: > XERCESCROOT=/opt/xerces-c > XERCES_INCLUDE=/opt/xerces-c/include > XERCES_LIB=/opt/xerces-c/lib
If you define _LIB and _INCLUDE, then XERCESCROOT is unnecessary. > i have untar'ed xerces-p 1.5.6 to /opt/xerces-p1.5.6 and have a similar > symlink /opt/xerces-p. in /opt/xerces-p i ran the following command: > > /opt/perl5/bin/perl Makefile.PL > > ...which yields the following results: > > Using XERCES_LIB = /opt/xerces-c/lib > Using XERCES_INCLUDE = /opt/xerces-c/include > Checking to see if libxerces is in your library path...'PREREQ_PM' is not > a known MakeMaker parameter name. > Warning: Guessing NAME [xerces-p1.5.6] from current directory name. > Writing Makefile for XML::Xerces::DOMParse > Writing Makefile for Handler > Use of uninitialized value at (eval 21) line 89. > Use of uninitialized value at (eval 31) line 74. > Use of uninitialized value at (eval 31) line 75. > Use of uninitialized value at (eval 31) line 76. > Use of uninitialized value at (eval 31) line 80. > Success!! > Using Xerces-C version: 1.5.1 > 'ABSTRACT' is not a known MakeMaker parameter name. > 'AUTHOR' is not a known MakeMaker parameter name. > Writing Makefile for XML::Xerces::DOMParse > Writing Makefile for XML::Xerces the warnings are harmless. > ...then running `make` yield the following error: > > make -C Handler static > Make: Unknown flag argument C. Stop. > *** Error exit code 1 I use the -C flag which is obviously a GNU make specialization. It translates to: cd Handler && make static If you change the two occurrences of make -C in Makefile.PL and rerun 'perl Makefile.PL' it should get you further. Or you can use GNU make if you already have it installed. jas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
