WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: compile pdfedit - error libqt.so.3  (Read 4102 times)

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
compile pdfedit - error libqt.so.3
« on: May 04, 2009, 04:38:26 AM »
i tried to compile qt-x11-free yesterday in order to get the libqt3-headers which are needed to compile pdfedit; i have read carefully the readme file in order to set the paths for qtdir and ld_library_path, and i linked them to /usr/local/lib/qt-4.2.2./
qt-x11-free was correctly configured, but as i did make, it compiles (a long time) and then stopped returning the following issue: libqt.so.3 No such file or directory. I am stucked here. I have looked at the Qt3 extensions in the tce/z repositories (i am using tc 2.0-rc1), but did not see libqt.so.3 either. Could someone help me? thanks.

PS: other point, but related to this, could someone point me to the last gcj src? i have not find a viable source package, at this time (only empty archives), and i would like to  use it in order to compile other apps. Thanks a lot

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: compile pdfedit - error libqt.so.3
« Reply #1 on: May 04, 2009, 05:05:27 AM »
Most probably qt3 and qt4 cannot mix together

Looks like classpath and gcj merged... so maybe it's in the classpath releases now.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: compile pdfedit - error libqt.so.3
« Reply #2 on: May 04, 2009, 05:40:25 AM »
thanks, i am going to uninstall qt4, and install qt3 instead in order to compile qt-x11-free again. thanks also for gcj, i shall throw a look at it.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: compile pdfedit - error libqt.so.3
« Reply #3 on: May 04, 2009, 10:54:56 AM »
I just submitted a fix for qt-4.2.2 that should work. 

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: compile pdfedit - error libqt.so.3
« Reply #4 on: May 04, 2009, 06:28:23 PM »
@jpeters: sorry, i have read your post too late... nevertheless, i have had success in compiling qt-x11-free, as well as in building a .tce and .tcz extension for it. But... (there is always one "but") it didn't help me in compiling pdfedit, and i think that the problem has to do with setting QTDIR. When i set QTDIR so:

export QTDIR=/usr/local

it seems to compile fine, but fails at the make install saying that it can access to /bin because of denied permission (i am compiling from /usr/local/pdfedit-0.4.2). If i set QTDIR otherwise, i get issues during the compilation. I am stucked here.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: compile pdfedit - error libqt.so.3
« Reply #5 on: May 04, 2009, 07:32:59 PM »
Quote
[...]fails at the make install saying that it can access to /bin because of denied permission[...]
Root privileges will probably be required

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: compile pdfedit - error libqt.so.3
« Reply #6 on: May 05, 2009, 01:52:13 AM »
i did compile with root privileges too, but did not pass the make install step; nevertheless, i can imagine the following causes:

1. i have to check if we have boost-headers and Xlib-headers; this is maybe the reason why it returns warnings during the compilation;
2. i have to check if T2 and T1 fonts are necessary in order to compile pdfedit (i also had warnings during the compilation regarding this).

perhaps it is simply something missing, let's see.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: compile pdfedit - error libqt.so.3
« Reply #7 on: May 05, 2009, 08:30:53 AM »
I did configure/compile and configure/compile again, but nothing to do with pdfedit, it still does not install, complaining already in the configuration.log that "confdefs.h failed" and so on... really odd. i don't know if it is related to the pdfedit version itself, or if it depends from missing libraries in my TC installation (they say Xlibs, Qt3, boost, and the headers, and everything seems to be there). So, i am going my previous way, returning back to pdftk and see if i can compile gcj/classpath.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: compile pdfedit - error libqt.so.3
« Reply #8 on: May 07, 2009, 05:48:52 PM »
no joy with gcj which won't build correctly, or need a more skilled person.... bye pdftk. I also tried pdfsame which won't work too, maybe because java is not set on path in tc. anyway, gs might stay the better way to deal with manipulating pdf files. next challenge vpnc