[tex-live] texlive2007 --- cweave / ctangle window's distribution does not handle current directory path name for files

Dave Bone DBone at milgram.com
Wed May 23 21:29:43 CEST 2007


Sorry to report this as I know how hard it is to put things together.

Please see below window's command line trace showing the problem.

I've highlighted the various problem pointed by a "<============" marker
with appropriate comments.

 

The problem found: 

the input file's path must be absolutely stated along with any "\input"
directives inside the ``xxx.w'' file. 

As shown below, without the path inputted, it honks.

I verified that the device nor the extension is required with this
release.

This is counter to the older cweave version shown near the end of this
email that deals with the current directory properly.

 

Ctangle has the same problem.

 

My workaround is to continue using the older version until it is fixed.

 

The cweave Version 3.64 Web2C 7.5.6 for my Sun Solaris 10 AMD64x86  from
a previous release running 32bit works properly. It looks like the
problem is contained to windows-only as this is the same version running
on windows from TeXLive2007.

Sincerely 

Dave Bone

 

Use of absolute input filename path showing that cweave accepts the
input file but not it's @i directives that have relative filename paths.

C:\yacco2\compiler\o2>cweave "c:/yacco2/compiler/o2/o2.w"

This is CWEAVE, Version 3.64 (Web2C 7.5.6)

 

! Cannot open include file. (l. 8)

@i "intro.w

           "

! Cannot open include file. (l. 9)

@i "prog.w

          "

! Cannot open include file. (l. 10)

@i "defs.w

          "

! Cannot open include file. (l. 11)

@i "bugs.w

          "

! Cannot open include file. (l. 12)

@i "types.w

           " *1

Writing the output file...

! Cannot open include file. (l. 8)

@i "intro.w

           "

! Cannot open include file. (l. 9)

@i "prog.w

          "

! Cannot open include file. (l. 10)

@i "defs.w

          "

! Cannot open include file. (l. 11)

@i "bugs.w

          "

! Cannot open include file. (l. 12)

@i "types.w

           " *1

Writing the index...

Done.

(Pardon me, but I think I spotted something wrong.)

 

C:\yacco2\compiler\o2>

 

 

==========> Use  of Relative file path problem: <==========

Below shows the new cweave not accepting the current directory.

Microsoft Windows 2000 [Version 5.00.2195]

(C) Copyright 1985-2000 Microsoft Corp.

 

C:\Documents and Settings\dbone>cd \yacco2\compiler\o2

 

=========> texlive2007 cweave program does not run properly <===========

=========> texlive2007 ctangle has same type of problem <===========

=========> Variations on trying to run cweave

                  1) normal way of running

                  2) other ways of running cweave ...

C:\yacco2\compiler\o2>cweave o2

This is CWEAVE, Version 3.64 (Web2C 7.5.6)

! Cannot open input file o2.w         <======= file exits: see dir list
below

(That was a fatal error, my friend.)

 

C:\yacco2\compiler\o2>dir o2*

 Volume in drive C has no label.

 Volume Serial Number is BC6B-EC86

 

 Directory of C:\yacco2\compiler\o2

 

08/07/2006  11:26a               9,924 o2.bat

05/23/2007  01:53p                   0 o2.c

05/23/2007  01:53p              37,877 o2.cpp

05/23/2007  01:53p               1,142 o2.h

05/23/2007  01:53p              23,890 o2.idx

05/23/2007  12:35p              12,931 o2.log

05/23/2007  01:25p              35,840 o2.ncb

05/23/2007  12:35p           1,027,144 o2.pdf

05/23/2007  01:53p               3,674 o2.scn

12/08/2005  04:56p                 863 o2.sln

05/23/2007  01:55p                  13 o2.tex

05/23/2007  12:35p               8,339 o2.toc

05/23/2007  01:53p               2,344 o2.vcproj

05/23/2007  01:25p               1,413 o2.vcproj.MILGRAM.dbone.user

05/23/2007  12:40p                 165 o2.w      <============== exists
==========

08/16/2006  08:05a                 223 o2run_example.txt

09/27/2006  04:15p                 536 o2test_batch.bat

03/10/2006  02:03p                 794 o2_1.bat

05/23/2007  01:53p              11,517 o2_extndefs.h

11/23/2006  07:11p               2,149 o2_structures.1

11/23/2006  07:11p               7,317 o2_structures.2

11/23/2006  07:11p                 255 o2_structures.log

11/23/2006  07:11p               2,880 o2_structures.mp

11/23/2006  07:11p              13,783 o2_structures.mpx

10/30/2006  11:54a               2,920 o2_testsuite.bat

06/03/2005  11:59a                 496 o2_testsuite2.bat

06/09/2006  12:53p               1,339 o2_testsuite3.bat

07/25/2006  12:25p               1,641 o2_testsuite4.bat

11/28/2006  01:51p               1,366 o2_testsuite_lrness.bat

              29 File(s)      1,212,775 bytes

               0 Dir(s)  21,882,343,424 bytes free

 

C:\yacco2\compiler\o2>cweave o2.w <========== other variations

This is CWEAVE, Version 3.64 (Web2C 7.5.6)

! Cannot open input file o2.w 

(That was a fatal error, my friend.)

 

C:\yacco2\compiler\o2>cweave "o2.w" <========== other variations

This is CWEAVE, Version 3.64 (Web2C 7.5.6)

! Cannot open input file o2.w

(That was a fatal error, my friend.)

 

<==============

<============== Following shows older version of cweave running properly

<=============== using current directory

<==============

C:\yacco2\compiler\o2>"c:\program files\cweb\bin\cweave" o2.w

This is CWEAVE (Version 3.64e Win32)

*1*2*3*4*5*6*7*8*9*10*12*13*14*15*16*17*18*20*23*24*25*26*28*29*30*31*32
*33*34*35*36*37*38*40*41*42*43*44*45*46*47*48*49*53*54*55*56*57*58*59*60
*61*62*70*71*72*73*74*75*76*77*

78*79*80*81*82*83*84*85*86*87*88*89*90*91*92*93*94*95*96*97*98*99*100*10
1*102*103*104*105*106*107*108*111*112*113*114*115*193*196*197*198

Writing the output
file...*1*2*3*4*5*6*7*8*9*10*12*13*14*15*16*17*18*20*23*24*25*26*28*29*3
0*31*32*33*34*35*36*37*38*40*41*42*43*44*45*46*47*48*49*53*54*55*56*57*5
8*59*60*61*6

2*70*71*72*73*74*75*76*77*78*79*80*81*82*83*84*85*86*87*88*89*90*91*92*9
3*94*95*96*97*98*99*100*101*102*103*104*105*106*107*108*111*112*113*114*
115*193*196*197*198

Writing the index...

Done.

(No errors were found.)

 

<==============

<============== New texlive2007 distribution directory

<==============

C:\yacco2\compiler\o2>dir \texlive2007\bin\win32

 Volume in drive C has no label.

 Volume Serial Number is BC6B-EC86

 

 Directory of C:\texlive2007\bin\win32

 

05/23/2007  08:59a      <DIR>          .

05/23/2007  08:59a      <DIR>          ..

12/18/2006  12:07a               1,790 a5bookle.bat

01/01/2007  08:23p              27,648 afm2tfm.exe

01/01/2007  08:23p              10,752 aftopl.exe

01/01/2007  08:23p               6,144 bbox.exe

01/01/2007  08:23p              72,192 bibtex.exe

01/01/2007  08:23p              98,816 bibtex8.exe

01/06/2007  06:54p             183,808 bmeps.exe

12/18/2006  12:07a              67,072 bzip2.exe

12/18/2006  12:07a               8,192 bzip2recover.exe

01/12/2007  01:04p             351,744 cfftot1.exe

01/01/2007  08:23p              40,960 chktex.exe

12/18/2006  12:07a              56,832 cjpeg.exe

01/01/2007  08:23p              29,184 ctangle.exe

01/01/2007  08:23p              10,240 ctie.exe

12/19/2006  03:55a                  38 ctxtools.bat

01/02/2007  01:23a              56,832 cweave.exe

05/17/2007  05:11p           3,948,544 cweb.exe

01/01/2007  08:23p              19,456 detex.exe

12/18/2006  12:07a               8,704 disdvi.exe

12/18/2006  12:07a              71,680 djpeg.exe

01/01/2007  08:23p              18,432 dmp.exe

12/18/2006  12:07a               1,090 doubside.bat

01/01/2007  08:23p              23,552 dt2dv.exe

01/01/2007  08:23p               8,704 dv2dt.exe

12/18/2006  12:07a              16,896 dvi2tty.exe

01/01/2007  08:23p              19,968 dvibook.exe

01/01/2007  08:23p              17,920 dviconcat.exe

01/01/2007  08:23p              40,960 dvicopy.exe

12/18/2006  12:07a              12,800 dvidvi.exe

01/01/2007  08:23p               8,704 dvihp.exe

01/01/2007  08:23p              32,256 dvilj.exe

01/01/2007  08:23p              33,280 dvilj2p.exe

01/01/2007  08:23p              38,912 dvilj4.exe

01/01/2007  08:23p              38,912 dvilj4l.exe

01/01/2007  08:23p              38,912 dvilj6.exe

01/06/2007  06:54p             337,408 dvipdfm.exe

01/22/2007  04:01a             731,648 dvipdfmx.exe

01/08/2007  08:41a              29,696 dvipos.exe

01/01/2007  08:23p             126,464 dvips.exe

01/01/2007  08:23p              19,456 dviselect.exe

01/01/2007  08:23p              22,528 dvitodvi.exe

01/01/2007  08:23p              26,112 dvitomp.exe

01/01/2007  08:23p              28,672 dvitype.exe

01/01/2007  08:23p               7,168 e2pall.exe

01/06/2007  06:54p             136,704 ebb.exe

12/18/2006  12:07a               2,560 eplain.exe

12/18/2006  12:07a               6,144 epsffit.exe

01/20/2007  12:43p               7,168 epstopdf.exe

12/18/2006  12:07a               2,560 etex.exe

12/29/2006  08:36p                  38 exatools.bat

12/18/2006  12:07a               2,878 extractres.bat

12/18/2006  12:07a               1,656 fixdlsrps.bat

12/18/2006  12:07a                 658 fixfmps.bat

12/18/2006  12:07a               2,400 fixmacps.bat

12/18/2006  12:07a                 757 fixpsditps.bat

12/18/2006  12:07a               1,400 fixpspps.bat

12/18/2006  12:07a                 536 fixscribeps.bat

12/18/2006  12:07a                 765 fixtpps.bat

12/18/2006  12:07a                 928 fixwfwps.bat

12/18/2006  12:07a                 801 fixwpps.bat

12/18/2006  12:07a                 485 fixwwps.bat

01/16/2007  11:55a              14,848 fmtutil.exe

01/13/2007  11:14a               7,508 getnonfreefonts.bat

01/01/2007  08:23p              31,232 gftodvi.exe

01/01/2007  08:23p              19,968 gftopk.exe

01/01/2007  08:23p              16,384 gftype.exe

01/01/2007  08:23p              10,240 glosstex.exe

01/01/2007  08:23p              18,432 gsftopk.exe

12/18/2006  12:07a              44,032 gunzip.exe

12/18/2006  12:07a              44,032 gzip.exe

12/18/2006  12:07a               1,665 includeres.bat

12/18/2006  12:07a              22,016 install-info.exe

12/18/2006  12:07a              10,752 irun.exe

01/06/2007  06:54p             903,168 jbig2.exe

12/24/2006  03:35a              12,288 jpeg2ps.exe

02/02/2007  01:15p              66,560 kpathsea356.dll

02/02/2007  01:15p              77,824 kpathsea35671.dll

01/01/2007  08:23p               4,096 kpseaccess.exe

12/18/2006  12:07a               7,680 kpsecheck.exe

01/01/2007  08:23p               3,584 kpsereadlink.exe

01/01/2007  08:23p               4,608 kpsestat.exe

01/01/2007  08:23p               9,216 kpsewhich.exe

12/18/2006  12:07a              54,272 lacheck.exe

12/18/2006  12:07a               2,560 latex.exe

12/29/2006  08:36p                  39 luatools.bat

01/01/2007  08:23p              76,288 makeindex.exe

01/08/2007  08:41a             193,024 makeinfo.exe

01/01/2007  08:23p              12,288 makempx-without-g-prefix.exe

01/01/2007  08:23p              12,288 makempx.exe

01/12/2007  10:06p                  37 makempy.bat

12/18/2006  12:07a               2,560 metafun.exe

01/05/2007  01:52p             191,488 mf-nowin.exe

01/05/2007  01:52p             194,560 mf.exe

12/18/2006  12:07a               2,560 mfmp.exe

01/01/2007  08:23p              38,912 mft.exe

12/18/2006  12:07a              34,816 mkbitmap.exe

01/01/2007  08:23p               3,584 mkocp.exe

12/18/2006  12:07a               2,560 mkofm.exe

12/18/2006  12:07a               4,608 mktex.exe

12/18/2006  12:07a               4,608 mktexdir.exe

01/14/2007  08:50a               4,096 mktexfmt.exe

01/22/2007  10:47a               4,608 mktexlsr.exe

12/18/2006  12:07a               4,608 mktexmf.exe

12/18/2006  12:07a               4,608 mktexnam.exe

12/18/2006  12:07a               4,608 mktexpk.exe

12/18/2006  12:07a               4,608 mktextfm.exe

12/18/2006  12:07a               4,608 mktexupd.exe

01/12/2007  01:04p             225,792 mmafm.exe

01/12/2007  01:04p             289,280 mmpfb.exe

02/05/2007  10:09a             300,544 mpost.dll

12/18/2006  12:07a               2,560 mpost.exe

12/19/2006  03:55a                  38 mpstools.bat

12/18/2006  12:07a               6,656 mpto.exe

12/19/2006  03:55a                  37 mptopdf.bat

12/18/2006  12:07a             499,712 msvcp71.dll

12/18/2006  12:07a             348,160 msvcr71.dll

12/18/2006  12:07a             286,773 msvcrt.dll

12/19/2006  03:55a                  38 mtxtools.bat

12/18/2006  12:07a               4,608 newer.exe

12/18/2006  12:07a              92,672 nkf.exe

01/12/2007  01:04p             455,680 otfinfo.exe

01/12/2007  01:04p             715,776 otftotfm.exe

01/01/2007  08:23p              20,480 patgen.exe

01/01/2007  08:23p               7,168 pdfatfi.exe

12/18/2006  12:07a              14,336 pdfclose.exe

01/01/2007  08:23p               7,168 pdfcrop.exe

12/18/2006  12:07a              14,336 pdfdde.exe

12/18/2006  12:07a               2,560 pdfelatex.exe

12/18/2006  12:07a               2,560 pdfetex.exe

12/20/2006  10:42a             414,208 pdffonts.exe

12/20/2006  10:42a             424,448 pdfimages.exe

12/20/2006  10:42a             417,280 pdfinfo.exe

12/18/2006  12:07a               2,560 pdflatex.exe

12/18/2006  12:07a              14,336 pdfopen.exe

02/05/2007  10:09a           1,073,664 pdftex.dll

12/18/2006  12:07a               2,560 pdftex.exe

12/19/2006  03:55a                  38 pdftools.bat

01/01/2007  08:23p             523,776 pdftops.exe

02/02/2007  10:23a             400,896 pdftosrc.exe

12/20/2006  10:42a             471,040 pdftotext.exe

12/18/2006  12:07a               3,584 perl.exe

12/18/2006  12:07a             901,120 perl58.dll

01/01/2007  08:23p               7,168 pkfix.exe

01/01/2007  08:23p              16,384 pktogf.exe

01/01/2007  08:23p              10,240 pktype.exe

01/01/2007  08:23p               7,680 pooltype.exe

01/01/2007  08:23p               7,168 ps2eps.exe

12/18/2006  12:07a               8,192 psbook.exe

12/18/2006  12:07a               2,130 psmerge.bat

12/18/2006  12:07a              14,848 psnup.exe

12/18/2006  12:07a              13,824 psresize.exe

12/18/2006  12:07a               9,728 psselect.exe

12/19/2006  03:55a                  37 pstopdf.bat

12/18/2006  12:07a              13,824 pstops.exe

01/12/2007  10:06p                  38 rlxtools.bat

12/19/2006  03:55a                  38 runtools.bat

12/26/2006  08:04p             335,872 sam2p.exe

12/18/2006  12:07a              15,872 t1ascii.exe

12/18/2006  12:07a              18,432 t1asm.exe

12/18/2006  12:07a              15,872 t1binary.exe

12/18/2006  12:07a              19,968 t1disasm.exe

01/12/2007  01:04p             280,576 t1dotlessj.exe

01/12/2007  01:04p             237,568 t1lint.exe

12/18/2006  12:07a              24,064 t1mac.exe

01/12/2007  01:04p             276,480 t1reencode.exe

01/12/2007  01:04p             258,560 t1testpage.exe

12/18/2006  12:07a              19,456 t1unmac.exe

01/01/2007  08:23p              30,720 tangle.exe

01/05/2007  01:52p             239,104 tex.dll

12/18/2006  12:07a               2,560 tex.exe

12/18/2006  12:07a              10,240 texdoctk.exe

12/19/2006  03:55a                  37 texexec.bat

12/19/2006  03:55a                  37 texfont.bat

01/01/2007  08:23p               4,608 texhash.exe

01/01/2007  08:23p               7,168 texi2html.exe

12/18/2006  12:07a              14,336 texindex.exe

01/12/2007  07:32a             909,312 texmfstart.exe

12/19/2006  03:55a                  38 textools.bat

12/19/2006  03:55a                  37 texutil.bat

01/13/2007  03:18p               4,608 texview.exe

01/05/2007  01:52p               7,168 thumbpdf.exe

01/01/2007  08:23p               8,192 tie.exe

01/06/2007  06:54p             308,736 tiff2png.exe

12/18/2006  12:07a             729,088 tk83.dll

12/18/2006  12:07a              57,344 tl90bzip2.dll

12/18/2006  12:07a             204,800 tl90freetype2.dll

12/18/2006  12:07a              16,384 tl90geturl.dll

12/18/2006  12:07a              51,200 tl90gnu.dll

12/18/2006  12:07a              86,016 tl90kpse.dll

12/18/2006  12:07a               8,192 tl90md5.dll

12/18/2006  12:07a              77,824 tl90mktex.dll

12/18/2006  12:07a              47,104 tl90regex.dll

12/18/2006  12:07a              12,800 tl90texmfmp.dll

12/18/2006  12:07a              73,728 tl90zlib.dll

12/19/2006  03:55a                  38 tmftools.bat

12/18/2006  12:07a               4,096 todos.exe

12/18/2006  12:07a               4,096 tomac.exe

12/18/2006  12:07a               4,096 tounix.exe

01/01/2007  08:23p              22,528 ttf2afm.exe

01/01/2007  08:23p             125,952 ttf2pk.exe

01/01/2007  08:23p             437,760 ttf2pt1.exe

01/01/2007  08:23p             138,240 ttf2tfm.exe

01/01/2007  08:23p              47,616 ttfdump.exe

01/12/2007  01:04p             302,080 ttftotype42.exe

12/18/2006  12:07a             121,344 type1afm.exe

12/26/2006  08:04p             167,936 unzip.exe

12/18/2006  12:07a              10,752 updmap.exe

01/05/2007  01:52p               7,168 vpe.exe

01/01/2007  08:23p              45,056 weave.exe

12/18/2006  12:58a             332,800 wget.exe

12/19/2006  03:55a                  38 xmltools.bat

             211 File(s)     23,355,885 bytes

               2 Dir(s)  21,882,343,424 bytes free

 

 

<==============

<============== Working Older cweave distribution directory

<==============

 

C:\yacco2\compiler\o2>dir "\Program Files\CWEB\bin"

 Volume in drive C has no label.

 Volume Serial Number is BC6B-EC86

 

 Directory of C:\Program Files\CWEB\bin

 

05/17/2007  05:14p      <DIR>          .

05/17/2007  05:14p      <DIR>          ..

09/29/2001  01:51p              36,864 actangle.exe

09/29/2001  02:44p              36,864 acweave.exe

03/23/2005  08:01p              45,056 acweave1.exe

10/01/2005  03:18a             106,496 ctangle.exe

10/16/2001  05:00p             102,400 ctwill.exe

10/01/2005  03:19a             135,168 cweave.exe

04/04/2005  06:28p             200,704 cwebgen.exe

04/01/2005  05:35p              28,672 cwebsync.exe

10/16/2001  05:08p              45,056 refsort.exe

08/27/2003  11:38p              65,536 uninstall.exe

              10 File(s)        802,816 bytes

               2 Dir(s)  21,882,343,424 bytes free

 

C:\yacco2\compiler\o2>
 
Dave Bone, IT Director
____________________________ 
Milgram & Company Ltd. 
500 - 407 rue McGill
Montreal, Quebec H2Y 2G7
T. 514-288-6002 x2216
F. 514-288-2519
W. www.milgram.com

Milgram wins 2007 Consumer Choice Award. Click here to find out more.




  

Subject to Milgram's Standard Trading Terms & Conditions, a copy of which is available upon request and on our website. Assujetti aux termes et conditions generales standards de Milgram dont une copie peut etre obtenue sur demande ainsi que sur notre site Web.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/tex-live/attachments/20070523/7b46d6f9/attachment-0001.html 


More information about the tex-live mailing list