On Sept. 5, 2004, Christian Biere <[EMAIL PROTECTED]> wrote:

Jamie Jones wrote:
> | /bin/rm -f utf8.o
> | cc -c -I../.. -I.. -I/usr/local/include/glib12 -DCURDIR=src/lib -O utf8.c
> | utf8.c:40: iconv.h: No such file or directory


The missing iconv.h should have been detected by Configure. There doesn't
seem to be any check for the presence of iconv.h currently. Although there
is a check for libiconv and it should have failed.

> The GNU libconv iconv.h file is in /usr/local/include on both FreeBSD 4 & 5

On FreeBSD you probably want to add

        -Dccflags="-I/usr/local/include"
and
        -Dldflags="-L/usr/local/lib -R/usr/local/lib"

I'm not font of adding such system-dependent library and include paths
automagically if there's no portable way (e.g., glib-config) to detect
them. Maybe it helps Joe Average but it becomes an endless pain when
you want to compile against an alternate library in a different location.
The right place to add those headers would be the FreeBSD ports system.
IMHO, that is. OTOH, as long as there's a documented Configure switch to
turn auto-detection off, I wouldn't object.


Hmm... It failed fine for me earlier today when I didn't include that as a ccflags... And, the last time I built (~2 weeks ago), the problem seemed to be that the ccflags weren't propogated to sub-Makefiles...

At any rate, I'm busy with other stuff... Including it as a ccflags works here
with Configure v. 1.34 and the ports system already includes this path.


Best Regards,
Clayton

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to