niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » SGI/IRIX » admin
Compiling Octave
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
Jeroen J
*nix forums beginner


Joined: 06 Feb 2005
Posts: 3

PostPosted: Tue Feb 08, 2005 7:43 pm    Post subject: Re: Compiling Octave Reply with quote

"UNIX Museum" <unixmuseum@verizon.com> wrote in message
news:5qQNd.12567$uc.1186@trnddc05...
Quote:
Jeroen J wrote:
Thank you both -- your replies were quite helpful. Config.log showed
that -lreadline was not found on the system; apparently
/usr/freeware/lib32 and /usr/freeware/lib64 were not in ld's search path.
I managed to fix that, and it's now compiling properly.

Jeroen

Jeroen, are you going to make the version you compiled available
somewhere?


I'll look into that. I'll send you an e-mail soon.

Jeroen
Back to top
UNIX Museum
*nix forums beginner


Joined: 26 May 2005
Posts: 40

PostPosted: Mon Feb 07, 2005 7:43 pm    Post subject: Re: Compiling Octave Reply with quote

Jeroen J wrote:
Quote:
Thank you both -- your replies were quite helpful. Config.log showed
that -lreadline was not found on the system; apparently /usr/freeware/lib32
and /usr/freeware/lib64 were not in ld's search path. I managed to fix that,
and it's now compiling properly.

Jeroen

Jeroen, are you going to make the version you compiled available somewhere?
Back to top
Jeroen J
*nix forums beginner


Joined: 06 Feb 2005
Posts: 3

PostPosted: Mon Feb 07, 2005 7:39 pm    Post subject: Re: Compiling Octave Reply with quote

Thank you both -- your replies were quite helpful. Config.log showed
that -lreadline was not found on the system; apparently /usr/freeware/lib32
and /usr/freeware/lib64 were not in ld's search path. I managed to fix that,
and it's now compiling properly.

Jeroen

PS: sorry for the e-mail, Mr. Anderson; I accidentally used the wrong
'reply' button in my news client.


"David Anderson" <davea@quasar.engr.sgi.com> wrote in message
news:cu5g9m$30uvqn$1@fido.engr.sgi.com...
Quote:
In article <F6-dncNLaJvaiZvfRVnyrw@casema.nl>,
Jeroen J <jeroenj@amesac.nl> wrote:
Hi,

I'm trying to compile the latest version of Octave (2.1.64, but I also
tried
2.1.60), but the configuration script exits with the following message:

checking for rl_set_keyboard_input_timeout in -lreadline... no
configure: WARNING: I need GNU Readline 4.2 or later
configure: error: this is fatal unless you specify --disable-readline

However, the version of the GNU Readline library that's installed is 4.3
(from SGI freeware), so one wouldn't expect a problem there. Next, I tried
the Readline source (v5.0), compiled and installed it, set the
LD_LIBRARY_PATH environment variable accordingly, and tried Octave's
configure script again. Unfortunately, that made no difference.

In general,
LD_LIBRARY_PATH is used to add library paths at run time.
(that is, used by the run-time-linker (rld on IRIX)).
Not used by the static-linker (ld).
while
-L<path
is used to add a path at static-link time (not visible to the
run-time-linker). -rpath (ld option) can be used to
to bind a library path, making LD_LIBRARY_PATH unnecessary).

The machine I'm using is an Indigo2 R10k running Irix 6.5.11f. Compiler is
GCC 3.3.

Hope this helps
David B. Anderson davea at sgi dot com http://reality.sgiweb.org/davea
Back to top
David Anderson
*nix forums beginner


Joined: 09 Apr 2005
Posts: 17

PostPosted: Sun Feb 06, 2005 3:23 pm    Post subject: Re: Compiling Octave Reply with quote

In article <F6-dncNLaJvaiZvfRVnyrw@casema.nl>,
Jeroen J <jeroenj@amesac.nl> wrote:
Quote:
Hi,

I'm trying to compile the latest version of Octave (2.1.64, but I also tried
2.1.60), but the configuration script exits with the following message:

checking for rl_set_keyboard_input_timeout in -lreadline... no
configure: WARNING: I need GNU Readline 4.2 or later
configure: error: this is fatal unless you specify --disable-readline

However, the version of the GNU Readline library that's installed is 4.3
(from SGI freeware), so one wouldn't expect a problem there. Next, I tried
the Readline source (v5.0), compiled and installed it, set the
LD_LIBRARY_PATH environment variable accordingly, and tried Octave's
configure script again. Unfortunately, that made no difference.

In general,
LD_LIBRARY_PATH is used to add library paths at run time.
(that is, used by the run-time-linker (rld on IRIX)).
Not used by the static-linker (ld).
while
-L<path>
is used to add a path at static-link time (not visible to the
run-time-linker). -rpath (ld option) can be used to
to bind a library path, making LD_LIBRARY_PATH unnecessary).

Quote:
The machine I'm using is an Indigo2 R10k running Irix 6.5.11f. Compiler is
GCC 3.3.

Hope this helps
David B. Anderson davea at sgi dot com http://reality.sgiweb.org/davea
Back to top
Joerg Behrens
*nix forums Guru Wannabe


Joined: 29 Apr 2005
Posts: 106

PostPosted: Sun Feb 06, 2005 1:21 pm    Post subject: Re: Compiling Octave Reply with quote

"Jeroen J" <jeroenj@amesac.nl> schrieb im Newsbeitrag
news:F6-dncNLaJvaiZvfRVnyrw@casema.nl...
Quote:
Hi,

I'm trying to compile the latest version of Octave (2.1.64, but I also
tried
2.1.60), but the configuration script exits with the following message:

checking for rl_set_keyboard_input_timeout in -lreadline... no
configure: WARNING: I need GNU Readline 4.2 or later
configure: error: this is fatal unless you specify --disable-readline

However, the version of the GNU Readline library that's installed is 4.3
(from SGI freeware), so one wouldn't expect a problem there. Next, I tried
the Readline source (v5.0), compiled and installed it, set the
LD_LIBRARY_PATH environment variable accordingly, and tried Octave's
configure script again. Unfortunately, that made no difference.

Suggestions, anyone?


Check the config.log file whats going on. The configure compiles small
testprogramms to find out if foobar is available and if its the right
version. This buildprocess sometimes failed
while wrong compiler settings or pathes are be used. So when an error
message or just garbage returns the configure detects this as an 'no'.


Btw.
No problems here

checking for tputs in -lncurses... yes
checking for rl_set_keyboard_input_timeout in -lreadline... yes
checking for struct exception in math.h... yes
....

I pass all checks and compiling looks good... still running. I take notice
to hardcoded Compiler flags like -Wshadow an -W

regards
Joerg

--
TakeNet GmbH Mobil: 0171/60 57 963
D-97080 Wuerzburg Tel: +49 931 903-2243
Alfred-Nobel-Straße 20 Fax: +49 931 903-3025
Back to top
Jeroen J
*nix forums beginner


Joined: 06 Feb 2005
Posts: 3

PostPosted: Sun Feb 06, 2005 11:57 am    Post subject: Compiling Octave Reply with quote

Hi,

I'm trying to compile the latest version of Octave (2.1.64, but I also tried
2.1.60), but the configuration script exits with the following message:

checking for rl_set_keyboard_input_timeout in -lreadline... no
configure: WARNING: I need GNU Readline 4.2 or later
configure: error: this is fatal unless you specify --disable-readline

However, the version of the GNU Readline library that's installed is 4.3
(from SGI freeware), so one wouldn't expect a problem there. Next, I tried
the Readline source (v5.0), compiled and installed it, set the
LD_LIBRARY_PATH environment variable accordingly, and tried Octave's
configure script again. Unfortunately, that made no difference.

Suggestions, anyone?

The machine I'm using is an Indigo2 R10k running Irix 6.5.11f. Compiler is
GCC 3.3.

Jeroen
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 9:51 am | All times are GMT
navigation Forum index » *nix » SGI/IRIX » admin
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts compiling x11 screwed up the system! Seven Gentoo 9 Sun Jul 16, 2006 2:47 pm
No new posts Compiling Programs contains Xutility calls ehabaziz2001@gmail.com Solaris 12 Sun Jul 16, 2006 12:54 am
No new posts Compiling from source Tom Suse 2 Fri Jul 14, 2006 12:51 pm
No new posts Problem compiling Octave 2.1.50 on Solaris 2.8 con gcc 3... tony73 Solaris 1 Thu Jul 13, 2006 7:44 am
No new posts Problem compiling Octave 2.1.50 on Solaris 2.8 con gcc 3... tony73 Solaris 0 Thu Jul 13, 2006 7:44 am

Remortgages | Car Loan | Credit Counseling | Web Advertising | Debt Consolidation
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1652s ][ Queries: 20 (0.0729s) ][ GZIP on - Debug on ]