Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu dependencies #69

Closed
burningTyger opened this issue Jan 11, 2014 · 7 comments
Closed

Ubuntu dependencies #69

burningTyger opened this issue Jan 11, 2014 · 7 comments

Comments

@burningTyger
Copy link

Hi,

could someone post the necessary dependencies to build this repo on ubuntu? I don't get very far and failed finding the right packages for fobject-introspection and systemd (and whatever is needed beyond that...)

@Keruspe
Copy link
Owner

Keruspe commented Jan 11, 2014

Hi,

For gobject-introspection you probably need gobject-introspection-devel or something like that.
systemd is optional, you can just use --disable-systemd if you don't want to use it.
Some debian-related packaging stuff will maybe appear in the enxt weeks here, hopefully it will help.
Note that on ubuntu, without extra repositories, you might need to switch to the 3.0 branch, because master requires a version of gtk+ not available for ubuntu iirc.

I think that webupd8 package it in their repo, btw.

Unity is not yet supported but support will come as soon as I have time to do so (I wish it could be in a month or so)

@burningTyger
Copy link
Author

Thank you for the quick response. I did install that package but configure still complains. I also disabled systemd. Also, I'm running on the gnome repository using 3.10.1, not unity.

@Keruspe
Copy link
Owner

Keruspe commented Jan 11, 2014

Maybe you need to run autogen.sh again ? Or please paste the output of
configure

On Saturday, January 11, 2014, burningTyger wrote:

Thank you for the quick response. I did install that package but configure
still complains. I also disabled systemd. Also, I'm running on the gnome
repository using 3.10.1, not unity.


Reply to this email directly or view it on GitHubhttps://github.com//issues/69#issuecomment-32095685
.

@burningTyger
Copy link
Author

Thanks, that fixed it for the configure part. Next problem arrived while compiling:

Making install in po
linguas="de es fi fr pt_BR "; \
  for lang in $linguas; do \
    dir=/usr/share/locale/$lang/LC_MESSAGES; \
    /bin/bash /home/zorro/Entwicklung/GPaste/build-aux/install-sh -d $dir; \
    if test -r $lang.gmo; then \
      /usr/bin/install -c -m 644 $lang.gmo $dir/GPaste.mo; \
      echo "installing $lang.gmo as $dir/GPaste.mo"; \
    else \
      /usr/bin/install -c -m 644 ./$lang.gmo $dir/GPaste.mo; \
      echo "installing ./$lang.gmo as" \
     "$dir/GPaste.mo"; \
    fi; \
    if test -r $lang.gmo.m; then \
      /usr/bin/install -c -m 644 $lang.gmo.m $dir/GPaste.mo.m; \
      echo "installing $lang.gmo.m as $dir/GPaste.mo.m"; \
    else \
      if test -r ./$lang.gmo.m ; then \
        /usr/bin/install -c -m 644 ./$lang.gmo.m \
    $dir/GPaste.mo.m; \
        echo "installing ./$lang.gmo.m as" \
       "$dir/GPaste.mo.m"; \
      else \
        true; \
      fi; \
    fi; \
  done
installing de.gmo as /usr/share/locale/de/LC_MESSAGES/GPaste.mo
installing es.gmo as /usr/share/locale/es/LC_MESSAGES/GPaste.mo
installing fi.gmo as /usr/share/locale/fi/LC_MESSAGES/GPaste.mo
installing fr.gmo as /usr/share/locale/fr/LC_MESSAGES/GPaste.mo
installing pt_BR.gmo as /usr/share/locale/pt_BR/LC_MESSAGES/GPaste.mo
  CCLD     tests/bin/test-gnome-shell-client
/usr/bin/ld: tests/gnome-shell-client/test-gnome-shell-client.o: undefined reference to symbol 'g_signal_connect_data'
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [tests/bin/test-gnome-shell-client] Error 1
make: *** [install-recursive] Error 1

@Keruspe
Copy link
Owner

Keruspe commented Jan 11, 2014

I have no clue right now and wont be able to test on the next 2 weeks,
sorry.
Will try to figure it out then if it´s not fixed

On Saturday, January 11, 2014, burningTyger wrote:

Thanks, that fixed it for the configure part. Next problem arrived while
compiling:

Making install in po
linguas="de es fi fr pt_BR ";
for lang in $linguas; do
dir=/usr/share/locale/$lang/LC_MESSAGES;
/bin/bash /home/zorro/Entwicklung/GPaste/build-aux/install-sh -d $dir;
if test -r $lang.gmo; then
/usr/bin/install -c -m 644 $lang.gmo $dir/GPaste.mo;
echo "installing $lang.gmo as $dir/GPaste.mo";
else
/usr/bin/install -c -m 644 ./$lang.gmo $dir/GPaste.mo;
echo "installing ./$lang.gmo as"
"$dir/GPaste.mo";
fi;
if test -r $lang.gmo.m; then
/usr/bin/install -c -m 644 $lang.gmo.m $dir/GPaste.mo.m;
echo "installing $lang.gmo.m as $dir/GPaste.mo.m";
else
if test -r ./$lang.gmo.m ; then
/usr/bin/install -c -m 644 ./$lang.gmo.m
$dir/GPaste.mo.m;
echo "installing ./$lang.gmo.m as"
"$dir/GPaste.mo.m";
else
true;
fi;
fi;
done
installing de.gmo as /usr/share/locale/de/LC_MESSAGES/GPaste.mo
installing es.gmo as /usr/share/locale/es/LC_MESSAGES/GPaste.mo
installing fi.gmo as /usr/share/locale/fi/LC_MESSAGES/GPaste.mo
installing fr.gmo as /usr/share/locale/fr/LC_MESSAGES/GPaste.mo
installing pt_BR.gmo as /usr/share/locale/pt_BR/LC_MESSAGES/GPaste.mo
CCLD tests/bin/test-gnome-shell-client
/usr/bin/ld: tests/gnome-shell-client/test-gnome-shell-client.o: undefined reference to symbol 'g_signal_connect_data'
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [tests/bin/test-gnome-shell-client] Error 1
make: *** [install-recursive] Error 1


Reply to this email directly or view it on GitHubhttps://github.com//issues/69#issuecomment-32096788
.

@doppelhelix
Copy link
Contributor

Did you use the tarball to build? Building from a clone will most likely fail (dunno why) on Ubuntu. You will also need at least ppa:gnome3-team/gnome3 and maybe ppa:gnome3-team/gnome3-next on your machine.
For dependencies look here: http://bazaar.launchpad.net/~doppelhelix/+junk/gpaste/view/head:/debian/control
You can get a working .deb here: https://launchpad.net/~doppelhelix/+archive/gnome3

Update:
it seems you are using a clone. Try this in tests/gnome-shell-client.mk

tests_bin_test_gnome_shell_client_LDADD =
        $(libgpaste_gnome_shell_client_la_file)
        $(GLIB_LIBS)
        $(NULL)

@burningTyger
Copy link
Author

@doppelhelix that fixed it. I had to use the tarball. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants