[Poppler-bugs] [Bug 26442] poppler-0.12.3 fails to compile glib component when gtk was found

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 7 01:48:56 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26442





--- Comment #4 from Fabian Groffen <grobian at gentoo.org>  2010-02-07 01:48:55 PST ---
(In reply to comment #3)
> Two questions:
>  * Does the autotools based build work?

Yes, it seems to use the GTK libs when linking, resulting in a successful
compile.

>  * Does this patch help?
> 
> diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
> index 6ed9523..392da66 100644
> --- a/glib/CMakeLists.txt
> +++ b/glib/CMakeLists.txt
> @@ -112,6 +112,7 @@ if (GDK_FOUND)
>      test-poppler-glib.cc
>    )
>    poppler_add_test(test-poppler-glib BUILD_GTK_TESTS
> ${test_poppler_glib_SRCS})
> +  target_link_libraries(poppler-glib ${GDK2_LIBRARIES})
>    target_link_libraries(test-poppler-glib poppler-glib ${GDK2_LIBRARIES})
>  endif (GDK_FOUND)
> 

No, it fails in the same way as before.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list