Bug 691700 - *** No rule to make target `../gs/tiff/libtiff/tif_config.h'
Summary: *** No rule to make target `../gs/tiff/libtiff/tif_config.h'
Status: RESOLVED FIXED
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: Regression PCL (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 20:20 UTC by Marcos H. Woehrmann
Modified: 2012-06-11 15:15 UTC (History)
3 users (show)

See Also:
Customer:
Word Size: ---


Attachments
correct parameters for tiff (8.01 KB, application/octet-stream)
2010-10-22 04:52 UTC, Henry Stiles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2010-10-21 20:20:16 UTC
This no longer works (at least with r11835):

  svn export svn+ssh://svn.ghostscript.com/svn/ghostscript/trunk/ghostpdl
  cd ghostpdl
  make

Here is the output:

make[2]: *** No rule to make target `../gs/tiff/libtiff/tif_config.h', needed by `obj/tif_config.h'.  Stop.
make[2]: Leaving directory `/home/marcos/ghostpdl/main'
make[1]: *** [pdl-product] Error 2
make[1]: Leaving directory `/home/marcos/ghostpdl/main'
make: *** [pcl] Error 2
Comment 1 Henry Stiles 2010-10-22 04:52:42 UTC
Created attachment 6815 [details]
correct parameters for tiff

Glad you noticed this and I guess we now know the cluster regression directories are not pristine, this should have broke with 11801.

This new pcl6_gcc.mak should set things up so configure is called in the tiff library as required when building pcl.  But issues remain, first off we can't generate configuration files in source directories, the tiff file generates files in the tiff source directory.  This will create chaos when multiple languages are configured, everything has to be built in the generation directory.  Also at the moment (with the attached pcl6_gcc.mak) the configure is failing, which Lars should look at.  I am not so sure about this business of calling configure from the makefile in the first place.  Is this necessary Lars?  The other languages pcl, pxl, xps, svg don't do configure, just make.
Comment 2 Marcos H. Woehrmann 2010-10-25 18:15:39 UTC
This doesn't fail on the cluster regressions since the nodes build ghostcript first and then ghostpcl, which works since "make pcl-clean" doesn't remove gs/tiff/libtiff/tif_config.h (which I suppose should be  a separate bug).

This is the cluster build sequence:

  cd ghostpdl/gs
  make distclean
  ./autogen.sh
  make
  cd ..
  make pcl-clean
  make pcl
Comment 3 Chris Liddell (chrisl) 2010-10-28 15:35:26 UTC
r.11866 contains a work around for this problem. A full fix will be longer in the making, but the work around gets things building from scratch again.
Comment 4 Chris Liddell (chrisl) 2012-06-11 15:15:31 UTC
Now that the pcl6, xps and language_switch builds use a configure script, it calls the libtiff configure, so I consider this closed.