awesome

Welcome to awesome bug tracking system.
Tasklist

FS#265 - Build problem.

Attached to Project: awesome
Opened by Dawid Ci??arkiewicz (dpc) - Thursday, 14 August 2008, 19:13 GMT
Last edited by Julien Danjou (jd) - Wednesday, 20 August 2008, 16:19 GMT
Task Type Bug Report
Category Core
Status Closed
Assigned To No-one
Operating System Linux
Severity High
Priority Normal
Reported Version git/master
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Git version. I've tried to build it with:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DWITH_IMLIB2=1

and the efect:
Linking C executable awesome
CMakeFiles/awesome.dir/common/draw.c.o: In function `draw_text_extents':
/home/dpc/tmp/yaourt-tmp-dpc/aur-awesome-git/awesome-git/src/awesome-build/common/draw.c:1049: undefined reference to `pango_cairo_create_layout'
CMakeFiles/awesome.dir/common/draw.c.o: In function `draw_text':
/home/dpc/tmp/yaourt-tmp-dpc/aur-awesome-git/awesome-git/src/awesome-build/common/draw.c:449: undefined reference to `pango_cairo_update_layout'
/home/dpc/tmp/yaourt-tmp-dpc/aur-awesome-git/awesome-git/src/awesome-build/common/draw.c:450: undefined reference to `pango_cairo_show_layout'
/home/dpc/tmp/yaourt-tmp-dpc/aur-awesome-git/awesome-git/src/awesome-build/common/draw.c:438: undefined reference to `pango_cairo_layout_path'
CMakeFiles/awesome.dir/common/draw.c.o: In function `draw_context_new':
/home/dpc/tmp/yaourt-tmp-dpc/aur-awesome-git/awesome-git/src/awesome-build/common/draw.c:156: undefined reference to `pango_cairo_create_layout'
CMakeFiles/awesome.dir/common/draw.c.o: In function `draw_font_new':
/home/dpc/tmp/yaourt-tmp-dpc/aur-awesome-git/awesome-git/src/awesome-build/common/draw.c:187: undefined reference to `pango_cairo_create_layout'
collect2: ld returned 1 exit status

Thanks.
This task depends upon

Closed by  Julien Danjou (jd)
Wednesday, 20 August 2008, 16:19 GMT
Reason for closing:  Works for me
Additional comments about closing:  Imlib2 is now enabled by default.
Comment by Dawid Ci??arkiewicz (dpc) - Thursday, 14 August 2008, 20:02 GMT
  • Field changed: Percent Complete (100% → 0%)
Isn't the build system the one that should told me about that fact? :)

Anyway - thanks for the help.
Comment by Michael Gehring (mg) - Thursday, 14 August 2008, 20:06 GMT
I don't think pango is the problem here. The build works fine for me when i build without imlib2,
but WITH_IMLIB2 i get the same error.

Can you verify it's working without imlib2 Dawid?
Comment by Michael Gehring (mg) - Thursday, 14 August 2008, 20:20 GMT
I don't know exactly why this only happens in the imlib2 build, but adding the pangocairo library explicitly solved the problem here.
Patch attached.

Though i'm curious why this isn't needed with the gdk-pixbuf configuration...
Comment by Dawid Ci??arkiewicz (dpc) - Thursday, 14 August 2008, 20:27 GMT
I've rebuilt my pango with --with-cairo but no change.

With -DWITH_IMLIB2=0 awesome-git is known to build correctly here because I've already reported another problem with building with -DWITH_IMLIB2=1 (while =0 works OK all the time).

Loading...