Hi Peter, I have a compile fix for that error and some others you'll also
find in your journey/odissey to compile PDFedit :-), I'm pasting below the
compile instructions I've written that work for me in Fedora 32 (but should
be trivial to adapt to any modern distribution):

** Instructions for compiling and installing PDFedit from git (tested on
Fedora 32) **
sudo dnf install qt3-devel boost-devel gcc-c++ t1lib t1utils t1lib-devel
freetype freetype-devel kernel-headers
#qt3 old releases are at http://download.qt.io/archive/qt/
git clone https://git.code.sf.net/p/pdfedit/git pdfedit-git
cd pdfedit-git
git checkout master # switch to master branch
git checkout -b pdfedit_compile_fixes # create a new branch to apply our
compile fixes there
curl
https://gitlab.gnome.org/nbenitez/evince/uploads/ee6541ce5a2bb9c0eb1e98e3aa629c41/0001-Fedora-32-compile-fixes.patch
--output 0001-Fedora-32-compile-fixes.patch
# following compile-fixes patch comes from Fedora rpm package and I added
on top some other compile fixes (like the specific one you mentioned)
git am 0001-Fedora-32-compile-fixes.patch
autoconf # to create 'configure' since we're building from git (in contrast
from a release tarball)
QTDIR=/usr/lib64/qt-3.3 ./configure
make clean
QTDIR=/usr/lib64/qt-3.3 make
QTDIR=/usr/lib64/qt-3.3 sudo make install

You may want to add a --prefix parameter to 'configure' command to change
where it ends up installed, mine defaulted to ~/.local/, so when I run
'which pdfedit' it shows '~/.local/bin/pdfedit'.

Also I'm trying to create a Flatpak for PDFedit, based on the Freedesktop
runtime. My end goal is to publish it to https://flathub.org/ so it'll be
easier for anyone to run PDFedit on any modern distribution.

Regards,
_______________________________________________
Pdfedit-support mailing list
Pdfedit-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to