Emiliano wrote:

> Cary Collett wrote:
> 
>>>> gcc -DPACKAGE=\"midgard-lib\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 
>-DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. 
>-I/b/mysql/server/include/mysql -I/usr/local/include -g -O2 -I/usr/lib/glib/include 
>-Wp,-MD,.deps/filetemplate.pp -c filetemplate.c  -fPIC -DPIC -o .libs/filetemplate.lo
>>>> filetemplate.c:69: parse error before `GByteArray'
>>> 
>>> Do you have glib-devel installed? If so, which version (rpm -qa| grep glib) 
>installed?
>>> 
>> % rpm -q glib-devel
>> glib-devel-1.2.8-1
>> 
>> This is the lastest version. Do I need an older version or something?
> 
> 
> No, I'm using 1.2.8 myself. glib.h does declare GString and GByteArray?
> ANy weirdness
> during configure?


oh, now I recall, I had quite the same problem.

Check if glibconfig.h is in /usr/include, I had to ln -s 
/usr/lib/glib/include/glibconfig.h /usr/include/glibconfig.h

[root@hal php4-module]# ls -l /usr/include/glib*
-rw-r--r--    1 root     root        90817 Aug 12  2000 /usr/include/glib.h
lrwxrwxrwx    1 root     root           34 Jan 24 00:57 
/usr/include/glibconfig.h -> /usr/lib/glib/include/glibconfig.h

don't know if it's related though...

> 
> Emile
> 


-- 
Best Regards,
David Guerizec           Free Software Developer
Aurora R&D               [EMAIL PROTECTED]
Midgard core developer   http://www.midgard-project.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to