[Top][All Lists]

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

Re: lynx-dev Slang version

From: Atsuhito Kohda
Subject: Re: lynx-dev Slang version
Date: Thu, 29 Jun 2000 14:46:16 +0900

From: Ismael Cordeiro <address@hidden>
Subject: Re: lynx-dev Slang version
Date: Thu, 29 Jun 2000 00:36:44 -0400 (EDT)

> > - there is no 'SLsmg_touch_screen' in Slang 1.2.2 and perhaps
> >   it was included since Slang 1.3.8.
> > 
> > - we need to add '-ldl' to configure appropriately in case 
> >   of Slang 1.4.0
> I don't know what your problem is (slang compilation/installation?) but I can
> compile lynx 2.8.4dev.4 on FreeBSD 3.4 with slang 1.2.2 and 1.4.1 without any
> problems. My conf-lynx file is:

Thanks for your information.  This was not the problem of slang 
compilation/installation but lynx compilation.

Then I investigated a bit and found that you are (perhaps) right.

Let me explain why I made mistakes. My Debian system (potato) has 
Slang 1.3.9 (call slang1) and Slang with Japanized patch based on 
Slang 1.2.2 (call slang1-ja).

Furthermore we (Debian JP) have an yet experimental Slang with
Japanized patch based on Slang 1.4.0 (call slang1.4-ja).

So it is very easy for me to test with slang1, slang1-ja and 
slang1.4-ja and furthermore slang1 and slang1-ja can be installed
at the same time, and slang1 and slang1.4 can be too.
(But the fact seems not to be so simple.)

In case I installed slang1 and slang1-ja (or slang1.4-ja), we 
had, /usr/include/slang.h of slang1 and, 
/usr/include/slang/slang.h of slang1-ja (or slang1.4-ja).  

So to make lynx compiled with Slang 1.2.2 we changed configure 
script a bit so that it would find libslang-ja and this was simple 
change but configure seemed to find /usr/include/slang.h of 
Slang 1.3.9 not /usr/include/slang/slang.h of Slang 1.2.2.

I found in LYCurses.c;

#if SLANG_VERSION > 10306
    SLsmg_touch_screen ();

So LYCurses.c misunderstand that the present Slang satisfies
#if SLANG_VERSION > 10306
but the Slang library does not know SLsmg_touch_screen at all.

I believe that this is the reason of 'SLsmg_touch_screen' problem.
(Perhaps my explanation is very hard to understand, sorry)

And '-ldl' problem it seems the experimental slang1.4-ja might
be wrong.  See the following output of ldd:

(this is the original Slang 1.3.9)
nsx:~$ ldd /lib/
        /usr/X11R6/lib/ => /usr/X11R6/lib/ (0x4005e000) => /lib/ (0x4009b000) => /lib/ (0x400b8000) => /lib/ (0x40195000) => /usr/X11R6/lib/ (0x4019a000) => /usr/X11R6/lib/ (0x401ac000) => /usr/X11R6/lib/ (0x401f4000) => /usr/X11R6/lib/ (0x401fd000) => /usr/X11R6/lib/ (0x40213000) => /usr/X11R6/lib/ (0x4021f000)
        /lib/ => /lib/ (0x80000000)

(this is Japanized Slang 1.4.0)
nsx:~$ ldd /usr/lib/
        /usr/X11R6/lib/ => /usr/X11R6/lib/ (0x40067000) => /lib/ (0x400a4000) => /lib/ (0x400c1000) => /usr/X11R6/lib/ (0x4019e000) => /usr/X11R6/lib/ (0x401b1000) => /usr/X11R6/lib/ (0x401f9000) => /usr/X11R6/lib/ (0x40202000) => /usr/X11R6/lib/ (0x40218000) => /usr/X11R6/lib/ (0x40224000)
        /lib/ => /lib/ (0x80000000)

Note the original contains "libdl" => /lib/ (0x40195000)

but Slang 1.4.0 does not!

Well, very sorry but these are due to my system and not
bug of lynx at all.

Best Regards,                   2000.6.29

 Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <address@hidden>
 Department of Math., Tokushima Univ.

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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