calculix-ccx fails to build
Mark Brethen
mark.brethen at gmail.com
Mon Dec 3 07:14:09 UTC 2018
I found this in the install readme:
If you like to use TAUCS as solver, install TAUCS in /usr/local/taucs
(and lapack, blas and metis in /usr/local/taucs/external/lib/linux)
and change the Makefile in
/usr/local/CalculiX/ccx_2.14/src as follows:
a) add "-I ../../../taucs/src -I ../../../taucs/build/linux -DTAUCS" to
the CFLAGS (without double quotes)
b) add
"../../../taucs/lib/linux/libtaucs.a \
../../../taucs/external/lib/linux/liblapack.a \
../../../taucs/external/lib/linux/libblas.a \
../../../taucs/external/lib/linux/libmetis.a \"
to LIBS
Notice that you only need lapack, blas and metis if you want to
install TAUCS.
Look at file tau.c and the documentation of TAUCS for details.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tau.c
Type: application/octet-stream
Size: 4322 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181203/00589c1d/attachment.obj>
-------------- next part --------------
Mark Brethen
mark.brethen at gmail.com
> On Dec 3, 2018, at 12:44 AM, Mark Brethen <mark.brethen at gmail.com> wrote:
>
> The log file is 193kb:
>
> :info:build make: *** No rule to make target `-ltaucs', needed by `ccx_2.14'. Stop.
> :info:build make: Leaving directory `/opt/local/var/macports/build/_Users_marbre_ports_cad_calculix-ccx/calculix-ccx/work/ccx_2.14/src'
> :info:build Command failed: cd "/opt/local/var/macports/build/_Users_marbre_ports_cad_calculix-ccx/calculix-ccx/work/ccx_2.14/src" && /usr/bin/make -w LDFLAGS=-L/opt/local/lib
> :info:build Exit code: 2
> :error:build Failed to build calculix-ccx: command execution failed
> :debug:build Error code: CHILDSTATUS 5530 2
>
>
> see attached Makefile.
>
> <Makefile><Portfile>
>
> Mark Brethen
> mark.brethen at gmail.com
>
>
>
More information about the macports-dev
mailing list