Opened 13 years ago

Closed 13 years ago

#569 closed enhancement (fixed)

dvips: ! Couldn't find header file pspicture.ps.

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.5.5
Component: build Version: 0.5.4
Keywords: Cc:

Description

I cannot create yat.ps because a missing pspicture.ps.

I suggest that we check for this in configure and turn off generation of yat.ps when the header is unavailable.

Change History (7)

comment:1 Changed 13 years ago by Jari Häkkinen

Is this a yat issue? Isn't it a broken tex/latex install?

comment:2 Changed 13 years ago by Peter

I agree it is a broken tex/latex (at least I think it is). But isn't the idea with autoconf that building the package should also work on a broken system? I can see the argument that we test if dvips is present, and checking for partial tools in absurdum wouldn't be feasible. Here, however, it is not the first time/system we experience that psfigure is missing and I therefore considered it motivated to add a test for this. Would you mind if I added a test?

comment:3 Changed 13 years ago by Peter

I realized that

./configure dvips=no

will turn off generation of yat.ps.

Perhaps that is sufficient for now?

comment:4 Changed 13 years ago by Jari Häkkinen

Go ahead and test for a missing pspicture.ps. Maybe the test should set dvips=no and print a message to stdout?

I had the mising pspicture.ps problem om the machine building docs for yat. I simply resolved it by copying pspicture.ps from another machine. pspicture.ps is an old file and it is therefore quite safe to simply copy it.

comment:5 Changed 13 years ago by Peter

Status: newassigned

comment:6 Changed 13 years ago by Peter

(In [2081]) adding new macro from autoconf macro archive. refs #569

comment:7 Changed 13 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [2091]) adding test for pspicture.ps; when absent turn off target for yat.ps document. fixes #569.

Note: See TracTickets for help on using tickets.