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

Compile Error on Debian Testing, Gnome 3.8 #68

Closed
roedel1 opened this issue Jan 6, 2014 · 11 comments
Closed

Compile Error on Debian Testing, Gnome 3.8 #68

roedel1 opened this issue Jan 6, 2014 · 11 comments

Comments

@roedel1
Copy link

roedel1 commented Jan 6, 2014

I'd love to install Gpaste 3.2.2 on my Debian box. autogen.sh and configure work just fine, however, when trying to compile I get the following error:

libgpaste/core/.libs/libgpaste-core.so: undefined reference to `g_paste_clipboards_manager_get_instance_private'
collect2: error: ld returned 1 exit status

In issue #59 I found the same error on a Gentoo system. Any idea how to go on?

@Keruspe
Copy link
Owner

Keruspe commented Jan 11, 2014

Hi,

if you already have a version of GPaste installed, try removing it first, and then retry, it should work.
It's a known issue GPaste (and a lot of other projects) has with libtool that I didn't manage to fix properly yet.

@roedel1
Copy link
Author

roedel1 commented Jan 12, 2014

Keruspe,

Thanks for your reply. It's a plain and freshly installed box, no older instances of GPaste are installed, however, I had tried to install the GPaste/Gnome3 Extension before compiling. I think I'll just wait a bit.

best,
Stephan

@Keruspe
Copy link
Owner

Keruspe commented Jan 12, 2014

I am out without a computer for two weeks, will try to reproduce afterwards.
Note that a friend of mine is willing to do the Debian packaging soon

On Monday, January 13, 2014, roedel1 wrote:

Keruspe,

Thanks for your reply. It's a plain and freshly installed box, no older
instances of GPaste are installed, however, I had tried to install the
GPaste/Gnome3 Extension before compiling. I think I'll just wait a bit.

best,
Stephan


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

@roedel1
Copy link
Author

roedel1 commented Jan 13, 2014

That's good news, thanks a lot. Have a good time whatever you do these two weeks meanwhile.

@roedel1 roedel1 closed this as completed Jan 13, 2014
@Keruspe
Copy link
Owner

Keruspe commented Feb 6, 2014

Are you sure you're trying with GPaste 3.2.2 ? I see some reference to it in > 3.5, in 3.2 but neither in 3.2.1 nor in 3.2.2

@roedel1
Copy link
Author

roedel1 commented Mar 18, 2014

Unfortunately I am sure. I just tried again to compile v3.2.2, v3.3 and v3.5. As systemd hasn't become the standard in the repos by now i didn't pass the --enable-systemd parameter. Everything else is straight and clean as described in the README file.

@Keruspe
Copy link
Owner

Keruspe commented Mar 18, 2014

With v3.3, which error do you get?
still the libgpaste/core/.libs/libgpaste-core.so: undefined reference to `g_paste_clipboards_manager_get_instance_private'
collect2: error: ld returned 1 exit status ?

If so, I'd really like to see the output of

grep -rI  g_paste_clipboards_manager_get_instance_private .

in your build tree

@roedel1
Copy link
Author

roedel1 commented Mar 18, 2014

Just took a closer look, seems to be another error now but it is still not compiling. I'm not sure if I'm still right in this issue here.
Here's the full make-output for 3.3:

make --no-print-directory all-recursive
Making all in po
make[2]: Für das Ziel »all« ist nichts zu tun.
CCLD bin/gpaste-settings
/usr/bin/ld: src/gpaste-settings/bin_gpaste_settings-gpaste-settings.o: undefined reference to symbol 'gtk_widget_new'
//usr/lib/i386-linux-gnu/libgtk-3.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [bin/gpaste-settings] Fehler 1
make[1]: *** [all-recursive] Fehler 1
make: *** [all] Fehler 2

@Keruspe
Copy link
Owner

Keruspe commented Mar 18, 2014

@roedel1
Copy link
Author

roedel1 commented Mar 18, 2014

Yep, your patch does the trick.
Compiled, installed and working like a charm now.
Just comment if you want me to do some further actions.

As it may be stated by others: Thank you so much, you're doing great work!

@Keruspe
Copy link
Owner

Keruspe commented Mar 22, 2014

I just released 3.3.1 which should be all fine in debian wheezy, and have fixed the last issues I hit with debian sid in the gpaste-3.10 branch, for your information :)

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

2 participants