[Techtalk] Trying to get octave to compile.

Sue Stones suzo at spin.net.au
Wed Mar 17 21:14:09 EST 2004


On Wed, 17 Mar 2004 06:04 pm, John Clarke wrote:
> -lreadline tells the linker to include libreadline.so, which you don't
> have.  Try doing this:
>
>     ln -s libreadline.so.4 /lib/libreadline.so
>
> and run configure again.

Thanks John, with a few more packages installed it finally configures.  But i 
have errors in compiling. Below is the last few lines of the output.  Any 
ideas about how I go about tracking this down?

sue

oct-rl-edit.c: In function `octave_rl_completion_matches':
oct-rl-edit.c:262: warning: return makes pointer from integer without a cast
oct-rl-edit.c: In function `octave_rl_prompt_start_ignore':
oct-rl-edit.c:268: `RL_PROMPT_START_IGNORE' undeclared (first use in this 
function)
oct-rl-edit.c: In function `octave_rl_prompt_end_ignore':
oct-rl-edit.c:274: `RL_PROMPT_END_IGNORE' undeclared (first use in this 
function)
oct-rl-edit.c: In function `octave_rl_set_terminal_name':
oct-rl-edit.c:286: `rl_terminal_name' undeclared (first use in this function)
make[2]: *** [oct-rl-edit.o] Error 1
make[2]: Leaving directory `/home/sue/octave-2.1.50/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/home/sue/octave-2.1.50'
make: *** [all] Error 2
[root at localhost octave-2.1.50]#



More information about the Techtalk mailing list