octave-maintainers
[Top][All Lists]
Advanced

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

Re: compiling cli version only


From: Mike Miller
Subject: Re: compiling cli version only
Date: Fri, 17 Feb 2017 09:26:36 -0800
User-agent: NeoMutt/20170113 (1.7.2)

On Fri, Feb 17, 2017 at 16:05:02 +0100, c. wrote:
> Hi,
> 
> I am installing from sources on a machine where I will not need to use 
> graphics.
> I am configuring with:
> 
> ./configure ...  --without-qt --with-x=no --without-opengl --without-fltk    
> ...
> 
> nontheless make produces two separate and different binaries:
> 
> lrwxrwxrwx 1 carlo numer      12 Feb 17 15:57 octave -> octave-4.2.0
> -rwxr-xr-x 1 carlo numer  129960 Feb 17 15:57 octave-4.2.0
> lrwxrwxrwx 1 carlo numer      16 Feb 17 15:57 octave-cli -> octave-cli-4.2.0
> -rwxr-xr-x 1 carlo numer  114200 Feb 17 15:57 octave-cli-4.2.0
> 
> and, if I start "octave" I always get the following warning:
> 
> $ octave   
> octave: no graphical display found
> octave: disabling GUI features
> 
> which I don't get when running "octave-cli"
> 
> Is there a way to tell configure to produce "octave-cli" only?

No, there is no way to avoid compiling the octave wrapper program.

After make install, you could delete octave and rename / copy / link
octave-cli to be octave if you want. I don't think the executable
octave-cli has to exist under that name for everything to work correctly
(except when using the wrapper program).

> How do I get rid of the warning?

You could run octave -W or octave --no-window-system, which has the same
effect as not having a DISPLAY in the environment but without the
warning message.

Or always use octave-cli.

-- 
mike



reply via email to

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