On 06/13/2015 06:48 PM, Ken Moffat wrote:
> I was going to fix gtk+-2, but then I realised the book has a newer
> version than I'm using (I missed the gtk and glib changes on 15th
> May when I was updating my scripts).  Hopefully, I'll be building on
> another machine - with current versions - later this weekend.  So
> for now, just a word in case the current version still has the
> problem.
> 
> 2.24.27 fails to build with:
> 
> Making all in gtk-demo
> make[4]: Entering directory
> '/scratch/working/gtk+-2.24.27/demos/gtk-demo'
> (here=`pwd` ; cd . && /usr/bin/perl $here/geninclude.pl appwindow.c
> assistant.c builder.c button_box.c changedisplay.c clipboard.c
> colorsel.c combobox.c dialog.c drawingarea.c editable_cells.c
> entry_buffer.c entry_completion.c expander.c hypertext.c iconview.c
> iconview_edit.c images.c infobar.c links.c list_store.c menus.c
> offscreen_window.c offscreen_window2.c panes.c pickers.c pixbufs.c
> printing.c rotated_text.c search_entry.c sizegroup.c spinner.c
> stock_browser.c textview.c textscroll.c toolpalette.c tree_store.c
> ui_manager.c) > demos.h
> Can't use 'defined(@array)' (Maybe you should just omit the
> defined()?) at
> /scratch/working/gtk+-2.24.27/demos/gtk-demo/geninclude.pl line 43.
> Makefile:1036: recipe for target 'demos.h' failed
> 
> After I looked at the perl release notes, the following sed allows
> it to build:
> 
> sed -i 's/defined @/@/' demos/gtk-demo/geninclude.pl.in
> 
> I didn't build gtk+-3 this time (I'm doing a mostly-kde build), but
> I will not be surprised if that too has a similar problem.  Again,
> I'll find out in a day or two.
> 
> ĸen
> 

You aren't using the latest GTK+2 version.

https://git.gnome.org/browse/gtk+/commit/?h=gtk-2-24&id=3da748930fdcb19aaae32ae2fc6cb2d802857752

Fixed in 2.24.28

-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to