You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by SanZ <sa...@yahoo.it> on 2003/02/23 19:10:40 UTC

Xalan 1.4-Xerces 2.2 incompatibility?

Hello, i'm tryin'to install Xalan 1.4,
i already installed the Xerces 2.2 and it works fine.

the problem is when i'm tryin'to build the Xalan 1.4 after doing the
./configure - make session it tells me:

Preparing the directory structure for a build ...
mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/obj
mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/lib
mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/bin
make: *** No rule to make target `/home/sanxius/local/apache/xml-xalan/src/TestXSLT/process.cpp',
needed by `/opt/local/sanxius/apache/xml-xalan/c/src/obj/process.o'.  Stop.

... why? any suggestion?
thanks

SZ

______________________________________________________________________
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

Re: Xalan c building troubles.

Posted by SanZ <sa...@yahoo.it>.
I resolved the Xalan Trouble by setting the XALANCROOT as 

export XALANCROOT=/home/sanxius/local/apache/xml-xalan/c

the little bit difference is c.

is this normal the c directory? or it should be fixed?

SZ

 --- SanZ <sa...@yahoo.it> ha scritto: > the problem is still the same with Xerces-2.1 (before i
had the Xerces-2.2),
> it tells me:
> 
> >Preparing the directory structure for a build ...
> >mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/obj
> >mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/lib
> >mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/bin
> >g++-3.2 -O2 -DNDEBUG      -fno-elide-constructors -DLINUX -shared -fPIC    -L/usr/lib
> >-L/home/sanxius/local/apache/xerces-c-src2_1_0/lib -lxerces-c  -o
> >/opt/local/sanxius/apache/xml-xalan/c/src/lib/libxalan-c1_5_0.so 
> >make: *** No rule to make target
> `/home/sanxius/local/apache/xml-xalan/src/TestXSLT/process.cpp',
> >needed by `/opt/local/sanxius/apache/xml-xalan/c/src/obj/process.o'.  Stop.
> 
> Why??? i also changed the compiler, gcc 3.2.1 version now, i'm on Debian Linux.
> Any Hints? 
> Thanks Sanzio
> 
> ______________________________________________________________________
> Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
> http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html 

______________________________________________________________________
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

Xalan c building troubles.

Posted by SanZ <sa...@yahoo.it>.
the problem is still the same with Xerces-2.1 (before i had the Xerces-2.2),
it tells me:

>Preparing the directory structure for a build ...
>mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/obj
>mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/lib
>mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/bin
>g++-3.2 -O2 -DNDEBUG      -fno-elide-constructors -DLINUX -shared -fPIC    -L/usr/lib
>-L/home/sanxius/local/apache/xerces-c-src2_1_0/lib -lxerces-c  -o
>/opt/local/sanxius/apache/xml-xalan/c/src/lib/libxalan-c1_5_0.so 
>make: *** No rule to make target `/home/sanxius/local/apache/xml-xalan/src/TestXSLT/process.cpp',
>needed by `/opt/local/sanxius/apache/xml-xalan/c/src/obj/process.o'.  Stop.

Why??? i also changed the compiler, gcc 3.2.1 version now, i'm on Debian Linux.
Any Hints? 
Thanks Sanzio

______________________________________________________________________
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

Re: Xalan 1.4-Xerces 2.2 incompatibility?

Posted by David N Bertoni/Cambridge/IBM <da...@us.ibm.com>.



You are not bulding Xalan-C properly:

   http://xml.apache.org/xalan-c/faq.html#faq-7

Also, 1.4 is not compatbile with Xerces 2.2.  If you want to use Xalan 1.4,
you must use Xerces 2.1:

   http://xml.apache.org/xalan-c/faq.html#faq-4

Dave



|---------+--------------------------->
|         |           SanZ            |
|         |           <sanxius@yahoo.i|
|         |           t>              |
|         |                           |
|         |           02/23/2003 10:10|
|         |           AM              |
|         |           Please respond  |
|         |           to sanxius      |
|---------+--------------------------->
  >----------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                  |
  |        To:      xalan-c-users@xml.apache.org                                                                                     |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                                             |
  |        Subject: Xalan 1.4-Xerces 2.2 incompatibility?                                                                            |
  >----------------------------------------------------------------------------------------------------------------------------------|



Hello, i'm tryin'to install Xalan 1.4,
i already installed the Xerces 2.2 and it works fine.

the problem is when i'm tryin'to build the Xalan 1.4 after doing the
./configure - make session it tells me:

Preparing the directory structure for a build ...
mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/obj
mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/lib
mkdir -p /opt/local/sanxius/apache/xml-xalan/c/src/bin
make: *** No rule to make target
`/home/sanxius/local/apache/xml-xalan/src/TestXSLT/process.cpp',
needed by `/opt/local/sanxius/apache/xml-xalan/c/src/obj/process.o'.  Stop.

... why? any suggestion?
thanks

SZ

______________________________________________________________________
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html