First Selfupdate Fails on MacPro

Nathan Corvino corvino at gmail.com
Fri May 4 16:14:33 PDT 2007


I just got a new MacPro, and decided to give MacPorts a try this time
around.  I would like to get it up and running, but right now it is looking
like I will have to go back to Fink.  I didn't read the installation
instructions initially, so I installed the MacPorts binary before XCode and
X11, but I have since removed MacPorts, installed both XCode 2.4.1 and X11,
and then reinstalled MacPorts.

I get the following log when I try to perform my initial update:

~$ sudo port -d selfupdate
> Password:
> DEBUG: Rebuilding the MacPorts base system if needed.
> Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports
> receiving file list ... done
>
> sent 77 bytes  received 236587 bytes  36409.85 bytes/sec
> total size is 14488795  speedup is 61.22
> DEBUG: MacPorts base dir:
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base
> DEBUG: Setting user: root
> DarwinPorts base version 1.400 installed
> DEBUG: Updating using rsync
> receiving file list ... done
> ./
> deleting config.log
>
> sent 77 bytes  received 6054 bytes  4087.33 bytes/sec
> total size is 3162108  speedup is 515.76
> Downloaded MacPorts base version 1.430
> Configuring, Building and Installing new MacPorts base
> DEBUG: permissions OK
> DEBUG: Setting owner: root group: admin
> DEBUG: Install in: /opt/local as root : admin - TCL-PACKAGE in
> /Library/Tcl
> checking build system type... i686-apple-darwin8.9.2
> checking host system type... i686-apple-darwin8.9.2
> checking target system type... i686-apple-darwin8.9.2
> 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 for a BSD-compatible install... /usr/bin/install -c
> checking whether make sets $(MAKE)... yes
> checking whether ln -s works... yes
> checking for cvs... /usr/bin/cvs
> checking for rsync... /usr/bin/rsync
> checking for launchd... yes
> checking for launchctl... /bin/launchctl
> checking for xcodebuild... /usr/bin/xcodebuild
> checking for bzip2... /usr/bin/bzip2
> checking for xar... no
> checking for tar... /usr/bin/tar
> checking for gnutar... /usr/bin/gnutar
> checking for which tar variant to use... /usr/bin/gnutar
> checking for /usr/bin/gnutar --no-same-owner support... yes
> checking how to mark unused variables...
> checking for mtree... /usr/sbin/mtree
> checking for CoreFoundation framework... yes
> checking for SystemConfiguration framework... yes
> checking for IOKit framework... yes
> checking for CFNotificationCenterGetDarwinNotifyCenter... yes
> checking for whether we will build daemondo... yes
> checking for dports tree... configure: WARNING: No dports tree found
> checking for ports config directory... ${sysconfdir}/ports
> checking for sqlite3 location... /usr/lib/sqlite3
> checking for install user... root
> checking for install group... admin
> checking what permissions to use for installation directories... 0775
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking whether stat file-mode macros are broken... no
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking paths.h usability... yes
> checking paths.h presence... yes
> checking for paths.h... yes
> checking sys/file.h usability... yes
> checking sys/file.h presence... yes
> checking for sys/file.h... yes
> checking crt_externs.h usability... yes
> checking crt_externs.h presence... yes
> checking for crt_externs.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking sys/fcntl.h usability... yes
> checking sys/fcntl.h presence... yes
> checking for sys/fcntl.h... yes
> checking sys/cdefs.h usability... yes
> checking sys/cdefs.h presence... yes
> checking for sys/cdefs.h... yes
> checking err.h usability... yes
> checking err.h presence... yes
> checking for err.h... yes
> checking libgen.h usability... yes
> checking libgen.h presence... yes
> checking for libgen.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> 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
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking sys/paths.h usability... yes
> checking sys/paths.h presence... yes
> checking for sys/paths.h... yes
> checking whether closedir returns void... no
> checking for pid_t... yes
> checking vfork.h usability... no
> checking vfork.h presence... no
> checking for vfork.h... no
> checking for fork... yes
> checking for vfork... yes
> checking for working fork... yes
> checking for working vfork... (cached) yes
> checking whether strerror_r is declared... yes
> checking for strerror_r... yes
> checking whether strerror_r returns char *... no
> checking for bzero... yes
> checking for memset... yes
> checking for dup2... yes
> checking for regcomp... yes
> checking for strdup... yes
> checking for strerror... yes
> checking for strtol... yes
> checking for fgetln... yes
> checking for lockf... yes
> checking for flock... yes
> checking for setmode... yes
> checking for strcasecmp... yes
> checking for strncasecmp... yes
> checking for strlcpy... yes
> checking for copyfile... yes
> checking if readlink conforms to POSIX 1003.1a... yes
> checking for MD5Update in -lmd... no
> checking for MD5_Update in -lcrypto... yes
> checking openssl/md5.h usability... yes
> checking openssl/md5.h presence... yes
> checking for openssl/md5.h... yes
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking whether -R must be followed by a space... neither works
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... no
> checking for XOpenDisplay in -lX11... no
> Unknown configuration problem. Please install the X11 runtime
> and/or X11 SDK  packages from the Xcode Developer Tools CD
> configure: error: Broken X11 install
> DEBUG: Error installing new MacPorts base: shell command "cd
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base
> && ./configure --prefix=/opt/local --with-install-user=root
> --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make
> install" returned error 1
> Command output: checking for strdup... yes
> checking for strerror... yes
> checking for strtol... yes
> checking for fgetln... yes
> checking for lockf... yes
> checking for flock... yes
> checking for setmode... yes
> checking for strcasecmp... yes
> checking for strncasecmp... yes
> checking for strlcpy... yes
> checking for copyfile... yes
> checking if readlink conforms to POSIX 1003.1a... yes
> checking for MD5Update in -lmd... no
> checking for MD5_Update in -lcrypto... yes
> checking openssl/md5.h usability... yes
> checking openssl/md5.h presence... yes
> checking for openssl/md5.h... yes
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking whether -R must be followed by a space... neither works
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... no
> checking for XOpenDisplay in -lX11... no
> Unknown configuration problem. Please install the X11 runtime
> and/or X11 SDK  packages from the Xcode Developer Tools CD
> configure: error: Broken X11 install
>
>     while executing
> "darwinports::selfupdate [array get global_options]"
> Error: /opt/local/bin/port: selfupdate failed: Error installing new
> MacPorts base: shell command "cd
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base
> && ./configure --prefix=/opt/local --with-install-user=root
> --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make
> install" returned error 1
> Command output: checking for strdup... yes
> checking for strerror... yes
> checking for strtol... yes
> checking for fgetln... yes
> checking for lockf... yes
> checking for flock... yes
> checking for setmode... yes
> checking for strcasecmp... yes
> checking for strncasecmp... yes
> checking for strlcpy... yes
> checking for copyfile... yes
> checking if readlink conforms to POSIX 1003.1a... yes
> checking for MD5Update in -lmd... no
> checking for MD5_Update in -lcrypto... yes
> checking openssl/md5.h usability... yes
> checking openssl/md5.h presence... yes
> checking for openssl/md5.h... yes
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking whether -R must be followed by a space... neither works
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... no
> checking for XOpenDisplay in -lX11... no
> Unknown configuration problem. Please install the X11 runtime
> and/or X11 SDK  packages from the Xcode Developer Tools CD
> configure: error: Broken X11 install


If anyone has any ideas on what to try or how to proceed, I would certainly
appreciate it.

Thanks,

Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070504/4c776af1/attachment.html


More information about the macports-users mailing list