[Top][All Lists]

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

Re: Building octave on Solaris (success)

From: pben
Subject: Re: Building octave on Solaris (success)
Date: Fri, 20 Jun 2003 14:57:18 -0500

Thank you very much for your suggestions. It was the config.h in $HOME/readline that conflicted with octave's config.h. I am glad to report that now I have octave running under Solaris 2.9, compiled entirely as a normal user.

One note. Even though I built and installed readline within my home directory, octave still had to be told where to find the include files for readline. I did this via environment variables, something to this effect:

export CPPFLAGS='-I/home/pben/local/include'
./configure --prefix=/home/pben/local
make all install


Inactive hide details for "John W. Eaton" <address@hidden>"John W. Eaton" <address@hidden>

          "John W. Eaton" <address@hidden>

          06/18/2003 06:00 PM

To: address@hidden
cc: address@hidden
Subject: Re: Building octave on Solaris

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:

GIF image

reply via email to

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