[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
R: Building problems on latest source
From: |
Marco Atzeri |
Subject: |
R: Building problems on latest source |
Date: |
Fri, 12 Feb 2010 09:30:25 +0000 (GMT) |
--- Gio 11/2/10, John W. Eaton ha scritto:
> On 11-Feb-2010, Marco Atzeri wrote:
>
> | strcmpi and strncmpi are missing from DOCSTRINGS
> | strfns.df attached.
>
> It looks like they have been redefined to strcasecmp and
> strncasecmp.
>
> I checked in the following change.
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/9966f1f71c32
>
> But I don't see anything in the Octave sources that defines
> strcmpi or
> strncmpi, so I don't know how this change is
> happening. Does your
> system define these symbols in some header file?
> Where?
/usr/include/string.h:#ifndef strcmpi
/usr/include/string.h:#define strcmpi strcasecmp
>
> Note that if you update your sources, you will also get all
> the
> changes I just made to untabify the source files, so
> nearly
> everytthing will be recompiled. If you want to avoid
> that to make a
> quick check of this change, then just make the change by
> hand and
> update later.
I will rebuild anyway, just to be sure
>
> | > | 2) when running run-octave
> | > |
> | > |
> -------------------------------------------------------
> | > | error: `find' undefined near line 109 column 11
> | > | error: called from:
> | > |
> | >
> error: /pub/hg/octave_build/../octave/scripts/set/unique.m
> | > at line 109, column 9
> | > |
> | >
> error: /pub/hg/octave_build/../octave/scripts/optimization/__all_opts__.m
> | > at line 56, column 11
> | > |
> | >
> error: /pub/hg/octave_build/scripts/optimization/PKG_ADD
> | > at line 1, column 0
> | > |
> -------------------------------------------------------
> | > |
> | > | this second problem makes impossible to run the
> test
> | > suites.
> | >
> | > Do you have any rpl_ functions? What happens
> if you
> | > type
> | >
> | > rpl_ <TAB>
> | >
> | > at the Octave prompt?
> |
> | no rpl_ functions
>
> OK, find is also a .oct file. Do any of the functions
> defined in .oct
> files work for you?
>
it seems a problem related to how run-octave look for the
octfile. Eventually is a cygwin specific issue as link
for dll's don't work. I need to investigate.
after installing I have not anymore the problem
octave:2> find (eye (2))
ans =
1
4
octave:3> time
ans = 1.2660e+09
but from run-octave
octave:3> find (eye (2))
error: `find' undefined near line 3 column 1
octave:1> time
error: `time' undefined near line 1 column 1
> jwe
>
Regards
Marco