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 Colin Paul Adams <co...@colina.demon.co.uk> on 2003/07/01 19:09:40 UTC

CVS

How do I check-out CVS?

The web-site does NOT mention it.
-- 
Colin Paul Adams
Preston Lancashire

Re: CVS

Posted by da...@us.ibm.com.



Hi Colin,

> >>>>> "david" == david n bertoni <da...@us.ibm.com> writes:
>
>    david> CVS information is here:
>
>    david>    http://xml.apache.org/cvs.html
>
> Thanks. A link from http://xml.apache.org/xalan-c would be nice - I
> always forget.

Yes, it would.  If you want to file a bug, please feel free.  There's a lot
of work that needs to be done to the web site, and I hope we can get to it
sometime soon.

> Can I still use xeces-c 2.2.0 with the current CVS?

Yes, it should still work.  If it doesn't, please let us know, and someone
will fix it.

Dave



|---------+--------------------------->
|         |           Colin Paul Adams|
|         |           <colin@colina.de|
|         |           mon.co.uk>      |
|         |                           |
|         |           07/01/2003 11:21|
|         |           AM              |
|---------+--------------------------->
  >-----------------------------------------------------------------------------------------------------------------|
  |                                                                                                                 |
  |        To:      xalan-c-users@xml.apache.org                                                                    |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                            |
  |        Subject: Re: CVS                                                                                         |
  >-----------------------------------------------------------------------------------------------------------------|



>>>>> "david" == david n bertoni <da...@us.ibm.com> writes:

    david> CVS information is here:

    david>    http://xml.apache.org/cvs.html

Thanks. A link from http://xml.apache.org/xalan-c would be nice - I
always forget.

Can I still use xeces-c 2.2.0 with the current CVS?
--
Colin Paul Adams
Preston Lancashire



Re: CVS

Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "david" == david n bertoni <da...@us.ibm.com> writes:

    david> CVS information is here:

    david>    http://xml.apache.org/cvs.html

Thanks. A link from http://xml.apache.org/xalan-c would be nice - I
always forget.

Can I still use xeces-c 2.2.0 with the current CVS?
-- 
Colin Paul Adams
Preston Lancashire

Re: CVS

Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "Colin" == Colin Paul Adams <co...@colina.demon.co.uk> writes:


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

Oops! I forgot to reset XALANCROOT. Compiles properly now.
-- 
Colin Paul Adams
Preston Lancashire

Re: CVS

Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "david" == david n bertoni <da...@us.ibm.com> writes:

    david> It looks like you got your code while I was in the middle
    david> of checking in, which is one of the hazards with using the
    david> latest CVS.  Just do an update in your source tree and you
    david> should get working code.  I've done Linux builds with
    david> several versions of gcc and all looks well.

Now I get:

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

-- 
Colin Paul Adams
Preston Lancashire

Re: CVS

Posted by da...@us.ibm.com.



Hi Colin,

It looks like you got your code while I was in the middle of checking in,
which is one of the hazards with using the latest CVS.  Just do an update
in your source tree and you should get working code.  I've done Linux
builds with several versions of gcc and all looks well.

Dave



|---------+--------------------------->
|         |           Colin Paul Adams|
|         |           <colin@colina.de|
|         |           mon.co.uk>      |
|         |                           |
|         |           07/01/2003 11:25|
|         |           PM              |
|---------+--------------------------->
  >---------------------------------------------------------------------------------------------------------------|
  |                                                                                                               |
  |        To:      xalan-c-users@xml.apache.org                                                                  |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                          |
  |        Subject: Re: CVS                                                                                       |
  >---------------------------------------------------------------------------------------------------------------|



>>>>> "david" == david n bertoni <da...@us.ibm.com> writes:

    david> Hi Colin,

    david> We just did a transition to a new directory stucture so we
    david> can get our build/install situation cleared up, so there
    david> are going to be a few glitches.

    david> Yes, you should use the runConfigure in the xalanc
    david> directory.  You should do the following:

    david>    chmod +x runConfigure configure

    david> which will fix the execute permissions problem.  We will
    david> get that cleared up in the repository soon.

OK. That works.

    david> Eveyrhing else in the build documentation should be OK.
    david> You will need to update your own makefiles to use the new
    david> directory name for include files.


c++ -O2 -DNDEBUG      -fno-elide-constructors -Wall -fPIC -DLINUX
-D_REENTRANT
-c -I/home/colin/xml-xalan/c/src -I/usr/src/xerces-c-src2_2_0/src/
-I/usr/src/xe
rces-c-src2_2_0/include/xercesc -I/usr/src/xerces-c-src2_2_0/include/  -o
/home/
colin/xml-xalan/c/obj/FormatterToDOM.o
/home/colin/xml-xalan/c/src/xalanc/XMLSup
port/FormatterToDOM.cpp
/home/colin/xml-xalan/c/src/xalanc/XMLSupport/FormatterToDOM.cpp: In member
   function `xalanc_1_5::XalanElement*
   xalanc_1_5::FormatterToDOM::createElement(const XalanDOMChar*,
   xalanc_1_5::AttributeListType&)':
/home/colin/xml-xalan/c/src/xalanc/XMLSupport/FormatterToDOM.cpp:330: no
   matching function for call to `xalanc_1_5::DOMServices::
   getNamespaceForPrefix(const XalanDOMChar*&, const
   xalanc_1_5::PrefixResolver&, bool, xalanc_1_5::XalanDOMString&)'
/home/colin/xml-xalan/c/src/xalanc/DOMSupport/DOMServices.hpp:571:
candidates
   are: static const xalanc_1_5::XalanDOMString*
   xalanc_1_5::DOMServices::getNamespaceForPrefix(const
   xalanc_1_5::XalanDOMString&, const xalanc_1_5::XalanElement&)
/home/colin/xml-xalan/c/src/xalanc/XMLSupport/FormatterToDOM.cpp: In member
   function `void
   xalanc_1_5::FormatterToDOM::addAttributes(xalanc_1_5::XalanElement*,
   xalanc_1_5::AttributeListType&)':
/home/colin/xml-xalan/c/src/xalanc/XMLSupport/FormatterToDOM.cpp:375: no
   matching function for call to `xalanc_1_5::DOMServices::
   getNamespaceForPrefix(const XalanDOMChar* const&, const
   xalanc_1_5::PrefixResolver&, bool, xalanc_1_5::XalanDOMString&)'
/home/colin/xml-xalan/c/src/xalanc/DOMSupport/DOMServices.hpp:571:
candidates
   are: static const xalanc_1_5::XalanDOMString*
   xalanc_1_5::DOMServices::getNamespaceForPrefix(const
   xalanc_1_5::XalanDOMString&, const xalanc_1_5::XalanElement&)
make: *** [/home/colin/xml-xalan/c/obj/FormatterToDOM.o] Error 1

--
Colin Paul Adams
Preston Lancashire



Re: CVS

Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "david" == david n bertoni <da...@us.ibm.com> writes:

    david> Hi Colin,

    david> We just did a transition to a new directory stucture so we
    david> can get our build/install situation cleared up, so there
    david> are going to be a few glitches.

    david> Yes, you should use the runConfigure in the xalanc
    david> directory.  You should do the following:

    david>    chmod +x runConfigure configure

    david> which will fix the execute permissions problem.  We will
    david> get that cleared up in the repository soon.

OK. That works.

    david> Eveyrhing else in the build documentation should be OK.
    david> You will need to update your own makefiles to use the new
    david> directory name for include files.


c++ -O2 -DNDEBUG      -fno-elide-constructors -Wall -fPIC -DLINUX -D_REENTRANT
-c -I/home/colin/xml-xalan/c/src -I/usr/src/xerces-c-src2_2_0/src/ -I/usr/src/xe
rces-c-src2_2_0/include/xercesc -I/usr/src/xerces-c-src2_2_0/include/  -o /home/
colin/xml-xalan/c/obj/FormatterToDOM.o /home/colin/xml-xalan/c/src/xalanc/XMLSup
port/FormatterToDOM.cpp
/home/colin/xml-xalan/c/src/xalanc/XMLSupport/FormatterToDOM.cpp: In member
   function `xalanc_1_5::XalanElement*
   xalanc_1_5::FormatterToDOM::createElement(const XalanDOMChar*,
   xalanc_1_5::AttributeListType&)':
/home/colin/xml-xalan/c/src/xalanc/XMLSupport/FormatterToDOM.cpp:330: no
   matching function for call to `xalanc_1_5::DOMServices::
   getNamespaceForPrefix(const XalanDOMChar*&, const
   xalanc_1_5::PrefixResolver&, bool, xalanc_1_5::XalanDOMString&)'
/home/colin/xml-xalan/c/src/xalanc/DOMSupport/DOMServices.hpp:571: candidates
   are: static const xalanc_1_5::XalanDOMString*
   xalanc_1_5::DOMServices::getNamespaceForPrefix(const
   xalanc_1_5::XalanDOMString&, const xalanc_1_5::XalanElement&)
/home/colin/xml-xalan/c/src/xalanc/XMLSupport/FormatterToDOM.cpp: In member
   function `void
   xalanc_1_5::FormatterToDOM::addAttributes(xalanc_1_5::XalanElement*,
   xalanc_1_5::AttributeListType&)':
/home/colin/xml-xalan/c/src/xalanc/XMLSupport/FormatterToDOM.cpp:375: no
   matching function for call to `xalanc_1_5::DOMServices::
   getNamespaceForPrefix(const XalanDOMChar* const&, const
   xalanc_1_5::PrefixResolver&, bool, xalanc_1_5::XalanDOMString&)'
/home/colin/xml-xalan/c/src/xalanc/DOMSupport/DOMServices.hpp:571: candidates
   are: static const xalanc_1_5::XalanDOMString*
   xalanc_1_5::DOMServices::getNamespaceForPrefix(const
   xalanc_1_5::XalanDOMString&, const xalanc_1_5::XalanElement&)
make: *** [/home/colin/xml-xalan/c/obj/FormatterToDOM.o] Error 1

-- 
Colin Paul Adams
Preston Lancashire

Re: CVS

Posted by Berin Lautenbach <be...@ozemail.com.au>.
Colin Paul Adams wrote:
> 
> What are the include files called now?

E.g. instead of -I$XALANCROOT/src, use -I$XALANCROOT/src/xalanc, or 
prepend xalanc on all your include directives :

#include <xalanc/Include/PlatformDefinitions.hpp>

Cheers,
	Berin


Re: CVS

Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "david" == david n bertoni <da...@us.ibm.com> writes:


    david> Eveyrhing else in the build documentation should be OK.
    david> You will need to update your own makefiles to use the new
    david> directory name for include files.

What are the include files called now?
-- 
Colin Paul Adams
Preston Lancashire

Re: CVS

Posted by da...@us.ibm.com.



Hi Colin,

We just did a transition to a new directory stucture so we can get our
build/install situation cleared up, so there are going to be a few
glitches.

Yes, you should use the runConfigure in the xalanc directory.  You should
do the following:

   chmod +x runConfigure configure

which will fix the execute permissions problem.  We will get that cleared
up in the repository soon.

Eveyrhing else in the build documentation should be OK.  You will need to
update your own makefiles to use the new directory name for include files.

Dave



|---------+--------------------------->
|         |           Colin Paul Adams|
|         |           <colin@colina.de|
|         |           mon.co.uk>      |
|         |                           |
|         |           07/01/2003 10:27|
|         |           PM              |
|---------+--------------------------->
  >--------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                |
  |        To:      xalan-c-users@xml.apache.org                                                                                   |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                                           |
  |        Subject: Re: CVS                                                                                                        |
  >--------------------------------------------------------------------------------------------------------------------------------|



>>>>> "david" == david n bertoni <da...@us.ibm.com> writes:

    david> CVS information is here:

    david>    http://xml.apache.org/cvs.html

Right - next - how do I do a build (on linux)?

The documentation on the web-site for 1.5 clearly no longer applies:

1) There is no runConfigure in the c/src directory - I guessed at
   changing to c/src/xalanc.
2) In c/src/xalanc, runConfigure is not executable, so I get
   permission denied.
3) Trying to run it with the sh command still results in permission
   denied, this time for configure:

Generating makefiles with the following options ...
Platform: linux
C Compiler: gcc
C++ Compiler: c++
Extra compile options:
Extra link options:
Thread option:
bitsToBuild option: 32
Extra configure options:
Debug is OFF

./runConfigure: line 412: ./configure: Permission denied

If the result of the above commands look OK to you, go to the directory
/home/colin/xml-xalan/c/src and type "gmake" or "make" to make the XALAN-C
system.

Note: You must use GNU make to use the Xalan Makefile.

--
Colin Paul Adams
Preston Lancashire



Re: CVS

Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "david" == david n bertoni <da...@us.ibm.com> writes:

    david> CVS information is here:

    david>    http://xml.apache.org/cvs.html

Right - next - how do I do a build (on linux)?

The documentation on the web-site for 1.5 clearly no longer applies:

1) There is no runConfigure in the c/src directory - I guessed at
   changing to c/src/xalanc.
2) In c/src/xalanc, runConfigure is not executable, so I get
   permission denied.
3) Trying to run it with the sh command still results in permission
   denied, this time for configure:

Generating makefiles with the following options ...
Platform: linux
C Compiler: gcc
C++ Compiler: c++
Extra compile options:
Extra link options:
Thread option:
bitsToBuild option: 32
Extra configure options:
Debug is OFF

./runConfigure: line 412: ./configure: Permission denied

If the result of the above commands look OK to you, go to the directory
/home/colin/xml-xalan/c/src and type "gmake" or "make" to make the XALAN-C system.

Note: You must use GNU make to use the Xalan Makefile.

-- 
Colin Paul Adams
Preston Lancashire

Re: CVS

Posted by da...@us.ibm.com.



Hi Colin,

CVS information is here:

   http://xml.apache.org/cvs.html

Note you can either use a CVS client to check out, or you can get CVS
tarballs:

   http://cvs.apache.org/snapshots/

Dave



|---------+--------------------------->
|         |           Colin Paul Adams|
|         |           <colin@colina.de|
|         |           mon.co.uk>      |
|         |                           |
|         |           07/01/2003 10:09|
|         |           AM              |
|---------+--------------------------->
  >-----------------------------------------------------------------------------------------------------------------|
  |                                                                                                                 |
  |        To:      xalan-c-users@xml.apache.org                                                                    |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                            |
  |        Subject: CVS                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------|



How do I check-out CVS?

The web-site does NOT mention it.
--
Colin Paul Adams
Preston Lancashire