Opened 7 years ago

Closed 7 years ago

#54698 closed defect (fixed)

freecad: Switch to xercesc3

Reported by: mf2k (Frank Schima) Owned by: mbrethen
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Schamschula (Marius Schamschula)
Port: freecad

Description

freecad should be updated to use xercesc3 instead of xercesc, which is obsolete and no longer maintained. Calling this a defect because it should be fixed. The xercesc will be removed soon.

See #54168.

Change History (7)

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

I don't even see a dependency for xercesc listed on their compiling for Mac wiki page. Can we alter the portfile so it does not even need it?

comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)

Configure will fail w/o xercesc:

-- Xerces-C was not found.
CMake Error at CMakeLists.txt:614 (MESSAGE):
  ==================

  XercesC not found.

  ==================

comment:3 Changed 7 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: newclosed

In 85875537ec756ff2c40788d410a428c41f1a7547/macports-ports:

freecad: use xercesc3 rather than xercesc

add cxx11 PortGroup
Closes: #54698

comment:4 Changed 7 years ago by cederom (CeDeROM)

Resolution: fixed
Status: closedreopened

not really a solution.. will ask FreeCAD team to switch to xercesc3..

comment:5 Changed 7 years ago by cederom (CeDeROM)

Marked as blocking bug on macOS/MacPorts for FreeCAD: https://www.freecadweb.org/tracker/view.php?id=3172

comment:6 in reply to:  5 Changed 7 years ago by Schamschula (Marius Schamschula)

Replying to cederom:

Marked as blocking bug on macOS/MacPorts for FreeCAD: https://www.freecadweb.org/tracker/view.php?id=3172

You need to sudo port uninstall xercesc to get rid of the error message. freecad compiles cleanly against xercesc3.

Last edited 7 years ago by Schamschula (Marius Schamschula) (previous) (diff)

comment:7 Changed 7 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: reopenedclosed

Indeed, it is working fine for me with xercesc3.

$ port installed freecad xerces*
The following ports are currently installed:
  freecad @0.16_1+gcc6 (active)
  xercesc3 @3.1.4_1 (active)
Note: See TracTickets for help on using tickets.