LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-05-2013, 07:35 PM   #1
rasitabay
LQ Newbie
 
Registered: Apr 2013
Location: Dayton/OH
Distribution: Slackware 14
Posts: 8

Rep: Reputation: Disabled
I can not compile octave on Slackware 14


This is the error message I got. Can you help?
I used slackbuild script. Anyway, This is the same error I get when I am compiling from source.
Thanks in advance.

graphics.h: At global scope:
graphics.h:2885:1: error: expected unqualified-id before 'protected'
In file included from gl-render.cc:31:0:
../liboctave/lo-mappers.h: In instantiation of 'T X_NINT(T) [with T = float]':
../liboctave/lo-mappers.h:241:60: required from here
../liboctave/lo-mappers.h:237:58: warning: conversion to 'float' from 'double' may alter its value [-Wconversion]
In file included from gl-render.h:43:0,
from gl-render.cc:34:
graphics.h: In function 'graphics_handle get_uicontextmenu()':
graphics.h:2716:90: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'graphics_handle get___myhandle__()':
graphics.h:2714:72: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get___modified__()':
graphics.h:2712:85: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is___modified__()':
graphics.h:2711:69: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_visible()':
graphics.h:2709:75: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_visible()':
graphics.h:2708:59: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'octave_value get_userdata()':
graphics.h:2706:68: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_type()':
graphics.h:2704:68: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_tag()':
graphics.h:2702:66: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_selectionhighlight()':
graphics.h:2700:97: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_selectionhighlight()':
graphics.h:2699:81: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_selected()':
graphics.h:2697:77: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_selected()':
graphics.h:2696:61: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'graphics_handle get_parent()':
graphics.h:2694:76: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_interruptible()':
graphics.h:2692:87: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_interruptible()':
graphics.h:2691:71: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_hittest()':
graphics.h:2689:75: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_hittest()':
graphics.h:2688:59: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_handlevisibility()':
graphics.h:2686:93: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool handlevisibility_is(const string&)':
graphics.h:2685:91: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'octave_value get_deletefcn()':
graphics.h:2683:70: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'octave_value get_createfcn()':
graphics.h:2680:70: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_clipping()':
graphics.h:2677:77: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_clipping()':
graphics.h:2676:61: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'octave_value get_buttondownfcn()':
graphics.h:2674:78: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_busyaction()':
graphics.h:2671:81: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool busyaction_is(const string&)':
graphics.h:2670:79: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_beingdeleted()':
graphics.h:2668:85: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_beingdeleted()':
graphics.h:2667:69: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [liboctinterp_la-gl-render.lo] Hata 1
make[3]: `/tmp/SBo/octave-3.6.4/src' dizininden çıkılıyor
make[2]: *** [all] Hata 2
make[2]: `/tmp/SBo/octave-3.6.4/src' dizininden çıkılıyor
make[1]: *** [all-recursive] Hata 1
make[1]: `/tmp/SBo/octave-3.6.4' dizininden çıkılıyor
make: *** [all] Hata 2
 
Old 04-06-2013, 08:53 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,939

Rep: Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495
I don't want to sound like a smartaleck, but, since you didn't mention, did you install the dependencies listed on the SlackBuild page, lapack and blas.
 
Old 04-06-2013, 11:31 PM   #3
rasitabay
LQ Newbie
 
Registered: Apr 2013
Location: Dayton/OH
Distribution: Slackware 14
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi Frankbell,
Thanks for your reply.
I have installed every dependencies. I can not understand why I always get this error. Are there anyone who compiled octave from source on slackware 14.
Or at least can you try to compile on your system for me?
 
Old 07-04-2013, 01:07 PM   #4
renandeos
LQ Newbie
 
Registered: Jul 2013
Location: Parnaíba-PI, Brazil
Distribution: Slackware
Posts: 12

Rep: Reputation: Disabled
Solved?

Hi fellow. Have you ever solved your problem? If yes, can you give the correct answer, solution for us?
Thanks.
 
Old 07-04-2013, 09:56 PM   #5
rasitabay
LQ Newbie
 
Registered: Apr 2013
Location: Dayton/OH
Distribution: Slackware 14
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by renandeos View Post
Hi fellow. Have you ever solved your problem? If yes, can you give the correct answer, solution for us?
Thanks.
Unfortunately my friend. I gave upon Octave and I use Sage for immediate calculations and C++ for its speed.
Sorry.
 
Old 07-05-2013, 06:29 PM   #6
renandeos
LQ Newbie
 
Registered: Jul 2013
Location: Parnaíba-PI, Brazil
Distribution: Slackware
Posts: 12

Rep: Reputation: Disabled
Hmmm. I found one good solution (for me). Before the "big compilation", try log as 'su -l', instead of 'su'. It works.
Try and post to us the result, please.
 
Old 07-05-2013, 07:31 PM   #7
rasitabay
LQ Newbie
 
Registered: Apr 2013
Location: Dayton/OH
Distribution: Slackware 14
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by renandeos View Post
Hmmm. I found one good solution (for me). Before the "big compilation", try log as 'su -l', instead of 'su'. It works.
Try and post to us the result, please.
Below is the error message and nothing changed...

In file included from gl-render.h:43:0,
from gl-render.cc:34:
graphics.h: In constructor 'text_label_property::text_label_property(const string&, const graphics_handle&, const NDArray&)':
graphics.h:730:3: warning: 'text_label_property::value' should be initialized in the member initialization list [-Weffc++]
graphics.h: In constructor 'text_label_property::text_label_property(const string&, const graphics_handle&, const Cell&)':
graphics.h:746:3: warning: 'text_label_property::value' should be initialized in the member initialization list [-Weffc++]
graphics.h: At global scope:
graphics.h:2645:12: error: expected '}' before 'NGDELETED'
graphics.h:2645:24: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
graphics.h:2646:5: error: expected ';' at end of member declaration
graphics.h:2646:17: error: 'ON' does not name a type
graphics.h:2645:24: error: invalid conversion from 'int' to 'base_properties::<anonymous enum>' [-fpermissive]
graphics.h: In member function 'void base_properties::insert_property(const string&, property)':
graphics.h:2468:7: error: 'all_props' was not declared in this scope
graphics.h: In member function 'bool base_properties::is_modified() const':
graphics.h:2495:59: error: 'is___modified__' was not declared in this scope
graphics.h: At global scope:
graphics.h:2667:31: error: non-member function 'bool is_beingdeleted()' cannot have cv-qualifier
graphics.h: In function 'bool is_beingdeleted()':
graphics.h:2667:46: error: 'beingdeleted' was not declared in this scope
graphics.h: At global scope:
graphics.h:2668:39: error: non-member function 'std::string get_beingdeleted()' cannot have cv-qualifier
graphics.h: In function 'std::string get_beingdeleted()':
graphics.h:2668:54: error: 'beingdeleted' was not declared in this scope
graphics.h: At global scope:
graphics.h:2670:45: error: non-member function 'bool busyaction_is(const string&)' cannot have cv-qualifier
graphics.h: In function 'bool busyaction_is(const string&)':
graphics.h:2670:60: error: 'busyaction' was not declared in this scope
graphics.h: At global scope:
graphics.h:2671:37: error: non-member function 'std::string get_busyaction()' cannot have cv-qualifier
graphics.h: In function 'std::string get_busyaction()':
graphics.h:2671:52: error: 'busyaction' was not declared in this scope
graphics.h: At global scope:
graphics.h:2673:75: error: non-member function 'void execute_buttondownfcn(const octave_value&)' cannot have cv-qualifier
graphics.h: In function 'void execute_buttondownfcn(const octave_value&)':
graphics.h:2673:83: error: 'buttondownfcn' was not declared in this scope
graphics.h: At global scope:
graphics.h:2674:41: error: non-member function 'octave_value get_buttondownfcn()' cannot have cv-qualifier
graphics.h: In function 'octave_value get_buttondownfcn()':
graphics.h:2674:56: error: 'buttondownfcn' was not declared in this scope
graphics.h: At global scope:
graphics.h:2676:27: error: non-member function 'bool is_clipping()' cannot have cv-qualifier
graphics.h: In function 'bool is_clipping()':
graphics.h:2676:42: error: 'clipping' was not declared in this scope
graphics.h: At global scope:
graphics.h:2677:35: error: non-member function 'std::string get_clipping()' cannot have cv-qualifier
graphics.h: In function 'std::string get_clipping()':
graphics.h:2677:50: error: 'clipping' was not declared in this scope
graphics.h: At global scope:
graphics.h:2679:71: error: non-member function 'void execute_createfcn(const octave_value&)' cannot have cv-qualifier
graphics.h: In function 'void execute_createfcn(const octave_value&)':
graphics.h:2679:79: error: 'createfcn' was not declared in this scope
graphics.h: At global scope:
graphics.h:2680:37: error: non-member function 'octave_value get_createfcn()' cannot have cv-qualifier
graphics.h: In function 'octave_value get_createfcn()':
graphics.h:2680:52: error: 'createfcn' was not declared in this scope
graphics.h: At global scope:
graphics.h:2682:71: error: non-member function 'void execute_deletefcn(const octave_value&)' cannot have cv-qualifier
graphics.h: In function 'void execute_deletefcn(const octave_value&)':
graphics.h:2682:79: error: 'deletefcn' was not declared in this scope
graphics.h: At global scope:
graphics.h:2683:37: error: non-member function 'octave_value get_deletefcn()' cannot have cv-qualifier
graphics.h: In function 'octave_value get_deletefcn()':
graphics.h:2683:52: error: 'deletefcn' was not declared in this scope
graphics.h: At global scope:
graphics.h:2685:51: error: non-member function 'bool handlevisibility_is(const string&)' cannot have cv-qualifier
graphics.h: In function 'bool handlevisibility_is(const string&)':
graphics.h:2685:66: error: 'handlevisibility' was not declared in this scope
graphics.h: At global scope:
graphics.h:2686:43: error: non-member function 'std::string get_handlevisibility()' cannot have cv-qualifier
graphics.h: In function 'std::string get_handlevisibility()':
graphics.h:2686:58: error: 'handlevisibility' was not declared in this scope
graphics.h: At global scope:
graphics.h:2688:26: error: non-member function 'bool is_hittest()' cannot have cv-qualifier
graphics.h: In function 'bool is_hittest()':
graphics.h:2688:41: error: 'hittest' was not declared in this scope
graphics.h: At global scope:
graphics.h:2689:34: error: non-member function 'std::string get_hittest()' cannot have cv-qualifier
graphics.h: In function 'std::string get_hittest()':
graphics.h:2689:49: error: 'hittest' was not declared in this scope
graphics.h: At global scope:
graphics.h:2691:32: error: non-member function 'bool is_interruptible()' cannot have cv-qualifier
graphics.h: In function 'bool is_interruptible()':
graphics.h:2691:47: error: 'interruptible' was not declared in this scope
graphics.h: At global scope:
graphics.h:2692:40: error: non-member function 'std::string get_interruptible()' cannot have cv-qualifier
graphics.h: In function 'std::string get_interruptible()':
graphics.h:2692:55: error: 'interruptible' was not declared in this scope
graphics.h: At global scope:
graphics.h:2694:37: error: non-member function 'graphics_handle get_parent()' cannot have cv-qualifier
graphics.h: In function 'graphics_handle get_parent()':
graphics.h:2694:52: error: 'parent' was not declared in this scope
graphics.h: At global scope:
graphics.h:2696:27: error: non-member function 'bool is_selected()' cannot have cv-qualifier
graphics.h: In function 'bool is_selected()':
graphics.h:2696:42: error: 'selected' was not declared in this scope
graphics.h: At global scope:
graphics.h:2697:35: error: non-member function 'std::string get_selected()' cannot have cv-qualifier
graphics.h: In function 'std::string get_selected()':
graphics.h:2697:50: error: 'selected' was not declared in this scope
graphics.h: At global scope:
graphics.h:2699:37: error: non-member function 'bool is_selectionhighlight()' cannot have cv-qualifier
graphics.h: In function 'bool is_selectionhighlight()':
graphics.h:2699:52: error: 'selectionhighlight' was not declared in this scope
graphics.h: At global scope:
graphics.h:2700:45: error: non-member function 'std::string get_selectionhighlight()' cannot have cv-qualifier
graphics.h: In function 'std::string get_selectionhighlight()':
graphics.h:2700:60: error: 'selectionhighlight' was not declared in this scope
graphics.h: At global scope:
graphics.h:2702:30: error: non-member function 'std::string get_tag()' cannot have cv-qualifier
graphics.h: In function 'std::string get_tag()':
graphics.h:2702:45: error: 'tag' was not declared in this scope
graphics.h: At global scope:
graphics.h:2704:31: error: non-member function 'std::string get_type()' cannot have cv-qualifier
graphics.h: In function 'std::string get_type()':
graphics.h:2704:46: error: 'type' was not declared in this scope
graphics.h: At global scope:
graphics.h:2706:36: error: non-member function 'octave_value get_userdata()' cannot have cv-qualifier
graphics.h: In function 'octave_value get_userdata()':
graphics.h:2706:51: error: 'userdata' was not declared in this scope
graphics.h: At global scope:
graphics.h:2708:26: error: non-member function 'bool is_visible()' cannot have cv-qualifier
graphics.h: In function 'bool is_visible()':
graphics.h:2708:41: error: 'visible' was not declared in this scope
graphics.h: At global scope:
graphics.h:2709:34: error: non-member function 'std::string get_visible()' cannot have cv-qualifier
graphics.h: In function 'std::string get_visible()':
graphics.h:2709:49: error: 'visible' was not declared in this scope
graphics.h: At global scope:
graphics.h:2711:31: error: non-member function 'bool is___modified__()' cannot have cv-qualifier
graphics.h: In function 'bool is___modified__()':
graphics.h:2711:46: error: '__modified__' was not declared in this scope
graphics.h: At global scope:
graphics.h:2712:39: error: non-member function 'std::string get___modified__()' cannot have cv-qualifier
graphics.h: In function 'std::string get___modified__()':
graphics.h:2712:54: error: '__modified__' was not declared in this scope
graphics.h: At global scope:
graphics.h:2714:43: error: non-member function 'graphics_handle get___myhandle__()' cannot have cv-qualifier
graphics.h: In function 'graphics_handle get___myhandle__()':
graphics.h:2714:58: error: '__myhandle__' was not declared in this scope
graphics.h: At global scope:
graphics.h:2716:44: error: non-member function 'graphics_handle get_uicontextmenu()' cannot have cv-qualifier
graphics.h: In function 'graphics_handle get_uicontextmenu()':
graphics.h:2716:59: error: 'uicontextmenu' was not declared in this scope
graphics.h: In function 'void set_beingdeleted(const octave_value&)':
graphics.h:2723:13: error: 'beingdeleted' was not declared in this scope
graphics.h:2725:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_busyaction(const octave_value&)':
graphics.h:2734:13: error: 'busyaction' was not declared in this scope
graphics.h:2736:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_buttondownfcn(const octave_value&)':
graphics.h:2745:13: error: 'buttondownfcn' was not declared in this scope
graphics.h:2747:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_children(const octave_value&)':
graphics.h:2756:13: error: 'children' was not declared in this scope
graphics.h:2758:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_clipping(const octave_value&)':
graphics.h:2767:13: error: 'clipping' was not declared in this scope
graphics.h:2769:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_createfcn(const octave_value&)':
graphics.h:2778:13: error: 'createfcn' was not declared in this scope
graphics.h:2780:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_deletefcn(const octave_value&)':
graphics.h:2789:13: error: 'deletefcn' was not declared in this scope
graphics.h:2791:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_handlevisibility(const octave_value&)':
graphics.h:2800:13: error: 'handlevisibility' was not declared in this scope
graphics.h:2802:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_hittest(const octave_value&)':
graphics.h:2811:13: error: 'hittest' was not declared in this scope
graphics.h:2813:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_interruptible(const octave_value&)':
graphics.h:2822:13: error: 'interruptible' was not declared in this scope
graphics.h:2824:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_selected(const octave_value&)':
graphics.h:2833:13: error: 'selected' was not declared in this scope
graphics.h:2835:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_selectionhighlight(const octave_value&)':
graphics.h:2844:13: error: 'selectionhighlight' was not declared in this scope
graphics.h:2846:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_userdata(const octave_value&)':
graphics.h:2855:13: error: 'userdata' was not declared in this scope
graphics.h:2857:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_visible(const octave_value&)':
graphics.h:2866:13: error: 'visible' was not declared in this scope
graphics.h:2868:28: error: 'mark_modified' was not declared in this scope
graphics.h: In function 'void set_uicontextmenu(const octave_value&)':
graphics.h:2877:13: error: 'uicontextmenu' was not declared in this scope
graphics.h:2879:28: error: 'mark_modified' was not declared in this scope
graphics.h: At global scope:
graphics.h:2885:1: error: expected unqualified-id before 'protected'
In file included from gl-render.cc:31:0:
../liboctave/lo-mappers.h: In instantiation of 'T X_NINT(T) [with T = float]':
../liboctave/lo-mappers.h:241:60: required from here
../liboctave/lo-mappers.h:237:58: warning: conversion to 'float' from 'double' may alter its value [-Wconversion]
In file included from gl-render.h:43:0,
from gl-render.cc:34:
graphics.h: In function 'graphics_handle get_uicontextmenu()':
graphics.h:2716:90: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'graphics_handle get___myhandle__()':
graphics.h:2714:72: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get___modified__()':
graphics.h:2712:85: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is___modified__()':
graphics.h:2711:69: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_visible()':
graphics.h:2709:75: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_visible()':
graphics.h:2708:59: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'octave_value get_userdata()':
graphics.h:2706:68: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_type()':
graphics.h:2704:68: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_tag()':
graphics.h:2702:66: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_selectionhighlight()':
graphics.h:2700:97: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_selectionhighlight()':
graphics.h:2699:81: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_selected()':
graphics.h:2697:77: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_selected()':
graphics.h:2696:61: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'graphics_handle get_parent()':
graphics.h:2694:76: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_interruptible()':
graphics.h:2692:87: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_interruptible()':
graphics.h:2691:71: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_hittest()':
graphics.h:2689:75: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_hittest()':
graphics.h:2688:59: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_handlevisibility()':
graphics.h:2686:93: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool handlevisibility_is(const string&)':
graphics.h:2685:91: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'octave_value get_deletefcn()':
graphics.h:2683:70: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'octave_value get_createfcn()':
graphics.h:2680:70: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_clipping()':
graphics.h:2677:77: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_clipping()':
graphics.h:2676:61: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'octave_value get_buttondownfcn()':
graphics.h:2674:78: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_busyaction()':
graphics.h:2671:81: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool busyaction_is(const string&)':
graphics.h:2670:79: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'std::string get_beingdeleted()':
graphics.h:2668:85: warning: control reaches end of non-void function [-Wreturn-type]
graphics.h: In function 'bool is_beingdeleted()':
graphics.h:2667:69: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [liboctinterp_la-gl-render.lo] Hata 1
make[3]: `/tmp/SBo/octave-3.6.4/src' dizininden çıkılıyor
make[2]: *** [all] Hata 2
make[2]: `/tmp/SBo/octave-3.6.4/src' dizininden çıkılıyor
make[1]: *** [all-recursive] Hata 1
make[1]: `/tmp/SBo/octave-3.6.4' dizininden çıkılıyor
make: *** [all] Hata 2
 
Old 07-05-2013, 09:19 PM   #8
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,939

Rep: Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495
Quote:
Hi Frankbell,
Thanks for your reply.
I have installed every dependencies. I can not understand why I always get this error. Are there anyone who compiled octave from source on slackware 14.
Or at least can you try to compile on your system for me?
I must apologize. I missed your request. I will take a look at octave next week.
 
Old 07-05-2013, 09:32 PM   #9
rasitabay
LQ Newbie
 
Registered: Apr 2013
Location: Dayton/OH
Distribution: Slackware 14
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
I must apologize. I missed your request. I will take a look at octave next week.
I will definitely appreciate it.
Thanks.
 
Old 07-07-2013, 09:24 PM   #10
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,939

Rep: Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495
I tried to install octave today on Slackware --Current and ran into a problem. Although I understand that Slackware comes with a TeX function installed (I say "understand" because it's not something I have ever used) the compile choked with a message that I did not have a TeX binary in the path.

At that point I ran out of time, but, in case it helps shed some light, I'm posting the error message at the end of the compile:

Code:
MAKEINFO='/bin/sh /tmp/SBo/octave-3.6.4/build-aux/missing --run makeinfo   -I .' \
texi2dvi octave.texi
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://www.tug.org.  If
you happen to be using Debian, you can get it with this command:
  apt-get install tetex-bin
make[3]: *** [octave.dvi] Error 1
make[3]: Leaving directory `/tmp/SBo/octave-3.6.4/doc/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/octave-3.6.4/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/octave-3.6.4'
make: *** [all] Error 2
If I get a chance tomorrow, I'll look at this some more, but this is rapidly moving into an area that is, as someone once said, "above my pay grade." Maybe someone else who knows more than I do will come to this thread and help us out.
 
Old 07-07-2013, 09:52 PM   #11
rasitabay
LQ Newbie
 
Registered: Apr 2013
Location: Dayton/OH
Distribution: Slackware 14
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
I tried to install octave today on Slackware --Current and ran into a problem. Although I understand that Slackware comes with a TeX function installed (I say "understand" because it's not something I have ever used) the compile choked with a message that I did not have a TeX binary in the path.

At that point I ran out of time, but, in case it helps shed some light, I'm posting the error message at the end of the compile:

Code:
MAKEINFO='/bin/sh /tmp/SBo/octave-3.6.4/build-aux/missing --run makeinfo   -I .' \
texi2dvi octave.texi
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://www.tug.org.  If
you happen to be using Debian, you can get it with this command:
  apt-get install tetex-bin
make[3]: *** [octave.dvi] Error 1
make[3]: Leaving directory `/tmp/SBo/octave-3.6.4/doc/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/octave-3.6.4/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/octave-3.6.4'
make: *** [all] Error 2
If I get a chance tomorrow, I'll look at this some more, but this is rapidly moving into an area that is, as someone once said, "above my pay grade." Maybe someone else who knows more than I do will come to this thread and help us out.
My problem is with graphics.h header file. When I checked before compiling process, there was no graphics.h file in source code folder. However, later it was created with capital letters 'İ' instead of 'I' within the file (graphics.h). For example, BEİNGNEGLECTED instead of BEINGNECLECTED. Therefore, I had the error that I added at the beginning of the post.
 
Old 07-08-2013, 04:38 AM   #12
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,044
Blog Entries: 52

Rep: Reputation: Disabled
Might be better if you hit the Report button, and ask for this thread to be moved to the Slackware forum. A lot of Slackers never stray out of there.
 
Old 07-08-2013, 06:05 AM   #13
renandeos
LQ Newbie
 
Registered: Jul 2013
Location: Parnaíba-PI, Brazil
Distribution: Slackware
Posts: 12

Rep: Reputation: Disabled
Try as root, but with 'su -l'

Quote:
Originally Posted by frankbell View Post
I tried to install octave today on Slackware --Current and ran into a problem. Although I understand that Slackware comes with a TeX function installed (I say "understand" because it's not something I have ever used) the compile choked with a message that I did not have a TeX binary in the path.

At that point I ran out of time, but, in case it helps shed some light, I'm posting the error message at the end of the compile:

Code:
MAKEINFO='/bin/sh /tmp/SBo/octave-3.6.4/build-aux/missing --run makeinfo   -I .' \
texi2dvi octave.texi
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://www.tug.org.  If
you happen to be using Debian, you can get it with this command:
  apt-get install tetex-bin
make[3]: *** [octave.dvi] Error 1
make[3]: Leaving directory `/tmp/SBo/octave-3.6.4/doc/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/octave-3.6.4/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/octave-3.6.4'
make: *** [all] Error 2
If I get a chance tomorrow, I'll look at this some more, but this is rapidly moving into an area that is, as someone once said, "above my pay grade." Maybe someone else who knows more than I do will come to this thread and help us out.
Try compile it again, but when logging as root, put 'su -l'. Report here the result, please.
 
1 members found this post helpful.
Old 07-08-2013, 04:50 PM   #14
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,470
Blog Entries: 54

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
Moved: This thread is more suitable in the slackware forum and has been moved accordingly to help your thread/question get the exposure it deserves.
*Also not the "Similar Threads" box at the bottom of this page: it may not be the first time this question was asked.
 
Old 07-09-2013, 12:29 PM   #15
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,939

Rep: Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495
Code:
su -l
worked. Octave compiled and installed.

Hope this helps OP.

Last edited by frankbell; 07-09-2013 at 12:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Octave 3.4.2 gives compilation error on Slackware-current 64 Bindestreck Slackware 1 05-25-2012 11:26 AM
GNU Octave compile error and fix without recompile ivanp84 Slackware 2 02-12-2012 04:54 AM
Slackware 13 and Octave 3.2 slackuser998 Slackware 1 09-18-2009 08:26 PM
Does anyone know how to use octave? ramon243 Linux - Software 1 09-26-2007 07:27 PM


All times are GMT -5. The time now is 10:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration