Discussion:
help need for compiling glade 3.14
tsuyoshi okita
2014-06-12 04:46:11 UTC
Permalink
Dear gurus,

I've been trying to compile glade 3.14 source and lost.
I am very new to this sort of work. I have Debian wheezy running.

this is what i have done so far:
1. ./autogen.sh
and the output was:
(! 2055)-> ./autogen.sh
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.69
checking for automake >= 1.9...
testing automake-1.11... found 1.11.6
checking for libtool >= 1.5...
testing libtoolize... found 2.4.2
checking for intltool >= 0.30...
testing intltoolize... found 0.50.2
checking for pkg-config >= 0.14.0...
testing pkg-config... found 0.26
checking for gtk-doc >= 1.0...
testing gtkdocize... found 1.18
Checking for required M4 macros...
Checking for forbidden M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Processing ./configure.ac
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Running intltoolize...
Running gtkdocize...
Running aclocal-1.11...
Running autoconf...
Running autoheader...
Running automake-1.11...
configure.ac:26: installing `./config.guess'
configure.ac:26: installing `./config.sub'
configure.ac:28: installing `./install-sh'
configure.ac:28: installing `./missing'
gladeui/Makefile.am:200: HAVE_INTROSPECTION does not appear in
AM_CONDITIONAL
gladeui/Makefile.am: installing `./depcomp'

also, i ran aclocal and it gave me,
configure.ac:164: warning: macro `AM_CHECK_PYTHON_HEADERS' not found in
library
configure.ac:165: warning: macro `AM_CHECK_PYTHON_LIBS' not found in library

I googled your archives and someone mentioned the same python problem.
Although he said he fixed it. he did not mention how...

Thank you for your help.

Tsuyoshi
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Roland Koebler
2014-06-12 08:37:40 UTC
Permalink
Hi,
Post by tsuyoshi okita
I've been trying to compile glade 3.14 source and lost.
I would recommend to use the newest version of Glade (currently 3.18.3),
since some bug were fixed there.

To compile Glade 3.18.3 incl. its dependencies on Debian Wheezy, you can
either use my build-script [1] (which I use on Debian Wheezy) or follow
the bundle-build-instructions on in the Glade-git-tree [2].
(See mails "Build-script for Glade" a few days ago for details.)
Post by tsuyoshi okita
1. ./autogen.sh
Usually, you don't need to call autogen / aclocal yourself;
./configure should be sufficient (ideally on a new extracted copy
of the glade-sources, where you didn't call autogen/aclocal yourself).

But note that Glade 3.14.3 requires at least GTK+ 3.6.0, and Debian
Wheezy only includes GTK+ 3.4.2, so you probably need to compile and
install newer GTK+-libraries (incl. its dependencies). To simplify this,
I again recommend my build-script [1] or the bundle-build-instructions
in the Glade-tree [2].

[1] http://www.simple-is-better.org.local/gtk/#building-glade
[2] https://git.gnome.org/browse/glade/tree/build/linux/README

regards
Roland
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
tsuyoshi okita
2014-06-17 00:13:32 UTC
Permalink
Dear Gurus,

Thank you for your guidance last time. I've been working on it.
OS: Debian Wheezy
I installed libcairo2-dev package
and ran ./glade_build.sh and it gave me the following error.
#-------------------
cairo (version 1.12.16 [release]) will be compiled with:

The following surface backends:
Image: yes (always builtin)
Recording: yes (always builtin)
Observer: yes (always builtin)
Mime: yes (always builtin)
Tee: no (disabled, use --enable-tee to enable)
XML: no (disabled, use --enable-xml to enable)
Skia: no (disabled, use --enable-skia to enable)
Xlib: yes
Xlib Xrender: yes
Qt: no (disabled, use --enable-qt to enable)
Quartz: no (requires CoreGraphics framework)
Quartz-image: no (disabled, use --enable-quartz-image to enable)
XCB: yes
Win32: no (requires a Win32 platform)
OS2: no (disabled, use --enable-os2 to enable)
CairoScript: yes
PostScript: yes
PDF: yes
SVG: yes
OpenGL: no (disabled, use --enable-gl to enable)
OpenGL ES 2.0: no (disabled, use --enable-glesv2 to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
OpenVG: no (disabled, use --enable-vg to enable)
DRM: no (disabled, use --enable-drm to enable)
Cogl: no (disabled, use --enable-cogl to enable)

The following font backends:
User: yes (always builtin)
FreeType: yes
Fontconfig: yes
Win32: no (requires a Win32 platform)
Quartz: no (requires CoreGraphics framework)

The following functions:
PNG functions: yes
GLX functions: no (not required by any backend)
WGL functions: no (not required by any backend)
EGL functions: no (not required by any backend)
X11-xcb functions: no (disabled, use --enable-xlib-xcb to enable)
XCB-shm functions: yes

The following features and utilities:
cairo-trace: yes
cairo-script-interpreter: yes

And the following internal features:
pthread: yes
gtk-doc: no
gcov support: no
symbol-lookup: yes
test surfaces: no (disabled, use --enable-test-surfaces to enable)
ps testing: yes
pdf testing: yes
svg testing: no (requires librsvg-2.0 >= 2.15.0)
#--------------------------
from cairo-xlib-xrender-private.h:53,
from cairo-xlib-private.h:41,
from cairo-xlib-display.c:40:
/usr/include/X11/extensions/Xrender.h:191:16: note: originally defined here
In file included from cairo-xlib-private.h:41:0,
from cairo-xlib-display.c:40:
cairo-xlib-xrender-private.h:119:3: error: conflicting types for
'XRadialGradient'
In file included from cairo-xlib-xrender.h:45:0,
from cairo-xlib-xrender-private.h:53,
from cairo-xlib-private.h:41,
from cairo-xlib-display.c:40:
/usr/include/X11/extensions/Xrender.h:194:3: note: previous declaration
of 'XRadialGradient' was here
In file included from cairo-xlib-private.h:41:0,
from cairo-xlib-display.c:40:
cairo-xlib-xrender-private.h:125:16: error: redefinition of 'struct
_XConicalGradient'
In file included from cairo-xlib-xrender.h:45:0,
from cairo-xlib-xrender-private.h:53,
from cairo-xlib-private.h:41,
from cairo-xlib-display.c:40:
/usr/include/X11/extensions/Xrender.h:196:16: note: originally defined here
In file included from cairo-xlib-private.h:41:0,
from cairo-xlib-display.c:40:
cairo-xlib-xrender-private.h:128:3: error: conflicting types for
'XConicalGradient'
In file included from cairo-xlib-xrender.h:45:0,
from cairo-xlib-xrender-private.h:53,
from cairo-xlib-private.h:41,
from cairo-xlib-display.c:40:
/usr/include/X11/extensions/Xrender.h:199:3: note: previous declaration
of 'XConicalGradient' was here
make[3]: *** [cairo-xlib-display.lo] Error 1
make[3]: quitting from directory `/tmp/cairo-1.12.16/src'
make[2]: *** [all] Error 2
make[2]: quitting from directory `/tmp/cairo-1.12.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: quitting from directory `/tmp/cairo-1.12.16'
make: *** [all] Error 2

Has anyone encountered a similar error??
Thank you for your help.

Sincerely,

Tsuyoshi


_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Roland Koebler
2014-06-19 09:38:49 UTC
Permalink
Hi,
Post by tsuyoshi okita
Dear Gurus,
Thank you for your guidance last time. I've been working on it.
OS: Debian Wheezy
I installed libcairo2-dev package
and ran ./glade_build.sh and it gave me the following error.
#-------------------
[...]
cairo-xlib-xrender-private.h:119:3: error: conflicting types for 'XRadialGradient'
cairo-xlib-xrender-private.h:125:16: error: redefinition of 'struct _XConicalGradient'
cairo-xlib-xrender-private.h:128:3: error: conflicting types for 'XConicalGradient'
according to http://lists.freedesktop.org/archives/cairo/2012-November/023803.html,
this maybe can be solved by installing xorg-libXext first by:

apt-get install libxext-dev

and then trying to compile cairo again.

Roland
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
tsuyoshi okita
2014-06-20 02:32:18 UTC
Permalink
Dear Roland-san,

libxext-dev was exactly what i needed. Thank youuuuUUUU!!!!!!!
Following were other packages I had to install to complete compiling:

sudo apt-get install libxi-dev
sudo apt-get install libatk-bridge2.0-dev
sudo apt-get install libxml2-dev
sudo apt-get install itstool
sudo apt-get install libxml2-utils

This is not a complete list. I forgot to keep track of all packages.
But still it should help Wheezy users to save time;->

Thank you.

Tsuyoshi
Post by Roland Koebler
Hi,
Post by tsuyoshi okita
Dear Gurus,
Thank you for your guidance last time. I've been working on it.
OS: Debian Wheezy
I installed libcairo2-dev package
and ran ./glade_build.sh and it gave me the following error.
#-------------------
[...]
cairo-xlib-xrender-private.h:119:3: error: conflicting types for 'XRadialGradient'
cairo-xlib-xrender-private.h:125:16: error: redefinition of 'struct _XConicalGradient'
cairo-xlib-xrender-private.h:128:3: error: conflicting types for 'XConicalGradient'
according to http://lists.freedesktop.org/archives/cairo/2012-November/023803.html,
apt-get install libxext-dev
and then trying to compile cairo again.
Roland
_______________________________________________
http://lists.ximian.com/mailman/listinfo/glade-devel
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel

Loading...