RE: [pygtk] /usr/local/include/regex.h:145: parse error before re_void

2002-09-04 Thread Gansser, Martin

the file regex.h from tcltk-8.3.4 caused this problem.
Is there a workaround for this ?

thanks Martin



 -Original Message-
 From: Gansser, Martin 
 Sent: Wednesday, September 04, 2002 11:08 PM
 To: [EMAIL PROTECTED]
 Subject: [pygtk] /usr/local/include/regex.h:145: parse error before
 re_void
 
 
 Hi,
 
 I tried to compile gnome-python on hpux 11.00 with gnome-1.4, 
 but I get the following error message:
 
 gcc -DHAVE_CONFIG_H -I. -I. -I.. 
 -I/usr/local/include/python2.2 -I/opt/gnome/include/gnome-1.0 -DNEE
 D_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include 
 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/
 glib/include -I/opt/gnome/include/orbit-1.0 
 -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include -I/opt
 /gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H 
 -I/opt/gnome/lib/gnome-libs/include -I/opt/gnome/incl
 ude/glib-1.2 -I/opt/gnome/lib/glib/include 
 -I/opt/gnome/include/orbit-1.0 -I/opt/gnome/include/gtk-1
 .2 -I/opt/gnome/include -I/opt/gnome/include/libcapplet1 
 -I/opt/gnome/include/gnome-1.0 -DNEED_GNOME
 SUPPORT_H -I/opt/gnome/lib/gnome-libs/include 
 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/in
 clude -I/opt/gnome/include/orbit-1.0 
 -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include -I/opt/gnome/
 include/gnome-xml -I/opt/gnome/include 
 -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/opt/g
 nome/lib/gnome-libs/include -I/opt/gnome/include/glib-1.2 
 -I/opt/gnome/lib/glib/include -I/opt/gnome
 /include/orbit-1.0 -I/opt/gnome/include/gtk-1.2 
 -I/opt/gnome/include -g -O2 -I/opt/gnome/include -c
 zvtmodule.c -MT zvtmodule.lo -MD -MP -MF .deps/zvtmodule.TPlo 
  -fPIC -DPIC -o zvtmodule.lo
 In file included from /opt/gnome/include/gnome-1.0/zvt/vtx.h:30,
  from /opt/gnome/include/gnome-1.0/zvt/zvtterm.h:28,
  from zvtmodule.c:26:
 /usr/local/include/regex.h:145: parse error before re_void
 /usr/local/include/regex.h:314: parse error before _ANSI_ARGS_
 /usr/local/include/regex.h:323: parse error before _ANSI_ARGS_
 /usr/local/include/regex.h:326: parse error before _ANSI_ARGS_
 gmake[3]: *** [zvtmodule.lo] Error 1
 gmake[3]: Leaving directory 
 `/opt/mgansser/GNU/gnome-python-1.4.4/pygnome'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory 
 `/opt/mgansser/GNU/gnome-python-1.4.4/pygnome'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/opt/mgansser/GNU/gnome-python-1.4.4'
 gmake: *** [all] Error 2
 prounix_root:/users/mgansser/GNU/gnome-python-1.4.4 #
 
 installed software components:
 gcc-3.2
 python-2.2.1
 
 this is my build script:
 
 #!/bin/csh -f
 #
 #
 gmake distclean
 ./configure --prefix=/usr/local \
 --with-gnome=/opt/gnome \
 --with-glib-prefix=/opt/gnome \
 --with-gtk-prefix=/opt/gnome \
 --with-imlib-prefix=/opt/gnome \
 --with-libglade-config=/opt/gnome/bin/libglade-config
 gmake
 
 any help
 
 thanks Martin
 ___
 pygtk mailing list   [EMAIL PROTECTED]
 http://www.daa.com.au/mailman/listinfo/pygtk
 Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
 
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] /usr/local/include/regex.h:145: parse error before re_void

2002-09-04 Thread James Henstridge

Gansser, Martin wrote:

the file regex.h from tcltk-8.3.4 caused this problem.
Is there a workaround for this ?
  

It is a bit difficult to tell what to do, as I don't know what is in the 
headers on your system.  Do you have a different regex.h file on your 
system?  Maybe try temporarily moving/renaming the one from tcl?

James.

-- 
Email: [EMAIL PROTECTED]  | Linux.conf.au   http://linux.conf.au/
WWW:   http://www.daa.com.au/~james/ | Jan 22-25   Perth, Western Australia. 




___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/