I was able to build CalculiX but I’m seeing this error upon testing:

cgx -c beamp.inp
Error in:sem_init
Error in:sem_init
Error in:sem_init
Error in:sem_init
on a Darwin machine, nodename brethen-air.attlocal.net, release 20.6.0, version Darwin Kernel Version 20.6.0: Tue Apr 19 21:04:45 PDT 2022; root:xnu-7195.141.29~1/RELEASE_X86_64, machine x86_64 
 The HOME was detected:/Users/marbre
parameters:3 arguments:2
GL_MAX_EVAL_ORDER:10, mesh threads:1
 /Users/marbre/.cgx opened

There isn’t a configure for this, everything is defined in the Makefile so a patch is necessary. During build I’m seeing this message multiple times: 

:info:build cgx.c:6476:3: warning: 'sem_init' is deprecated [-Wdeprecated-declarations]




Attachment: patch-cgx-build.diff
Description: Binary data

Attachment: Portfile
Description: Binary data


Mark


Reply via email to