Subject: Re: 'C compiler cannot create executables' on Darwin
To: Michal Pasternak <michal@pasternak.w.lub.pl>
From: David Hopper <dhop@gesi.net>
List: tech-pkg
Date: 12/22/2003 13:19:53
Pkgsrc is bleeding-edge, bmake / bootstrap is last night's cvs as is
pkg_install and the rest of pkgsrc.  Pkg_install and libnbcompat compile and
install fine, but few other packages will.

This /usr/bin/ld doesn't support any kind of version string:

[iCarp:gettext-lib] bard% ls -laF /usr/bin/ld
-r-xr-xr-x  1 root  wheel  347740 23 Sep 23:43 /usr/bin/ld*

GCC is 3.3 from Xcode 1.1:
[iCarp:gettext-lib] bard% gcc --version
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)

Thanks,
David

> From: Michal Pasternak <michal@pasternak.w.lub.pl>
> Reply-To: Michal Pasternak <michal@pasternak.w.lub.pl>
> Date: Mon, 22 Dec 2003 21:02:23 +0100
> To: David Hopper <DHOP@gesi.net>
> Cc: tech-pkg@netbsd.org
> Subject: Re: 'C compiler cannot create executables' on Darwin
> 
> David Hopper [Mon, Dec 22, 2003 at 12:47:39PM -0800]:
>> ld: can't open:  (No such file or directory, errno = 2)
> 
> http://www.geocrawler.com/archives/3/506/2003/3/50/10386461/
> 
> Look at point 2, this could be the same issue.
> 
> 1) what are your build tools versions? (ld --version, gcc --version)
> 
> 2) did you updated pkgsrc to the recent available version?
> 
> -- 
> Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net
>