[wplug] error compiling icesource

jsbillings at mac.com jsbillings at mac.com
Mon Sep 16 17:52:53 EDT 2002


Edit your Makefile to include /usr/local/include/libxml2/.  For example,
it should have:
-I/usr/local/include/libxml2
for the compilation of that file.


On Mon, 2002-09-16 at 17:31, Juan Zuluaga wrote:
> Hello WPLUG people, 
> would you help me with this newbie compilation
> problem?
> When trying to compile icesource,
> this message appears:  
> (...)
> gcc -DHAVE_CONFIG_H -I. -I. -I..
> -DICES_ETCDIR=\"/usr/local/icecast/etc\"
> -DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"  
> -I../libshout  -fno-strict-aliasing
> -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 
> -I/usr/lib/perl5/i386-linux/CORE 
> -I/usr/include/gnome-xml  -g -O2 -Wall -c
> ices_config.c
> ices_config.c:24: libxml/parser.h: No such file or
> directory
> ices_config.c:25: libxml/xmlmemory.h: No such file or
> directory
> gmake[3]: *** [ices_config.o] Error 1
> gmake[3]: Leaving directory `/tmp/ices-0.2.3/src'
> (...)
> 
> If I review ices_config.c , I see
> #include <libxml/parser.h>
> #include <libxml/xmlmemory.h>
> 
> The only place where I have those files is in 
> /usr/local/include/libxml2/libxml
> I just installed libxml2
> 
> Then, how should I tell the compiler where those files
> are? writing in the code of ices_config.c something
> like
> #include</usr/local/include/libxml2/libxml/parser.h>
> ? 
> Thanks a lot!
> 
> 
> 
> 
> 
> 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
-- 
 Jonathan S. Billings
  jsbillings at mac.com



More information about the wplug mailing list