Mercurial > octave-antonio
changeset 13446:1728cf96c7c4
Corrected build process, removed startup script.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Thu, 14 Apr 2011 21:21:28 +0200 |
parents | f82f142763c8 |
children | c836ec162a2e |
files | gui//Quint.pro gui//README gui//object-files/object-files gui//start-Quint-Ubuntu.sh |
diffstat | 3 files changed, 26 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gui//Quint.pro Thu Apr 14 20:23:18 2011 +0200 +++ b/gui//Quint.pro Thu Apr 14 21:21:28 2011 +0200 @@ -10,8 +10,7 @@ OBJECTS_DIR = object-files TARGET = Quint TEMPLATE = app -DEFINES += HAVE_POSIX_OPENPT -INCLUDEPATH += src qcodeedit-2.2.3 +INCLUDEPATH += src DESTDIR = bin SOURCES +=\ src/TerminalCharacterDecoder.cpp \ @@ -99,5 +98,6 @@ LFLAGS = $$system(mkoctfile -p LFLAGS) \ $$system(mkoctfile -p OCTAVE_LIBS) \ $$system(mkoctfile -p LIBS) -LIBS += $$LFLAGS -loctave -loctinterp -lreadline -lutil +#LIBS += $$LFLAGS -lutil +QMAKE_LFLAGS += $$LFLAGS -lutil QMAKE_CXXFLAGS += $$INCFLAGS
--- a/gui//README Thu Apr 14 20:23:18 2011 +0200 +++ b/gui//README Thu Apr 14 21:21:28 2011 +0200 @@ -1,5 +1,6 @@ Quint is using the QTermWidget to emulate a terminal, this enabling readline support for Octave. This is the original README file from the author: +########################################################################################### QTermWidget version 0.1.0 @@ -20,4 +21,26 @@ This library was compiled and tested on three linux systems, based on 2.4.32, 2.6.20, 2.6.23 kernels, x86 and amd64. Please inform about its behaviour on other systems. +########################################################################################### +If you cannot launch Quint because it fails to find octave's shared libraries and you are sure that you have them installed, you will need +to do an + +export LD_LIBRARY_PATH=/usr/lib/octave-x.x.x/:$LD_LIBRARY_PATH && bin/Quint + +and replace x.x.x by the specific octave version you have installed to run Quint. If you don't want to do that each time you launch Quint, +do the following: + +sudo gedit /etc/ld.so.conf + +and append the line: + +/usr/lib/octave-x.x.x/ + +Save the file and do: + +sudo ldconfig + +Now Quint should not complain about missing shared libraries. If you have any problems, suggestions or ideas, feel free to drop me a mail at +jacob.dawid@googlemail.com - Jacob Dawid +