help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X


From: John Lowe
Subject: Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X
Date: Mon, 8 Nov 2004 15:36:48 +0000
User-agent: Turnpike/6.04-M (<jVUoyP0PKb4beulB8$sz9lkAKB>)

In message <85y8hccrx8.fsf@pi.meyering.net>, Jim Meyering <jim@meyering.net> writes
John Lowe <jrnl@bytetype.co.uk> wrote:
...
$ ./configure
$ cd src
$ make nl
source='nl.c' object='nl.o' libtool=no \
depfile='.deps/nl.Po' tmpdepfile='.deps/nl.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I. -I../lib -I../lib   -g -O2 -c
nl.c system.h:18: header file 'alloca.h' not found
system.h:62: header file 'localedir.h' not found
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode make: *** [nl.o] Error 1

Oh!  I see the problem, now.  You're not running make from the top.
You must first build in lib/.

I suggest you simply run make from the top directory.

By the way - thanks for your help in all this - much appreciated.

I thought - reading your comment above - "Oh, yes: - I was too focussed on just getting the one utility I wanted at the moment to work."

However (following on directly from the previous inclusion):
========================================================================
$ cd ..
$ pwd
/Users/johnlowe/coreutils-5.2.1
$ make
make  all-recursive
Making all in lib
sed -e 's/@''HAVE__BOOL''@/0/g' ./stdbool_.h > stdbool.ht
mv stdbool.ht stdbool.h
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
cp ./fnmatch_.h fnmatch.h-t
mv fnmatch.h-t fnmatch.h
make  all-am
source='acl.c' object='acl.o' libtool=no \
depfile='.deps/acl.Po' tmpdepfile='.deps/acl.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -I. -I. -I.. -I.. -I. -g -O2 -c acl.c source='getdate.c' object='getdate.o' libtool=no \
depfile='.deps/getdate.Po' tmpdepfile='.deps/getdate.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -I. -I. -I.. -I.. -I. -g -O2 -c getdate.c source='posixtm.c' object='posixtm.o' libtool=no \
depfile='.deps/posixtm.Po' tmpdepfile='.deps/posixtm.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -I. -I. -I.. -I.. -I. -g -O2 -c posixtm.c source='posixver.c' object='posixver.o' libtool=no \
depfile='.deps/posixver.Po' tmpdepfile='.deps/posixver.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -I. -I. -I.. -I.. -I. -g -O2 -c posixver.c source='strftime.c' object='strftime.o' libtool=no \
depfile='.deps/strftime.Po' tmpdepfile='.deps/strftime.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -I. -I. -I.. -I.. -I. -g -O2 -c strftime.c strftime.c:63: header file 'wchar.h' not found cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[3]: *** [strftime.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
$
========================================================================
:{
--
John Lowe
jrnl@bytetype.co.uk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]