Thread: Compiling with GTK development packages
hi. have been trying compile , install programs mentioned in thread. http://ubuntuforums.org/showthread.p...3#post11408483
unfortunately, unable compile of them despite downloading needed packages ubuntu repos. using ubuntu 11.10
here in turn, first jumanji, minimalist browser.
http://pwmt.org/projects/jumanji/
i have installed these packages ubuntu repositories using synaptic:code:listed dependencies: libwebkit (>= 1.2.1) libsoup (>= 2.22.4) libunique (>= 1.1.2) gtk2 (>= 2.18.6) glib (>= 2.22.4)
libwebkit-dev,
libwebkitgtk-dev,
libsoup2.4-dev,
libunique-dev,
libgtk2-dev,
libglib2.0-dev
running make produces output.
i have libsoup development package installed, not know why complains that.code:package javascriptcoregtk-1.0 not found in pkg-config search path. perhaps should add directory containing `javascriptcoregtk-1.0.pc' pkg_config_path environment variable no package 'javascriptcoregtk-1.0' found package javascriptcoregtk-1.0 not found in pkg-config search path. perhaps should add directory containing `javascriptcoregtk-1.0.pc' pkg_config_path environment variable no package 'javascriptcoregtk-1.0' found jumanji build options: cflags = -std=c99 -pedantic -wall -wextra -i. -i/usr/include libs = -lc -lpthread -lm dflags = -o0 -g cc = cc package javascriptcoregtk-1.0 not found in pkg-config search path. perhaps should add directory containing `javascriptcoregtk-1.0.pc' pkg_config_path environment variable no package 'javascriptcoregtk-1.0' found cc jumanji.c jumanji.c:14:26: fatal error: libsoup/soup.h: no such file or directory compilation terminated. make: *** [jumanji.o] error 1
also, ubuntu not have package javascriptcoregtk-1.0, debian does. http://packages.debian.org/search?ke...iptcoregtk-1.0
unfortunately, installing package not fix problem, (same error when running make.)
ubuntu provide package called gir1.2-webkit-1.0 conflicts debian package, installing still gives same error message.
software gives similar problem dwb, minimalist browser.
dwb
as before, havecode:listed dependencies: libsoup >= 2.32 webkitgtk >= 1.4.0 gtk+-2.0 or gtk+-3.0
libgtk2.0-dev,
libwebkitgtk-dev,
, libsoup2.4 -dev
packages installed ubuntu repos.
whlie compiling starts, spits out lot of undefined reference errors, bottom of so.
so gather there pointing in wrong direction, figuring out beyond linux skills. seems have gotten it, since thread made ppa it.code:view.o: in function `view_inspect_web_view_cb': view.c:(.text+0xbe): undefined reference `g_type_check_instance_cast' view.o: in function `view_populate_popup_cb': view.c:(.text+0x200): undefined reference `g_list_free' view.o: in function `view_icon_loaded': view.c:(.text+0x806): undefined reference `gtk_image_set_from_pixbuf' view.o: in function `view_modify_style': view.c:(.text+0x1450): undefined reference `gtk_widget_modify_font' view.o: in function `view_create_web_view_cb': view.c:(.text+0x2ea5): undefined reference `g_type_check_instance_cast' collect2: ld returned 1 exit status
https://launchpad.net/~jomasti/+archive/ppa-dwb
bafflingly had no problems compiling browser similar dependencies, http://sourceforge.net/apps/trac/vimprobable/, have no idea i've gone wrong.
listed dependencies:
gtk2
libsoup
libwebkit>=1.1.11
anyways, while far more trouble worth, humbly ask hints on how resolve issue learning exercise. think fail understand packages require, not sure.
thank in advance.
my guess soup.h in directory compile doesn't see. easiest thing do is.
code:sudo ln -s /usr/include/libsoup-2.4/libsoup/soup.h /usr/include/libsoup/soup.h i'd check first make sure there isn't file ls /usr/include/libsoup/soup.h
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Compiling with GTK development packages
Ubuntu
Comments
Post a Comment