I downloaded octave-workshop:
http://www.math.mcgill.ca/loisel/oct...op-0.10.tar.gz
octave is already installed.
octave-workshop requires QT4.1, so you need to install QT4, then install QT4.1 from source:
https://help.ubuntu.com/community/Bu...int8FromSource
http://openmodeller.cria.org.br/wiki...ldInstructions
QT4:
Code:
sudo apt-get install libqt4-core libqt4-debug libqt4-debug-dev libqt4-dev libqt4-gui libqt4-qt3support libqt4-sql lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig uim-qt gcc libapt-pkg-perl resolvconf
QT4.1:
Code:
sudo apt-get install libxrender-dev libxrandr-dev libxcursor-dev libxinerama-dev libfontconfig-dev libxext-dev libx11-dev libxi-dev libsm-dev libx11-dev
Code:
mkdir -p $HOME/installers
cd ~/installers
wget ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-4.1.0.tar.gz
tar xfz ~/installers/qt-x11-opensource-src-4.1.0.tar.gz
cd qt-x11-opensource-src-4.1.0
Code:
/configure -prefix /usr/local/Trolltech/Qt-4.1.0
make
sudo make install
I then tried to install octave-workshop from source, but I got this error:
checking whether we can build a liboctave program... configure: error: Cannot link against liboctave
I don't think there is a solution to this error without recompiling octave-workshop, which is beyond my ability.
QT4.1 is installed, so we can try another method. Convert the RPM file to a DEB file.
I downloaded the octave-workshop RPM to my desktop:
http://webpages.charter.net/qspencer/rpm/
I converted the RPM to a DEB:
Code:
cd ~/Desktop
sudo alien -d octave-workshop-0.10-1.i386.rpm
The RPM file uses termcap, but the DEB file requires ncurses:
http://directory.fedora.redhat.com/wiki/Howto: DebianUbuntu
so you need to download these old breezy DEB files to install octave-workshop in dapper:
termcap-compat
http://packages.ubuntu.com/cgi-bin/d...i386&type=main
libc5
http://packages.ubuntu.com/cgi-bin/d...i386&type=main
ldso
http://packages.ubuntu.com/cgi-bin/d...i386&type=main
You then need to create a link for libhdf5.so.0:
Code:
cd /usr/lib
sudo ln -s libhdf5-1.6.4.so.0 libhdf5.so.0
I then get this error when I ran octave-workshop:
*** glibc detected *** free(): invalid pointer: 0x08c90cb0 ***
Aborted
That's as far as I got.
I then uninstalled the breezy DEB files, and removed the libhdf5.so.0 link:
Code:
cd /usr/lib
sudo rm libhdf5.so.0
Bookmarks