tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Can someone help me to update avr packages?
On Sun, 18 Jan 2009 16:39:36 +0300
Dima Veselov <kab00m%lich.phys.spbu.ru@localhost> wrote:
> But being run from shell I get everything working, in particular from
> config.log:
>
> configure:4487: checking for correct version of gmp.h
> configure:4510: gcc -c -g -O2 -I/usr/pkg/include -I/usr/pkg/include
> conftest.c >&5
> configure:4516: $? = 0
> configure:4520: test -z
>
> ... And it runs ok.
>
> Being run from pkgsrc make config.log says:
>
> configure:4510: gcc -c -O2 -I/usr/pkg/include -I/usr/pkg/include conftest.c
> >&5
> conftest.c:12:17: error: gmp.h: No such file or directory
>
> I wonder how gcc can or can't find gmp.h with same -I flags?
Probably because you have devel/gmp installed, but your package
Makefile does not include devel/gmp/buildlink3.mk, so those
headers will not be visible to pkgsrc builds.
Home |
Main Index |
Thread Index |
Old Index