octave-maintainers
[Top][All Lists]
Advanced

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

Re: default path to oct files


From: JF Cardoso
Subject: Re: default path to oct files
Date: Thu, 10 Jul 2008 18:22:11 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

John W. Eaton wrote:
> 
> Does the /usr/local/libexec/octave/site/oct/api-v32/i686-pc-linux-gnu
> directory exist on your system?

Yes it does, but maybe it has been created not at octave install time
but when I installed my own oct files there: this is done via a
Makefile with the following relevant lines:

=====================================================================
InstallDir     := $(shell octave-config --print LOCALAPIOCTFILEDIR)
install:
        echo Oct files will be installed in $(InstallDir)
        install -d $(InstallDir)
        install $(fits_objects) $(InstallDir)
=====================================================================

so the directory will be created by the Makefile if it does not exist
yet.  However, I see:


$ stat   /usr/local/libexec/octave/site/oct/api-v32/i686-pc-linux-gnu
Access: 2008-07-09 18:37:29.000000000 +0200
Modify: 2008-07-09 18:35:08.000000000 +0200
Change: 2008-07-09 18:35:08.000000000 +0200


$ stat   /usr/local/libexec/octave/site/oct/api-v32
Access: 2008-07-10 18:01:08.000000000 +0200
Modify: 2008-04-02 12:38:30.000000000 +0200
Change: 2008-04-02 12:38:30.000000000 +0200


$ ls -l  /usr/local/libexec/octave
drwxr-xr-x 5 root root 4096 2008-04-02 12:36 3.0.0
drwxr-xr-x 5 root root 4096 2008-04-28 17:19 3.0.1
-rw-r--r-- 1 root root 3216 2008-04-28 17:19 ls-R
drwxr-xr-x 4 root root 4096 2008-04-02 12:38 site

So it looks like /usr/local/libexec/octave/site/oct/api-v32 has been
created at install time of octave-3.0.0 and not recreated at install
time of octave-3.0.1

> I see that it is not created by "make install", however, so I've fixed
> that in my sources.

Seems consistent.

Cheers, JF


reply via email to

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