Problem compiling Gtk-Perl-0.7008



Hello all,

I have a problem compiling Gtk-Perl-0.7008 on RedHat 8.0. I don't have
any prior version of Gtk-Perl. It's when running make I get several

...
gcc: build/PerlGtkExt.o: No such file or directory
gcc: build/GtkDefs.o: No such file or directory
make[1]: *** [../blib/arch/auto/Gtk/Gtk.so] Error 1
make[1]: Leaving directory `/tmp/Gtk-Perl-0.7008/Gtk'
make: *** [subdirs] Error 2

I don't want to 'make install' before this is solved.
Below are all the gory details...

I would be extremely grateful if anyone could help me!

Regards,
Marcus

[marcus nsfm39 Gtk-Perl-0.7008]$ uname -srio
Linux 2.4.18-27.8.0 i386 GNU/Linux

[marcus nsfm39 Gtk-Perl-0.7008]$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.18-11smp, archname=i386-linux-thread-multi
    uname='linux daffy.perf.redhat.com 2.4.18-11smp #1 smp thu aug 15
06:41:59 edt 2002 i686 i686 i386 gnulinux
'
    config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686
-Dmyhostname=localhost -Dperladmin=root localhost -Dcc=gcc -Dcf_by=Red
Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db
-Ui_ndbm
-Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -march=i386 -mcpu=i686',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-I/usr/include/gdbm'
    ccversion='', gccversion='3.2 20020822 (Red Hat Linux Rawhide
3.2-5)', 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='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=/lib/libc-2.2.92.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.2.92'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Sep  1 2002 23:56:49
  @INC:
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    .

[marcus nsfm39 Gtk-Perl-0.7008]$ perl Makefile.PL --without-guessing
Packages to compile: Gtk.
Warning: prerequisite XML::Writer 0 not found.
Subroutine MY::postamble redefined at ./Makefile.PL line 172.
Current perl supports threads. Enabling thread support
Located Gtk version 1.2.10...
Invoking gendefs.pl with [gtk-0.99.defs, gtk-1.0.defs, gtk-1.1.defs,
gtk-1.1.1.defs, gtk-1.1.3.defs, gtk-1.1.4.defs, gtk-1.1.6.defs,
gtk-1.2.defs].
Please wait, this may take a moment...
Loading gtk-0.99.defs
Loading gtk-1.0.defs
Loading gtk-1.1.defs
Loading gtk-1.1.1.defs
Loading gtk-1.1.3.defs
Loading gtk-1.1.4.defs
Loading gtk-1.1.6.defs
Loading gtk-1.2.defs
Dir ||
Overriding object `GtkButton'
Overriding flags `GtkSpinButtonUpdatePolicy'
Overriding object `GtkProgressBar'
Overriding enum `GdkEventType'
Dir ||
Overriding flags `GtkSpinButtonUpdatePolicy'
Overriding object `GtkProgressBar'
Overriding enum `GtkScrollType'
Overriding enum `GtkTroughType'
Overriding enum `GtkVisibility'
Overriding object `GtkProgress'
Overriding object `GtkProgressBar'
Dir ||
Dir ||
Overriding enum `GdkEventType'
Dir ||
Dir ||
Overriding flags `GtkSignalRunType'
Overriding enum `GtkPolicyType'
Dir ||
Overriding flags `GtkSpinButtonUpdatePolicy'
Overriding object `GtkProgressBar'
Overriding object `GtkProgress'
Overriding enum `GtkCTreePos'
Overriding enum `GtkCTreeLineStyle'
Overriding enum `GtkCTreeExpansionType'
Overriding flags `GtkDebugFlag'
Overriding flags `GtkAccelFlags'
Overriding enum `GtkMatchType'
Overriding enum `GtkPathPriorityType'
Overriding enum `GtkPathType'
Overriding enum `GtkReliefStyle'
Overriding enum `GtkResizeMode'
Overriding flags `GtkSignalRunType'
Overriding enum `GtkScrollType'
Overriding enum `GtkTroughType'
Overriding enum `GtkVisibility'
Overriding enum `GtkFontMetricType'
Overriding flags `GtkObjectFlags'
Overriding boxed `GtkAccelGroup'
Overriding object `GtkAccelLabel'
Overriding object `GtkCTree'
Overriding object `GtkFontSelection'
Overriding object `GtkFontSelectionDialog'
Overriding object `GtkItemFactory'
Overriding object `GtkProgress'
Overriding object `GtkProgressBar'
Overriding enum `GtkProgressBarStyle'
Overriding enum `GtkProgressBarOrientation'
Overriding boxed `GtkCTreeNode'
Overriding boxed `GtkCTreeRow'
Overriding enum `GdkFunction'
Overriding flags `GdkWindowHints'
Dir ||
Creating reference documentation
Can't locate XML/Writer.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
../tools/gendoc.pl line 4.
BEGIN failed--compilation aborted at ../tools/gendoc.pl line 4.
FORCE installing header: GtkTypes.h
FORCE installing header: GdkTypes.h
FORCE installing header: MiscTypes.h
Use of uninitialized value in join or string at ../Depends.pm line 229.
Use of uninitialized value in concatenation (.) or string at
../Depends.pm line 194.
Writing Makefile for Gtk
Writing Makefile for Gtk::base


[marcus nsfm39 Gtk-Perl-0.7008]$ more Makefile
# This Makefile is for the Gtk::base extension to perl.
#
# It was generated automatically by MakeMaker version
# 6.03 (Revision: 1.63) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
#       ANY CHANGES MADE HERE WILL BE LOST!
#
#   MakeMaker ARGV: ()
#
#   MakeMaker Parameters:

#     DIR => [q[Gtk]]
#     DISTNAME => q[Gtk-Perl]
#     NAME => q[Gtk::base]
#     NEEDS_LINKING => q[0]
#     OPTIMIZE => q[-O2 -g]
#     PM => {  }
#     PREREQ_PM => { XML::Writer=>q[0], XML::Parser=>q[0] }
#     VERSION_FROM => q[Gtk/Gtk.pm]
#     XSOPT => q[-noversioncheck]
#     XSPROTOARG => q[-noprototypes]
#     clean => { FILES=>q[build/GtkKeysyms.pm build/IFiles.pm
build/PerlGtkExt.o build/extension.xsh build/perl-gtk-ref.xml
build/GtkDefs.c build/GtkTypemap build/PerlGtkExt.c build/PerlGtkInt.h
build/objects.xsh build/GtkDefs.o build/GtkTypes.pm build/PerlGtkExt.h
build/boxed.xsh build/perl-gtk-ds.pod] }
#     dist => { COMPRESS=>q[gzip], SUFFIX=>q[gz] }
#     linkext => { LINKTYPE=>q[] }

# --- MakeMaker post_initialize section:


# --- MakeMaker const_config section:

# These definitions are from config.sh (via
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Config.pm)

# They may have been overridden via Makefile.PL or on the command line
AR = ar
CC = gcc
CCCDLFLAGS = -fpic
CCDLFLAGS = -rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE
DLEXT = so
DLSRC = dl_dlopen.xs
LD = gcc
LDDLFLAGS = -shared -L/usr/local/lib
LDFLAGS =  -L/usr/local/lib
LIBC = /lib/libc-2.2.92.so
LIB_EXT = .a
OBJ_EXT = .o
OSNAME = linux
OSVERS = 2.4.18-11smp
RANLIB = :
SO = so
EXE_EXT =
FULL_AR = /usr/bin/ar


# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
NAME = Gtk::base
DISTNAME = Gtk-Perl
NAME_SYM = Gtk_base
VERSION = 0.7008
VERSION_SYM = 0_7008
XS_VERSION = 0.7008
INST_ARCHLIB = blib/arch
INST_SCRIPT = blib/script
INST_BIN = blib/bin
INST_LIB = blib/lib
INSTALLDIRS = site
PREFIX = /usr
SITEPREFIX = /usr
VENDORPREFIX = /usr
INSTALLPRIVLIB = /usr/lib/perl5/5.8.0
INSTALLSITELIB = /usr/lib/perl5/site_perl/5.8.0
INSTALLVENDORLIB = /usr/lib/perl5/vendor_perl/5.8.0
INSTALLARCHLIB = /usr/lib/perl5/5.8.0/i386-linux-thread-multi
INSTALLSITEARCH = /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
INSTALLVENDORARCH =
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
INSTALLBIN = /usr/bin
INSTALLSITEBIN = /usr/bin
INSTALLVENDORBIN = /usr/bin
INSTALLSCRIPT = /usr/bin
PERL_LIB = /usr/lib/perl5/5.8.0
PERL_ARCHLIB = /usr/lib/perl5/5.8.0/i386-linux-thread-multi
SITELIBEXP = /usr/lib/perl5/site_perl/5.8.0
SITEARCHEXP = /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKE_APERL_FILE = Makefile.aperl
PERLMAINCC = $(CC)
PERL_INC = /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE
PERL = /usr/bin/perl
FULLPERL = /usr/bin/perl
PERLRUN = $(PERL)
FULLPERLRUN = $(FULLPERL)
PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
ABSPERL = $(PERL)
ABSPERLRUN = $(ABSPERL)
ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
FULL_AR = /usr/bin/ar
PERL_CORE = 0
NOOP = $(SHELL) -c true
NOECHO = @

VERSION_MACRO = VERSION
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc
-Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc

MAKEMAKER = /usr/lib/perl5/5.8.0/ExtUtils/MakeMaker.pm
MM_VERSION = 6.03

# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg
Oracle)
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
FULLEXT = Gtk/base
BASEEXT = base
PARENT_NAME = Gtk
DLBASE = $(BASEEXT)
VERSION_FROM = Gtk/Gtk.pm
OBJECT =
LDFROM = $(OBJECT)
LINKTYPE = dynamic

# Handy lists of source code files:
XS_FILES=
C_FILES =
O_FILES =
H_FILES =
MAN1PODS =
MAN3PODS =
INST_MAN1DIR = blib/man1
MAN1EXT = 1
INSTALLMAN1DIR = /usr/share/man/man1
INSTALLSITEMAN1DIR = /usr/share/man/man1
INSTALLVENDORMAN1DIR = /usr/share/man/man1
INST_MAN3DIR = blib/man3
MAN3EXT = 3pm
INSTALLMAN3DIR = /usr/share/man/man3
INSTALLSITEMAN3DIR = /usr/share/man/man3
INSTALLVENDORMAN3DIR = /usr/share/man/man3
PERM_RW = 644
PERM_RWX = 755

# work around a famous dec-osf make(1) feature(?):
makemakerdflt: all

.SUFFIXES: .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)

# Nick wanted to get rid of .PRECIOUS. I don't remember why. I seem to
recall, that
# some make implementations will delete the Makefile when we rebuild it.
Because
# we call false(1) when we rebuild it. So make(1) is not completely
wrong when it
# does so. Our milage may vary.
# .PRECIOUS: Makefile    # seems to be not necessary anymore

.PHONY: all config static dynamic test linkext manifest

# Where is the Config information that we are using/depend on
CONFIGDEP = $(PERL_ARCHLIB)/Config.pm $(PERL_INC)/config.h

# Where to put things:
INST_LIBDIR      = $(INST_LIB)/Gtk
INST_ARCHLIBDIR  = $(INST_ARCHLIB)/Gtk

INST_AUTODIR     = $(INST_LIB)/auto/$(FULLEXT)
INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)

INST_STATIC  =
INST_DYNAMIC =
INST_BOOT    =

EXPORT_LIST =

PERL_ARCHIVE =

PERL_ARCHIVE_AFTER =

TO_INST_PM =

PM_TO_BLIB =


# --- MakeMaker tool_autosplit section:
# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
AUTOSPLITFILE = $(PERLRUN) -e 'use AutoSplit;  autosplit($$ARGV[0],
$$ARGV[1], 0, 1, 1) ;'



# --- MakeMaker tool_xsubpp section:


# --- MakeMaker tools_other section:

SHELL = /bin/sh
CHMOD = chmod
CP = cp
LD = gcc
MV = mv
NOOP = $(SHELL) -c true
RM_F = rm -f
RM_RF = rm -rf
TEST_F = test -f
TOUCH = touch
UMASK_NULL = umask 0
DEV_NULL = > /dev/null 2>&1

# The following is a portable way to say mkdir -p
# To see which directories are created, change the if 0 to if 1
MKPATH = $(PERLRUN) "-MExtUtils::Command" -e mkpath

# This helps us to minimize the effect of the .exists files A yet
# better solution would be to have a stable file in the perl
# distribution with a timestamp of zero. But this solution doesn't
# need any changes to the core distribution and works with older perls
EQUALIZE_TIMESTAMP = $(PERLRUN) "-MExtUtils::Command" -e eqtime

# Here we warn users that an old packlist file was found somewhere,
# and that they should call some uninstall routine
WARN_IF_OLD_PACKLIST = $(PERL) -we 'exit unless -f $$ARGV[0];' \
-e 'print "WARNING: I have found an old package in\n";' \
-e 'print "\t$$ARGV[0].\n";' \
-e 'print "Please make sure the two installations are not
conflicting\n";'

UNINST=0
VERBINST=0

MOD_INSTALL = $(PERL) "-I$(INST_LIB)" "-I$(PERL_LIB)"
"-MExtUtils::Install" \
-e "install({ ARGV},'$(VERBINST)',0,'$(UNINST)');"

DOC_INSTALL = $(PERL) -e '$$\="\n\n";' \
-e 'print "=head2 ", scalar(localtime), ": C<", shift, ">", " L<",
$$arg=shift, "|", $$arg, ">";' \
-e 'print "=over 4";' \
-e 'while (defined($$key = shift) and defined($$val = shift)){print
"=item *";print "C<$$key: $$val>";}' \
-e 'print "=back";'

UNINSTALL =   $(PERLRUN) "-MExtUtils::Install" \
-e 'uninstall($$ARGV[0],1,1); print "\nUninstall is deprecated. Please
check the";' \
-e 'print " packlist above carefully.\n  There may be errors. Remove
the";' \
-e 'print " appropriate files manually.\n  Sorry for the
inconveniences.\n"'


# --- MakeMaker dist section:
ZIPFLAGS = -r
TO_UNIX = @$(NOOP)
TAR = tar
POSTOP = @$(NOOP)
ZIP = zip
DIST_DEFAULT = tardist
CI = ci -u
SHAR = shar
COMPRESS = gzip
DIST_CP = best
PREOP = @$(NOOP)
TARFLAGS = cvf
DISTVNAME = $(DISTNAME)-$(VERSION)
SUFFIX = gz
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q


# --- MakeMaker macro section:


# --- MakeMaker depend section:


# --- MakeMaker cflags section:


# --- MakeMaker const_loadlibs section:


# --- MakeMaker const_cccmd section:


# --- MakeMaker post_constants section:


# --- MakeMaker pasthru section:

PASTHRU = LIB="$(LIB)"\
        LIBPERL_A="$(LIBPERL_A)"\
        LINKTYPE="$(LINKTYPE)"\
        PREFIX="$(PREFIX)"\
        OPTIMIZE="$(OPTIMIZE)"\
        PASTHRU_DEFINE="$(PASTHRU_DEFINE)"\
        PASTHRU_INC="$(PASTHRU_INC)"


# --- MakeMaker c_o section:


# --- MakeMaker xs_c section:


# --- MakeMaker xs_o section:


# --- MakeMaker top_targets section:

all :: pure_all manifypods
        @$(NOOP)

pure_all :: config pm_to_blib subdirs linkext
        @$(NOOP)

subdirs :: $(MYEXTLIB)
        @$(NOOP)

config :: Makefile $(INST_LIBDIR)/.exists
        @$(NOOP)

config :: $(INST_ARCHAUTODIR)/.exists
        @$(NOOP)

config :: $(INST_AUTODIR)/.exists
        @$(NOOP)

$(INST_AUTODIR)/.exists ::
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h
        @$(MKPATH) $(INST_AUTODIR)
        @$(EQUALIZE_TIMESTAMP)
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h
$(INST_AUTODIR)/.exists

        - $(CHMOD) $(PERM_RWX) $(INST_AUTODIR)

$(INST_LIBDIR)/.exists ::
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h
        @$(MKPATH) $(INST_LIBDIR)
        @$(EQUALIZE_TIMESTAMP)
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h
$(INST_LIBDIR)/.exists

        - $(CHMOD) $(PERM_RWX) $(INST_LIBDIR)

$(INST_ARCHAUTODIR)/.exists ::
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h
        @$(MKPATH) $(INST_ARCHAUTODIR)
        @$(EQUALIZE_TIMESTAMP)
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h
$(INST_ARCHAUTODIR)/.exists

        - $(CHMOD) $(PERM_RWX) $(INST_ARCHAUTODIR)

help:
        perldoc ExtUtils::MakeMaker


# --- MakeMaker linkext section:

linkext ::
        @$(NOOP)


# --- MakeMaker dlsyms section:


# --- MakeMaker dynamic section:

## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make dynamic"
#dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT) $(INST_PM)
dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT)
        @$(NOOP)


# --- MakeMaker dynamic_bs section:

BOOTSTRAP =


# --- MakeMaker dynamic_lib section:


# --- MakeMaker static section:

## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make static"
#static :: Makefile $(INST_STATIC) $(INST_PM)
static :: Makefile $(INST_STATIC)
        @$(NOOP)


# --- MakeMaker static_lib section:


# --- MakeMaker manifypods section:

manifypods : pure_all
        @$(NOOP)


# --- MakeMaker processPL section:


# --- MakeMaker installbin section:


# --- MakeMaker subdirs section:

# The default clean, realclean and test targets in this Makefile
# have automatically been given entries for each subdir.


subdirs ::
        @cd Gtk && $(MAKE) -f $(FIRST_MAKEFILE) all $(PASTHRU)


# --- MakeMaker clean section:

# Delete temporary files but do not touch installed files. We don't
delete
# the Makefile here so a later make realclean still has a makefile to
use.

clean ::
        -cd Gtk && $(TEST_F) Makefile && $(MAKE) clean
        -rm -rf build/GtkKeysyms.pm build/IFiles.pm build/PerlGtkExt.o
build/extension.xsh build/perl-gtk-ref.xml build/GtkDefs.c
build/GtkTypemap build/PerlGtkExt.c build/PerlGtkInt.h build/objects.xsh
build/GtkDefs.o build/GtkTypes.pm build/PerlGtkExt.h build/boxed.xsh
build/perl-gtk-ds.pod ./blib $(MAKE_APERL_FILE)
$(INST_ARCHAUTODIR)/extralibs.all perlmain.c tmon.out mon.out
so_locations pm_to_blib *$(OBJ_EXT) *$(LIB_EXT) perl.exe perl
perl$(EXE_EXT) $(BOOTSTRAP) $(BASEEXT).bso $(BASEEXT).def
lib$(BASEEXT).def $(BASEEXT).exp $(BASEEXT).x core core.*perl.*.?
*perl.core
        -mv Makefile Makefile.old $(DEV_NULL)


# --- MakeMaker realclean section:

# Delete temporary files (via clean) and also delete installed files
realclean purge ::  clean
        -cd Gtk && $(TEST_F) Makefile.old && $(MAKE) -f Makefile.old
realclean
        -cd Gtk && $(TEST_F) Makefile && $(MAKE)  realclean
        rm -rf $(INST_AUTODIR) $(INST_ARCHAUTODIR)
        rm -rf $(DISTVNAME)
        rm -rf Makefile Makefile.old


# --- MakeMaker dist_basics section:
distclean :: realclean distcheck
        $(NOECHO) $(NOOP)

distcheck :
        $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck

skipcheck :
        $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck

manifest :
        $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest

veryclean : realclean
        $(RM_F) *~ *.orig */*~ */*.orig



# --- MakeMaker dist_core section:

dist : $(DIST_DEFAULT)
        @$(PERL) -le 'print "Warning: Makefile possibly out of date with
$$vf" if ' \
            -e '-e ($$vf="$(VERSION_FROM)") and -M $$vf < -M
"Makefile";'

tardist : $(DISTVNAME).tar$(SUFFIX)

zipdist : $(DISTVNAME).zip

$(DISTVNAME).tar$(SUFFIX) : distdir
        $(PREOP)
        $(TO_UNIX)
        $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
        $(RM_RF) $(DISTVNAME)
        $(COMPRESS) $(DISTVNAME).tar
        $(POSTOP)

$(DISTVNAME).zip : distdir
        $(PREOP)
        $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
        $(RM_RF) $(DISTVNAME)
        $(POSTOP)

uutardist : $(DISTVNAME).tar$(SUFFIX)
        uuencode $(DISTVNAME).tar$(SUFFIX) \
                $(DISTVNAME).tar$(SUFFIX) > \
                $(DISTVNAME).tar$(SUFFIX)_uu

shdist : distdir
        $(PREOP)
        $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
        $(RM_RF) $(DISTVNAME)
        $(POSTOP)


# --- MakeMaker dist_dir section:
distdir :
        $(RM_RF) $(DISTVNAME)
        $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
                -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"



# --- MakeMaker dist_test section:

disttest : distdir
        cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL
        cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
        cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)


# --- MakeMaker dist_ci section:

ci :
        $(PERLRUN) "-MExtUtils::Manifest=maniread" \
                -e "@all = keys %{ maniread() };" \
                -e 'print("Executing $(CI) @all\n"); system("$(CI)
@all");' \
                -e 'print("Executing $(RCS_LABEL) ...\n");
system("$(RCS_LABEL) @all");'


# --- MakeMaker install section:

install :: all pure_install doc_install

install_perl :: all pure_perl_install doc_perl_install

install_site :: all pure_site_install doc_site_install

install_vendor :: all pure_vendor_install doc_vendor_install

pure_install :: pure_$(INSTALLDIRS)_install

doc_install :: doc_$(INSTALLDIRS)_install
        @echo Appending installation info to
$(INSTALLARCHLIB)/perllocal.pod

pure__install : pure_site_install
        @echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

doc__install : doc_site_install
        @echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

pure_perl_install ::
        @$(MOD_INSTALL) \
                read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
                write $(INSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
                $(INST_LIB) $(INSTALLPRIVLIB) \
                $(INST_ARCHLIB) $(INSTALLARCHLIB) \
                $(INST_BIN) $(INSTALLBIN) \
                $(INST_SCRIPT) $(INSTALLSCRIPT) \
                $(INST_MAN1DIR) $(INSTALLMAN1DIR) \
                $(INST_MAN3DIR) $(INSTALLMAN3DIR)
        @$(WARN_IF_OLD_PACKLIST) \
                $(SITEARCHEXP)/auto/$(FULLEXT)


pure_site_install ::
        @$(MOD_INSTALL) \
                read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
                write $(INSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
                $(INST_LIB) $(INSTALLSITELIB) \
                $(INST_ARCHLIB) $(INSTALLSITEARCH) \
                $(INST_BIN) $(INSTALLSITEBIN) \
                $(INST_SCRIPT) $(INSTALLSCRIPT) \
                $(INST_MAN1DIR) $(INSTALLSITEMAN1DIR) \
                $(INST_MAN3DIR) $(INSTALLSITEMAN3DIR)
        @$(WARN_IF_OLD_PACKLIST) \
                $(PERL_ARCHLIB)/auto/$(FULLEXT)

pure_vendor_install ::
        @$(MOD_INSTALL) \
                $(INST_LIB) $(INSTALLVENDORLIB) \
                $(INST_ARCHLIB) $(INSTALLVENDORARCH) \
                $(INST_BIN) $(INSTALLVENDORBIN) \
                $(INST_SCRIPT) $(INSTALLSCRIPT) \
                $(INST_MAN1DIR) $(INSTALLVENDORMAN1DIR) \
                $(INST_MAN3DIR) $(INSTALLVENDORMAN3DIR)

doc_perl_install ::
        - $(MKPATH) $(INSTALLARCHLIB)
        - $(DOC_INSTALL) \
                "Module" "$(NAME)" \
                "installed into" "$(INSTALLPRIVLIB)" \
                LINKTYPE "$(LINKTYPE)" \
                VERSION "$(VERSION)" \
                EXE_FILES "$(EXE_FILES)" \
                >> $(INSTALLARCHLIB)/perllocal.pod

doc_site_install ::
        - $(MKPATH) $(INSTALLARCHLIB)
        - $(DOC_INSTALL) \
                "Module" "$(NAME)" \
                "installed into" "$(INSTALLSITELIB)" \
                LINKTYPE "$(LINKTYPE)" \
                VERSION "$(VERSION)" \
                EXE_FILES "$(EXE_FILES)" \
                >> $(INSTALLSITEARCH)/perllocal.pod

doc_vendor_install ::


uninstall :: uninstall_from_$(INSTALLDIRS)dirs

uninstall_from_perldirs ::
        @$(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist

uninstall_from_sitedirs ::
        @$(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist


# --- MakeMaker force section:
# Phony target to force checking subdirectories.
FORCE:
        @$(NOOP)


# --- MakeMaker perldepend section:


# --- MakeMaker makefile section:

# We take a very conservative approach here, but it\'s worth it.
# We move Makefile to Makefile.old here to avoid gnu make looping.
Makefile : Makefile.PL $(CONFIGDEP)
        @echo "Makefile out-of-date with respect to $?"
        @echo "Cleaning current config before rebuilding Makefile..."
        - $(RM_F) Makefile.old
        - $(MV) Makefile Makefile.old
        -$(MAKE) -f Makefile.old clean $(DEV_NULL) || $(NOOP)
        $(PERLRUN) Makefile.PL
        @echo "==> Your Makefile has been rebuilt. <=="
        @echo "==> Please rerun the make command.  <=="
        false



# --- MakeMaker staticmake section:

# --- MakeMaker makeaperl section ---
MAP_TARGET    = perl
FULLPERL      = /usr/bin/perl

$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
        $(MAKE) -f $(MAKE_APERL_FILE) $@

$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
        @echo Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
        @$(PERLRUNINST) \
                Makefile.PL DIR=Gtk \
                MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
                MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=


# --- MakeMaker test section:

TEST_VERBOSE=0
TEST_TYPE=test_$(LINKTYPE)
TEST_FILE = test.pl
TEST_FILES =
TESTDB_SW = -d

testdb :: testdb_$(LINKTYPE)

test :: $(TEST_TYPE)
        @cd Gtk && $(TEST_F) Makefile && $(MAKE) test $(PASTHRU)

test_dynamic :: pure_all
        PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-I$(INST_LIB)"
"-I$(INST_ARCHLIB)" $(TEST_FILE)

testdb_dynamic :: pure_all
        PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)"
"-I$(INST_ARCHLIB)" $(TEST_FILE)

test_ : test_dynamic

test_static :: test_dynamic
testdb_static :: testdb_dynamic


# --- MakeMaker ppd section:
# Creates a PPD (Perl Package Description) for a binary distribution.
ppd:
        @$(PERL) -e "print qq{<SOFTPKG NAME=\"$(DISTNAME)\"
VERSION=\"0,7008,0,0\">\n\t<TITLE>$(DISTNAME)</TITLE>\n\t<ABSTRACT></ABSTRACT>\n\t<AUTHOR></AUTHOR>\n}" > 
$(DISTNAME).ppd
        @$(PERL) -e "print qq{\t<IMPLEMENTATION>\n\t\t<DEPENDENCY
NAME=\"XML-Parser\" VERSION=\"0,0,0,0\" />\n\t\t<DEPENDENCY
NAME=\"XML-Writer\" VERSION=\"0,0,0,0\" />\n}" >> $(DISTNAME).ppd
        @$(PERL) -e "print qq{\t\t<OS NAME=\"$(OSNAME)\"
/>\n\t\t<ARCHITECTURE NAME=\"i386-linux-thread-multi\"
/>\n\t\t<CODEBASE HREF=\"\" />\n\t</IMPLEMENTATION>\n</SOFTPKG>\n}" >>
$(DISTNAME).ppd

# --- MakeMaker pm_to_blib section:

pm_to_blib: $(TO_INST_PM)
        @$(PERLRUNINST) "-MExtUtils::Install" \
        -e "pm_to_blib({qw{}},'$(INST_LIB)/auto','$(PM_FILTER)')"
        @$(TOUCH) $@

# --- MakeMaker selfdocument section:


# --- MakeMaker postamble section:


# End.

[marcus nsfm39 Gtk-Perl-0.7008]$ make
GtkVScrollbar.xs: In function `XS_Gtk__VScrollbar_new':
GtkVScrollbar.xs:17: warning: assignment from incompatible pointer type
GtkSelection.c: In function `XS_Gtk__Widget_selection_clear':
GtkSelection.c:170: warning: passing arg 2 of `gtk_selection_clear' from
incompatible pointer type
GtkSelection.c: In function `XS_Gtk__Widget_selection_request':
GtkSelection.c:202: warning: passing arg 2 of `gtk_selection_request'
from incompatible pointer type
GtkSelection.c: In function `XS_Gtk__Widget_selection_incr_event':
GtkSelection.c:232: warning: passing arg 2 of `gtk_selection_incr_event'
from incompatible pointer type
GtkSelection.c: In function `XS_Gtk__Widget_selection_notify':
GtkSelection.c:264: warning: passing arg 2 of `gtk_selection_notify'
from incompatible pointer type
GtkSelection.c: In function `XS_Gtk__Widget_selection_property_notify':
GtkSelection.c:296: warning: passing arg 2 of
`gtk_selection_property_notify' from incompatible pointer type
GtkOptionMenu.c: In function `XS_Gtk__OptionMenu_get_menu':
GtkOptionMenu.c:61: warning: assignment from incompatible pointer type
GtkOptionMenu.c: In function `XS_Gtk__OptionMenu_set_menu':
GtkOptionMenu.c:98: warning: passing arg 2 of `gtk_option_menu_set_menu'
from incompatible pointer type
GtkMenu.c: In function `XS_Gtk__Menu_get_active':
GtkMenu.c:241: warning: assignment from incompatible pointer type
Gtk.xs: In function `XS_Gtk_watch_add':
Gtk.xs:1202: warning: assignment from incompatible pointer type
Gtk.xs:1203: warning: assignment from incompatible pointer type
gcc: xs/GtkMenuBar.o: No such file or directory
gcc: xs/GtkCheckMenuItem.o: No such file or directory
gcc: xs/Gtk-1.2.o: No such file or directory
gcc: xs/GtkMenuItem.o: No such file or directory
gcc: xs/GtkCombo.o: No such file or directory
gcc: xs/GtkToggleButton.o: No such file or directory
gcc: xs/GtkCTree.o: No such file or directory
gcc: xs/GtkRange.o: No such file or directory
gcc: xs/GtkAlignment.o: No such file or directory
gcc: xs/GtkRadioButton.o: No such file or directory
gcc: xs/GtkLabel.o: No such file or directory
gcc: xs/GtkPreview.o: No such file or directory
gcc: xs/GtkMenuShell.o: No such file or directory
gcc: xs/GtkAspectFrame.o: No such file or directory
gcc: xs/GtkObject.o: No such file or directory
gcc: xs/GtkVScrollbar.o: No such file or directory
gcc: xs/GtkFileSelection.o: No such file or directory
gcc: xs/GtkHRuler.o: No such file or directory
gcc: xs/GtkArrow.o: No such file or directory
gcc: xs/GtkSocket.o: No such file or directory
gcc: xs/GtkViewport.o: No such file or directory
gcc: xs/GtkBox.o: No such file or directory
gcc: xs/GtkEntry.o: No such file or directory
gcc: xs/GtkTree.o: No such file or directory
gcc: xs/GtkList.o: No such file or directory
gcc: xs/GtkBin.o: No such file or directory
gcc: xs/GtkVRuler.o: No such file or directory
gcc: xs/GtkScrollbar.o: No such file or directory
gcc: xs/GtkFontSelection.o: No such file or directory
gcc: xs/GtkSelection.o: No such file or directory
gcc: xs/GtkItem.o: No such file or directory
gcc: xs/GtkItemFactory.o: No such file or directory
gcc: xs/GtkOptionMenu.o: No such file or directory
gcc: xs/GtkDrawingArea.o: No such file or directory
gcc: xs/GtkAccelGroup.o: No such file or directory
gcc: xs/GtkWindow.o: No such file or directory
gcc: xs/GtkTooltips.o: No such file or directory
gcc: xs/GtkStatusbar.o: No such file or directory
gcc: xs/GtkEventBox.o: No such file or directory
gcc: xs/GtkTreeItem.o: No such file or directory
gcc: xs/GtkCalendar.o: No such file or directory
gcc: xs/GtkImage.o: No such file or directory
gcc: xs/GtkPaned.o: No such file or directory
gcc: xs/GtkFrame.o: No such file or directory
gcc: xs/GtkPlug.o: No such file or directory
gcc: xs/GtkHScale.o: No such file or directory
gcc: xs/GtkVPaned.o: No such file or directory
gcc: xs/GtkSeparator.o: No such file or directory
gcc: xs/GtkScale.o: No such file or directory
gcc: xs/GtkAccelLabel.o: No such file or directory
gcc: xs/GtkProgressBar-1.1.o: No such file or directory
gcc: xs/GtkToolbar-1.1.6.o: No such file or directory
gcc: xs/GtkCList-1.2.o: No such file or directory
gcc: xs/GtkContainer.o: No such file or directory
gcc: xs/GtkMenu.o: No such file or directory
gcc: xs/GtkNotebook.o: No such file or directory
gcc: xs/GtkHBox.o: No such file or directory
gcc: xs/GtkToolbar.o: No such file or directory
gcc: xs/GtkCList.o: No such file or directory
gcc: xs/GtkTipsQuery.o: No such file or directory
gcc: xs/GtkCurve.o: No such file or directory
gcc: xs/GtkHScrollbar.o: No such file or directory
gcc: xs/GtkVButtonBox.o: No such file or directory
gcc: xs/Gtk-1.1.o: No such file or directory
gcc: xs/GtkCheckButton.o: No such file or directory
gcc: xs/GtkHPaned.o: No such file or directory
gcc: xs/Gtk.o: No such file or directory
gcc: xs/GtkVScale.o: No such file or directory
gcc: xs/GtkTable.o: No such file or directory
gcc: xs/GtkProgressBar.o: No such file or directory
gcc: xs/GtkDialog.o: No such file or directory
gcc: xs/GtkData.o: No such file or directory
gcc: xs/GtkPacker.o: No such file or directory
gcc: xs/GtkVBox.o: No such file or directory
gcc: xs/GtkText.o: No such file or directory
gcc: xs/GtkHandleBox.o: No such file or directory
gcc: xs/GtkHButtonBox.o: No such file or directory
gcc: xs/GtkInputDialog.o: No such file or directory
gcc: xs/GtkRuler.o: No such file or directory
gcc: xs/GtkColorSelectionDialog.o: No such file or directory
gcc: xs/GtkFixed.o: No such file or directory
gcc: xs/GtkTearoffMenuItem.o: No such file or directory
gcc: xs/GtkFontSelectionDialog.o: No such file or directory
gcc: xs/GtkLayout.o: No such file or directory
gcc: xs/GtkAdjustment.o: No such file or directory
gcc: xs/GtkPixmap.o: No such file or directory
gcc: xs/GtkColorSelection.o: No such file or directory
gcc: xs/GtkButtonBox.o: No such file or directory
gcc: xs/GtkVSeparator.o: No such file or directory
gcc: xs/GtkScrolledWindow.o: No such file or directory
gcc: xs/GtkGammaCurve.o: No such file or directory
gcc: xs/GtkProgress.o: No such file or directory
gcc: xs/GtkListItem.o: No such file or directory
gcc: xs/GtkButton.o: No such file or directory
gcc: xs/GtkMisc.o: No such file or directory
gcc: xs/GtkSpinButton.o: No such file or directory
gcc: xs/GtkHSeparator.o: No such file or directory
gcc: xs/GtkRadioMenuItem.o: No such file or directory
gcc: xs/GtkEditable.o: No such file or directory
gcc: xs/GtkInvisible.o: No such file or directory
gcc: xs/GtkWidget.o: No such file or directory
gcc: build/PerlGtkExt.o: No such file or directory
gcc: build/GtkDefs.o: No such file or directory
make[1]: *** [../blib/arch/auto/Gtk/Gtk.so] Error 1
make: *** [subdirs] Error 2







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]