David Dyck <[EMAIL PROTECTED]> writes:
>I didn't see this make it to the ptk list, but I've learned a little more.
>I tested Tk-804.025_beta6 with perl 5.8.2 on the same computer and
>make test succeded, but it still fails 95% of the tests with bleading
>edge perl 5.9.0.  I've added the p5p list to the cc, as I'm hoping
>someone will have an idea what internals might have changed between
>perl 5.8.2 (current) and perl 5.9.0 bleading edge.

Hmm, true bleading edge seems not to get that far.

p4 sync //depot/perl/...
# normal make
cd Tk804.025_beta6
perl5.9.0 Makefile.PL XFT=1
...
cp widget ../blib/script/widget
/usr/local/perl/bin/perl5.9.0 "-MExtUtils::MY" -e "MY->fixin(shift)" 
../blib/script/widget
Manifying ../blib/man1/widget.1
make[1]: Leaving directory `/home/p4work/Tkutf8/demos'
make[1]: Entering directory `/home/p4work/Tkutf8/Xlib'
cp Xlib.pm ../blib/lib/Tk/Xlib.pm
make[2]: Entering directory `/home/p4work/Tkutf8/Xlib/X'
cp X.pm ../../blib/lib/Tk/X.pm
AutoSplitting ../../blib/lib/Tk/X.pm (../../blib/lib/auto/Tk/X)
make[2]: *** No rule to make target `ExtUtils/xsubpp', needed by `X.c'.  Stop.
make[2]: Leaving directory `/home/p4work/Tkutf8/Xlib/X'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/p4work/Tkutf8/Xlib'
make: *** [subdirs] Error 2
[EMAIL PROTECTED]:/home/p4work/Tkutf8>

What is with the ExtUtils/xsubpp stuff?
Why do typemaps have correct fullpath but xsubpp does not?

# This Makefile is for the Tk::X extension to perl.
#
# It was generated automatically by MakeMaker version
# 6.21 (Revision: 1.144) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
#       ANY CHANGES MADE HERE WILL BE LOST!
#
#   MakeMaker ARGV: (q[BINARY_LOCATION=i686-linux-multi/Tk804.025-PPM.tar.gz])
#
#   MakeMaker Parameters:

#     DEFINE => q[]
#     DIR => []
#     INC => q[-I../.. -I/usr/X11R6/include -I/usr/include/freetype2]
#     LIBS => [q[-lm]]
#     NAME => q[Tk::X]
#     TYPEMAPS => [q[/home/p4work/Tkutf8/Tk/typemap]]
#     VERSION => q[804.025]
#     XS_VERSION => q[804.025]
#     clean => { FILES=>q[ *.bak] }
#     macro => { TKDIR=>q[../..] }
...
# --- MakeMaker xs_c section:

.xs.c:
        $(PERLRUN) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > 
$*.xsc && $(MV) $*.xsc $*.c


# --- MakeMaker xs_o section:

.xs$(OBJ_EXT):
        $(PERLRUN) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) 
$*.xsc $*.c
        $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $(GCCOPT) 
$*.c


...
# --- MakeMaker tool_xsubpp section:

XSUBPPDIR = ExtUtils
XSUBPP = $(XSUBPPDIR)/xsubpp
XSPROTOARG = 
XSUBPPDEPS = /usr/local/perl/lib/5.9.0/ExtUtils/typemap /home/p4work/Tkutf8/Tk/typemap 
$(XSUBPP)
XSUBPPARGS = -typemap /usr/local/perl/lib/5.9.0/ExtUtils/typemap -typemap 
/home/p4work/Tkutf8/Tk/typemap
XSUBPP_EXTRA_ARGS = 




Summary of my perl5 (revision 5.0 version 9 subversion 0 patch 21538) configuration:
  Platform:
    osname=linux, osvers=2.4.21-99-athlon, archname=i686-linux-multi
    uname='linux llama 2.4.21-99-athlon #1 wed sep 24 13:34:32 utc 2003 i686 athlon 
i386 gnulinux '
    config_args='-der -O -Dusedevel -Doptimize=-O2 -g -Dusemymalloc=n 
-Dprefix=/usr/local/perl -Dusevfork=false -Dusemultiplicity=y'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useithreads=undef usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='3.3.1 (SuSE Linux)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING MULTIPLICITY USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        DEVEL21538
  Built under linux
  Compiled at Nov 25 2003 14:17:40
  @INC:
    lib
    /usr/local/perl/lib/5.9.0/i686-linux-multi
    /usr/local/perl/lib/5.9.0
    /usr/local/perl/lib/site_perl/5.9.0/i686-linux-multi
    /usr/local/perl/lib/site_perl/5.9.0
    /usr/local/perl/lib/site_perl
    .

Reply via email to