LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-01-2011, 03:19 AM   #1
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Rep: Reputation: 6
pdfedit slackbuild


Hi there guys
Slackware 13.37 64 with multilibs

I cant get pdfedit to build it keeps quitting at cant find qt

I installed qt3 from slackbuilds and build it

Apologies

Don't have the exact error as I had to leave my machine at home ..


regards
Lawrence
 
Old 07-01-2011, 03:47 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,294

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
We can't help you without an error. Use a copybook or something. Or post from home.
 
Old 07-01-2011, 06:55 AM   #3
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Without knowing the error, did you relogin after installing qt3 or at least source the script at /etc/profile.d? Its the most common cause of errors with such things.
 
Old 07-02-2011, 03:08 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,294

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I tried compiling, as it might have proved useful.

First of all, it wanted qt3; Installed & set envieonment variable QTDIR; Then it wanted to find qmake from qt3; put /opt/kde3/bin in the $PATH as first item; then it wanted something else before it would build the tools; then it started building and threw up 10,000 + warnings about sloppy/outdated defines. Then it crapped out on what looks like a C interpetation error "Invalid use of Incomplete type 'struct pdfobjects::CDict"

It seems like you have to go back in time to compile that.
 
1 members found this post helpful.
Old 07-02-2011, 03:35 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
I had no problems building the package pdfedit-0.4.5-x86_64-1_SBo.tgz
on Slackware 13.37 - 64. From post #4 I would guess, that a different
compiler (like gcc34-g++34-3.4.6-x86_64-2compat) should have been used.
But no problems with the default compiler, gcc-g++-4.5.2 .


The package pdfedit-0.4.5-x86_64-1_SBo.tgz can be downloaded here
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

..
 
Old 07-03-2011, 03:33 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,294

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by knudfl View Post
I had no problems building the package pdfedit-0.4.5-x86_64-1_SBo.tgz
on Slackware 13.37 - 64. From post #4 I would guess, that a different
compiler (like gcc34-g++34-3.4.6-x86_64-2compat) should have been used.
But no problems with the default compiler, gcc-g++-4.5.2 .


The package pdfedit-0.4.5-x86_64-1_SBo.tgz can be downloaded here
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

..
Must be patched for a later compiler.
Is there a 32 bit version? My big monitor is is on an AthlonXP 32-bit still - trailing edge technology.
 
Old 07-03-2011, 03:37 AM   #7
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 117

Rep: Reputation: 36
Quote:
Originally Posted by knudfl View Post
I had no problems building the package pdfedit-0.4.5-x86_64-1_SBo.tgz
on Slackware 13.37 - 64. From post #4 I would guess, that a different
compiler (like gcc34-g++34-3.4.6-x86_64-2compat) should have been used.
But no problems with the default compiler, gcc-g++-4.5.2 .


The package pdfedit-0.4.5-x86_64-1_SBo.tgz can be downloaded here
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US
..
Thank you, but once the pkg was installed I get

Code:
pdfedit: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
Then I'm using the slackbuild from slackbuilds.org, but I get

Code:
checking for QT qmake... found /usr/lib64/qt/bin/qmake but it failed check
checking for another... found /usr/bin/qmake but it failed check
checking for another... found /usr/bin/qmake but it failed check
checking for another... found /usr/lib64/qt/bin/qmake but it failed check
checking for another... configure: error: unable to find qmake for QT3
It seems like it needs qt3. Since Slackware has qt-4 and not the required qt-3, do I have to install qt-3? If yes, can qt-4 and qt-3 live together?

Last edited by roberto967; 07-03-2011 at 11:38 AM.
 
Old 07-03-2011, 04:48 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7
Quote:
can qt-4 and qt-3 live together ?
Yes. Both qt3 and qt4 are installed ( or can be ) on the most Linux OS.
They have unique file names : No conflicts.

( Except qmake : The most common is to have /usr/bin/qmake for qt3.
And if you also have qt4 : /usr/bin/qmake-qt4, which is understood
by the ( most? ) applications.)

..
 
1 members found this post helpful.
Old 07-03-2011, 12:01 PM   #9
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 117

Rep: Reputation: 36
I got it! Thank you! Great hint

Quote:
Originally Posted by knudfl View Post
# 7


Yes. Both qt3 and qt4 are installed ( or can be ) on the most Linux OS.
They have unique file names : No conflicts.

( Except qmake : The most common is to have /usr/bin/qmake for qt3.
And if you also have qt4 : /usr/bin/qmake-qt4, which is understood
by the ( most? ) applications.)

..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] pdfedit compiling since SlackBuild afreitascs Slackware 3 12-17-2010 08:45 PM
Pedro Mendes re:pdfedit windtalker10 Slackware 2 07-30-2010 11:04 PM
PDFedit , Need help!! mickeyboa Linux - Software 1 03-31-2008 02:08 AM
Using PdfEdit ?? mickeyboa Linux - Software 1 01-18-2008 04:39 AM
problem to build pdfedit os2 Linux - Software 9 01-31-2007 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration