SliTaz SliTaz Forum

You are not logged in.

#1 2011-07-30 14:03:40

Rokil
Member
Registered: 2011-06-24
Posts: 59

Compiling rlwrap on SliTaz

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 smile

EDIT: my config.log is here : http://paste.awesom.eu/Gloomy/qYy

Offline

#2 2011-07-30 14:53:30

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Compiling rlwrap on SliTaz

Fix your slitaz-toolchain:

#tazpkg get-install slitaz-toolchain --forced

Offline

#3 2011-07-30 15:13:47

Rokil
Member
Registered: 2011-06-24
Posts: 59

Re: Compiling rlwrap on SliTaz

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

#4 2011-07-30 16:49:40

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Compiling rlwrap on SliTaz

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

#5 2011-07-30 17:11:13

Rokil
Member
Registered: 2011-06-24
Posts: 59

Re: Compiling rlwrap on SliTaz

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

#6 2011-07-30 17:17:45

claudinei
Administrator
Registered: 2011-03-29
Posts: 102

Re: Compiling rlwrap on SliTaz

@Rokil, you must run "make install" as root.

Offline

#7 2011-07-30 17:32:03

Rokil
Member
Registered: 2011-06-24
Posts: 59

Re: Compiling rlwrap on SliTaz

Oh, thank you so much big_smile

I didn't look the error message, sorry hmm

And thank you again!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.022 seconds, 9 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]