DragonFly users List (threaded) for 2008-01
DragonFly BSD
DragonFly users List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: howto use /usr/include/iconv.h


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Fri, 25 Jan 2008 10:27:48 -0800

Johannes Hofmann wrote:
Hello,

what is the correct way to use iconv.h from /usr/include instead of
/usr/pkg/include ?
As soon as I add -I/usr/pkg/include iconv.h is used from there.
Even adding -I/usr/include doesn't help.
On the other hand I need -I/usr/pkg/include e.g. for jpeglib.h.

I assume you are talking about pkgsrc? The pkgsrc build system creates symlinks to every header file in the work/.buildlink/include subdirectory, and does the same for libraries in .buildlink/lib.

Any time you get a missing header file or missing library error, you
need to look in the .buildlink directory to correct the problem.  Most
of the time it will be a missing symlink.  All those symlinks are made
by the 'bmake wrapper' target, which is done automatically during the
build.

The symlinks are generated (somehow) from the collection of buildlink3.mk
files mentioned in the master Makefile or in the top directory.

Lots of docs in pkgsrc/doc to make you dizzy :o)



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]