|
|
|
|
|
|
| Author |
Message |
Jeroen J *nix forums beginner
Joined: 06 Feb 2005
Posts: 3
|
Posted: Tue Feb 08, 2005 7:43 pm Post subject:
Re: Compiling Octave
|
|
|
"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
|
Posted: Mon Feb 07, 2005 7:43 pm Post subject:
Re: Compiling Octave
|
|
|
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
|
Posted: Mon Feb 07, 2005 7:39 pm Post subject:
Re: Compiling Octave
|
|
|
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
|
Posted: Sun Feb 06, 2005 3:23 pm Post subject:
Re: Compiling Octave
|
|
|
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
|
Posted: Sun Feb 06, 2005 1:21 pm Post subject:
Re: Compiling Octave
|
|
|
"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
|
Posted: Sun Feb 06, 2005 11:57 am Post subject:
Compiling Octave
|
|
|
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 |
|
 |
|
|
The time now is Thu Jan 08, 2009 9:51 am | All times are GMT
|
|
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
|
|