Opened 10 years ago

Last modified 10 years ago

#43775 closed defect

gmsh 2.8.3 rebuild fails — at Version 3

Reported by: Schamschula (Marius Schamschula) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc:
Port: gmsh

Description (last modified by ryandesign (Ryan Carsten Schmidt))

As per a recent discussion on the MacPorts mailing list, I went and replaced XQuartz with the MacPorts xorg-server. When scanning for link errors, gmsh was kicked out. The rebuild fails, with a

:info:build ld: framework not found vecLib

This is strange as on my Mavericks system there is the symlink between /System/Library/Frameworks/Accelerate.framework and /System/Library/Frameworks/vecLib.framework.

Full main.log attached.

Change History (6)

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: main.log added

comment:1 Changed 10 years ago by Schamschula (Marius Schamschula)

I found a solution: The link errors were twofold: looking for vecLib, but also looking for atlas (they coexist?). Added patch file to link the Accelerate framework and atlas.

Also noticed that gmsh was out of date: bumped version to @2.8.4.

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-gmsh.diff added

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: patch-CMakeLists.txt.diff added

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Keywords: haspatch added

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

In other ports, we've added variants for whether to use atlas or Apple's accelerate framework; perhaps we need variants in gmsh as well.

Note: See TracTickets for help on using tickets.