Opened 16 years ago

Last modified 15 years ago

#18050 closed defect

Octave failes to build, Issue with CSparse — at Version 1

Reported by: egan@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: alakazam@…
Port: octave

Description (last modified by jmroot (Joshua Root))

OS/X 10.5.6

Output:

$ sudo port install octave
--->  Building octave
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_octave/work/octave-3.0.3" && make all " returned error 2
Command output: make -C odepack all
warning: run make in parent directory to update libraries
make -C ordered-qz all
warning: run make in parent directory to update libraries
make -C quadpack all
warning: run make in parent directory to update libraries
make -C ranlib all
warning: run make in parent directory to update libraries
make -C slatec-err all
warning: run make in parent directory to update libraries
make -C slatec-fn all
warning: run make in parent directory to update libraries
make -C villad all
warning: run make in parent directory to update libraries
make libcruft.a libcruft.3.0.3.dylib
make[3]: `libcruft.a' is up to date.
make[3]: `libcruft.3.0.3.dylib' is up to date.
make -C liboctave all
/usr/bin/g++-4.0 -c -I/opt/local/include -I/opt/local/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -O2 CSparse.cc -o CSparse.o
CSparse.cc: In member function 'ComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const Matrix&, octave_idx_type&, double&, void (*)(double), bool) const':
CSparse.cc:5769: error: invalid conversion from 'void (*)(int, const char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
CSparse.cc: In member function 'SparseComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const SparseMatrix&, octave_idx_type&, double&, void (*)(double), bool) const':
CSparse.cc:6012: error: invalid conversion from 'void (*)(int, const char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
CSparse.cc: In member function 'ComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const ComplexMatrix&, octave_idx_type&, double&, void (*)(double), bool) const':
CSparse.cc:6303: error: invalid conversion from 'void (*)(int, const char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
CSparse.cc: In member function 'SparseComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const SparseComplexMatrix&, octave_idx_type&, double&, void (*)(double), bool) const':
CSparse.cc:6525: error: invalid conversion from 'void (*)(int, const char*, int, const char*)' to 'void (*)(int, char*, int, char*)'
make[2]: *** [CSparse.o] Error 1
make[1]: *** [liboctave] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: alakazam@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to stechert@…
Port: octave added

Please remember to use WikiFormatting.

Note: See TracTickets for help on using tickets.