Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116483 - readline-5.1-r2 rlfe won't compile
Summary: readline-5.1-r2 rlfe won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 05:31 UTC by Conrad Kostecki
Modified: 2005-12-23 20:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2005-12-23 05:31:39 UTC
Hi There!
Yes I KNOW that i am using complete ~x86 system! This is what it is made for! Its my Gentoo Test PC!

I just can't compile readline.
It gives me this error:

[code]
configure: checking return type of signal handlers... 
configure: checking sigset... 
configure: checking signal implementation... 
configure: creating ./config.status 
config.status: creating Makefile 
config.status: creating config.h 
i586-pc-linux-gnu-gcc -c -I. -I.    -O3 -march=pentium-mmx -mmmx -pipe -fomit-frame-pointer rlfe.c 
i586-pc-linux-gnu-gcc -c -I. -I.    -O3 -march=pentium-mmx -mmmx -pipe -fomit-frame-pointer pty.c 
rlfe.c:81:33: readline/readline.h: No such file or directory 
rlfe.c:82:32: readline/history.h: No such file or directory 
rlfe.c: In function `maybe_emphasize_input': 
rlfe.c:265: error: `rl_outstream' undeclared (first use in this function) 
rlfe.c:265: error: (Each undeclared identifier is reported only once 
rlfe.c:265: error: for each function it appears in.) 
rlfe.c: In function `main': 
rlfe.c:419: error: `rl_readline_name' undeclared (first use in this function) 
rlfe.c:553: error: `rl_instream' undeclared (first use in this function) 
rlfe.c:554: error: `rl_getc_function' undeclared (first use in this function) 
rlfe.c:556: error: `rl_prep_term_function' undeclared (first use in this function) 
rlfe.c:557: error: `rl_deprep_term_function' undeclared (first use in this function) 
rlfe.c:558: error: `rl_pre_input_hook' undeclared (first use in this function) 
make: *** [rlfe.o] Error 1 
make: *** Waiting for unfinished jobs.... 
pty.c: In function `OpenPTY': 
pty.c:269: warning: assignment makes pointer from integer without a cast 

!!! ERROR: sys-libs/readline-5.1-r2 failed. 
!!! Function src_compile, Line 58, Exitcode 2 
!!! (no error message) 
!!! If you need support, post the topmost build error, NOT this status message. 
[/code]

emerge --info:

[code]
Portage 2.1_pre1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.12-gentoo-r10 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.12.0_pre12 
dev-lang/python:     2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1-r1 
sys-devel/libtool:   1.5.22 
virtual/os-headers:  2.6.11-r3 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i586-pc-linux-gnu" 
CFLAGS="-O3 -march=pentium-mmx -mmmx -pipe -fomit-frame-pointer" 
CHOST="i586-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=pentium-mmx -mmmx -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ http://gentoo.intergenia.de" 
LINGUAS="de" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="x86 aac aalib acl alsa apache2 apm audiofile bash-completion bzip2 caps cdb cdinstall cdparanoia crypt dedicated dio directfb doc dvb dvd encode examples fbcon ftp gd gif gpm hal innodb java javascript jpeg libcaca lirc lm_sensors mad mmx mp3 mpeg mysql ncurses nls nocd nptl odbc pam pcmcia perl php png python readline samba sdl slang source spell ssl svg svga symlink szip tcpd tiff truetype unicode usb v4l videos vorbis wifi win32codecs wmf xml xml2 zlib elibc_glibc kernel_linux linguas_de userland_GNU" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY 
[/code]
Comment 1 SpanKY gentoo-dev 2005-12-23 06:33:09 UTC
care to take a look when you get a min agriffis ?  if not, i'll hack
on it later if you like
Comment 2 Conrad Kostecki gentoo-dev 2005-12-23 06:43:29 UTC
What is agriffis ?
Comment 3 Aaron 2005-12-23 10:57:10 UTC
I encountered the same error when creating new gentoo system.

A workaround was to install an older version of readline (readline-5.0-r2), then install this version of readline (readline-5.1-r2)
Comment 4 SpanKY gentoo-dev 2005-12-23 20:54:04 UTC
fixed in cvs