I encounter same error for some other packages, when I set:

CFLAGS="-I/usr/local/include"
LDFLAGS="-L/usr/local/lib"

It works fine.

2008/1/12, Private Joker <[EMAIL PROTECTED]>:
>
> Folks,
>
> I am trying to compile GCC 4.2 from ports, and I keep
> getting the same error... with OpenBSD 4.2 and current
> as well.
>
> checking whether the C compiler
> (/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
> -O2 -g ) works... no
> configure: error: installation or configuration
> problem: C compiler cannot create executables.
> *** Error code 1
>
> Stop in /usr/ports/lang/gcc/4.2 (line 2057 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
>
> Does anyone have any idea of what could make this port
> work?
>
> Thanks,
> Pvt Joker
>
>
>
>       
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to