trying to build Hackage hoq-0.3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

trying to build Hackage hoq-0.3

Vasili I. Galchin
1) ghc version 7.6.3

2) cabal version 1.16.0.2

3) when i run "cabal install",

       I receive on stdout :

Resolving dependencies...
Configuring readline-1.0.3.0...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 GNUreadline.framework... checking for readline... no
checking for tputs in -lncurses... no
checking for tputs in -ltermcap... no
checking for tputs in -lcurses... no
checking for rl_readline_version... no
configure: error: readline not found, so this package cannot be built
See `config.log' for more details.
Failed to install readline-1.0.3.0
cabal: Error: some packages failed to install:
hoq-0.3 depends on readline-1.0.3.0 which failed to install.
readline-1.0.3.0 failed during the configure step. The exception was:
ExitFailure 1

4) I googled Haskell and readline and I found the same error with
other Haskell packages like Twitter.


How do I resolve my build  readline problem?

Vasya
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: trying to build Hackage hoq-0.3

Utku Demir
It looks like the "readline" library(the C one, not the Haskell one) is missing on your system. Can you install it via your distributions package manager (assuming you're using Linux)?

Like;
  
 $ sudo apt-get install libreadline-dev    # could be libreadline6-dev

On Mon, 25 Jan 2016 at 09:22 Vasili I. Galchin <[hidden email]> wrote:
1) ghc version 7.6.3

2) cabal version 1.16.0.2

3) when i run "cabal install",

       I receive on stdout :

Resolving dependencies...
Configuring readline-1.0.3.0...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 GNUreadline.framework... checking for readline... no
checking for tputs in -lncurses... no
checking for tputs in -ltermcap... no
checking for tputs in -lcurses... no
checking for rl_readline_version... no
configure: error: readline not found, so this package cannot be built
See `config.log' for more details.
Failed to install readline-1.0.3.0
cabal: Error: some packages failed to install:
hoq-0.3 depends on readline-1.0.3.0 which failed to install.
readline-1.0.3.0 failed during the configure step. The exception was:
ExitFailure 1

4) I googled Haskell and readline and I found the same error with
other Haskell packages like Twitter.


How do I resolve my build  readline problem?

Vasya
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: trying to build Hackage hoq-0.3

Vasili I. Galchin
Let me try Utku. BTW I am running Ubuntu Linux.
Vasya

On Mon, Jan 25, 2016 at 1:36 AM, Utku Demir <[hidden email]> wrote:

> It looks like the "readline" library(the C one, not the Haskell one) is
> missing on your system. Can you install it via your distributions package
> manager (assuming you're using Linux)?
>
> Like;
>
>  $ sudo apt-get install libreadline-dev    # could be libreadline6-dev
>
> On Mon, 25 Jan 2016 at 09:22 Vasili I. Galchin <[hidden email]> wrote:
>>
>> 1) ghc version 7.6.3
>>
>> 2) cabal version 1.16.0.2
>>
>> 3) when i run "cabal install",
>>
>>        I receive on stdout :
>>
>> Resolving dependencies...
>> Configuring readline-1.0.3.0...
>> checking for gcc... gcc
>> checking for C compiler default output file name... a.out
>> checking whether the C compiler works... yes
>> checking whether we are cross compiling... no
>> checking for suffix of executables...
>> 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 GNUreadline.framework... checking for readline... no
>> checking for tputs in -lncurses... no
>> checking for tputs in -ltermcap... no
>> checking for tputs in -lcurses... no
>> checking for rl_readline_version... no
>> configure: error: readline not found, so this package cannot be built
>> See `config.log' for more details.
>> Failed to install readline-1.0.3.0
>> cabal: Error: some packages failed to install:
>> hoq-0.3 depends on readline-1.0.3.0 which failed to install.
>> readline-1.0.3.0 failed during the configure step. The exception was:
>> ExitFailure 1
>>
>> 4) I googled Haskell and readline and I found the same error with
>> other Haskell packages like Twitter.
>>
>>
>> How do I resolve my build  readline problem?
>>
>> Vasya
>> _______________________________________________
>> Haskell-Cafe mailing list
>> [hidden email]
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: trying to build Hackage hoq-0.3

Vasili I. Galchin
thx . hoq built and installed! Kind thanks.


vasya

On Mon, Jan 25, 2016 at 1:46 AM, Vasili I. Galchin <[hidden email]> wrote:

> Let me try Utku. BTW I am running Ubuntu Linux.
> Vasya
>
> On Mon, Jan 25, 2016 at 1:36 AM, Utku Demir <[hidden email]> wrote:
>> It looks like the "readline" library(the C one, not the Haskell one) is
>> missing on your system. Can you install it via your distributions package
>> manager (assuming you're using Linux)?
>>
>> Like;
>>
>>  $ sudo apt-get install libreadline-dev    # could be libreadline6-dev
>>
>> On Mon, 25 Jan 2016 at 09:22 Vasili I. Galchin <[hidden email]> wrote:
>>>
>>> 1) ghc version 7.6.3
>>>
>>> 2) cabal version 1.16.0.2
>>>
>>> 3) when i run "cabal install",
>>>
>>>        I receive on stdout :
>>>
>>> Resolving dependencies...
>>> Configuring readline-1.0.3.0...
>>> checking for gcc... gcc
>>> checking for C compiler default output file name... a.out
>>> checking whether the C compiler works... yes
>>> checking whether we are cross compiling... no
>>> checking for suffix of executables...
>>> 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 GNUreadline.framework... checking for readline... no
>>> checking for tputs in -lncurses... no
>>> checking for tputs in -ltermcap... no
>>> checking for tputs in -lcurses... no
>>> checking for rl_readline_version... no
>>> configure: error: readline not found, so this package cannot be built
>>> See `config.log' for more details.
>>> Failed to install readline-1.0.3.0
>>> cabal: Error: some packages failed to install:
>>> hoq-0.3 depends on readline-1.0.3.0 which failed to install.
>>> readline-1.0.3.0 failed during the configure step. The exception was:
>>> ExitFailure 1
>>>
>>> 4) I googled Haskell and readline and I found the same error with
>>> other Haskell packages like Twitter.
>>>
>>>
>>> How do I resolve my build  readline problem?
>>>
>>> Vasya
>>> _______________________________________________
>>> Haskell-Cafe mailing list
>>> [hidden email]
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe