You are not logged in.
Pages: 1
Hi all, I downloaded the rlwrap's sources to compile it, so I try ./configure, but I have :
[c]
loic@slitazcook:~/rlwrap-0.37$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... tools/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether build environment is sane... yes
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/home/loic/rlwrap-0.37':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[/c]
I searched but found nothing interesting.
It would be cool if anyone could help me 
EDIT: my config.log is here : http://paste.awesom.eu/Gloomy/qYy
Offline
Fix your slitaz-toolchain:
#tazpkg get-install slitaz-toolchain --forced
Offline
It's better, but it works not :
[c]
checking whether your readline headers know about rl_set_screen_size... configure: error:
You need a more recent version (at least 4.2) of the readline
library (ftp://ftp.gnu.org/gnu/readline/) to build this program!
[/c]
And I have readline version 6 !
Offline
Do you have readline-dev installed? This will probably be the same for most things. A Lazyman's fix for this is to install the package named slitaz-dev-pkgs which installs the common tools and their dev packages to SliTaz which helps with compiling. You will will need to get the dev package for a few pakages though.
Offline
It does not work better with slitaz-dev-pkgs, but with readline-dev, ./configure works, but for make and make install, all is here : http://paste.awesom.eu/Gloomy/2d0
Offline
@Rokil, you must run "make install" as root.
Offline
Oh, thank you so much 
I didn't look the error message, sorry 
And thank you again!
Offline
Pages: 1
[ Generated in 0.022 seconds, 9 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]