Problem installing coreutils +with_default_names
P G
pgbackup at yahoo.com
Mon Nov 24 12:44:21 PST 2008
Hi Everybody,
I recently installed MacPorts on my office machine. I did sudo port -v
selfupdate and it the most recent version (1.6). I'm trying to install
coreutils but I'm running into problems.
My system Specs:
OS: Mac OS X Tiger 10.4.11
X11: 1.1.3 XFree 4.4.0
XCode: 2.5
I say "sudo port install coreutils +with_default_names". I get the following
error when it is time to install coreutils. I'm not sure how to fix this. I
did the exact same procedure on my home machine (Mac Pro, same OS/X11 except
Xcode 2.4) and it worked fine so I'm baffled. Also was able to install it on
a laptop running Leopard and Xcode 3.1. The log is below.
Can someone tell me how I can resolve this issue? Perhaps its looking for a
library and unable to find it?
Thanks for any ideas.
[pandim:~] pgupta% sudo port -v selfupdate
Synchronizing local ports tree from
rsync://rsync.macports.org/release/ports/
receiving file list ... done
sent 36 bytes received 341605 bytes 136656.40 bytes/sec
total size is 20073218 speedup is 58.76
MacPorts base version 1.600 installed
receiving file list ... done
sent 36 bytes received 6468 bytes 4336.00 bytes/sec
total size is 3962386 speedup is 609.22
Downloaded MacPorts base version 1.600
The MacPorts installation is not outdated and so was not updated
selfupdate done!
[pandim:~] pgupta% sudo port install coreutils +with_default_names
---> Fetching expat
---> Attempting to fetch expat-2.0.1.tar.gz from
http://downloads.sourceforge.net/expat
---> Verifying checksum(s) for expat
---> Extracting expat
---> Configuring expat
---> Building expat with target all
---> Staging expat into destroot
---> Installing expat 2.0.1_0
---> Activating expat 2.0.1_0
---> Cleaning expat
---> Fetching gperf
---> Attempting to fetch gperf-3.0.3.tar.gz from
http://ftp.gnu.org/gnu/gperf
---> Verifying checksum(s) for gperf
---> Extracting gperf
---> Configuring gperf
---> Building gperf with target all
---> Staging gperf into destroot
---> Installing gperf 3.0.3_0
---> Activating gperf 3.0.3_0
---> Cleaning gperf
---> Fetching libiconv
---> Attempting to fetch libiconv-1.12.tar.gz from
http://ftp.gnu.org/gnu/libiconv
---> Verifying checksum(s) for libiconv
---> Extracting libiconv
---> Applying patches to libiconv
---> Configuring libiconv
---> Building libiconv with target all
---> Staging libiconv into destroot
---> Installing libiconv 1.12_0+darwin_8
---> Activating libiconv 1.12_0+darwin_8
---> Cleaning libiconv
---> Fetching ncursesw
---> Attempting to fetch ncurses-5.7.tar.gz from
http://ftp.gnu.org/gnu/ncurses
---> Verifying checksum(s) for ncursesw
---> Extracting ncursesw
---> Configuring ncursesw
---> Building ncursesw with target all
---> Staging ncursesw into destroot
---> Installing ncursesw 5.7_0
---> Activating ncursesw 5.7_0
---> Cleaning ncursesw
---> Fetching ncurses
---> Verifying checksum(s) for ncurses
---> Extracting ncurses
---> Configuring ncurses
---> Building ncurses with target all
---> Staging ncurses into destroot
---> Installing ncurses 5.7_0
---> Activating ncurses 5.7_0
---> Cleaning ncurses
---> Fetching gettext
---> Attempting to fetch gettext-0.17.tar.gz from
http://ftp.gnu.org/gnu/gettext
---> Verifying checksum(s) for gettext
---> Extracting gettext
---> Applying patches to gettext
---> Configuring gettext
---> Building gettext with target all
---> Staging gettext into destroot
---> Installing gettext 0.17_3
---> Activating gettext 0.17_3
---> Cleaning gettext
---> Fetching coreutils
---> Attempting to fetch coreutils-6.12.tar.gz from
http://ftp.gnu.org/gnu/coreutils
---> Verifying checksum(s) for coreutils
---> Extracting coreutils
---> Configuring coreutils
---> Building coreutils with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_coreutils/work/coreutils-6.12"
&& make all " returned error 2
Command output: /usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib
-I/opt/local/include -O2 -MT chroot.o -MD -MP -MF .deps/chroot.Tpo -c -o
chroot.o chroot.c
mv -f .deps/chroot.Tpo .deps/chroot.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o chroot chroot.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT hostid.o -MD -MP -MF .deps/hostid.Tpo -c -o hostid.o hostid.c
mv -f .deps/hostid.Tpo .deps/hostid.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o hostid hostid.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT nice.o -MD -MP -MF .deps/nice.Tpo -c -o nice.o nice.c
mv -f .deps/nice.Tpo .deps/nice.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o nice nice.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT who.o -MD -MP -MF .deps/who.Tpo -c -o who.o who.c
mv -f .deps/who.Tpo .deps/who.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o who who.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT users.o -MD -MP -MF .deps/users.Tpo -c -o users.o users.c
mv -f .deps/users.Tpo .deps/users.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o users users.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT pinky.o -MD -MP -MF .deps/pinky.Tpo -c -o pinky.o pinky.c
mv -f .deps/pinky.Tpo .deps/pinky.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o pinky pinky.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT uptime.o -MD -MP -MF .deps/uptime.Tpo -c -o uptime.o uptime.c
uptime.c: In function 'print_uptime':
uptime.c:101: error: 'system_info' undeclared (first use in this function)
uptime.c:101: error: (Each undeclared identifier is reported only once
uptime.c:101: error: for each function it appears in.)
uptime.c:101: error: parse error before 'si'
uptime.c:103: warning: implicit declaration of function 'get_system_info'
uptime.c:103: error: 'si' undeclared (first use in this function)
make[3]: *** [uptime.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
--
View this message in context: http://www.nabble.com/Problem-with-installing-coreutils-%2Bwith_default_names-tp20666891p20666891.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.
Hi Everybody,
I recently installed MacPorts on my office machine. I did sudo port -v
selfupdate and it the most recent version (1.6). I'm trying to install
coreutils but I'm running into problems.
My system Specs:
OS: Mac OS X Tiger 10.4.11
X11: 1.1.3 XFree 4.4.0
XCode: 2.5
I say "sudo port install coreutils +with_default_names". I get the following
error when it is time to install coreutils. I'm not sure how to fix this. I
did the exact same procedure on my home machine (Mac Pro, same OS/X11 except
Xcode 2.4) and it worked fine so I'm baffled. Also was able to install it on
a laptop running Leopard and Xcode 3.1. The log is below.
Can someone tell me how I can resolve this issue? Perhaps its looking for a
library and unable to find it?
Thanks for any ideas.
[pandim:~] pgupta% sudo port -v selfupdate
Synchronizing local ports tree from
rsync://rsync.macports.org/release/ports/
receiving file list ... done
sent 36 bytes received 341605 bytes 136656.40 bytes/sec
total size is 20073218 speedup is 58.76
MacPorts base version 1.600 installed
receiving file list ... done
sent 36 bytes received 6468 bytes 4336.00 bytes/sec
total size is 3962386 speedup is 609.22
Downloaded MacPorts base version 1.600
The MacPorts installation is not outdated and so was not updated
selfupdate done!
[pandim:~] pgupta% sudo port install coreutils +with_default_names
---> Fetching expat
---> Attempting to fetch expat-2.0.1.tar.gz from
http://downloads.sourceforge.net/expat
---> Verifying checksum(s) for expat
---> Extracting expat
---> Configuring expat
---> Building expat with target all
---> Staging expat into destroot
---> Installing expat 2.0.1_0
---> Activating expat 2.0.1_0
---> Cleaning expat
---> Fetching gperf
---> Attempting to fetch gperf-3.0.3.tar.gz from
http://ftp.gnu.org/gnu/gperf
---> Verifying checksum(s) for gperf
---> Extracting gperf
---> Configuring gperf
---> Building gperf with target all
---> Staging gperf into destroot
---> Installing gperf 3.0.3_0
---> Activating gperf 3.0.3_0
---> Cleaning gperf
---> Fetching libiconv
---> Attempting to fetch libiconv-1.12.tar.gz from
http://ftp.gnu.org/gnu/libiconv
---> Verifying checksum(s) for libiconv
---> Extracting libiconv
---> Applying patches to libiconv
---> Configuring libiconv
---> Building libiconv with target all
---> Staging libiconv into destroot
---> Installing libiconv 1.12_0+darwin_8
---> Activating libiconv 1.12_0+darwin_8
---> Cleaning libiconv
---> Fetching ncursesw
---> Attempting to fetch ncurses-5.7.tar.gz from
http://ftp.gnu.org/gnu/ncurses
---> Verifying checksum(s) for ncursesw
---> Extracting ncursesw
---> Configuring ncursesw
---> Building ncursesw with target all
---> Staging ncursesw into destroot
---> Installing ncursesw 5.7_0
---> Activating ncursesw 5.7_0
---> Cleaning ncursesw
---> Fetching ncurses
---> Verifying checksum(s) for ncurses
---> Extracting ncurses
---> Configuring ncurses
---> Building ncurses with target all
---> Staging ncurses into destroot
---> Installing ncurses 5.7_0
---> Activating ncurses 5.7_0
---> Cleaning ncurses
---> Fetching gettext
---> Attempting to fetch gettext-0.17.tar.gz from
http://ftp.gnu.org/gnu/gettext
---> Verifying checksum(s) for gettext
---> Extracting gettext
---> Applying patches to gettext
---> Configuring gettext
---> Building gettext with target all
---> Staging gettext into destroot
---> Installing gettext 0.17_3
---> Activating gettext 0.17_3
---> Cleaning gettext
---> Fetching coreutils
---> Attempting to fetch coreutils-6.12.tar.gz from
http://ftp.gnu.org/gnu/coreutils
---> Verifying checksum(s) for coreutils
---> Extracting coreutils
---> Configuring coreutils
---> Building coreutils with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_coreutils/work/coreutils-6.12"
&& make all " returned error 2
Command output: /usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib
-I/opt/local/include -O2 -MT chroot.o -MD -MP -MF .deps/chroot.Tpo -c -o
chroot.o chroot.c
mv -f .deps/chroot.Tpo .deps/chroot.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o chroot chroot.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT hostid.o -MD -MP -MF .deps/hostid.Tpo -c -o hostid.o hostid.c
mv -f .deps/hostid.Tpo .deps/hostid.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o hostid hostid.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT nice.o -MD -MP -MF .deps/nice.Tpo -c -o nice.o nice.c
mv -f .deps/nice.Tpo .deps/nice.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o nice nice.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT who.o -MD -MP -MF .deps/who.Tpo -c -o who.o who.c
mv -f .deps/who.Tpo .deps/who.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o who who.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT users.o -MD -MP -MF .deps/users.Tpo -c -o users.o users.c
mv -f .deps/users.Tpo .deps/users.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o users users.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT pinky.o -MD -MP -MF .deps/pinky.Tpo -c -o pinky.o pinky.c
mv -f .deps/pinky.Tpo .deps/pinky.Po
/usr/bin/gcc-4.0 -std=gnu99 -O2 -L/opt/local/lib -o pinky pinky.o
.../lib/libcoreutils.a -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
.../lib/libcoreutils.a
/usr/bin/gcc-4.0 -std=gnu99 -I. -I../lib -I../lib -I/opt/local/include
-O2 -MT uptime.o -MD -MP -MF .deps/uptime.Tpo -c -o uptime.o uptime.c
uptime.c: In function 'print_uptime':
uptime.c:101: error: 'system_info' undeclared (first use in this function)
uptime.c:101: error: (Each undeclared identifier is reported only once
uptime.c:101: error: for each function it appears in.)
uptime.c:101: error: parse error before 'si'
uptime.c:103: warning: implicit declaration of function 'get_system_info'
uptime.c:103: error: 'si' undeclared (first use in this function)
make[3]: *** [uptime.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20081124/2bb60cef/attachment.html>
More information about the macports-users
mailing list