jed-users mailing list

[2014 Date Index] [2014 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [jed-users] compiling slang fails on Ubuntu 12.04


Hi Ulli,

can it be that your build picks up an old slang.h in /client/include
from an S-Lang < pre2.2.3-51, which is when SL_RLINE_USE_MULTILINE was
added:
> commit 1c03f0bf9d0e62eebe9dfc1264e44be5a4dcff62
> Author: John E. Davis <jed@xxxxxxxxxxx>
> Date:   Tue Jun 22 03:52:54 2010 -0400
>     pre2.2.3 change 51: multiline readline.

Ah, I was too slow -- you found the answer already. :-)

Regarding your other question: I was wondering where the byte-compiled
*.slc files come from and whether they could be affected by an old
S-Lang installation.

Cheers,

Manfred


> On 04/07/14 21:00, Ulli Horlacher wrote:
>> On Mon 2014-04-07 (13:51), Ulli Horlacher wrote:
>>> make[1]: Entering directory `/nfs/rusnas/sw/src/slang-2.2.4/slsh'
>>> cd objs && gcc -c -O2 -I/client/include  -L/client/lib   -I/sw/src/slang-2.2.4/src -DSLSH_CONF_DIR='"/sw/ubuntu-12.04/slang-2.2.4/etc"' -DSLSH_PATH='"/sw/ubuntu-12.04/slang-2.2.4/share/slsh"' -DSLSH_CONF_DIR_ENV='"SLSH_CONF_DIR"' -DSLSH_LIB_DIR_ENV='"SLSH_LIB_DIR"' -DSLSH_PATH_ENV='"SLSH_PATH"' -DUSE_GNU_READLINE=0 /sw/src/slang-2.2.4/slsh/readline.c
>>> /sw/src/slang-2.2.4/slsh/readline.c: In function 'open_readline':
>>> /sw/src/slang-2.2.4/slsh/readline.c:236:46: error: 'SL_RLINE_USE_MULTILINE' undeclared (first use in this function)
>>> /sw/src/slang-2.2.4/slsh/readline.c:236:46: note: each undeclared identifier is reported only once for each function it appears in
>> 
>> My error:
>> 
>> -I/client/include points to an old slang installation
>> without that, make runs smoothly
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2014 date index] [2014 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]