It failed to build for me:

:info:build ld: library not found for -lf2c
:info:build collect2: error: ld returned 1 exit status

:info:build 1 error generated.
:info:build make: *** [obj/darwin/direct.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: Leaving directory 
`/opt/local/var/macports/build/_Users_marbre_ports_math_taucs/taucs/work/taucs'
:info:build Command failed:  cd 
"/opt/local/var/macports/build/_Users_marbre_ports_math_taucs/taucs/work/taucs" 
&& /usr/bin/make -j4 -w all PREFIX=/opt/local 
:info:build Exit code: 2
:error:build Failed to build taucs: command execution failed
:debug:build Error code: CHILDSTATUS 19021 2


f2c should be added as a dependency.


Mark Brethen
mark.bret...@gmail.com



> On Nov 27, 2018, at 6:16 PM, Ryan Schmidt <ryandes...@macports.org> wrote:
> 
> 
> 
> On Nov 27, 2018, at 16:58, Mark Brethen wrote:
> 
>> A couple of remaining thoughts I had:
>> 
>> 1. The BSD port uses metis4 whereas macports metis distro is at v5. I didn’t 
>> check to see which one it used.
> 
> taucs builds with "-lmetis", in other words, libmetis.dylib, whatever version 
> that may be.
> 
>> If it builds alright, I assume it will work.
> 
> One would hope so, but that's not necessarily true.
> 
>> 2. Calculix-ccx requires taucs at build. Should it matter if the static 
>> library exists, or not?
> 
> It depends on how the build system has been written. If it links with 
> "-L/opt/local/lib -ltaucs", then it will find the libtaucs.dylib symlink* 
> which points to the libtaucs.1.dylib dynamic library and it will hopefully 
> work. If on the other hand it links with "/opt/local/lib/libtaucs.a" then it 
> will fail because that file isn't there; probably in that case the build 
> system should be fixed to link with the dynamic library.
> 
> 
> * I realized I forgot to include that symlink in the Portfile; I've updated 
> the Portfile in the ticket with this.
> 

Reply via email to