Checked in the config.log file as suggested and it basically said that it
couldn't find egcs.

Knowing that it is there cos I just installed it, I then discover that it
is named /usr/cin/compat-egcs, so I symlinked it as /usr/bin/egcs.

That got me past the first barf but another one occured a few lines
later.  It then couldn't find the cc1plus file.  Well although there are
two of these files, the one in the gcc-c++ package on distro CD1 is not
the one it was looking for.  The one it wanted was in the egcs-c++ package
on distro CD2.

Looks like Mandrake haven't _quite_ got it right yet.

Anyway sluggers, park that somewhere for future reference.

-- 
Howard.
______________________________________________________
LANNet Computing Associates <http://www.lannet.com.au>

On Wed, 26 Jul 2000, Conrad Parker wrote:

> On Wed, Jul 26, 2000 at 01:32:04PM +1000, Ken Yap wrote:
> > >I an attempting to compile from a .src.rpm under Mandrake 7.1 and I get
> > >the following error during the configure stage:
> > >
> > >checking for gcc... egcs
> > >checking whether the C compiler (egcs  -O6 -fomit-frame-pointer  ) works... n
> > >o
> > >configure: error: installation or configuration problem: C compiler cannot cr
> > >eate executables.
> > >
> > >egcs is installed.
> > 
> > You're probably missing some support tools or libraries, e.g. binutils
> > (for ld, e.g.) or maybe libc-devel. Try compiling a small C program to
> > see the actual error messages which configure doesn't show you.
> 
> or, check out config.log in the build directory, if it still exists.
> 
> Also, what arguments did you pass to rpm? Screwing with the prefix
> (eg. if you're not root and building out of your homedir) can
> confuse the library flags. You should only need to change the
> buildroot, I think. Then again, I'm jumping the gun here ...
> Ah, caffeine overload. That'd do it.
> 
> Conrad.
> 



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to