Build problems

Hi,

I have build problems since the install prefix changed. I totally removed /opt/gtk, i also totally removed the previous source downloads to start totally with a clean build. I executed the sh script again, then the bootstrap steps, then the build step.

However, when building Pango, I always get :

grep: /opt/gtk/lib/libxml2.la: No such file or directory
sed: /opt/gtk/lib/libxml2.la: No such file or directory

Any idea what's wrong? That's on a totally clean build, i don't get why it retains links to the old location

You most likely have some

You most likely have some remains of the old installation, perhaps even something installed in the wrong prefix, like /usr/local or /usr. Check for files called *.la that contain /opt/gtk.

Indeed - once again you are

Indeed - once again you are right. Thanks.

However, i am now getting

However, i am now getting this :

gtkcupsutils.h:86: error: parse error before 'http_addrlist_t'
gtkcupsutils.h:86: warning: no semicolon at end of struct or union
gtkcupsutils.h:87: warning: type defaults to 'int' in declaration of 'current_addr'
gtkcupsutils.h:87: warning: data definition has no type or storage class
gtkcupsutils.h:89: error: 'socket' redeclared as different kind of symbol
/usr/include/sys/socket.h:576: error: previous declaration of 'socket' was here
gtkcupsutils.h:90: error: parse error before '}' token
gtkprintbackendcups.c: In function '_cairo_write_to_cups':
gtkprintbackendcups.c:298: warning: format '%i' expects type 'int', but argument 2 has type 'gsize'
make[4]: *** [gtkprintbackendcups.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

seems like a conflict between GTK and native types to me, not sure how to go along that

Is this on 10.5 or 10.4? It

Is this on 10.5 or 10.4? It works for me on 10.4, could be that a newer cups is required since a few days (that code was added recently). If so, we need to make it optional.

Did you rerun autogen.sh btw, in case some new configure checks were added?

I am on 10.4 I am using

I am on 10.4

I am using jhbuild, so I'm not doing anything by hand. But i'm pretty sure jhbuild re-runs autogen everytime

This problem went away with

This problem went away with SVN updates (good) but i'm now getting this :

gdk-pixbuf-loader.c: In function 'gdk_pixbuf_loader_class_init':
gdk-pixbuf-loader.c:99: error: '_gdk_pixbuf_marshal_VOID__INT_INT' undeclared (first use in this function)
gdk-pixbuf-loader.c:99: error: (Each undeclared identifier is reported only once
gdk-pixbuf-loader.c:99: error: for each function it appears in.)
gdk-pixbuf-loader.c:119: error: '_gdk_pixbuf_marshal_VOID__VOID' undeclared (first use in this function)
gdk-pixbuf-loader.c:142: error: '_gdk_pixbuf_marshal_VOID__INT_INT_INT_INT' undeclared (first use in this function)

Try rebuild (make clean

Try rebuild (make clean first to make sure marshallers are rebuilt). Trunk is currently going through a lot of cleanups and preparations for the upcoming release so the build is a bit unstable. If make clean doesn't help, try make maintainer-clean.

Thanks for your support, i

Thanks for your support, i will try this.

i just noticed something though, that is very annoying for me on my slow computer. By default, jhbuild has GTK build all its samples, which takes very long. Is there a way i can tell jhbuild not to build the GTK samples?

thanks