-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Build fails on Debian 11 #11
Comments
You need go 1.18 but I'm surprised you didn't get a warning about it given it's specified in EDIT: seems like it's not meant to enforce it: golang/go#48571 |
Ok, thanks for the fast answere. I'll go with the binary from release page then. Perhaps you should add "go >=1.18" under "Requirements". |
Expect it is the same on Debian. I'm on Ubuntu 18.4 LTS. A bit hackish, but the way I did it:
git clone https://github.com/oxplot/pdfrankenstein.git
cd pdfrankenstein
curl -LO https://go.dev/dl/go1.20.1.linux-amd64.tar.gz
tar -xvf go1.20.1.linux-amd64.tar.gz
export GOROOT=$PWD/go
export PATH=$GOROOT/bin:$PATH
go version
curl -LO https://github.com/qpdf/qpdf/releases/download/v11.3.0/qpdf-11.3.0-x86_64.AppImage
ln -s $PWD/qpdf-11.3.0-x86_64.AppImage $HOME/bin/qpdf.ai
sed -i 's/"qpdf"/"qpdf.ai"/g' session/session.go
go build --tags "pango_1_42 gtk_3_22" . Now. I have not looked at the source yet, but for what ever reason it just hangs if one start it with a PDF file or no argument. However, by using a random non-existing file it works, i.e: ./pdfrankenstein foo then open PDF from within the application. |
Hi there,
great project! But build fails on Debian 11:
inkscape, poppler-utils and qpdf are installed:
Any hint on this issue?
Thanks!
The text was updated successfully, but these errors were encountered: