You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by svlprasad <pr...@wipro.com> on 2005/03/01 07:17:30 UTC
RE: regd XERCES-C++ compilation on MAC OS
HI
By following the build instructions, i have given the following commands :
runConfigure -pmacosx -cgcc -xg++ -minmem -nsocket -tnative -rpthread
this command is successful,
next i gave command
gnumake
Now the build is successful.
Then i checked the object files directory., i don't find any object file
related to SAX2PrintHandler.
Then i thought i need to build samples directory as mentioned in the build
instructions.
To do so, i have given the following command at prompt
xerces-c-src_2_6_0/samples/SAX2Print>
../../../src/xercesc/runConfigure -pmacosx -cgcc -xg++ -minmem -tnative
-rpthread
above command has failed with following output...
Generating makefiles with the following options ...
Platform: macosx
C Compiler: gcc
C++ Compiler: g++
Message Loader: inmem
Net Accessor: socket
Transcoder: native
Thread option: pthread
bitsToBuild option: 32
Extra compile options:
Extra link options:
Extra configure options:
Debug is OFF
./configure: ./configure: No such file or directory
can some body tell me, what is the correct procedure to build the
samples/SAX2Print directory ( rather build the samples).
Thanks in advance
-Prasad
_____
From: James Berry [mailto:jberry@apache.org]
Sent: Tuesday, March 01, 2005 1:07 AM
To: xerces-c-dev@xml.apache.org
Cc: 'prasad sankaramanchi (WT01 - TELECOM SOLUTIONS)'
Subject: Re: regd XERCES-C++ compilation on MAC OS
Prasad,
Please be sure to read (and follow) the build instructions here:
http://xml.apache.org/xerces-c/build-other.html#Mac
Note that if you simply mounted or copied files from your windows machine to
your mac machine, you may have run into an issue of conflicting line ending
formats. You'll want to extract from the appropriate archive for the Mac.
-jdb
On Feb 28, 2005, at 1:21 AM, svlprasad wrote:
Hi
I have xerces-c-2_6_0 with me. I have built it in the windows environment
(vc6/winxp) successfully.
Now i want to build the same on Mac. So i have taken the whole
xerces-c-2_6_0
directory, copied into mac (panther 10.3). i have opened
C:\svlp-personnel\Porting-Proj-Info\Xerces\xerces-c-src_2_6_0onmdpnok115049\
Projects\MacOS\ProjectBuilder\XercesLib\XercesLib.pbproj\project.pbxproj
file in the Mac. I have given the build command directly.
When i check the directory src/xercesc runConfigure and configure
scripts both are available. So i gave the build command directly with out
setting
any path or environment variables.
I have got the error "cannot preparse..."
When i double click on the error another window opened with info showing
"#include "/Symbian Tools
Port/Xerces-New/Xerces/xerces-c-2_6_0/Projects/MacOS/ProjectBuilder/XercesLi
b/xerces_prefix.h"
Can any body tell me why i have got this error ?
If anybody have idea abt procedure to build the XERCES on Mac
platform(panther 10.3/darwin), Pl let me know.
Thanks & Regards
Prasad SVL
Confidentiality Notice
The information contained in this electronic message and any attachments to
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
RE: regd XERCES-C++ compilation on MAC OS
Posted by Alberto Massari <am...@datadirect.com>.
Hi Prasad,
the samples have their own version of runConfigure, so you have to do
xerces-c-src_2_6_0/samples>./runConfigure -pmacosx -cgcc -xg++
followed by gnumake to build all of them
Alberto
At 11.47 01/03/2005 +0530, svlprasad wrote:
>HI
>
>By following the build instructions, i have given the following commands :
>
>runConfigure -pmacosx -cgcc -xg++ -minmem -nsocket -tnative -rpthreadthis
>command is successful,
>
>next i gave command
>
>gnumake
>
>Now the build is successful.
>
>Then i checked the object files directory., i don't find any object file
>related to SAX2PrintHandler.
>Then i thought i need to build samples directory as mentioned in the build
>instructions.
>
>To do so, i have given the following command at prompt
>
>xerces-c-src_2_6_0/samples/SAX2Print>
>
>../../../src/xercesc/runConfigure -pmacosx -cgcc -xg++ -minmem -tnative
>-rpthread
>
>
>above command has failed with following output...
>
>Generating makefiles with the following options ...
>Platform: macosx
>C Compiler: gcc
>C++ Compiler: g++
>Message Loader: inmem
>Net Accessor: socket
>Transcoder: native
>Thread option: pthread
>bitsToBuild option: 32
>Extra compile options:
>Extra link options:
>Extra configure options:
>Debug is OFF
>./configure: ./configure: No such file or directory
>
>can some body tell me, what is the correct procedure to build the
>samples/SAX2Print directory ( rather build the samples).
>
>Thanks in advance
>
>-Prasad
>
>
>----------
>From: James Berry [mailto:jberry@apache.org]
>Sent: Tuesday, March 01, 2005 1:07 AM
>To: xerces-c-dev@xml.apache.org
>Cc: 'prasad sankaramanchi (WT01 - TELECOM SOLUTIONS)'
>Subject: Re: regd XERCES-C++ compilation on MAC OS
>
>Prasad,
>
>Please be sure to read (and follow) the build instructions here:
>http://xml.apache.org/xerces-c/build-other.html#Mac
>
>Note that if you simply mounted or copied files from your windows machine
>to your mac machine, you may have run into an issue of conflicting line
>ending formats. You'll want to extract from the appropriate archive for
>the Mac.
>
>-jdb
>
>On Feb 28, 2005, at 1:21 AM, svlprasad wrote:
>
>>Hi
>>I have xerces-c-2_6_0 with me. I have built it in the windows environment
>>(vc6/winxp) successfully.
>>Now i want to build the same on Mac. So i have taken the whole xerces-c-2_6_0
>>directory, copied into mac (panther 10.3). i have opened
>>C:\svlp-personnel\Porting-Proj-Info\Xerces\xerces-c-src_2_6_0onmdpnok115049\Projects\MacOS\ProjectBuilder\XercesLib\XercesLib.pbproj\project.pbxproj
>>
>>file in the Mac. I have given the build command directly.
>>When i check the directory src/xercesc runConfigure and configure
>>scripts both are available. So i gave the build command directly with out
>>setting
>>any path or environment variables.
>>I have got the error "cannot preparse..."
>>When i double click on the error another window opened with info showing
>>"#include "/Symbian Tools
>>Port/Xerces-New/Xerces/xerces-c-2_6_0/Projects/MacOS/ProjectBuilder/XercesLib/xerces_prefix.h"
>>Can any body tell me why i have got this error ?
>>If anybody have idea abt procedure to build the XERCES on Mac
>>platform(panther 10.3/darwin), Pl let me know.
>>Thanks & Regards
>>Prasad SVL
>>
>>
>>Confidentiality Notice
>>
>>The information contained in this electronic message and any attachments
>>to this message are intended
>>for the exclusive use of the addressee(s) and may contain confidential or
>>privileged information. If
>>you are not the intended recipient, please notify the sender at Wipro or
>>Mailadmin@wipro.com immediately
>>and destroy all copies of this message and any attachments.
>
>
>
>Confidentiality Notice
>
>The information contained in this electronic message and any attachments
>to this message are intended
>for the exclusive use of the addressee(s) and may contain confidential or
>privileged information. If
>you are not the intended recipient, please notify the sender at Wipro or
>Mailadmin@wipro.com immediately
>and destroy all copies of this message and any attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org