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: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
Date: 25 Jan 2008 18:38:36 GMT

walt <wa1ter@myrealbox.com> wrote:
> 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.

actually I'm compiling some sources for which there is no
pkgsrc package (yet?).
Perhaps that's not supported? On the other hand it works just fine
apart from that minor glitch with iconv.h...

> 
> 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)

will have a look at that.

Thanks,
Johannes



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