Re: DarwinPorts 1.3.1

Juan Manuel Palacios <[email protected]>
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
	Readline compilation is failing for you:

On Jul 31, 2006, at 7:32 PM, Anthony Agelastos wrote:

> When I tried updating my current installation (1.211), it fails. My 
> machine is a MacBook Pro running the latest OS X and Xcode. Any ideas?
>
> Script started on Mon Jul 31 19:30:11 2006
> macko:~ iqgrande$ sudo port -d selfupdate
> DEBUG: Rebuilding the darwinports base system if needed.
> Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports
> receiving file list ... done

---snip---

> checking readline/readline.h usability... yes
> checking readline/readline.h presence... yes
> checking for readline/readline.h... yes
> checking readline/history.h usability... yes
> checking readline/history.h presence... yes
> checking for readline/history.h... yes

	Headers are being properly detected,

---snip---

> checking for readline in -lreadline... yes
> checking whether rl_username_completion_function is declared... yes
> checking whether rl_filename_completion_function is declared... yes
> checking whether rl_completion_matches is declared... yes
> checking whether username_completion_function is declared... no
> checking whether filename_completion_function is declared... no
> checking whether completion_matches is declared... no

	Linker flags and symbols to use properly determined,

---snip---


> gcc -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic -g -Os 
> -DHAVE_CONFIG_H -I.. -I.  -I"/usr/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\" -DTCL_WIDE_INT_TYPE=long\ long 
> -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_ST_BLKSIZE=1 -DSTDC_HEADERS=1 
> -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 
> -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1  -fno-common readline.c -o 
> readline.o

	Readline support properly compiled, but

> cc -dynamiclib -L/usr/lib -lcurl -lssl -lcrypto -lz Pextlib.o strsed.o 
> fgetln.o md5cmd.o setmode.o xinstall.o find.o strcasecmp.o vercomp.o 
> filemap.o sha1cmd.o compat.o curl.o rmd160cmd.o readline.o uid.o -o 
> Pextlib.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 
> -ltclstub8.4 -L/usr/lib -lcurl -lssl -lcrypto -lz -lreadline  -lcrypto
> ld: warning prebinding disabled because of undefined symbols
> ld: Undefined symbols:
> _rl_completion_matches
> _rl_filename_completion_function
> _rl_username_completion_function
> /usr/bin/libtool: internal link edit command failed


	The symbols that were previously determined to exist in your system 
libraries weren't really found. Have you performed any type of surgery 
on your system? Particularly with the readline libraries?

	Regards,..


		Juan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.