View Single Post
Posts: 47 | Thanked: 1 time | Joined on Feb 2010
#5
ke-recv-l10n-mr0 but it is not installable
hildon-im-common-virtual-settings: Depends: hildon-input-method but it is not installable
Depends: libgconf2-6 (>= 2.13.5) but it is not installable
Depends: libgtk2.0-0 (>= 2:2.12.9-0osso1) but 2.18.3-1ubuntu2.2 is to be installed
Depends: libhildon-im-ui3 but it is not installable
Depends: libosso1 (>= 2.26) but 2.16-0ubuntu3 is to be installed
hildon-im-fkb: Depends: hildon-input-method-framework but it is not installable
Depends: libgconf2-6 (>= 2.13.5) but it is not installable
Depends: libgtk2.0-0 (>= 2:2.12.9-0osso1) but 2.18.3-1ubuntu2.2 is to be installed
Depends: libhildon-im-ui3 but it is not installable
hildon-input-method-configurator: Depends: libgconf2-6 (>= 2.13.5) but it is not installable
Depends: libossoproductinfo0 (>= 0.7.3.1+0m5) but it is not going to be installed
Depends: sudo (>= 1:1.6.8p12-4osso7)
hildon-plugins-notify-sv: Depends: libgconf2-6 (>= 2.13.5) but it is not installable
Depends: mce (>= 1.8.1) but it is not going to be installed
Depends: libgconf2-6 but it is not installable
hildon-theme-alpha: Depends: gtk2-engines-sapwood (>= 3.1.1) but 3.0.0.debian.1-2 is to be installed
Depends: hildon-theme-cacher (>= 0.3.0) but it is not installable
libhildon-im-vkbrenderer3: Depends: libgtk2.0-0 (>= 2:2.12.9-0osso1) but 2.18.3-1ubuntu2.2 is to be installed
libhildon-im-western-plugin-common3: Depends: libhildon-im-ui3 but it is not installable
libhildon-time-zone-chooser0-0: Depends: libcityinfo0-0 (>= 0.5.8) but it is not going to be installed
Depends: libgconf2-6 (>= 2.13.5) but it is not installable
Depends: libgtk2.0-0 (>= 2:2.12.9-0osso1) but 2.18.3-1ubuntu2.2 is to be installed
Depends: libhildon1 but it is not installable
Depends: libosso1 (>= 2.23) but 2.16-0ubuntu3 is to be installed
Depends: libcityinfo0-0 but it is not going to be installed
[/QUOTE]

The code I'm trying to compile is
Code:
/*
  raeddit: a simple reddit client for maemo.

  compile with:

  gcc `pkg-config --cflags --libs glib-2.0 hildon-1 json-glib-1.0 libcurl dbus-glib-1` raeddit-01.c greddit.c -o raeddit-01
*/
#include <gtk/gtk.h>
#include <curl/curl.h>
#include <stdlib.h>
#include <stdio.h>
#include "greddit.h"

int
main(int argc, char **argv)
{
  GSList *posts = NULL;
  GSList *cursor;

  g_type_init ();
  curl_global_init (CURL_GLOBAL_ALL);

  posts = greddit_get_posts ();

  for (cursor=posts; cursor; cursor = cursor->next)
    {
      GRedditPost *post = (GRedditPost*) cursor->data;

      printf ("%s\n(%d) %s\nposted by %s to %s\n\n",
	      post->url,
	      post->score,
	      post->title,
	      post->author,
	      post->subreddit);
    }

  if (!posts)
    {
      printf ("Nothing found.\n");
      return EXIT_FAILURE;
    }

  greddit_free_posts (posts);
  curl_global_cleanup ();

  return EXIT_SUCCESS;
}
The command I'm using the compile the code is

gcc `pkg-config --cflags --libs glib-2.0 hildon-1 json-glib-1.0 libcurl dbus-glib-1` raeddit-01.c greddit.c -o raeddit-01

Xephyr works fine.

I'm running kernel 2.6.31-19

Not sure what other details may help with this.

Stephen,

Last edited by ste.richards; 2010-02-25 at 12:00.