Tue 15 Jan 2013 09:33:29 PM UTC, original submission:
Initially, it was not possible to compile database-1.0.4
I was running Debian|Wheezy packages, but see later text.
I still have some problems, and have not yet tested whether
the package as compiled works with octave pkg, so this is still a
work in progress.
I have mysql on this system, the report says mysql.h is not found,
so that is on my ToDo list.
I also have postgresql and sqlite3 - these get compiled into the
package. the work needed is described below.
Then, in /database-1.0.4/src run
patch postgres_wrap.cpp and sqlite3_wrap.cpp with this
I need a workaround because of this error
I do not sqlite3 at this time so comment out the problem
To get this to compile, I had to install
liboctave-3.2.4 - it was the nearest I had to the version of
the database package.
I had earlier tried liboctave-dev_3.6.2-2_amd64.deb but it
failed with this error:
To try to determine the cause of the error, I replaced
the /octave-3.6.2/octave directory with that from
octave-3.2.4/octave, confirmed that that compiled, and began
replacing the old files with new. When all the files were
copied across, the package again compiled.
When I revert back to /octave-3.6.2/octave, the error returns.
I attach two gzipped files :
octave - this is the vanilla /octave-3.6.2/octave it fails.
octave.one - this is the /octave-3.6.2/octave with some old files. it compiles.
ToDo - test the compiled package with octave and pkg ;-)
|