help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I compile Octave GUI from sources?


From: Juan Pablo Carbajal
Subject: Re: How can I compile Octave GUI from sources?
Date: Mon, 12 Nov 2012 20:55:40 +0100

On Mon, Nov 12, 2012 at 8:51 PM, Pedro <address@hidden> wrote:
> On Mon, Nov 12, 2012 at 4:24 PM, Juan Pablo Carbajal
> <address@hidden> wrote:
>> On Sun, Nov 11, 2012 at 7:02 PM, Pedro <address@hidden> wrote:
>>> On Wed, Nov 7, 2012 at 2:50 PM, Juan Pablo Carbajal
>>> <address@hidden> wrote:
>>>> On Wed, Nov 7, 2012 at 2:42 PM, Pedro <address@hidden> wrote:
>>>>> Hi list,
>>>>>
>>>>> I would like to test Octave GUI but it's difficult to find a tutorial
>>>>> in google (GUI Octave, ... )
>>>>> Any help? References? Howto?
>>>>>
>>>>> I know that Octave GUI is unstable.
>>>>>
>>>>> Could be these included in FAQ?
>>>>> The response now is not enough for me :/
>>>>> http://wiki.octave.org/FAQ#GUI
>>>>>
>>>>> I'm in Lubuntu 12.10 and I have Octave version 3.6.2 from official 
>>>>> repositories.
>>>>>
>>>>> Greetings,
>>>>> Pedro
>>>>
>>>> Hi Pedro,
>>>>
>>>> I think this mail should go to the help mailing list.
>>>>
>>>> You need to checkout the default repository and compile it from source.
>>>> Follow the instructions here
>>>> http://www.gnu.org/software/octave/get-involved.html
>>>>
>>>> Once you go the code do
>>>> $ hg update default
>>>> $ ./bootstrap
>>>> $ ./configure
>>>> $ make
>>>> $ ./run-octave
>>>>
>>>> Make sure that ./configure tell that you are OK to compile. Also when
>>>> making you can pass the -j<n> option, where <n> is the number of
>>>> processors/cores you have in your machine.
>>>> I do not know what kind of update system you have in Lubuntu, just run
>>>> the equivalent to
>>>> $ sudo apt-get install buildessential
>>>> $ sudo apt-get builddep octave
>>>>
>>>> before you start compiling to get all the dependencies. You will also need
>>>> libqscintilla2 and qt4
>>>
>>> Ok, I have an make error. But first, I make a description to arrive here:
>>>
>>> ./bootstrap
>>> says: "build-aux/bootstrap_gnulib: one of these is required:
>>> glibtoolize libtoolize"
>>> => you have to install "sudo apt-get install libtool"
>>> => (and) "sudo apt-get install automake autoconf"
>>>
>>> ./configure
>>> sudo apt-get install libpcre3-dev
>>> sudo apt-get install libblas-dev liblapack-dev
>>>
>>> make
>>> here's the error [1]
>>> I tried to resolve installing:
>>> sudo apt-get install flex flexc++ flexbackup libfl-dev flexloader flexml
>>> (also flex-old, and this remove flex and libfl-dev)
>>>
>>> information
>>> flex version: 2.5.35-10
>>> libfl-dev version: 2.5.35-10
>>> flex-old version: 2.5.4a-10
>>>
>>> [1] Error in make
>>>
>>> Making all in libinterp
>>> make[2]: Entering directory `/home/papatupf/Sources/octave/libinterp'
>>> /bin/bash ../build-aux/ylwrap parse-tree/lex.ll lex.octave_.c
>>> parse-tree/lex.cc -- ../build-aux/missing flex
>>> WARNING: `flex' is missing on your system.  You should only need it if
>>>          you modified a `.l' file.  You may need the `Flex' package
>>>          in order for those modifications to take effect.  You can get
>>>          `Flex' from any GNU archive site.
>>> make[2]: *** [parse-tree/lex.cc] Error 1
>>> make[2]: Leaving directory `/home/<user>/octave/libinterp'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/home/<user>/Sources/octave'
>>> make: *** [all] Error 2
>>
>> Try first getting the dependencies
>>
>> $ sudo apt-get build-dep octave
>>
>> if you are in a Ubuntu older than 12.10 you need to do
>>
>> $ sudo apt-get build-dep octave3.2
>>
>> Also notice that bootstrap is telling you that there are some programs 
>> missing.
>
> Thanks for your reply.
> About depmode. I was thinking that was a program... aplying
> incorrectly sudo apt-get install build-dep octave
>
> So I did:
> # sudo apt-get build-dep octave
> # make clean && ./bootstrap && ./configure && make
>
> and here's the ouput error:
> http://pastebin.com/yhm4NcmK
>
> Something bad with lex.cc & lex.ll
> Seems to be missing a library
>
> Now I will try a new hg clone of sources and try again (instead of
> using make clean)

Try manually installing lex

$ sudo apt-get install flex

What GNU/Linux are you using?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]