uh-oh
konis at stats.ox.ac.uk
konis at stats.ox.ac.uk
Mon Jun 23 03:33:54 PDT 2008
Hi,
Hope this isn't me just being silly but I tried to install MacPorts from
http://svn.macports.org/repository/macports/downloads/MacPorts-1.6.0/MacPorts-1.6.0.tar.bz2
and it didn't work. It looks like there is a missing l from the ar flags
when making cregistry.a.
I'm working on an iMac running 10.5.3.
Kjell
bash-3.2$ tar xpf MacPorts-1.6.0.tar
bash-3.2$ cd MacPorts-1.6.0
bash-3.2$ ./configure
checking build system type... i686-apple-darwin9.3.0
checking host system type... i686-apple-darwin9.3.0
checking target system type... i686-apple-darwin9.3.0
checking for sw_vers... sw_vers
<snip>
checking for sqlite3_open in -lsqlite3... yes
checking for Tcl sqlite3 location... /usr/lib/sqlite3
checking how to build libraries... shared
configure: creating ./config.status
config.status: creating src/programs/daemondo/Makefile
config.status: WARNING: src/programs/daemondo/Makefile.in seems to ignore
the --datarootdir setting
config.status: creating Makefile
config.status: creating Mk/macports.autoconf.mk
config.status: creating doc/prefix.mtree
config.status: creating doc/macosx.mtree
config.status: creating doc/macports.conf
config.status: creating portmgr/freebsd/Makefile
config.status: creating portmgr/fedora/macports.spec
config.status: creating src/Makefile
config.status: creating src/macports1.0/macports_autoconf.tcl
config.status: creating src/tclobjc1.0/Makefile
config.status: creating src/port1.0/port_autoconf.tcl
config.status: creating src/registry1.0/registry_autoconf.tcl
config.status: creating src/programs/Makefile
config.status: creating src/macports1.0/macports_fastload.tcl
config.status: creating src/config.h
bash-3.2$ make
===> making all in config
make[1]: Nothing to be done for `all'.
===> making all in doc
make[1]: Nothing to be done for `all'.
===> making all in src
===> making all in src/cregistry
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\"
-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 registry.c -o
registry.o
registry.c: In function ‘reg_attach’:
registry.c:164: warning: passing argument 1 of ‘dirname’
discards qualifiers from pointer target type
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\"
-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 entry.c -o entry.o
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\"
-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 sql.c -o sql.o
ar cr cregistry.a registry.o entry.o sql.o
ar: temporary file: Permission denied
make[2]: *** [cregistry.a] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
bash-3.2$
More information about the macports-dev
mailing list