[MacPorts] #15200: BUG: ./configure --enable-readline broken when
using readline from MacPorts
MacPorts
trac at macosforge.org
Sun May 4 10:37:44 PDT 2008
#15200: BUG: ./configure --enable-readline broken when using readline from MacPorts
---------------------------------+------------------------------------------
Reporter: raimue at macports.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts base bugs
Component: base | Version: 1.6.0
Keywords: base readline |
---------------------------------+------------------------------------------
On Mac OS X 10.5 Leopard:
{{{
$ ./configure --enable-readline
...
checking for readline in -lreadline... yes
checking whether rl_username_completion_function is declared... no
checking whether rl_filename_completion_function is declared... no
checking whether rl_completion_matches is declared... no
checking whether username_completion_function is declared... yes
checking whether filename_completion_function is declared... yes
checking whether completion_matches is declared... yes
...
$ make
...
gcc -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic -g -Os -DHAVE_CONFIG_H
-I.. -I. -I"/usr/include" -I/opt/local/include -DTCL_THREADS=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1
-DTCL_DEFAULT_ENCODING=\"utf-8\" -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1
-DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1
-DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -include
tclArch.h -fno-common readline.c -o readline.o
readline.c: In function ‘attempted_completion_function’:
readline.c:131: error: ‘filename_completion_function’ undeclared (first
use in this function)
readline.c:131: error: (Each undeclared identifier is reported only once
readline.c:131: error: for each function it appears in.)
readline.c:133: error: ‘username_completion_function’ undeclared (first
use in this function)
readline.c:139: warning: implicit declaration of function
‘completion_matches’
readline.c:139: warning: assignment makes pointer from integer without a
cast
make[2]: *** [readline.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15200>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list