Current-Users archive

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

Re: C compiler cannot create executables



On Mon, 22 Aug 2011 10:33:15 +0200
"Ian D. Leroux" <idleroux%fastmail.fm@localhost> wrote:

> On Mon, 22 Aug 2011 11:05 +0300, "Rares Aioanei" 
> <bsdlisten%gmail.com@localhost>
> wrote:
> > I'm running -current, updated as of yesterday, 21.08, and, while gcc
> > can compile simple C programs, when I try to rebuild all my packages,
> > I get the error stated in the subject. Anyone else seeing this?
> 
> It would be helpful to include more of the error output (going back to
> the last successful command echoed to the screen), but as a first guess:
> are you sure the user running the build has write permission for the
> pkgsrc tree?
> 
> -- IDL

The error messages look like this : 

# cat mypkgs | (while read pp ; do cd /usr/pkgsrc/$pp ; make && make install ; 
done) 
===> Checking for vulnerabilities in digest-20080510
===> Configuring for digest-20080510
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking whether make sets $(MAKE)... yes
checking for gawk... /usr/bin/awk
checking for i486--netbsdelf-gcc... gcc
checking for C compiler default output file name... 
configure: error: in `/usr/pkgsrc/pkgtools/digest/work/digest-20080510':
configure: error: C compiler cannot create executables
See `config.log' for more details.
*** Error code 77

Since the user is root, I don't think it's a permission problem. ls -lh /usr | 
grep pkgsrc shows like

drwxr-xr-x  52 root  wheel  1.0K Aug 22 13:38 pkgsrc

Thanks, 
-- 
Rares Aioanei


Home | Main Index | Thread Index | Old Index