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 22:41:06 +0200
"Ian D. Leroux" <idleroux%fastmail.fm@localhost> wrote:

> On Mon, 22 Aug 2011 23:31 +0300, "Rares Aioanei" 
> <bsdlisten%gmail.com@localhost>
> wrote:
> > On Mon, 22 Aug 2011 21:54:51 +0200
> > "Ian D. Leroux" <idleroux%fastmail.fm@localhost> wrote:
> > > On Mon, 22 Aug 2011 13:35 +0300, "Rares Aioanei" 
> > > <bsdlisten%gmail.com@localhost>
> > > wrote:
> > > > On Mon, 22 Aug 2011 11:56:43 +0200
> > > > Adam Ciarciński <adam%NetBSD.org@localhost> wrote:
> > > > > What is in 
> > > > > /usr/pkgsrc/pkgtools/digest/work/digest-20080510/config.log?
> > > > configure:2315: checking for C compiler version
> > > > configure:2323: gcc --version >&5
> > > > .: Can't open /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
> > > > configure:2327: $? = 2
> > > > configure:2334: gcc -v >&5
> > > > .: Can't open /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
> > > > configure:2338: $? = 2
> > > > configure:2345: gcc -V >&5
> > > > .: Can't open /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
> > > > configure:2349: $? = 2
> > > > configure:2372: checking for C compiler default output file name
> > > > configure:2394: gcc -O2  -Wl,-R/usr/pkg/lib conftest.c  >&5
> > > > .: Can't open /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
> > > > configure:2398: $? = 2
> > > > configure:2436: result:
> > > > configure: failed program was:
> > > 
> > > Does the file /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
> > > exist?
> >
> > ls /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/    
> > cache empty
> 
> And can you create it?
> touch /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
> Just in case it's trying to open the file for writing and failing.
> 
> Is there a shell-lib somewhere else under
> /usr/pkgsrc/pkgtools/digest/work?  Maybe there's a bad path
> somewhere ...
> 

After touch'ing the file, as you suggested, issuing 
# find /usr/pkgsrc/pkgtools/digest/work -name shell-lib -print
returns /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
so there's no other instance of shell-lib.

> I'm afraid I don't know enough to be of much more use to you, but it
> looks like whatever is going wrong is in the configure script or in the
> setup of the .wrapper/ directory, not in the C compiler.
> 
> -- IDL

Thanks a lot, 

-- 
Rares Aioanei


Home | Main Index | Thread Index | Old Index