Skip to main content

JDIC on KDE

2 replies [Last post]
enricjaen
Offline
Joined: 2007-08-22
Points: 0

Hello, the documentation says JDIC runs on Gnome, but I read that some people has managed to run jdic also in KDE. I can't (because of the libtray.so). Also I tried to build the sources but I get these compilation errors (seems to be missing gnome libs):

buildunixjni:
[exec] rm -f *.so
[exec] rm -f *.o
[exec] rm -f ../../../share/native/utils/*.o
[exec] g++ -c -I/usr/local/jdk1.5.0_11/include -I/usr/local/jdk1.5.0_11/include/linux `pkg-config --cflags glib-2.0` `pkg-config --cflags libgnome-2.0` `pkg-config --cflags gnome-vfs-2.0` `pkg-config --cflags gnome-vfs-module-2.0` `pkg-config --cflags bonobo-activation-2.0` `pkg-config --cflags libbonobo-2.0` `pkg-config --cflags ORBit-2.0` `pkg-config --cflags gconf-2.0` -o GnomeBrowserService.o GnomeBrowserService.cpp
[exec] Package glib-2.0 was not found in the pkg-config search path.
[exec] Perhaps you should add the directory containing `glib-2.0.pc'
[exec] to the PKG_CONFIG_PATH environment variable
[exec] No package 'glib-2.0' found
[exec] Package libgnome-2.0 was not found in the pkg-config search path.
[exec] Perhaps you should add the directory containing `libgnome-2.0.pc'
[exec] to the PKG_CONFIG_PATH environment variable
[exec] No package 'libgnome-2.0' found
[exec] Package gnome-vfs-2.0 was not found in the pkg-config search path.
[exec] Perhaps you should add the directory containing `gnome-vfs-2.0.pc'
[exec] to the PKG_CONFIG_PATH environment variable
[exec] No package 'gnome-vfs-2.0' found
[exec] Package gnome-vfs-module-2.0 was not found in the pkg-config search path.
[exec] Perhaps you should add the directory containing `gnome-vfs-module-2.0.pc'
[exec] to the PKG_CONFIG_PATH environment variable
[exec] No package 'gnome-vfs-module-2.0' found
[exec] Package bonobo-activation-2.0 was not found in the pkg-config search path.
[exec] Perhaps you should add the directory containing `bonobo-activation-2.0.pc'
[exec] to the PKG_CONFIG_PATH environment variable
[exec] No package 'bonobo-activation-2.0' found
[exec] Package libbonobo-2.0 was not found in the pkg-config search path.
[exec] Perhaps you should add the directory containing `libbonobo-2.0.pc'
[exec] to the PKG_CONFIG_PATH environment variable
[exec] No package 'libbonobo-2.0' found
[exec] Package ORBit-2.0 was not found in the pkg-config search path.
[exec] Perhaps you should add the directory containing `ORBit-2.0.pc'
[exec] to the PKG_CONFIG_PATH environment variable
[exec] No package 'ORBit-2.0' found
[exec] Package gconf-2.0 was not found in the pkg-config search path.
[exec] Perhaps you should add the directory containing `gconf-2.0.pc'
[exec] to the PKG_CONFIG_PATH environment variable
[exec] No package 'gconf-2.0' found
[exec] GnomeBrowserService.cpp:25:31: error: libgnome/libgnome.h: No such file or directory
[exec] GnomeBrowserService.cpp:26:32: error: gconf/gconf-client.h: No such file or directory
[exec] GnomeBrowserService.cpp: In function ‘jboolean Java_org_jdesktop_jdic_desktop_internal_impl_GnomeBrowserService_nativeBrowseURL(JNIEnv*, _jobject*, _jstring*)’:
[exec] GnomeBrowserService.cpp:36: error: ‘gboolean’ was not declared in this scope
[exec] GnomeBrowserService.cpp:36: error: expected `;' before ‘result’
[exec] GnomeBrowserService.cpp:38: error: ‘g_type_init’ was not declared in this scope
[exec] GnomeBrowserService.cpp:39: error: ‘GConfClient’ was not declared in this scope
[exec] GnomeBrowserService.cpp:39: error: ‘client’ was not declared in this scope
[exec] GnomeBrowserService.cpp:39: error: ‘gconf_client_get_default’ was not declared in this scope
[exec] GnomeBrowserService.cpp:43: error: ‘g_strconcat’ was not declared in this scope
[exec] GnomeBrowserService.cpp:44: error: ‘gconf_client_get_string’ was not declared in this scope
[exec] GnomeBrowserService.cpp:54: error: ‘result’ was not declared in this scope
[exec] GnomeBrowserService.cpp:56: error: ‘g_shell_parse_argv’ was not declared in this scope
[exec] GnomeBrowserService.cpp:57: error: ‘result’ was not declared in this scope
[exec] GnomeBrowserService.cpp:65: error: ‘g_strdup’ was not declared in this scope
[exec] GnomeBrowserService.cpp:66: error: ‘g_free’ was not declared in this scope
[exec] GnomeBrowserService.cpp:69: error: ‘result’ was not declared in this scope
[exec] GnomeBrowserService.cpp:72: error: ‘G_SPAWN_SEARCH_PATH’ was not declared in this scope
[exec] GnomeBrowserService.cpp:76: error: ‘g_spawn_async’ was not declared in this scope
[exec] GnomeBrowserService.cpp:81: error: ‘result’ was not declared in this scope
[exec] make: *** [GnomeBrowserService.o] Error 1

BUILD FAILED

Can someone point if I need to install all these libs, or is there any workaround?
Regards,
/Enric

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sadna
Offline
Joined: 2008-05-26
Points: 0

Hi Eric,

I am facing the same issue while building jdic source in Linux KDE.
Did you find any work around on this ?

Thanks

sadna
Offline
Joined: 2008-05-26
Points: 0

Hi Eric,

I am facing the same issue while building jdic source in Linux KDE.
Did you find any work aroung on this ?

Thanks