Re: gEDA-user: compile of pcb fails due to missing epsf.tex

2010-03-08 Thread Dan McMahill

Kai-Martin Knaak wrote:
Just did a fresh download of pcb from git. 
"autogen.sh", "configure" and "make" all ran fine. However, "make 
install" failed due to a missing epsf.tex. I had to install the package 
texlive-generic-recommended to get this file. 
--> The configure script should check for the presence of this file.


check added.  Seems to work here.

-Dan


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: compile of pcb fails due to missing epsf.tex

2010-03-08 Thread Kai-Martin Knaak
On Mon, 08 Mar 2010 12:29:04 -0500, Dan McMahill wrote:

>>  "make install" failed due to a missing
>> epsf.tex. I had to install the package texlive-generic-recommended to
>> get this file. --> The configure script should check for the presence
>> of this file.
> 
> any idea of the right way to check?  

The utility kpsewhich is used by latex to locate its files. It can be
used independently and outputs the full path to the file. If there is 
no such file the utility just returns.


> Which particular package is needed to get a working latex 

The epsf package:
http://ctan.tug.org/tex-archive/macros/generic/epsf/


> Which exact step failed?

During make, when building the documentation:
/--
$ make
(...)
make  all-am
make[3]: Entering directory `/usr/local/pcb-src/pcjc2/doc'
/usr/bin/perl ./extract-docs .
actions
00delta  00macros  00macros common 00objects  About gtk
About lesstif AddRats  AdjustSizes lesstif AdjustStyle gtk
AdjustStyle lesstif ApplyVendor  Atomic  Attributes
AutoPlaceSelected  AutoRoute  Benchmark lesstif Center gtk
ChangeClearSize  ChangeDrillSize  ChangeFlag  ChangeHole
ChangeJoin  ChangeName  ChangeOctagon  ChangePaste
ChangePinName  ChangeSize  ChangeSquare  ClearOctagon
ClearSquare  ClrFlag  Command lesstif Connection  Cursor gtk
Cursor lesstif Debug lesstif DebugXY lesstif Delete
DeleteRats  DisableVendor  DisperseElements  Display  djopt
DoWindows gtk DoWindows lesstif DRC  DumpKeys lesstif
DumpLibrary  EditLayerGroups gtk EditLayerGroups lesstif
elementlist  elementsetattr  EnableVendor  execcommand
ExecuteFile  Export lesstif Flip  FontEdit  FontSave
FreeRotateBuffer  GetXY gtk GetXY lesstif GlobalPuller  h
import  l  LayersChanged common le  LibraryChanged common
LibraryShow lesstif Load lesstif LoadFootprint  LoadFrom
LoadVendor lesstif LoadVendorFrom  m  MarkCrosshair  Message
MinClearGap  MinMaskGap  Mode  MorphPolygon  MoveLayer
MoveObject  MoveToCurrentLayer  Netlist  NetlistChanged
common NetlistShow lesstif New  OptAutoOnly  Pan gtk
PasteBuffer  PCBChanged common Polygon  Popup gtk Print gtk
Print lesstif PrintCalibrate gtk PrintCalibrate lesstif
PromptFor lesstif Puller  q  q!  Quit  Redo  RemoveSelected
Renumber  Report  ReportDialog  Return lesstif RipUp  rn
RouteStyle  RouteStylesChanged common s  Save gtk Save
lesstif SaveSettings  SaveTo  Select  SelectLayer gtk
SelectLayer lesstif SetFlag  SetOctagon  SetSame  SetSquare
SetThermal  SetUnits gtk SetUnits lesstif SetValue
SwapSides gtk SwapSides lesstif ToggleHideName  ToggleVendor
ToggleView gtk ToggleView lesstif Undo  UnloadVendor
Unselect  w  wq  Zoom gtk Zoom lesstif
pcbfile
00pcb  Arc  Attribute  Connect  Cursor  DRC  Element
ElementArc  ElementLine  FileVersion  Flags  Grid  Groups
Layer  Line  Mark  Net  Netlist  Pad  Pin  PolyArea  Polygon
Rat  Styles  Symbol  SymbolLine  Text  Thermal  Via
~objectflags  ~pcbflags
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /usr/local/pcb-src/pcjc2/missing --run makeinfo --version) 
>/dev/null 2>&1; then \
  for f in pcb.info pcb.info-[0-9] pcb.info-[0-9][0-9] pcb.i[0-9] 
pcb.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /usr/local/pcb-src/pcjc2/missing --run makeinfo   -I . \
 -o pcb.info pcb.texi; \
then \
  rc=0; \
  CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
  rc=$?; \
  CDPATH="${ZSH_VERSION+.}:" && cd . && \
  $restore $backupdir/* `echo "./pcb.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
rm -rf pcb.htp
if /bin/sh /usr/local/pcb-src/pcjc2/missing --run makeinfo --html 
--css-include=./pcb.css --no-split  -I . \
 -o pcb.htp pcb.texi; \
then \
  rm -rf pcb.html; \
  if test ! -d pcb.htp && test -d pcb; then \
mv pcb pcb.html; else mv pcb.htp pcb.html; fi; \
else \
  if test ! -d pcb.htp && test -d pcb; then \
rm -rf pcb; else rm -Rf pcb.htp pcb.html; fi; \
  exit 1; \
fi
TEXINPUTS=".:$TEXINPUTS" \
MAKEINFO='/bin/sh /usr/local/pcb-src/pcjc2/missing --run makeinfo   -I 
.' \
/usr/bin/texi2dvi pcb.texi
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 file:line:error style messages enabled.
 %&-line parsing enabled.
entering extended mode
(./pcb.texi (./texinfo.tex Loading texinfo [version 2005-01-30.17]: Basics,
pdf, fonts, page headings, tables, conditionals, indexing, sectioning, toc,
environments, defuns, macros, cross references, insertions, localization,
and turning on texinfo input format.) (./version.texi) [1] [-1] (Copying)

Re: gEDA-user: compile of pcb fails due to missing epsf.tex

2010-03-08 Thread Peter TB Brett

Peter Clifton wrote:

An easier option might be to try finding the file with

kpsewhich epsf.tex

Which on my box returns:

/usr/share/texmf-texlive/tex/generic/epsf/epsf.tex

Regards

That would be my approach.

   Peter


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: compile of pcb fails due to missing epsf.tex

2010-03-08 Thread Peter Clifton
On Mon, 2010-03-08 at 12:29 -0500, Dan McMahill wrote:
> Kai-Martin Knaak wrote:
> > Just did a fresh download of pcb from git. 
> > "autogen.sh", "configure" and "make" all ran fine. However, "make 
> > install" failed due to a missing epsf.tex. I had to install the package 
> > texlive-generic-recommended to get this file. 
> > --> The configure script should check for the presence of this file.
> 
> any idea of the right way to check?  Which particular package is needed 
> to get a working latex (I assume its latex and not texinfo that failed) 
> is going to be very dependent on what packaging system, if any, is used.
> 
> Which exact step failed?

Peter B likes to show off his auto-foo sometimes ;)

Perhaps it would be possible to write a custom test which actually tries
to use latex commands similar to those required by the build.

doc/gs/texinfo.tex seems like it might have the required test.

% @image.  We use the macros from epsf.tex to support this.
% If epsf.tex is not installed and @image is used, we complain.
%
% Check for and read epsf.tex up front.  If we read it only at @image
% time, we might be inside a group, and then its definitions would get
% undone and the next image would fail.
\openin 1 = epsf.tex
\ifeof 1 \else
  % Do not bother showing banner with epsf.tex v2.7k (available in
  % doc/epsf.tex and on ctan).
  \def\epsfannounce{\toks0 = }%
  \input epsf.tex
\fi
\closein 1


If we can make this fragment into a LaTeX run which returns different
exist code depending on the test outcome, we can check this file.

An easier option might be to try finding the file with

kpsewhich epsf.tex

Which on my box returns:

/usr/share/texmf-texlive/tex/generic/epsf/epsf.tex

Regards,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: compile of pcb fails due to missing epsf.tex

2010-03-08 Thread Dan McMahill

Kai-Martin Knaak wrote:
Just did a fresh download of pcb from git. 
"autogen.sh", "configure" and "make" all ran fine. However, "make 
install" failed due to a missing epsf.tex. I had to install the package 
texlive-generic-recommended to get this file. 
--> The configure script should check for the presence of this file.


any idea of the right way to check?  Which particular package is needed 
to get a working latex (I assume its latex and not texinfo that failed) 
is going to be very dependent on what packaging system, if any, is used.


Which exact step failed?



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: compile of pcb fails due to missing epsf.tex

2010-03-08 Thread Kai-Martin Knaak
Just did a fresh download of pcb from git. 
"autogen.sh", "configure" and "make" all ran fine. However, "make 
install" failed due to a missing epsf.tex. I had to install the package 
texlive-generic-recommended to get this file. 
--> The configure script should check for the presence of this file.

---<(kaimartin)>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user