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

2002-09-07 Thread Gansser, Martin

Hi,

gnome-python compiles fine without the regex.h from tcltk

I attached regex.h from hpux and tcltk.
The hpux regex.h is located in /usr/include and the tcltk regex.h is located
in /usr/local/include

thanks Martin

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.







#ifndef _REGEX_H_
#define _REGEX_H_   /* never again */
/*
 * regular expressions
 *
 * Copyright (c) 1998, 1999 Henry Spencer.  All rights reserved.
 * 
 * Development of this software was funded, in part, by Cray Research Inc.,
 * UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
 * Corporation, none of whom are responsible for the results.  The author
 * thanks all of them. 
 * 
 * Redistribution and use in source and binary forms -- with or without
 * modification -- are permitted for any purpose, provided that
 * redistributions in source form retain this entire copyright notice and
 * indicate the origin and nature of any modifications.
 *
 * I'd appreciate being given credit for this package in the documentation
 * of software which uses it, but that is not a requirement.
 * 
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
 * HENRY SPENCER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 *
 *
 * Prototypes etc. marked with "^" within comments get gathered up (and
 * possibly edited) by the regfwd program and inserted near the bottom of
 * this file.
 *
 * We offer the option of declaring one wide-character version of the
 * RE functions as well as the char versions.  To do that, define
 * __REG_WIDE_T to the type of wide characters (unfortunately, there
 * is no consensus that wchar_t is suitable) and __REG_WIDE_COMPILE and
 * __REG_WIDE_EXEC to the names to be used for the compile and execute
 * functions (suggestion:  re_Xcomp and re_Xexec, where X is a letter
 * suggestive of the wide type, e.g. re_ucomp and re_uexec for Unicode).
 * For cranky old compilers, it may be necessary to do something like:
 * #define  __REG_WIDE_COMPILE(a,b,c,d) re_Xcomp(a,b,c,d)
 * #define  __REG_WIDE_EXEC(a,b,c,d,e,f,g)  re_Xexec(a,b,c,d,e,f,g)
 * rather than just #defining the names as parameterless macros.
 *
 * For some specialized purposes, it may be desirable to suppress the
 * declarations of the "front end" functions, regcomp() and regexec(),
 * or of the char versions of the compile and execute functions.  To
 * suppress the front-end functions, define __REG_NOFRONT.  To suppress
 * the char versions, define __REG_NOCHAR.
 *
 * The right place to do those defines (and some others you may want, see
 * below) would be .  If you don't have control of that file,
 * the right place to add your own defines to this file is marked below.
 * This is normally done automatically, by the makefile and regmkhdr, based
 * on the contents of regcustom.h.
 */



/*
 * voodoo for C++
 */
#ifdef __cplusplus
extern "C" {
#endif



/*
 * Add your own defines, if needed, here.
 */



/*
 * Location where a chunk of regcustom.h is automatically spliced into
 * this file (working from its prototype, regproto.h).
 */
/* --- begin --- */
/* ensure certain things don't sneak in from system headers */
#ifdef __REG_WIDE_T
#undef __REG_WIDE_T
#endif
#ifdef __REG_WIDE_COMPILE
#undef __REG_WIDE_COMPILE
#endif
#ifdef __REG_WIDE_EXEC
#undef __REG_WIDE_EXEC
#endif
#ifdef __REG_REGOFF_T
#undef __REG_REGOFF_T
#endif
#ifdef __REG_VOID_T
#undef __REG_VOID_T
#endif
#ifdef __REG_CONST
#undef __REG_CONST
#endif
#ifdef __REG_NOFRONT
#undef __REG_NOFRONT
#endif
#ifdef __REG_NOCHAR
#undef __REG_NOCHAR
#endif
/* interface types */
#define __REG_WIDE_TTcl_UniChar
#define __REG_REGOFF_T  long/* not really right, but good enough... */
#define __REG_VOID_TVOID
#define __REG_C

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/



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

2002-09-04 Thread Gansser, Martin

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/



RE: [pygtk] ../libtool[1280]: yes: not found.

2002-09-01 Thread Gansser, Martin

> Gansser, Martin wrote:
> 
> >Hi,
> >
> >I tried to compile gnome-python-1.4.4 on hpux 11.00, but get 
> the following error messages:
> >
> >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-xml -I/opt/gnome/include 
> -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -
> >I/opt/gnome/lib/gnome-libs/include 
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I/op
> >t/gnome/include/orbit-1.0 -I/opt/gnome/include/gtk-1.2 
> -I/opt/gnome/include -I/opt/gnome/include/lib
> >capplet1 -g -O2 -Iyes -c gnomemodule.c -MT gnomemodule.lo 
> -MD -MP -MF .deps/gnomemodule.TPlo  -fPIC
> >-DPIC -o gnomemodule.o
> >In file included from gnomemodule.c:539:
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type':
> >gnomemodule_impl.c:521: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_or_default':
> >gnomemodule_impl.c:538: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_of_file':
> >gnomemodule_impl.c:555: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function 
> `_wrap_gnome_mime_type_or_default_of_file':
> >gnomemodule_impl.c:572: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_from_magic':
> >gnomemodule_impl.c:589: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_get_value':
> >gnomemodule_impl.c:606: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_program':
> >gnomemodule_impl.c:623: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_description':
> >gnomemodule_impl.c:640: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_test':
> >gnomemodule_impl.c:657: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_composetyped':
> >gnomemodule_impl.c:674: warning: assignment discards 
> qualifiers from pointer target type
> >mv -f gnomemodule.o gnomemodule.lo
> >/bin/sh ../libtool --mode=link gcc  -g -O2 -Iyes  -Lyes -o 
> _gnomemodule.la -rpath /opt/gnome/lib/pyt
> >hon2.2/site-packages -module -avoid-version gnomemodule.lo 
> -L/opt/gnome/lib -lgnome -lgnomesupport -
> >lesd -laudiofile -ldb-3 -lgdk_imlib -lgtk -lgdk -lgmodule 
> -lglib -lintl -lXext -lX11 -lm
> >../libtool[1280]: yes:  not found.
> >libtool: link: cannot determine absolute directory name of `yes'
> >gmake[3]: *** [_gnomemodule.la] 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 #
> >
> >used software:
> >gcc-3.2
> >libtool-1.4.2 tested also with 1.3.5
> >perl-5.8.0
> >
> >any help ?
> >
> >thanks Martin
> >  
> >
> What arguments did you pass to gnome-python's configure script?

I solved this problem by changing the prefix to /usr/local
thats my build script:

#!/bin/csh -f
#
#
gmake distclean
./configure --with-gnome
gmake
gmake install



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/



RE: [pygtk] ../libtool[1280]: yes: not found.

2002-09-01 Thread Gansser, Martin

> Gansser, Martin wrote:
> 
> >Hi,
> >
> >I tried to compile gnome-python-1.4.4 on hpux 11.00, but get 
> the following error messages:
> >
> >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-xml -I/opt/gnome/include 
> -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -
> >I/opt/gnome/lib/gnome-libs/include 
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I/op
> >t/gnome/include/orbit-1.0 -I/opt/gnome/include/gtk-1.2 
> -I/opt/gnome/include -I/opt/gnome/include/lib
> >capplet1 -g -O2 -Iyes -c gnomemodule.c -MT gnomemodule.lo 
> -MD -MP -MF .deps/gnomemodule.TPlo  -fPIC
> >-DPIC -o gnomemodule.o
> >In file included from gnomemodule.c:539:
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type':
> >gnomemodule_impl.c:521: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_or_default':
> >gnomemodule_impl.c:538: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_of_file':
> >gnomemodule_impl.c:555: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function 
> `_wrap_gnome_mime_type_or_default_of_file':
> >gnomemodule_impl.c:572: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_from_magic':
> >gnomemodule_impl.c:589: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_get_value':
> >gnomemodule_impl.c:606: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_program':
> >gnomemodule_impl.c:623: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_description':
> >gnomemodule_impl.c:640: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_test':
> >gnomemodule_impl.c:657: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_composetyped':
> >gnomemodule_impl.c:674: warning: assignment discards 
> qualifiers from pointer target type
> >mv -f gnomemodule.o gnomemodule.lo
> >/bin/sh ../libtool --mode=link gcc  -g -O2 -Iyes  -Lyes -o 
> _gnomemodule.la -rpath /opt/gnome/lib/pyt
> >hon2.2/site-packages -module -avoid-version gnomemodule.lo 
> -L/opt/gnome/lib -lgnome -lgnomesupport -
> >lesd -laudiofile -ldb-3 -lgdk_imlib -lgtk -lgdk -lgmodule 
> -lglib -lintl -lXext -lX11 -lm
> >../libtool[1280]: yes:  not found.
> >libtool: link: cannot determine absolute directory name of `yes'
> >gmake[3]: *** [_gnomemodule.la] 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 #
> >
> >used software:
> >gcc-3.2
> >libtool-1.4.2 tested also with 1.3.5
> >perl-5.8.0
> >
> >any help ?
> >
> >thanks Martin
> >  
> >
> What arguments did you pass to gnome-python's configure script?
sorry for my first mail.

thats my build script:

#!/bin/csh -f
#
setenv CPPFLAGS "-I/opt/gnome/include/libcapplet1"
#
gmake distclean
./configure --prefix=/opt/gnome \
--with-gtk-prefix=/opt/gnome \
--with-imlib-prefix=/opt/gnome \
--with-gnome-includes \
--with-gnome-libs \
--with-gnome \
--with-glib-prefix=/opt/gnome
gmake
gmake install

gnome-python only compiles w/o problems, if I do a
./configure; gmake

but I wont to use the prefix=/opt/gnome and glib/gtk/imlib from /opt/gnome
and not from /usr/lcoal.

what is the problem ?

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/



RE: [pygtk] ../libtool[1280]: yes: not found.

2002-09-01 Thread Gansser, Martin

> Gansser, Martin wrote:
> 
> >Hi,
> >
> >I tried to compile gnome-python-1.4.4 on hpux 11.00, but get 
> the following error messages:
> >
> >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-xml -I/opt/gnome/include 
> -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -
> >I/opt/gnome/lib/gnome-libs/include 
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I/op
> >t/gnome/include/orbit-1.0 -I/opt/gnome/include/gtk-1.2 
> -I/opt/gnome/include -I/opt/gnome/include/lib
> >capplet1 -g -O2 -Iyes -c gnomemodule.c -MT gnomemodule.lo 
> -MD -MP -MF .deps/gnomemodule.TPlo  -fPIC
> >-DPIC -o gnomemodule.o
> >In file included from gnomemodule.c:539:
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type':
> >gnomemodule_impl.c:521: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_or_default':
> >gnomemodule_impl.c:538: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_of_file':
> >gnomemodule_impl.c:555: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function 
> `_wrap_gnome_mime_type_or_default_of_file':
> >gnomemodule_impl.c:572: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_from_magic':
> >gnomemodule_impl.c:589: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_get_value':
> >gnomemodule_impl.c:606: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_program':
> >gnomemodule_impl.c:623: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_description':
> >gnomemodule_impl.c:640: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_test':
> >gnomemodule_impl.c:657: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_composetyped':
> >gnomemodule_impl.c:674: warning: assignment discards 
> qualifiers from pointer target type
> >mv -f gnomemodule.o gnomemodule.lo
> >/bin/sh ../libtool --mode=link gcc  -g -O2 -Iyes  -Lyes -o 
> _gnomemodule.la -rpath /opt/gnome/lib/pyt
> >hon2.2/site-packages -module -avoid-version gnomemodule.lo 
> -L/opt/gnome/lib -lgnome -lgnomesupport -
> >lesd -laudiofile -ldb-3 -lgdk_imlib -lgtk -lgdk -lgmodule 
> -lglib -lintl -lXext -lX11 -lm
> >../libtool[1280]: yes:  not found.
> >libtool: link: cannot determine absolute directory name of `yes'
> >gmake[3]: *** [_gnomemodule.la] 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 #
> >
> >used software:
> >gcc-3.2
> >libtool-1.4.2 tested also with 1.3.5
> >perl-5.8.0
> >
> >any help ?
> >
> >thanks Martin
> >  
> >
> What arguments did you pass to gnome-python's configure script?
sorry for my first mail.

thats my build script:

#!/bin/csh -f
#
setenv CPPFLAGS "-I/opt/gnome/include/libcapplet1"
#
gmake distclean
./configure --prefix=/opt/gnome \
--with-gtk-prefix=/opt/gnome \
--with-imlib-prefix=/opt/gnome \
--with-gnome-includes \
--with-gnome-libs \
--with-gnome \
--with-glib-prefix=/opt/gnome
gmake
gmake install

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/



RE: [pygtk] ../libtool[1280]: yes: not found.

2002-09-01 Thread Gansser, Martin



> -Original Message-
> From: James Henstridge [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, August 31, 2002 3:50 AM
> To: Gansser, Martin
> Cc: [EMAIL PROTECTED]
> Subject: Re: [pygtk] ../libtool[1280]: yes: not found.
> 
> 
> Gansser, Martin wrote:
> 
> >Hi,
> >
> >I tried to compile gnome-python-1.4.4 on hpux 11.00, but get 
> the following error messages:
> >
> >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-xml -I/opt/gnome/include 
> -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -
> >I/opt/gnome/lib/gnome-libs/include 
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I/op
> >t/gnome/include/orbit-1.0 -I/opt/gnome/include/gtk-1.2 
> -I/opt/gnome/include -I/opt/gnome/include/lib
> >capplet1 -g -O2 -Iyes -c gnomemodule.c -MT gnomemodule.lo 
> -MD -MP -MF .deps/gnomemodule.TPlo  -fPIC
> >-DPIC -o gnomemodule.o
> >In file included from gnomemodule.c:539:
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type':
> >gnomemodule_impl.c:521: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_or_default':
> >gnomemodule_impl.c:538: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_of_file':
> >gnomemodule_impl.c:555: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function 
> `_wrap_gnome_mime_type_or_default_of_file':
> >gnomemodule_impl.c:572: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_type_from_magic':
> >gnomemodule_impl.c:589: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_get_value':
> >gnomemodule_impl.c:606: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_program':
> >gnomemodule_impl.c:623: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_description':
> >gnomemodule_impl.c:640: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_test':
> >gnomemodule_impl.c:657: warning: assignment discards 
> qualifiers from pointer target type
> >gnomemodule_impl.c: In function `_wrap_gnome_mime_composetyped':
> >gnomemodule_impl.c:674: warning: assignment discards 
> qualifiers from pointer target type
> >mv -f gnomemodule.o gnomemodule.lo
> >/bin/sh ../libtool --mode=link gcc  -g -O2 -Iyes  -Lyes -o 
> _gnomemodule.la -rpath /opt/gnome/lib/pyt
> >hon2.2/site-packages -module -avoid-version gnomemodule.lo 
> -L/opt/gnome/lib -lgnome -lgnomesupport -
> >lesd -laudiofile -ldb-3 -lgdk_imlib -lgtk -lgdk -lgmodule 
> -lglib -lintl -lXext -lX11 -lm
> >../libtool[1280]: yes:  not found.
> >libtool: link: cannot determine absolute directory name of `yes'
> >gmake[3]: *** [_gnomemodule.la] 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 #
> >
> >used software:
> >gcc-3.2
> >libtool-1.4.2 tested also with 1.3.5
> >perl-5.8.0
> >
> >any help ?
> >
> >thanks Martin
> >  
> >
> What arguments did you pass to gnome-python's configure script?
> 
> 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/



[pygtk] ../libtool[1280]: yes: not found.

2002-08-30 Thread Gansser, Martin

Hi,

I tried to compile gnome-python-1.4.4 on hpux 11.00, but get the following error 
messages:

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-xml -I/opt/gnome/include -I/opt/gnome/include/gnome-1.0 
-DNEED_GNOMESUPPORT_H -
I/opt/gnome/lib/gnome-libs/include -I/opt/gnome/include/glib-1.2 
-I/opt/gnome/lib/glib/include -I/op
t/gnome/include/orbit-1.0 -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include 
-I/opt/gnome/include/lib
capplet1 -g -O2 -Iyes -c gnomemodule.c -MT gnomemodule.lo -MD -MP -MF 
.deps/gnomemodule.TPlo  -fPIC
-DPIC -o gnomemodule.o
In file included from gnomemodule.c:539:
gnomemodule_impl.c: In function `_wrap_gnome_mime_type':
gnomemodule_impl.c:521: warning: assignment discards qualifiers from pointer target 
type
gnomemodule_impl.c: In function `_wrap_gnome_mime_type_or_default':
gnomemodule_impl.c:538: warning: assignment discards qualifiers from pointer target 
type
gnomemodule_impl.c: In function `_wrap_gnome_mime_type_of_file':
gnomemodule_impl.c:555: warning: assignment discards qualifiers from pointer target 
type
gnomemodule_impl.c: In function `_wrap_gnome_mime_type_or_default_of_file':
gnomemodule_impl.c:572: warning: assignment discards qualifiers from pointer target 
type
gnomemodule_impl.c: In function `_wrap_gnome_mime_type_from_magic':
gnomemodule_impl.c:589: warning: assignment discards qualifiers from pointer target 
type
gnomemodule_impl.c: In function `_wrap_gnome_mime_get_value':
gnomemodule_impl.c:606: warning: assignment discards qualifiers from pointer target 
type
gnomemodule_impl.c: In function `_wrap_gnome_mime_program':
gnomemodule_impl.c:623: warning: assignment discards qualifiers from pointer target 
type
gnomemodule_impl.c: In function `_wrap_gnome_mime_description':
gnomemodule_impl.c:640: warning: assignment discards qualifiers from pointer target 
type
gnomemodule_impl.c: In function `_wrap_gnome_mime_test':
gnomemodule_impl.c:657: warning: assignment discards qualifiers from pointer target 
type
gnomemodule_impl.c: In function `_wrap_gnome_mime_composetyped':
gnomemodule_impl.c:674: warning: assignment discards qualifiers from pointer target 
type
mv -f gnomemodule.o gnomemodule.lo
/bin/sh ../libtool --mode=link gcc  -g -O2 -Iyes  -Lyes -o _gnomemodule.la -rpath 
/opt/gnome/lib/pyt
hon2.2/site-packages -module -avoid-version gnomemodule.lo -L/opt/gnome/lib -lgnome 
-lgnomesupport -
lesd -laudiofile -ldb-3 -lgdk_imlib -lgtk -lgdk -lgmodule -lglib -lintl -lXext -lX11 
-lm
../libtool[1280]: yes:  not found.
libtool: link: cannot determine absolute directory name of `yes'
gmake[3]: *** [_gnomemodule.la] 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 #

used software:
gcc-3.2
libtool-1.4.2 tested also with 1.3.5
perl-5.8.0

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/