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

pstoedit depends on Ghostscript, but dependency is broken by Ghostscript 9.22 #15

Open
DavidOrDave opened this issue Nov 30, 2017 · 2 comments

Comments

@DavidOrDave
Copy link

DavidOrDave commented Nov 30, 2017

Greetings,

I came very close to getting this to work on my Silhouette Curio. But Ghostscript 9.22 depreciates the -dDELAYBIND flag which pstoedit depends on. The result is no output from pstoedit. pstoedit and this project haven't seen any development in while so I don't expect this will magically be fixed.

I'm testing this on a MacPorts and would love to find a solution.

Downgrading Ghostscript to 9.21 seems the logical answer, but it's not easy to do as MacPorts pretty much insists on installing the latest version of packages, and doesn't provide an easy way to downgrade.

I've already spent a lot of time troubleshooting and have become frustrated. I don't want to re-invent anything nor delve into debugging the open-source code any further. My goal is to get the stencil made, and I love the concept of going directly from gerber to the cutter that pmonta has developed. Has anyone else run into this or found a solution?

@tuxedo0801
Copy link

same issue here: #16

@tuxedo0801
Copy link

Downgrade-Instruction for Debian (Buster/Testing/...)

I had a look at the changelogs to find the date at which the issue appeared: http://metadata.ftp-master.debian.org/changelogs/main/g/ghostscript/ghostscript_9.22~dfsg-1_changelog
---> 04th of october 2017

Then I used snapshots debian archive (http://snapshot.debian.org/) to get the apt-repo just before this date. I added the following repository to /etc/apt/sources.list for my debian testing installation:

# for old ghostscript
deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20171003T000000Z/ testing main

Then I called

apt update
apt install ghostscript=9.21~dfsg-1 libgs9=9.21~dfsg-1 libgs9-common=9.21~dfsg-1

to update the repo infor and downgrade the required packages (the last two packages are dependencies of ghostscript that had to be downgraded too on my system. check out for yours...)

I then "pinned" this packages to this version/apt-repo by creating file

/etc/apt/preferences.d/preferences

with the following content:

Package: ghostscript
Pin: origin "snapshot.debian.org"
Pin-Priority: 1001

Package: libgs9*
Pin: origin "snapshot.debian.org"
Pin-Priority: 1001

Works for me so far.

Credits go to: https://hackedbellini.org/linux/downgrade-and-force-some-packages-on-debian-to-a-previous-version/

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