[Haskell-cafe] Further installation adventures

2011-05-23 Thread Jacek Generowicz
I'm trying to cabal install lambdabot. This depends on a squillion  
other libraries, which cabal tries to install, among which is  
readline, which fails to configure as follows.


Configuring readline-1.0.1.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.
cabal: Error: some packages failed to install:
readline-1.0.1.0 failed during the configure step. The exception was:
ExitFailure 1

From which I conclude that it can't find the readline library. I have  
all sorts of flavours of readline on my system, so I'll need a bit  
more information about what exactly it's looking for.


It tells me to look in config.log. I presume that this is the config  
log of the cabal package readline, which cabal automatically  
downloaded, unpacked ... and presumably automatically cleaned up at  
the end, because I can't find it anywhere.


Where should I be looking for the relevant config.log?


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Further installation adventures

2011-05-23 Thread Marc Weber
Excerpts from Jacek Generowicz's message of Mon May 23 19:15:53 +0200 2011:
 Where should I be looking for the relevant config.log?

Maybe you're missing header files? is there a readline-dev package for
your distro?

also open the cabal file and watch for include or library directorie
settings. Maybe they don't fit your distro.

Marc Weber

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Further installation adventures

2011-05-23 Thread Jacek Generowicz


On 2011 May 23, at 19:31, Marc Weber wrote:

Excerpts from Jacek Generowicz's message of Mon May 23 19:15:53  
+0200 2011:

Where should I be looking for the relevant config.log?


Maybe you're missing header files?


I checked whether the -dev packages were installed, and they were  
present ... but your message prompted me to check again, and it turns  
out that I had deluded myself.


So, yes, absence of headers turned out to be the problem.

Thanks.



Onward. Readline has installed, But now 'cabal install lambdabot'  
fails almost exactly like this:


   http://hpaste.org/46397/lambdabot_install_failure

(Note, that paste isn't mine, it popped up in a Google search.)

Any suggestions, anyone?



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe