Opened 18 years ago

Closed 17 years ago

#11016 closed defect (worksforme)

Suitesparse 2.1.1 fails to compile on MacOS X 10.3.9

Reported by: azvoleff@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: suitesparse octave Cc:
Port:

Description

While trying to install Octave 2.9.9 on Mac OS X 10.3.9, all dependencies build successfully except for suitesparse. See below.

chomsky:/opt/local/share azvoleff$ sudo port selfupdate Password: DarwinPorts base version 1.320 installed Downloaded MacPorts base version 1.320 The MacPorts installation is not outdated and so was not updated selfupdate done! chomsky:/opt/local/share azvoleff$ sudo port install suitesparse ---> Building SuiteSparse with target default Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_SuiteSparse/work/SuiteSparse" && make default" returned error 2 Command output: ( cd UFconfig/xerbla ; make ) make[1]: Nothing to be done for `default'. ( cd AMD ; make ) make[1]: Nothing to be done for `default'. ( cd CAMD ; make ) make[1]: Nothing to be done for `default'. ( cd COLAMD ; make ) cc -O -I../UFconfig -o colamd_example colamd_example.c libcolamd.a -lm ld: archive: libcolamd.a has no table of contents, add one with ranlib(1) (can't load from it) ld: warning prebinding disabled because dependent library: /usr/lib/system/libmathCommon.A.dylib can't be searched make[1]: * [colamd_example] Error 1 make: * [default] Error 2

Error: Status 1 encountered during processing. chomsky:/opt/local/share azvoleff$

Change History (2)

comment:1 Changed 18 years ago by azvoleff@…

After running ranlib on libcolamd.a, I still get an error. See below:

---> Building SuiteSparse with target default Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_SuiteSparse/work/SuiteSparse" && make default" returned error 2 Command output: cc -O -c -I../Include ../Source/strongcomp.c -o strongcomp.o ar cr libbtf.a btf_order.o maxtrans.o strongcomp.o ranlib libbtf.a ( cd KLU ; make ) ( cd Lib ; make ) cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_free_symbolic.c -o klu_free_symbolic.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_defaults.c -o klu_defaults.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_analyze_given.c -o klu_analyze_given.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_analyze.c -o klu_analyze.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_memory.c -o klu_memory.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu.c -o klu_d.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_kernel.c -o klu_d_kernel.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_dump.c -o klu_d_dump.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_factor.c -o klu_d_factor.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_free_numeric.c -o klu_d_free_numeric.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_solve.c -o klu_d_solve.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_scale.c -o klu_d_scale.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_refactor.c -o klu_d_refactor.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_tsolve.c -o klu_d_tsolve.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_diagnostics.c -o klu_d_diagnostics.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_sort.c -o klu_d_sort.o cc -O -c -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu_extract.c -o klu_d_extract.o cc -O -c -DCOMPLEX -I../../AMD/Include -I../../COLAMD -I../../BTF/Include -I../Include -I../../UFconfig ../Source/klu.c -o klu_z.o In file included from /usr/include/math.h:26,

from ../Include/klu_internal.h:87, from ../Source/klu.c:52:

/usr/include/architecture/ppc/math.h:400: error: duplicate member `component' make[2]: * [klu_z.o] Error 1 make[1]: * [library] Error 2 make: * [default] Error 2

Error: The following dependencies failed to build: SuiteSparse Error: Status 1 encountered during processing.

comment:2 Changed 17 years ago by pipping@…

Resolution: worksforme
Status: newclosed

probably fixed by now (r21844)

tried to contact the person who submitted the ticket, got this response:

Thanks for your email. I no longer work on the system for which I filed the bug (I am now on Linux). However, I forwarded your email to the current user of that Mac system.

that person never answered, though.

Note: See TracTickets for help on using tickets.