Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #9823 > unrolled thread

Compiling CLEX sources on RPI

Started byGiorgio <giorgio@giorgio.it>
First post2015-10-21 15:03 +0200
Last post2015-10-23 08:43 +0200
Articles 7 — 5 participants

Back to article view | Back to comp.sys.raspberry-pi


Contents

  Compiling CLEX sources on RPI Giorgio <giorgio@giorgio.it> - 2015-10-21 15:03 +0200
    Re: Compiling CLEX sources on RPI Tony van der Hoff <tony@vanderhoff.org> - 2015-10-21 14:44 +0100
      Re: Compiling CLEX sources on RPI The Natural Philosopher <tnp@invalid.invalid> - 2015-10-21 16:50 +0100
      Re: Compiling CLEX sources on RPI Giorgio <giorgio@giorgio.it> - 2015-10-22 17:59 +0200
        Re: Compiling CLEX sources on RPI Roger Bell_West <roger+csrp201510@nospam.firedrake.org> - 2015-10-22 16:12 +0000
        Re: Compiling CLEX sources on RPI Rob Morley <nospam@ntlworld.com> - 2015-10-22 17:42 +0100
    Re: [SOLVED] Compiling CLEX sources on RPI Giorgio <giorgio@giorgio.it> - 2015-10-23 08:43 +0200

#9823 — Compiling CLEX sources on RPI

FromGiorgio <giorgio@giorgio.it>
Date2015-10-21 15:03 +0200
SubjectCompiling CLEX sources on RPI
Message-ID<alpine.DEB.2.02.1510211502010.2752@raspberrypi>

Hi all; I tried to compile Clex on my RPI (raspbian wheezy) after 
installing ncurses-dev (libncurses5-dev
libtinfo-dev) but when I do sudo ./.configure this is the result:


root@raspberrypi:/home/pi/src/clex-4.6.patch6# sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing setupterm... -ltinfo
checking for library containing addwstr... no
configure: error: CLEX requires CURSES library with a wide character support
root@raspberrypi:/home/pi/src/clex-4.6.patch6#


Any idea?

Thank you and bye,
--
Giorgio

[toc] | [next] | [standalone]


#9824

FromTony van der Hoff <tony@vanderhoff.org>
Date2015-10-21 14:44 +0100
Message-ID<d8pj6iF1jblU1@mid.individual.net>
In reply to#9823
On 21/10/15 14:03, Giorgio wrote:
>
>
> Hi all; I tried to compile Clex on my RPI (raspbian wheezy) after
> installing ncurses-dev (libncurses5-dev
> libtinfo-dev) but when I do sudo ./.configure this is the result:
>
>
> root@raspberrypi:/home/pi/src/clex-4.6.patch6# sudo ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for library containing setupterm... -ltinfo
> checking for library containing addwstr... no
> configure: error: CLEX requires CURSES library with a wide character
> support
> root@raspberrypi:/home/pi/src/clex-4.6.patch6#
>
>
> Any idea?

apt-get install libncursesw5

[toc] | [prev] | [next] | [standalone]


#9825

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2015-10-21 16:50 +0100
Message-ID<n08c8n$s4f$1@news.albasani.net>
In reply to#9824
On 21/10/15 14:44, Tony van der Hoff wrote:
> apt-get install libncursesw5

-dev?

-- 
Global warming is the new Margaret Thatcher. There is no ill in the 
world it's not directly responsible for.

[toc] | [prev] | [next] | [standalone]


#9826

FromGiorgio <giorgio@giorgio.it>
Date2015-10-22 17:59 +0200
Message-ID<alpine.DEB.2.02.1510221758240.2752@raspberrypi>
In reply to#9824


Il 21.10.15, piu' o meno alle 14:44, Tony van der Hoff scrisse:

> apt-get install libncursesw5
>
Hi, and thank you. This is what happened:


sudo apt-get install libncursesw5

Reading package lists... Done
Building dependency tree
Reading state information... Done
libncursesw5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.

[toc] | [prev] | [next] | [standalone]


#9827

FromRoger Bell_West <roger+csrp201510@nospam.firedrake.org>
Date2015-10-22 16:12 +0000
Message-ID<20151022171124.749300313721509@firedrake.org>
In reply to#9826
On 2015-10-22, Giorgio wrote:
>Hi, and thank you. This is what happened:
>
>
>sudo apt-get install libncursesw5
>
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>libncursesw5 is already the newest version.

As The Natural Philosopher pointed out, you need libncursesw5-dev -
this is the package with the headers against which the binary can
link. Thus

apt-get install libncursesw5-dev

>0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.

You might want to fix that, though. apt-get upgrade?

[toc] | [prev] | [next] | [standalone]


#9828

FromRob Morley <nospam@ntlworld.com>
Date2015-10-22 17:42 +0100
Message-ID<20151022174249.51218ab6@ntlworld.com>
In reply to#9826
On Thu, 22 Oct 2015 17:59:33 +0200
Giorgio <giorgio@giorgio.it> wrote:

> 
> 
> 
> Il 21.10.15, piu' o meno alle 14:44, Tony van der Hoff scrisse:
> 
> > apt-get install libncursesw5
> >
> Hi, and thank you. This is what happened:
> 
> 
> sudo apt-get install libncursesw5
> 
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libncursesw5 is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
> 
> 
As Nat Phil pointed out, you need the developer version for
compilation - the one you have installed is the user runtime:

apt-get install libncursesw5-dev

[toc] | [prev] | [next] | [standalone]


#9829 — Re: [SOLVED] Compiling CLEX sources on RPI

FromGiorgio <giorgio@giorgio.it>
Date2015-10-23 08:43 +0200
SubjectRe: [SOLVED] Compiling CLEX sources on RPI
Message-ID<alpine.DEB.2.02.1510230842200.2752@raspberrypi>
In reply to#9823
Il 21.10.15, piu' o meno alle 15:03, Giorgio scrisse:

> Hi all; I tried to compile Clex on my RPI (raspbian wheezy)...
>
Thank you all, your suggestions worked fine. The program works well.
Bye,
--
Giorgio

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.raspberry-pi


csiph-web