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