[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Who did revise codes of the odepkg package to work on octave-4.0?
From: |
Tatsuro MATSUOKA |
Subject: |
Who did revise codes of the odepkg package to work on octave-4.0? |
Date: |
Wed, 8 Apr 2015 14:52:47 +0900 (JST) |
Hello
With the help by John Donoghue, I could install the odepkg package in mercurial
repository
to Octave-4.0.0-rc2 on Ubunutu 14.04 (amd64).
https://savannah.gnu.org/bugs/?44594
(The patch is used: file #33586: fixode.patch in the tracker.)
I have confirmed that ode45 works very well so that I'm very happy to know
that I can use the odepkg package on new coming octave.
I will try to make new package if anyone else will not do that.
But the odepkg-0.8.4 cannot be compiled at all on octave-4.0.0-rc2.
See logs at the end of this mail.
The patch of fixode.patch is small revise for src/makefile so that someone
revised the code in mercurial repository for the build on octave-4.0.
Who did revise codes of the odepkg package to work on octave-4.0?
He/she/they is/are the best contributor for this change.
Tatsuro
#**********************************************************************
>> pkg install -verbose -forge odepkg
mkdir (/tmp/oct-TPN11q)
untar (/home/tatsuro/odepkg-0.8.4.tar.gz, /tmp/oct-TPN11q)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mkoctfile... /opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2
--verbose
g++ -c -fPIC -I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave/..
-I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave
-I/opt/octave/4.0.0-rc2/include -pthread -fopenmp -g -O2 conftest.cc -o
conftest.o
g++ -shared -Wl,-Bsymbolic -o conftest.oct conftest.o
-L/opt/octave/4.0.0-rc2/lib/octave/4.0.0-rc2 -L/opt/octave/4.0.0-rc2/lib
-loctinterp -loctave
retrieving compile and link flags from
/opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose
checking for F77_FUNC... g++ -c -fPIC
-I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave/..-I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave
-I/opt/octave/4.0.0-rc2/include -pthread -fopenmp -g -O2 conftest.cc -o
conftest.o
yes
checking for octave... /opt/octave/4.0.0-rc2/bin/octave-4.0.0-rc2
checking for OCTAVE_VERSION in Octave... 4.0.0-rc2
checking for octave_config_info('canonical_host_type') in Octave...
x86_64-unknown-linux-gnu
checking for octave_config_info('SHLEXT') in Octave... so
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
configure: creating ./config.status
config.status: creating Makeconf
"$prefix" is /home/tatsuro/octave/odepkg-0.8.4
"$exec_prefix" is ${prefix}
octave commands will install into the following directories:
m-files: /opt/octave/4.0.0-rc2/share/octave/4.0.0-rc2/site/m/octave-forge
oct-files:
/opt/octave/4.0.0-rc2/lib/octave/4.0.0-rc2/site/oct/x86_64-unknown-linux-gnu/octave-forge
binaries:
/opt/octave/4.0.0-rc2/libexec/octave/4.0.0-rc2/site/exec/x86_64-unknown-linux-gnu
alternatives:
m-files:
/opt/octave/4.0.0-rc2/share/octave/4.0.0-rc2/site/octave-forge-alternatives/m
oct-files:
/opt/octave/4.0.0-rc2/lib/octave/4.0.0-rc2/site/octave-forge-alternatives/oct/x86_64-unknown-linux-gnu
shell commands will install into the following directories:
binaries: ${exec_prefix}/bin
man pages: ${datarootdir}/man
libraries: ${exec_prefix}/lib
headers: ${prefix}/include
octave-forge is configured with
octave: /opt/octave/4.0.0-rc2/bin/octave-4.0.0-rc2 (version 4.0.0-rc2)
mkoctfile: /opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose for
Octave 0-rc2
find . -name NOINSTALL -print # shows which toolboxes won't be installed
make: Entering directory `/tmp/oct-TPN11q/odepkg/src'
Unpacking external packages: hairer.tgz
Unpacking external packages: hairer.tgz
Unpacking external packages: cash.tgz
Unpacking external packages: cash.tgz
Unpacking external packages: daskr.tgz
Unpacking external packages: daskr.tgz
Applying patches from file: hairer.diff
Applying patches from file: cash.diff
Applying patches from file: hairer.diff
patching file cash/mebdfdae.f
Applying patches from file: cash.diff
patching file cash/mebdfdae.f
patching file cash/mebdfi.f
Applying patches from file: daskr.diff
patching file cash/mebdfi.f
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
patching file daskr/dlinpk.f
68 out of 68 hunks ignored -- saving rejects to file cash/mebdfi.f.rej
Applying patches from file: daskr.diff
patching file daskr/dlinpk.f
Unpacking external packages: hairer.tgz
/opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose -DHAVE_OCTAVE_40 -v -c
odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
Unpacking external packages: cash.tgz
g++ -c -fPIC -I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave/..
-I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave
-I/opt/octave/4.0.0-rc2/include -pthread -fopenmp -g -O2 -DHAVE_OCTAVE_40
odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
Unpacking external packages: daskr.tgz
Applying patches from file: hairer.diff
Applying patches from file: cash.diff
patching file cash/mebdfdae.f
patching file cash/mebdfi.f
Applying patches from file: daskr.diff
patching file daskr/dlinpk.f
/opt/octave/4.0.0-rc2/bin/mkoctfile-4.0.0-rc2 --verbose -DHAVE_OCTAVE_40 -v -c
odepkg_octsolver_mebdfi.cc -o odepkg_octsolver_mebdfi.o
g++ -c -fPIC -I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave/..
-I/opt/octave/4.0.0-rc2/include/octave-4.0.0-rc2/octave
-I/opt/octave/4.0.0-rc2/include -pthread -fopenmp -g -O2 -DHAVE_OCTAVE_40
odepkg_octsolver_mebdfi.cc -o odepkg_octsolver_mebdfi.o
In file included from odepkg_octsolver_mebdfi.cc:43:0:
odepkg_auxiliary_functions.h:23:22: error: 'Octave_map' has not been declared
(std::string vnam, Octave_map vmap);
^
odepkg_octsolver_mebdfi.cc: In function 'octave_value_list Fodebdi(const
octave_value_list&, int)':
odepkg_octsolver_mebdfi.cc:353:3: error: 'Octave_map' was not declared in this
scope
Octave_map vodeopt; // The OdePkg options structure
^
odepkg_octsolver_mebdfi.cc:353:14: error: expected ';' before 'vodeopt'
Octave_map vodeopt; // The OdePkg options structure
^
odepkg_octsolver_mebdfi.cc:411:7: error: 'vodeopt' was not declared in this
scope
vodeopt = tmp(0).map_value (); // Create a default structure
^
odepkg_octsolver_mebdfi.cc:422:7: error: 'vodeopt' was not declared in this
scope
vodeopt = tmp(0).map_value (); // Create structure of args(4)
^
odepkg_octsolver_mebdfi.cc:433:7: error: 'vodeopt' was not declared in this
scope
vodeopt = tmp(0).map_value (); // Create a default structure
^
odepkg_octsolver_mebdfi.cc:440:5: error: 'vodeopt' was not declared in this
scope
vodeopt = tmp(0).map_value (); // Create a default structure
^
odepkg_octsolver_mebdfi.cc:450:66: error: 'vodeopt' was not declared in this
scope
octave_value vreltol = odepkg_auxiliary_getmapvalue ("RelTol", vodeopt);
^
odepkg_octsolver_mebdfi.cc:860:16: error: expected ';' before 'vretmap'
Octave_map vretmap;
^
odepkg_octsolver_mebdfi.cc:861:5: error: 'vretmap' was not declared in this
scope
vretmap.assign ("x", vtres);
^
In file included from odepkg_octsolver_mebdfdae.cc:47:0:
odepkg_auxiliary_functions.h:23:22: error: 'Octave_map' has not been declared
(std::string vnam, Octave_map vmap);
^
odepkg_octsolver_mebdfdae.cc: In function 'octave_value_list Fodebda(const
octave_value_list&, int)':
odepkg_octsolver_mebdfdae.cc:277:3: error: 'Octave_map' was not declared in
this scope
Octave_map vodeopt; // The OdePkg options structure
^
odepkg_octsolver_mebdfdae.cc:277:14: error: expected ';' before 'vodeopt'
Octave_map vodeopt; // The OdePkg options structure
^
odepkg_octsolver_mebdfdae.cc:319:7: error: 'vodeopt' was not declared in this
scope
vodeopt = tmp(0).map_value (); // Create a default structure
^
odepkg_octsolver_mebdfdae.cc:330:7: error: 'vodeopt' was not declared in this
scope
vodeopt = tmp(0).map_value (); // Create structure from args(4)
^
odepkg_octsolver_mebdfdae.cc:341:7: error: 'vodeopt' was not declared in this
scope
vodeopt = tmp(0).map_value (); // Create a default structure
^
odepkg_octsolver_mebdfdae.cc:348:5: error: 'vodeopt' was not declared in this
scope
vodeopt = tmp(0).map_value (); // Create a default structure
^
odepkg_octsolver_mebdfdae.cc:358:66: error: 'vodeopt' was not declared in this
scope
octave_value vreltol = odepkg_auxiliary_getmapvalue ("RelTol", vodeopt);
^
odepkg_octsolver_mebdfdae.cc:755:16: error: expected ';' before 'vretmap'
Octave_map vretmap;
^
odepkg_octsolver_mebdfdae.cc:756:5: error: 'vretmap' was not declared in this
scope
vretmap.assign ("x", vtres);
^
make: *** [odepkg_octsolver_mebdfi.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [odepkg_octsolver_mebdfdae.o] Error 1
make: Leaving directory `/tmp/oct-TPN11q/odepkg/src'
pkg: error running `make' for the odepkg package.
error: called from 'configure_make' in file
/opt/octave/4.0.0-rc2/share/octave/4.0.0-rc2/m/pkg/private/configure_make.m
near line 96, column 9
- Who did revise codes of the odepkg package to work on octave-4.0?,
Tatsuro MATSUOKA <=