[Top][All Lists]

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

Re: Building octave on Solaris

From: John W. Eaton
Subject: Re: Building octave on Solaris
Date: Wed, 18 Jun 2003 18:00:41 -0500

On 18-Jun-2003, address@hidden <address@hidden> wrote:

| Yes, config.h has those lines in it. It's definitely a 'visiblity'
| problem--if I drop those lines into quit.h, the compile continues (only to
| fail at a later point). I can't make out why quit.h  cannot 'see' the
| contents of config.h. I'll keep playing with it though.

In your original messasge, you had

  gcc -c -I/home/pben/readline-4.3 -I. -I../.. -I../../liboctave ...

Is /home/pben/readline-4.3 the directory where you installed
readline-4.3, or is that the directory that contains the sources for
readline-4.3?  My guess is that it contains the sources and so it has
the readline config.h, so the compiler finds that instead of Octave's
config.h file.

You should probably install readline properly.  You can do it inside
your own home directory if you need to, using something like

  configure --prefix=$HOME/local ; make all install

and then tell Octave to find readline and its libraries using

  LDFLAGS=-L$HOME/local/lib CPPFLAGS=-I$HOME/local/include ./configure ...


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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