On Fri, 10 Dec 2004, Stuart Denning wrote:

> And then :
>       Make
> Which outputs this : 
>       make -C Handler static
>       make[1]: Entering directory
> `/live/stuart/XML-Xerces-2.5.0-0/Handler'
>       cc -c -I. -IHandler -I/usr/local/include -D_LARGEFILE_SOURCE -
       ^^^^

> D_FILE_OFFSET_BITS
>       =64 -xO3 -xdepend   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
> -KPIC -       I/usr/perl5/
>       5.6.1/lib/sun4-solaris-64int/CORE  PerlCallbackHandler.cpp
                                                           ^^^^^^^^^^
>       cc: No input file specified, no output generated
>       make[1]: *** [PerlCallbackHandler.o] Error 1
>       make[1]: Leaving directory
> `/live/stuart/XML-Xerces-2.5.0-0/Handler'
>       make: *** [blib/arch/auto/Handler/Handler.a] Error 2

Possibly a red herring, but you generally need a C++ compiler to build C++ 
source code.

I've had grief in the past with the 'Handler' subdirectory and have always 
had to do this:

diff -Nur XML-Xerces-2.0.0-3.orig/Handler/Makefile.PL 
XML-Xerces-2.0.0-3/Handler/Makefile.PL
--- XML-Xerces-2.0.0-3.orig/Handler/Makefile.PL Thu Mar 28 02:47:56 2002
+++ XML-Xerces-2.0.0-3/Handler/Makefile.PL      Tue May  6 12:36:10 2003
@@ -1,5 +1,5 @@
 WriteMakefile(
-    LINKTYPE => 'static',
+     linkext => { LINKTYPE => 'static' },
     'NAME'     => 'Handler',
     'INC'       => $INCLUDES,
     'OBJECT'    => '$(O_FILES)',
diff -Nur XML-Xerces-2.0.0-3.orig/Makefile.PL XML-Xerces-2.0.0-3/Makefile.PL
--- XML-Xerces-2.0.0-3.orig/Makefile.PL Thu Mar  6 21:11:45 2003
+++ XML-Xerces-2.0.0-3/Makefile.PL      Tue May  6 15:59:27 2003
@@ -241,9 +219,9 @@
   'MYEXTLIB'    => $HANDLER_LIB,
   'LIBS'        => [$LIBS],
   'OBJECT'      => $OBJS,
-#  'DIR'         => ['DOMParse'],
+  'DIR'         => ['Handler'],
   'VERSION'     => "$XERCES_PERL_VERSION",
   @OPTIMIZE,
   @MACRO
 );
 


--------------------------------------------------------------------
Opinions expressed in this message are mine personally, not those of 
my employer.
--------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to