Opened 15 years ago

Closed 15 years ago

#22181 closed defect (fixed)

xercesc fails to build on os x leopard

Reported by: roumbaba Owned by: chris.ridd@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: xercesc

Description

Hi,

xercesc fails to build on my macbook pro running os X 10.5.8 with macport 1.8.1 and Xcode 3.1.2. I get the following error:

bash-3.2# sudo port clean --all -f xercesc
sudo port clean --all -f xercesc
--->  Cleaning xercesc
bash-3.2# sudo port install xercesc
sudo port install xercesc
--->  Computing dependencies for xercesc
--->  Fetching xercesc
--->  Attempting to fetch xerces-c-src_2_8_0.tar.gz from http://apache.multidist.com/xerces/c/2/sources/
--->  Verifying checksum(s) for xercesc
--->  Extracting xercesc
--->  Configuring xercesc
--->  Building xercesc
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/src/xercesc" && /usr/bin/gnu$
Command output: Base64.cpp:634: error: 'isData' was not declared in this scope
Base64.cpp: At global scope:
Base64.cpp:691: error: 'Base64' has not been declared
Base64.cpp:695: error: 'Base64' has not been declared
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/util/Compilers
gnumake[1]: *** [Base64.o] Error 1
gnumake: *** [Util] Error 2
gnumake: *** Waiting for unfinished jobs....
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/util/regx
/usr/bin/gnumake -s -C sax includes
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/sax
/usr/bin/gnumake -s -C sax2 includes
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/sax2
/usr/bin/gnumake -s -C internal includes
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/internal
/usr/bin/gnumake -s -C framework includes
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/framework
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/framework/psvi
/usr/bin/gnumake -s -C parsers includes
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/parsers
/usr/bin/gnumake -s -C validators includes
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/validators/common
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/validators/datatype
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/validators/DTD
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/validators/schema
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/validators/schema/identity
/usr/bin/gnumake -s -C dom includes
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/dom
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/dom/impl
  (CP)  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc/work/xerces-c-src_2_8_0/include/xercesc/dom/deprecated

Error: Status 1 encountered during processing.
bash-3.2# 


Change History (6)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: chris.ridd@… roumbaba@… removed
Keywords: xercesc leopard removed
Owner: changed from macports-tickets@… to chris.ridd@…
Port: xercesc added; xerces removed

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

If possible, consider using xercesc3 instead.

comment:3 Changed 15 years ago by domiman@…

Does xalanc work with xercesc3? Atm, building xalanc pulls xercesc as dependancy.

comment:4 in reply to:  3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to domiman@…:

Does xalanc work with xercesc3?

I have no idea. Please let us know if you find out the answer.

I made some changes to xercesc to help it build in r62014 and r62017, but I don't have a Leopard machine with me at the moment to test, and your output above was insufficient to tell what error you actually encountered. Please "sudo port selfupdate" and let us know if it now works; if it still fails, please "sudo port clean xercesc" and "sudo port -d install xercesc" and attach the complete output as a file to this ticket.

comment:5 Changed 15 years ago by roumbaba

It now works! Thanks. Baba.

comment:6 Changed 15 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.