In message <[EMAIL PROTECTED]> on Tue, 27 Jul 2004 09:07:03 -0500, "Craig A. Berry" 
<[EMAIL PROTECTED]> said:

craigberry> At 3:17 PM +0200 7/27/04, Richard Levitte - VMS Whacker wrote:
craigberry> >I've tried building Perl 5.8.4 and 5.8.5 on VAX, with exactly the same
craigberry> >result, it ends like this:
craigberry> >
craigberry> >  CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj 
/Define=("VERSION=""2.01""","XS_VERSION=""2.01""")/Include=([--],[.Encode])/NoList  
ENCODE.c
craigberry> >  %CLI-F-OPENIN, error opening 
RL_LOCAL:[000000.PERL-5_8_5.EXT.ENCODE]ENCODE.C;
craigberry> >   as input
craigberry> >  -RMS-E-FNF, file not found
craigberry> >
craigberry> >I've attached the complete log for the 5.8.5 build.  The thing that
craigberry> >gets me is that it seems to be difficult to find out how that encode.c
craigberry> >is create.  Is there anyone that can give me a clue?
craigberry> 
craigberry> That should be pretty much the same way any extension generates .c
craigberry> from .xs.  Here's a snippet from an Alpha build log:
craigberry> 
craigberry> MCR [--]miniperl.exe -e "print qq{[--]PerlShr.exe/Share\n}" >>ENCODE.OPT
craigberry> Copy/NoConfirm ENCODE.OPT [--.LIB.AUTO.ENCODE]ENCODE.OPT
craigberry> %COPY-S-COPIED, DISK$FOO:[perl-5_8.ext.Encode]Encode.opt;1 copied to 
DISK$FOO:[perl-5_8.LIB.AUTO.ENCODE]ENCODE.OPT;1 (1 block)
craigberry> MCR [--]miniperl.exe "-I[--.lib]" "-I[--.lib]" [--.lib.ExtUtils]xsubpp  
-typemap [--.lib.ExtUtils]typemap ENCODE.xs >ENCODE.C
craigberry> MCR [--]miniperl.exe "-I[--.lib]" [.bin]enc2xs -"Q" -"O" -o DEF_T.C -f 
def_t.fnm
craigberry> 
craigberry> You are definitely missing the second-to-last line in your log for
craigberry> reasons I don't understand right off the bat.

Hmm, in [.ext.encode]descrip.mms, the target encode.c looks like this:

encode.c : $(XSUBPPDEPS)

Yup, nothing more.  no actions.  I tried looking in Makefile.PL what
could be wrong, but I'm a newbie when it comes to MakeMaker, so I will
need a hint at where to look...

craigberry> >$ ana/ima pub:mmk.exe
craigberry> >[...]
craigberry> >        Image Identification Information
craigberry> >               
craigberry> >                image name: "MMK"
craigberry> >                image file identification: "V3.8"
craigberry> >                link date/time: 21-JUN-1999 17:07:23.54
craigberry> >                linker identification: "V11-50"
craigberry> >[...]
craigberry> 
craigberry> Hmm.  MMK/IDENT works for those of us too lazy to rummage
craigberry> through image analyses :-).

Hmm, I had forgotten about /IDENT...  Anyhow, running ANA/IMA in a
shell in an emacs buffer isn't very hard either :-)

craigberry> I believe 3.9-2 is current, so the first thing I would do
craigberry> is upgrade and see if it makes a difference.  It may not,
craigberry> but it's a place to start.

I upgraded to 3.9-9 (that's the latest, it seems).  No difference (and
considering the lack of action for building encode.c, I'm not
entirely surprised...  :-).

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte     | http://richard.levitte.org/ | Tunnlandsv. 52
Levitte Programming | http://www.lp.se/           | S-168 36 Bromma
T: +46-708-26 53 44 |                             | SWEDEN
     "Price, performance, quality...  choose the two you like"

Reply via email to