Thread: [Arsperl-users] I am getting the following error when using nmake to make arsperl
Brought to you by:
jeffmurphy
|
From: John B. <fa...@ya...> - 2005-10-31 15:59:36
|
link -out:blib\arch\auto\ARS\ARS.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\Perl\lib\CORE" -machine:x86 ARS.obj support.obj supportrev.obj C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:ARS.def Creating library blib\arch\auto\ARS\ARS.lib and object blib\arch\auto\ARS\ARS.exp ARS.obj : error LNK2019: unresolved external symbol _FreeARQualifierStruct referenced in function _XS_ARS_ars_LoadQualifier ARS.obj : error LNK2019: unresolved external symbol _ARLoadARQualifierStruct referenced in function _XS_ARS_ars_LoadQualifier ARS.obj : error LNK2019: unresolved external symbol _ARSetServerPort referenced in function _XS_ARS_ars_SetServerPort ARS.obj : error LNK2019: unresolved external symbol _FreeARServerNameList referenced in function _XS_ARS_ars_Login ARS.obj : error LNK2019: unresolved external symbol _ARVerifyUser referenced in function _XS_ARS_ars_Login ARS.obj : error LNK2019: unresolved external symbol _ARTermination referenced in function _XS_ARS_ars_Login ARS.obj : error LNK2019: unresolved external symbol _ARGetListServer referenced in function _XS_ARS_ars_Login ARS.obj : error LNK2019: unresolved external symbol _ARInitialization referenced in function _XS_ARS_ars_Login ARS.obj : error LNK2019: unresolved external symbol _FreeARInternalIdList referenced in function _XS_ARS_ars_GetListField ARS.obj : error LNK2019: unresolved external symbol _ARGetListField referenced in function _XS_ARS_ars_GetListField ARS.obj : error LNK2019: unresolved external symbol _FreeARFieldValueList referenced in function _XS_ARS_ars_CreateEntry ARS.obj : error LNK2019: unresolved external symbol _ARCreateEntry referenced in function _XS_ARS_ars_CreateEntry ARS.obj : error LNK2019: unresolved external symbol _FreeAREntryIdList referenced in function _XS_ARS_ars_DeleteEntry ARS.obj : error LNK2019: unresolved external symbol _ARDeleteEntry referenced in function _XS_ARS_ars_DeleteEntry ARS.obj : error LNK2019: unresolved external symbol _FreeARLocStruct referenced in function _XS_ARS_ars_GetEntryBLOB ARS.obj : error LNK2019: unresolved external symbol _ARGetEntryBLOB referenced in function _XS_ARS_ars_GetEntryBLOB ARS.obj : error LNK2019: unresolved external symbol _ARGetEntry referenced in function _XS_ARS_ars_GetEntry ARS.obj : error LNK2019: unresolved external symbol _FreeAREntryListList referenced in function _XS_ARS_ars_GetListEntry ARS.obj : error LNK2019: unresolved external symbol _FreeARSortList referenced in function _XS_ARS_ars_GetListEntry ARS.obj : error LNK2019: unresolved external symbol _ARGetListEntry referenced in function _XS_ARS_ars_GetListEntry ARS.obj : error LNK2019: unresolved external symbol _FreeAREntryListFieldList referenced in function _XS_ARS_ars_GetListEntry ARS.obj : error LNK2019: unresolved external symbol _FreeARNameList referenced in function _XS_ARS_ars_GetListSchema ARS.obj : error LNK2019: unresolved external symbol _ARGetListSchema referenced in function _XS_ARS_ars_GetListSchema ARS.obj : error LNK2019: unresolved external symbol _FreeARContainerOwnerObjList referenced in function _XS_ARS_ars_GetListContainer ARS.obj : error LNK2019: unresolved external symbol _FreeARContainerInfoList referenced in function _XS_ARS_ars_GetListContainer ARS.obj : error LNK2019: unresolved external symbol _FreeARContainerTypeList referenced in function _XS_ARS_ars_GetListContainer ARS.obj : error LNK2019: unresolved external symbol _ARGetListContainer referenced in function _XS_ARS_ars_GetListContainer ARS.obj : error LNK2019: unresolved external symbol _FreeARPropList referenced in function _XS_ARS_ars_GetContainer ARS.obj : error LNK2019: unresolved external symbol _FreeARReferenceList referenced in function _XS_ARS_ars_GetContainer ARS.obj : error LNK2019: unresolved external symbol _FreeARPermissionList referenced in function _XS_ARS_ars_GetContainer ARS.obj : error LNK2019: unresolved external symbol _FreeARDiaryList referenced in function _XS_ARS_ars_GetContainer support.obj : error LNK2001: unresolved external symbol _FreeARDiaryList ARS.obj : error LNK2019: unresolved external symbol _ARDecodeDiary referenced in function _XS_ARS_ars_GetContainer support.obj : error LNK2019: unresolved external symbol _ARDecodeDiary referenced in function _perl_ARFilterActionNotify ARS.obj : error LNK2019: unresolved external symbol _ARGetContainer referenced in function _XS_ARS_ars_GetContainer ARS.obj : error LNK2019: unresolved external symbol _FreeARWorkflowConnectStruct referenced in function _XS_ARS_ars_GetActiveLink ARS.obj : error LNK2019: unresolved external symbol _FreeARActiveLinkActionList referenced in function _XS_ARS_ars_GetActiveLink ARS.obj : error LNK2019: unresolved external symbol _ARGetActiveLink referenced in function _XS_ARS_ars_GetActiveLink ARS.obj : error LNK2019: unresolved external symbol _FreeARFilterActionList referenced in function _XS_ARS_ars_GetFilter ARS.obj : error LNK2019: unresolved external symbol _ARGetFilter referenced in function _XS_ARS_ars_GetFilter ARS.obj : error LNK2019: unresolved external symbol _FreeARServerInfoRequestList referenced in function _XS_ARS_ars_GetServerStatistics ARS.obj : error LNK2019: unresolved external symbol _FreeARServerInfoList referenced in function _XS_ARS_ars_GetServerStatistics ARS.obj : error LNK2019: unresolved external symbol _ARGetServerStatistics referenced in function _XS_ARS_ars_GetServerStatistics ARS.obj : error LNK2019: unresolved external symbol _FreeARCharMenuStruct referenced in function _XS_ARS_ars_GetCharMenu support.obj : error LNK2001: unresolved external symbol _FreeARCharMenuStruct ARS.obj : error LNK2019: unresolved external symbol _ARGetCharMenu referenced in function _XS_ARS_ars_GetCharMenu ARS.obj : error LNK2019: unresolved external symbol _FreeARCompoundSchema referenced in function _XS_ARS_ars_GetSchema ARS.obj : error LNK2019: unresolved external symbol _FreeARIndexList referenced in function _XS_ARS_ars_GetSchema ARS.obj : error LNK2019: unresolved external symbol _ARGetSchema referenced in function _XS_ARS_ars_GetSchema ARS.obj : error LNK2019: unresolved external symbol _ARGetListActiveLink referenced in function _XS_ARS_ars_GetListActiveLink ARS.obj : error LNK2019: unresolved external symbol _FreeARStatusList referenced in function _XS_ARS_ars_GetField support.obj : error LNK2001: unresolved external symbol _FreeARStatusList ARS.obj : error LNK2019: unresolved external symbol _ARGetField referenced in function _XS_ARS_ars_GetField support.obj : error LNK2001: unresolved external symbol _ARGetField ARS.obj : error LNK2019: unresolved external symbol _FreeARDisplayInstanceList referenced in function _XS_ARS_ars_GetField ARS.obj : error LNK2019: unresolved external symbol _FreeARFieldLimitStruct referenced in function _XS_ARS_ars_GetField ARS.obj : error LNK2019: unresolved external symbol _ARSetEntry referenced in function _XS_ARS_ars_SetEntry ARS.obj : error LNK2019: unresolved external symbol _FreeARStructItemList referenced in function _XS_ARS_ars_Export ARS.obj : error LNK2019: unresolved external symbol _ARExport referenced in function _XS_ARS_ars_Export ARS.obj : error LNK2019: unresolved external symbol _ARImport referenced in function _XS_ARS_ars_Import ARS.obj : error LNK2019: unresolved external symbol _ARGetListFilter referenced in function _XS_ARS_ars_GetListFilter ARS.obj : error LNK2019: unresolved external symbol _ARGetListEscalation referenced in function _XS_ARS_ars_GetListEscalation ARS.obj : error LNK2019: unresolved external symbol _ARGetListCharMenu referenced in function _XS_ARS_ars_GetListCharMenu ARS.obj : error LNK2019: unresolved external symbol _ARDeleteActiveLink referenced in function _XS_ARS_ars_DeleteActiveLink ARS.obj : error LNK2019: unresolved external symbol _ARDeleteVUI referenced in function _XS_ARS_ars_DeleteVUI ARS.obj : error LNK2019: unresolved external symbol _ARDeleteCharMenu referenced in function _XS_ARS_ars_DeleteCharMenu ARS.obj : error LNK2019: unresolved external symbol _ARDeleteEscalation referenced in function _XS_ARS_ars_DeleteEscalation ARS.obj : error LNK2019: unresolved external symbol _ARDeleteField referenced in function _XS_ARS_ars_DeleteField ARS.obj : error LNK2019: unresolved external symbol _ARDeleteFilter referenced in function _XS_ARS_ars_DeleteFilter ARS.obj : error LNK2019: unresolved external symbol _ARDeleteSchema referenced in function _XS_ARS_ars_DeleteSchema ARS.obj : error LNK2019: unresolved external symbol _ARDeleteMultipleFields referenced in function _XS_ARS_ars_DeleteMultipleFields ARS.obj : error LNK2019: unresolved external symbol _ARExecuteProcess referenced in function _XS_ARS_ars_ExecuteProcess ARS.obj : error LNK2019: unresolved external symbol _ARGetEscalation referenced in function _XS_ARS_ars_GetEscalation ARS.obj : error LNK2019: unresolved external symbol _FreeARFullTextInfoList referenced in function _XS_ARS_ars_GetFullTextInfo ARS.obj : error LNK2019: unresolved external symbol _ARGetFullTextInfo referenced in function _XS_ARS_ars_GetFullTextInfo ARS.obj : error LNK2019: unresolved external symbol _FreeARGroupInfoList referenced in function _XS_ARS_ars_GetListGroup ARS.obj : error LNK2019: unresolved external symbol _ARGetListGroup referenced in function _XS_ARS_ars_GetListGroup ARS.obj : error LNK2019: unresolved external symbol _FreeARValueListList referenced in function _XS_ARS_ars_GetListSQL ARS.obj : error LNK2019: unresolved external symbol _ARGetListSQL referenced in function _XS_ARS_ars_GetListSQL ARS.obj : error LNK2019: unresolved external symbol _FreeARUserInfoList referenced in function _XS_ARS_ars_GetListUser ARS.obj : error LNK2019: unresolved external symbol _ARGetListUser referenced in function _XS_ARS_ars_GetListUser ARS.obj : error LNK2019: unresolved external symbol _ARGetListVUI referenced in function _XS_ARS_ars_GetListVUI ARS.obj : error LNK2019: unresolved external symbol _ARSetServerInfo referenced in function _XS_ARS_ars_SetServerInfo ARS.obj : error LNK2019: unresolved external symbol _ARGetServerInfo referenced in function _XS_ARS_ars_GetServerInfo ARS.obj : error LNK2019: unresolved external symbol _ARGetVUI referenced in function _XS_ARS_ars_GetVUI ARS.obj : error LNK2019: unresolved external symbol _ARCreateActiveLink referenced in function _XS_ARS_ars_CreateActiveLink ARS.obj : error LNK2019: unresolved external symbol _ARMergeEntry referenced in function _XS_ARS_ars_MergeEntry ARS.obj : error LNK2019: unresolved external symbol _FreeARBooleanList referenced in function _XS_ARS_ars_GetMultipleEntries ARS.obj : error LNK2019: unresolved external symbol _FreeARFieldValueListList referenced in function _XS_ARS_ars_GetMultipleEntries ARS.obj : error LNK2019: unresolved external symbol _FreeAREntryIdListList referenced in function _XS_ARS_ars_GetMultipleEntries ARS.obj : error LNK2019: unresolved external symbol _ARGetMultipleEntries referenced in function _XS_ARS_ars_GetMultipleEntries ARS.obj : error LNK2019: unresolved external symbol _FreeAREntryListFieldValueList referenced in function _XS_ARS_ars_GetListEntryWithFields ARS.obj : error LNK2019: unresolved external symbol _ARGetListEntryWithFields referenced in function _XS_ARS_ars_GetListEntryWithFields ARS.obj : error LNK2019: unresolved external symbol _ARSetLogging referenced in function _XS_ARS_ars_SetLogging ARS.obj : error LNK2019: unresolved external symbol _ARRegisterForAlerts referenced in function _XS_ARS_ars_RegisterForAlerts ARS.obj : error LNK2019: unresolved external symbol _ARDeregisterForAlerts referenced in function _XS_ARS_ars_DeregisterForAlerts ARS.obj : error LNK2019: unresolved external symbol _ARGetListAlertUser referenced in function _XS_ARS_ars_GetListAlertUser ARS.obj : error LNK2019: unresolved external symbol _ARGetAlertCount referenced in function _XS_ARS_ars_GetAlertCount ARS.obj : error LNK2019: unresolved external symbol _ARDecodeAlertMessage referenced in function _XS_ARS_ars_DecodeAlertMessage ARS.obj : error LNK2019: unresolved external symbol _ARCreateAlertEvent referenced in function _XS_ARS_ars_CreateAlertEvent support.obj : error LNK2019: unresolved external symbol _ARExpandCharMenu referenced in function _perl_expandARCharMenuStruct blib\arch\auto\ARS\ARS.dll : fatal error LNK1120: 96 unresolved externals __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |
|
From: Jeff M. <jcm...@je...> - 2005-10-31 16:12:28
|
On Mon, 2005-10-31 at 07:58 -0800, John Brown wrote: > link -out:blib\arch\auto\ARS\ARS.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf > -libpath:"c:\Perl\lib\CORE" -machine:x86 ARS.obj support.obj supportrev.obj > C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib > comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib > mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:ARS.def > Creating library blib\arch\auto\ARS\ARS.lib and object blib\arch\auto\ARS\ARS.exp > ARS.obj : error LNK2019: unresolved external symbol _FreeARQualifierStruct referenced in function > _XS_ARS_ars_LoadQualifier > ARS.obj : error LNK2019: unresolved external symbol _ARLoadARQualifierStruct r the API library isnt being found, Makefile.PL doesn't point to the correct location (unlikely since it must've found the header files in order to get that far) or something along those lines. the linker should be referencing the arapi dll's, but isnt jeff |
|
From: John B. <fa...@ya...> - 2005-10-31 16:27:33
|
Here are the contents of the makefile. I could not find any references to DLLs in it. The
installation file references two files which do not exist on my machine (Arapi.lib and nts.lib)
and there is no indication how to add these paths:
"Under WindowsNT you will need to insert the appropriate libraries
(arapi.lib and nts.lib) from the API kit included with NT Server,
and the path to the include files, into Makefile.pl (or the resulting
Makfile). "
Has ANYONE tried to make ARSPerl run under windows lately?
Env: Stand Alone Windows XP Professional, SQL Server 2000, ARS 5.12, Perl 5.x, ARSPerl 1.85
# This Makefile is for the ARS extension to perl.
#
# It was generated automatically by MakeMaker version
# 6.17 (Revision: 1.133) 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:
# ABSTRACT => q[ARSperl is an integration kit for Perl5 and the Remedy Action Request System.]
# AUTHOR => q[ARSPerl Dev Group <ars...@ar...>]
# CAPI => q[TRUE]
# DEFINE => q[ -D_WIN32 -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=7
-DPERL_BASEREV_IS=50 ]
# INC => q[-IC:/ARSystem/Arserver/Api/include]
# LIBS => [q[-LC:/ARSystem/Arserver/Api/lib -lar -lnsl]]
# NAME => q[ARS]
# OBJECT => q[ARS$(OBJ_EXT) support$(OBJ_EXT) supportrev$(OBJ_EXT) ]
# PM => { ARSarerrno-h.pm=>q[$(INST_LIBDIR)/ARSarerrno-h.pm],
ARSnparm.pm=>q[$(INST_LIBDIR)/ARSnparm.pm], _h2ph_pre.ph=>q[$(INST_LIBDIR)/_h2ph_pre.ph],
ARSar-h.pm=>q[$(INST_LIBDIR)/ARSar-h.pm], ARSnterrno-h.pm=>q[$(INST_LIBDIR)/ARSnterrno-h.pm],
ARSnt-h.pm=>q[$(INST_LIBDIR)/ARSnt-h.pm], ARSOOsup.pm=>q[$(INST_LIBDIR)/ARSOOsup.pm],
ARSOOmsgs.pm=>q[$(INST_LIBDIR)/ARSOOmsgs.pm], ARSOOform.pm=>q[$(INST_LIBDIR)/ARSOOform.pm],
ARS.pm=>q[$(INST_LIBDIR)/ARS.pm] }
# VERSION_FROM => q[ARS.pm]
# realclean => { FILES=>q[support.h ARSar-h.pm ARSarerrno-h.pm ARSnt-h.pm ARSnterrno-h.pm
t/config.cache serverTypeInfoHints.h *~ .purify *-h.pm _h2ph_pre.ph artypes.ph ] }
# --- MakeMaker post_initialize section:
# --- MakeMaker const_config section:
# These definitions are from config.sh (via c:/Perl/lib/Config.pm)
# They may have been overridden via Makefile.PL or on the command line
AR = lib
CC = cl
CCCDLFLAGS =
CCDLFLAGS =
DLEXT = dll
DLSRC = dl_win32.xs
LD = link
LDDLFLAGS = -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\Perl\lib\CORE"
-machine:x86
LDFLAGS = -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\Perl\lib\CORE" -machine:x86
LIBC = msvcrt.lib
LIB_EXT = .lib
OBJ_EXT = .obj
OSNAME = MSWin32
OSVERS = 5.0
RANLIB = rem
SITELIBEXP = c:\Perl\site\lib
SITEARCHEXP = c:\Perl\site\lib
SO = dll
EXE_EXT = .exe
FULL_AR =
VENDORARCHEXP =
VENDORLIBEXP =
# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
DIRFILESEP = ^\
NAME = ARS
NAME_SYM = ARS
VERSION = 1.84
VERSION_MACRO = VERSION
VERSION_SYM = 1_84
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
XS_VERSION = 1.84
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
INST_ARCHLIB = blib\arch
INST_SCRIPT = blib\script
INST_BIN = blib\bin
INST_LIB = blib\lib
INST_MAN1DIR = blib\man1
INST_MAN3DIR = blib\man3
MAN1EXT = 1
MAN3EXT = 3
INSTALLDIRS = site
DESTDIR =
PREFIX =
PERLPREFIX = c:\Perl
SITEPREFIX = c:\Perl\site
VENDORPREFIX =
INSTALLPRIVLIB = $(PERLPREFIX)\lib
DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
INSTALLSITELIB = $(SITEPREFIX)\lib
DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
INSTALLVENDORLIB =
DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
INSTALLARCHLIB = $(PERLPREFIX)\lib
DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
INSTALLSITEARCH = $(SITEPREFIX)\lib
DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
INSTALLVENDORARCH =
DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
INSTALLBIN = $(PERLPREFIX)\bin
DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
INSTALLSITEBIN = c:\Perl\bin
DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
INSTALLVENDORBIN =
DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
INSTALLSCRIPT = $(PERLPREFIX)\bin
DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
INSTALLMAN1DIR = $(PERLPREFIX)\man\man1
DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
INSTALLSITEMAN1DIR = C:\Perl\site\man\man1
DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
INSTALLVENDORMAN1DIR =
DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
INSTALLMAN3DIR = $(PERLPREFIX)\man\man3
DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
INSTALLSITEMAN3DIR = C:\Perl\site\man\man3
DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
INSTALLVENDORMAN3DIR =
DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
PERL_LIB = c:\Perl\lib
PERL_ARCHLIB = c:\Perl\lib
LIBPERL_A = libperl.lib
FIRST_MAKEFILE = Makefile
MAKEFILE_OLD = $(FIRST_MAKEFILE).old
MAKE_APERL_FILE = $(FIRST_MAKEFILE).aperl
PERLMAINCC = $(CC)
PERL_INC = C:\Perl\lib\CORE
PERL = C:\Perl\bin\perl.exe
FULLPERL = C:\Perl\bin\perl.exe
ABSPERL = $(PERL)
PERLRUN = $(PERL)
FULLPERLRUN = $(FULLPERL)
ABSPERLRUN = $(ABSPERL)
PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
PERL_CORE = 0
PERM_RW = 644
PERM_RWX = 755
MAKEMAKER = c:/Perl/lib/ExtUtils/MakeMaker.pm
MM_VERSION = 6.17
MM_REVISION = 1.133
# 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 = ARS
BASEEXT = ARS
PARENT_NAME =
DLBASE = $(BASEEXT)
VERSION_FROM = ARS.pm
INC = -IC:/ARSystem/Arserver/Api/include
DEFINE = -D_WIN32 -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=7
-DPERL_BASEREV_IS=50
OBJECT = ARS$(OBJ_EXT) support$(OBJ_EXT) supportrev$(OBJ_EXT)
LDFROM = $(OBJECT)
LINKTYPE = dynamic
# Handy lists of source code files:
XS_FILES = ARS.xs
C_FILES = ARS.c \
support.c \
supportrev.c
O_FILES = ARS.obj \
support.obj \
supportrev.obj
H_FILES = serverTypeInfoHints.h \
support.h \
supportrev.h
MAN1PODS =
MAN3PODS =
# Where is the Config information that we are using/depend on
CONFIGDEP = $(PERL_ARCHLIB)$(DIRFILESEP)Config.pm $(PERL_INC)$(DIRFILESEP)config.h
# Where to build things
INST_LIBDIR = $(INST_LIB)
INST_ARCHLIBDIR = $(INST_ARCHLIB)
INST_AUTODIR = $(INST_LIB)\auto\$(FULLEXT)
INST_ARCHAUTODIR = $(INST_ARCHLIB)\auto\$(FULLEXT)
INST_STATIC = $(INST_ARCHAUTODIR)\$(BASEEXT)$(LIB_EXT)
INST_DYNAMIC = $(INST_ARCHAUTODIR)\$(DLBASE).$(DLEXT)
INST_BOOT = $(INST_ARCHAUTODIR)\$(BASEEXT).bs
# Extra linker info
EXPORT_LIST = $(BASEEXT).def
PERL_ARCHIVE = $(PERL_INC)\perl58.lib
PERL_ARCHIVE_AFTER =
TO_INST_PM = ARS.pm \
ARSOOform.pm \
ARSOOmsgs.pm \
ARSOOsup.pm \
ARSar-h.pm \
ARSarerrno-h.pm \
ARSnparm.pm \
ARSnt-h.pm \
ARSnterrno-h.pm \
_h2ph_pre.ph
PM_TO_BLIB = ARSarerrno-h.pm \
$(INST_LIBDIR)/ARSarerrno-h.pm \
ARSnparm.pm \
$(INST_LIBDIR)/ARSnparm.pm \
_h2ph_pre.ph \
$(INST_LIBDIR)/_h2ph_pre.ph \
ARSar-h.pm \
$(INST_LIBDIR)/ARSar-h.pm \
ARSnterrno-h.pm \
$(INST_LIBDIR)/ARSnterrno-h.pm \
ARSnt-h.pm \
$(INST_LIBDIR)/ARSnt-h.pm \
ARSOOsup.pm \
$(INST_LIBDIR)/ARSOOsup.pm \
ARSOOmsgs.pm \
$(INST_LIBDIR)/ARSOOmsgs.pm \
ARSOOform.pm \
$(INST_LIBDIR)/ARSOOform.pm \
ARS.pm \
$(INST_LIBDIR)/ARS.pm
# --- MakeMaker platform_constants section:
MM_Win32_VERSION = 1.09
# --- 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:
XSUBPPDIR = C:\Perl\lib\ExtUtils
XSUBPP = $(XSUBPPDIR)/xsubpp
XSPROTOARG =
XSUBPPDEPS = C:\Perl\lib\ExtUtils\typemap typemap $(XSUBPP)
XSUBPPARGS = -typemap C:\Perl\lib\ExtUtils\typemap -typemap typemap
XSUBPP_EXTRA_ARGS =
# --- MakeMaker tools_other section:
CHMOD = $(PERLRUN) -MExtUtils::Command -e chmod
CP = $(PERLRUN) -MExtUtils::Command -e cp
MV = $(PERLRUN) -MExtUtils::Command -e mv
NOOP = rem
NOECHO = @
RM_F = $(PERLRUN) -MExtUtils::Command -e rm_f
RM_RF = $(PERLRUN) -MExtUtils::Command -e rm_rf
TEST_F = $(PERLRUN) -MExtUtils::Command -e test_f
TOUCH = $(PERLRUN) -MExtUtils::Command -e touch
UMASK_NULL = umask 0
DEV_NULL = > NUL
MKPATH = $(PERLRUN) "-MExtUtils::Command" -e mkpath
EQUALIZE_TIMESTAMP = $(PERLRUN) "-MExtUtils::Command" -e eqtime
ECHO = $(PERLRUN) -l -e "print qq{@ARGV}"
ECHO_N = $(PERLRUN) -e "print qq{@ARGV}"
UNINST = 0
VERBINST = 0
MOD_INSTALL = $(PERLRUN) -MExtUtils::Install -e "install({@ARGV}, '$(VERBINST)', 0, '$(UNINST)');"
DOC_INSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e perllocal_install
UNINSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e uninstall
WARN_IF_OLD_PACKLIST = $(PERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist
# --- MakeMaker makemakerdflt section:
makemakerdflt: all
$(NOECHO) $(NOOP)
# --- MakeMaker dist section:
TAR = tar
TARFLAGS = cvf
ZIP = zip
ZIPFLAGS = -r
COMPRESS = gzip --best
SUFFIX = .gz
SHAR = shar
PREOP = $(NOECHO) $(NOOP)
POSTOP = $(NOECHO) $(NOOP)
TO_UNIX = $(NOECHO) $(NOOP)
CI = ci -u
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
DIST_CP = best
DIST_DEFAULT = tardist
DISTNAME = ARS
DISTVNAME = ARS-1.84
# --- MakeMaker macro section:
# --- MakeMaker depend section:
# --- MakeMaker cflags section:
CCFLAGS = -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
-DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
OPTIMIZE = -MD -Zi -DNDEBUG -O1
PERLTYPE =
MPOLLUTE =
# --- MakeMaker const_loadlibs section:
# ARS might depend on some other libraries:
# See ExtUtils::Liblist for details
#
LDLOADLIBS = oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib
winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
LD_RUN_PATH =
# --- MakeMaker const_cccmd section:
CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \
$(CCFLAGS) $(OPTIMIZE) \
$(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
$(XS_DEFINE_VERSION)
# --- MakeMaker post_constants section:
# --- MakeMaker pasthru section:
PASTHRU = -nologo
# --- MakeMaker special_targets section:
.SUFFIXES: .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
.PHONY: all config static dynamic test linkext manifest
# --- MakeMaker c_o section:
.c.i:
cl -nologo -E -c $(PASTHRU_INC) $(INC) \
$(CCFLAGS) $(OPTIMIZE) \
$(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
$(XS_DEFINE_VERSION) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c > $*.i
.c.s:
$(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
.c$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
.cpp$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cpp
.cxx$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cxx
.cc$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cc
# --- MakeMaker xs_c section:
.xs.c:
$(PERLRUN) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc && $(MV)
$*.xsc $*.c
# --- MakeMaker xs_o section:
# --- MakeMaker top_targets section:
all :: pure_all
$(NOECHO) $(NOOP)
pure_all :: config pm_to_blib subdirs linkext
$(NOECHO) $(NOOP)
subdirs :: $(MYEXTLIB)
$(NOECHO) $(NOOP)
config :: $(FIRST_MAKEFILE) $(INST_LIBDIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
config :: $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
config :: $(INST_AUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
$(INST_AUTODIR)\.exists :: C:\Perl\lib\CORE\perl.h
$(NOECHO) $(MKPATH) $(INST_AUTODIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) C:\Perl\lib\CORE\perl.h $(INST_AUTODIR)\.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_AUTODIR)
$(INST_LIBDIR)\.exists :: C:\Perl\lib\CORE\perl.h
$(NOECHO) $(MKPATH) $(INST_LIBDIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) C:\Perl\lib\CORE\perl.h $(INST_LIBDIR)\.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_LIBDIR)
$(INST_ARCHAUTODIR)\.exists :: C:\Perl\lib\CORE\perl.h
$(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) C:\Perl\lib\CORE\perl.h $(INST_ARCHAUTODIR)\.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_ARCHAUTODIR)
$(O_FILES): $(H_FILES)
help:
perldoc ExtUtils::MakeMaker
# --- MakeMaker linkext section:
linkext :: $(LINKTYPE)
$(NOECHO) $(NOOP)
# --- MakeMaker dlsyms section:
ARS.def: Makefile.PL
$(PERLRUN) -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"ARS\", 'DLBASE' => '$(BASEEXT)', 'DL_FUNCS' => { }, 'FUNCLIST' =>
[], 'IMPORTS' => { }, 'DL_VARS' => []);"
# --- MakeMaker dynamic section:
dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
$(NOECHO) $(NOOP)
# --- MakeMaker dynamic_bs section:
BOOTSTRAP = $(BASEEXT).bs
# As Mkbootstrap might not write a file (if none is required)
# we use touch to prevent make continually trying to remake it.
# The DynaLoader only reads a non-empty file.
$(BOOTSTRAP): $(FIRST_MAKEFILE) $(BOOTDEP) $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(ECHO) "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
$(NOECHO) $(PERLRUN) \
"-MExtUtils::Mkbootstrap" \
-e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');"
$(NOECHO) $(TOUCH) $(BOOTSTRAP)
$(CHMOD) $(PERM_RW) $@
$(INST_BOOT): $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(RM_RF) $(INST_BOOT)
-$(CP) $(BOOTSTRAP) $(INST_BOOT)
$(CHMOD) $(PERM_RW) $@
# --- MakeMaker dynamic_lib section:
# This section creates the dynamically loadable $(INST_DYNAMIC)
# from $(OBJECT) and possibly $(MYEXTLIB).
OTHERLDFLAGS =
INST_DYNAMIC_DEP =
$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(EXPORT_LIST) $(PERL_ARCHIVE) $(INST_DYNAMIC_DEP)
$(LD) -out:$@ $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS)
-def:$(EXPORT_LIST)
$(CHMOD) $(PERM_RWX) $@
# --- 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 :: $(FIRST_MAKEFILE) $(INST_STATIC)
$(NOECHO) $(NOOP)
# --- MakeMaker static_lib section:
$(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(RM_RF) $@
$(AR) -out:$@ $(OBJECT)
$(CHMOD) $(PERM_RWX) $@
$(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)\extralibs.ld
# --- MakeMaker manifypods section:
POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
POD2MAN = $(POD2MAN_EXE)
manifypods : pure_all
$(NOECHO) $(NOOP)
# --- MakeMaker processPL section:
# --- MakeMaker installbin section:
# --- MakeMaker subdirs section:
# none
# --- MakeMaker clean_subdirs section:
clean_subdirs :
$(NOECHO) $(NOOP)
# --- 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 :: clean_subdirs
-$(RM_RF) ARS.c ./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all
$(INST_ARCHAUTODIR)/extralibs.ld 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 core.[0-9]
core.[0-9][0-9] core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9]
-$(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
clean ::
-$(RM_F) *.pdb
# --- MakeMaker realclean_subdirs section:
realclean_subdirs :
$(NOECHO) $(NOOP)
# --- MakeMaker realclean section:
# Delete temporary files (via clean) and also delete installed files
realclean purge :: clean realclean_subdirs
$(RM_RF) $(INST_AUTODIR) $(INST_ARCHAUTODIR)
$(RM_RF) $(DISTVNAME)
$(RM_F) $(INST_DYNAMIC) $(INST_BOOT)
$(RM_F) $(INST_STATIC)
$(RM_F) $(INST_LIBDIR)/ARSOOmsgs.pm $(INST_LIBDIR)/ARSnparm.pm $(INST_LIBDIR)/ARSarerrno-h.pm
$(INST_LIBDIR)/ARSOOsup.pm $(MAKEFILE_OLD)
$(RM_F) support.h ARSar-h.pm ARSarerrno-h.pm ARSnt-h.pm ARSnterrno-h.pm t/config.cache
serverTypeInfoHints.h *~ .purify *-h.pm _h2ph_pre.ph artypes.ph $(INST_LIBDIR)/ARSnt-h.pm
$(INST_LIBDIR)/ARS.pm
$(RM_F) $(INST_LIBDIR)/ARSar-h.pm $(INST_LIBDIR)/_h2ph_pre.ph $(INST_LIBDIR)/ARSnterrno-h.pm
$(FIRST_MAKEFILE) $(INST_LIBDIR)/ARSOOform.pm
# --- MakeMaker metafile section:
metafile :
$(NOECHO) $(ECHO) "# http://module-build.sourceforge.net/META-spec.html" > META.yml
$(NOECHO) $(ECHO) "#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#" >>
META.yml
$(NOECHO) $(ECHO) "name: ARS" >> META.yml
$(NOECHO) $(ECHO) "version: 1.84" >> META.yml
$(NOECHO) $(ECHO) "version_from: ARS.pm" >> META.yml
$(NOECHO) $(ECHO) "installdirs: site" >> META.yml
$(NOECHO) $(ECHO) "requires:" >> META.yml
$(NOECHO) $(ECHO) "" >> META.yml
$(NOECHO) $(ECHO) "distribution_type: module" >> META.yml
$(NOECHO) $(ECHO) "generated_by: ExtUtils::MakeMaker version 6.17" >> META.yml
# --- MakeMaker metafile_addtomanifest section:
metafile_addtomanifest:
$(NOECHO) $(PERLRUN) -MExtUtils::Manifest=maniadd -e "eval { maniadd({q{META.yml} => q{Module
meta-data (added by MakeMaker)}}) } \
or print \"Could not add META.yml to MANIFEST: $${'@'}\n\""
# --- 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) $(FIRST_MAKEFILE)
$(NOECHO) $(PERLRUN) -l -e "print 'Warning: Makefile possibly out of date with $(VERSION_FROM)'\
if -e '$(VERSION_FROM)' and -M '$(VERSION_FROM)' < -M '$(FIRST_MAKEFILE)';"
tardist : $(DISTVNAME).tar$(SUFFIX)
$(NOECHO) $(NOOP)
uutardist : $(DISTVNAME).tar$(SUFFIX)
uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu
$(DISTVNAME).tar$(SUFFIX) : distdir
$(PREOP)
$(TO_UNIX)
$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
$(RM_RF) $(DISTVNAME)
$(COMPRESS) $(DISTVNAME).tar
$(POSTOP)
zipdist : $(DISTVNAME).zip
$(NOECHO) $(NOOP)
$(DISTVNAME).zip : distdir
$(PREOP)
$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
$(RM_RF) $(DISTVNAME)
$(POSTOP)
shdist : distdir
$(PREOP)
$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
$(RM_RF) $(DISTVNAME)
$(POSTOP)
# --- MakeMaker distdir section:
distdir : metafile metafile_addtomanifest
$(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(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
-e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(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
pure__install : pure_site_install
$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
doc__install : doc_site_install
$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
pure_perl_install ::
$(NOECHO) $(MOD_INSTALL) \
read $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist \
write $(DESTINSTALLARCHLIB)\auto\$(FULLEXT)\.packlist \
$(INST_LIB) $(DESTINSTALLPRIVLIB) \
$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
$(INST_BIN) $(DESTINSTALLBIN) \
$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
$(SITEARCHEXP)\auto\$(FULLEXT)
pure_site_install ::
$(NOECHO) $(MOD_INSTALL) \
read $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist \
write $(DESTINSTALLSITEARCH)\auto\$(FULLEXT)\.packlist \
$(INST_LIB) $(DESTINSTALLSITELIB) \
$(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
$(INST_BIN) $(DESTINSTALLSITEBIN) \
$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
$(PERL_ARCHLIB)\auto\$(FULLEXT)
pure_vendor_install ::
$(NOECHO) $(MOD_INSTALL) \
read $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist \
write $(DESTINSTALLVENDORARCH)\auto\$(FULLEXT)\.packlist \
$(INST_LIB) $(DESTINSTALLVENDORLIB) \
$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
$(INST_BIN) $(DESTINSTALLVENDORBIN) \
$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
doc_perl_install ::
$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
-$(NOECHO) $(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLPRIVLIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(DESTINSTALLARCHLIB)\perllocal.pod
doc_site_install ::
$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
-$(NOECHO) $(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLSITELIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(DESTINSTALLARCHLIB)\perllocal.pod
doc_vendor_install ::
$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
-$(NOECHO) $(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLVENDORLIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(DESTINSTALLARCHLIB)\perllocal.pod
uninstall :: uninstall_from_$(INSTALLDIRS)dirs
uninstall_from_perldirs ::
$(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist
uninstall_from_sitedirs ::
$(NOECHO) $(UNINSTALL) $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist
uninstall_from_vendordirs ::
$(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist
# --- MakeMaker force section:
# Phony target to force checking subdirectories.
FORCE:
$(NOECHO) $(NOOP)
# --- MakeMaker perldepend section:
PERL_HDRS = \
$(PERL_INC)/EXTERN.h \
$(PERL_INC)/INTERN.h \
$(PERL_INC)/XSUB.h \
$(PERL_INC)/av.h \
$(PERL_INC)/cc_runtime.h \
$(PERL_INC)/config.h \
$(PERL_INC)/cop.h \
$(PERL_INC)/cv.h \
$(PERL_INC)/dosish.h \
$(PERL_INC)/embed.h \
$(PERL_INC)/embedvar.h \
$(PERL_INC)/fakethr.h \
$(PERL_INC)/form.h \
$(PERL_INC)/gv.h \
$(PERL_INC)/handy.h \
$(PERL_INC)/hv.h \
$(PERL_INC)/intrpvar.h \
$(PERL_INC)/iperlsys.h \
$(PERL_INC)/keywords.h \
$(PERL_INC)/mg.h \
$(PERL_INC)/nostdio.h \
$(PERL_INC)/op.h \
$(PERL_INC)/opcode.h \
$(PERL_INC)/patchlevel.h \
$(PERL_INC)/perl.h \
$(PERL_INC)/perlio.h \
$(PERL_INC)/perlsdio.h \
$(PERL_INC)/perlsfio.h \
$(PERL_INC)/perlvars.h \
$(PERL_INC)/perly.h \
$(PERL_INC)/pp.h \
$(PERL_INC)/pp_proto.h \
$(PERL_INC)/proto.h \
$(PERL_INC)/regcomp.h \
$(PERL_INC)/regexp.h \
$(PERL_INC)/regnodes.h \
$(PERL_INC)/scope.h \
$(PERL_INC)/sv.h \
$(PERL_INC)/thrdvar.h \
$(PERL_INC)/thread.h \
$(PERL_INC)/unixish.h \
$(PERL_INC)/util.h
$(OBJECT) : $(PERL_HDRS)
ARS.c : $(XSUBPPDEPS)
# --- MakeMaker makefile section:
$(OBJECT) : $(FIRST_MAKEFILE)
# We take a very conservative approach here, but it's worth it.
# We move Makefile to Makefile.old here to avoid gnu make looping.
$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
$(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
-$(MAKE) -f $(MAKEFILE_OLD) clean $(DEV_NULL) || $(NOOP)
$(PERLRUN) Makefile.PL
$(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
$(NOECHO) $(ECHO) "==> Please rerun the make command. <=="
false
# --- MakeMaker staticmake section:
# --- MakeMaker makeaperl section ---
MAP_TARGET = perl
FULLPERL = C:\Perl\bin\perl.exe
$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
$(MAKE) -f $(MAKE_APERL_FILE) $@
$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
$(NOECHO) $(PERLRUNINST) \
Makefile.PL DIR= \
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 = t\00connect.t t\01import.t t\02export.t t\09qualifier.t t\10alink.t t\10entry.t
t\10getescalation.t t\10getftinfo.t t\10getlist.t t\11entry.t t\12lotsoffields.t t\13join.t
t\20merge.t t\21setlogging.t
TESTDB_SW = -d
testdb :: testdb_$(LINKTYPE)
test :: $(TEST_TYPE)
test_dynamic :: pure_all
$(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)',
'$(INST_ARCHLIB)')" $(TEST_FILES)
testdb_dynamic :: pure_all
$(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
test_ : test_dynamic
test_static :: pure_all $(MAP_TARGET)
./$(MAP_TARGET) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)',
'$(INST_ARCHLIB)')" $(TEST_FILES)
testdb_static :: pure_all $(MAP_TARGET)
./$(MAP_TARGET) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
# --- MakeMaker ppd section:
# Creates a PPD (Perl Package Description) for a binary distribution.
ppd:
$(NOECHO) $(ECHO) "<SOFTPKG NAME=\"$(DISTNAME)\" VERSION=\"1,84,0,0\">" > $(DISTNAME).ppd
$(NOECHO) $(ECHO) " <TITLE>$(DISTNAME)</TITLE>" >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) " <ABSTRACT>ARSperl is an integration kit for Perl5 and the Remedy Action
Request System.</ABSTRACT>" >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) " <AUTHOR>ARSPerl Dev Group <ars...@ar...></AUTHOR>" >>
$(DISTNAME).ppd
$(NOECHO) $(ECHO) " <IMPLEMENTATION>" >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) " <OS NAME=\"$(OSNAME)\" />" >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) " <ARCHITECTURE NAME=\"MSWin32-x86-multi-thread-5.8\" />" >>
$(DISTNAME).ppd
$(NOECHO) $(ECHO) " <CODEBASE HREF=\"\" />" >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) " </IMPLEMENTATION>" >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) "</SOFTPKG>" >> $(DISTNAME).ppd
# --- MakeMaker pm_to_blib section:
pm_to_blib: $(TO_INST_PM)
$(NOECHO) $(PERLRUN) -MExtUtils::Install -e "pm_to_blib({@ARGV}, '$(INST_LIB)\auto',
'$(PM_FILTER)')"\
ARSarerrno-h.pm $(INST_LIBDIR)/ARSarerrno-h.pm \
ARSnparm.pm $(INST_LIBDIR)/ARSnparm.pm \
_h2ph_pre.ph $(INST_LIBDIR)/_h2ph_pre.ph \
ARSar-h.pm $(INST_LIBDIR)/ARSar-h.pm \
ARSnterrno-h.pm $(INST_LIBDIR)/ARSnterrno-h.pm \
ARSnt-h.pm $(INST_LIBDIR)/ARSnt-h.pm \
ARSOOsup.pm $(INST_LIBDIR)/ARSOOsup.pm \
ARSOOmsgs.pm $(INST_LIBDIR)/ARSOOmsgs.pm \
ARSOOform.pm $(INST_LIBDIR)/ARSOOform.pm \
ARS.pm $(INST_LIBDIR)/ARS.pm
$(NOECHO) $(TOUCH) $@
# --- MakeMaker selfdocument section:
# --- MakeMaker postamble section:
# End.
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
|
|
From: Jeff M. <jcm...@je...> - 2005-10-31 16:39:28
|
On Mon, 2005-10-31 at 08:26 -0800, John Brown wrote: > Here are the contents of the makefile. I could not find any references to DLLs in it. The > installation file references two files which do not exist on my machine (Arapi.lib and nts.lib) > and there is no indication how to add these paths: you need those files. you edit Makefile.PL and change the $ARSAPI variable so that it points to where those files are (well, actually it points to the folder _above_ the 'lib' folder that those files are in). you then do the 'perl Makefile.PL' and 'nmake' those files are in the AR System windows server package. you can copy them off of your ar system server. if you dont have access to the server, you can extract the API files from the self-installer by passing some options to the installshield setup.exe program to cause it to not delete the extracted packages. unfortunately, i dont recall what those options are. > > "Under WindowsNT you will need to insert the appropriate libraries > (arapi.lib and nts.lib) from the API kit included with NT Server, > and the path to the include files, into Makefile.pl (or the resulting > Makfile). " > > Has ANYONE tried to make ARSPerl run under windows lately? yes. it builds under windows. jeff |
|
From: John B. <fa...@ya...> - 2005-10-31 17:31:34
|
The machine I am building on has the ARServer 5.12 patch 1385 installed locally to the C:\ARSystem directory. I included the API files in the installation options. Those files do not exist on my system at all. How have you been able to get ARSPerl to work in a windows environment? I have a brand new install of remedy 5.12 patch 1385, ms-sql 2000, activeperl 5.8.7 build 513. Is there a ppd available for version 5.85 of ARSPerl? __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |
|
From: Michiel B. <mic...@gm...> - 2005-11-01 14:04:29
|
Hi John, There is a .zip file for the 1.84 arsperl release: http://prdownloads.sourceforge.net/arsperl/arsperl_184_63.zip?download this contains a .ppd file. When you have the ActiveState win32 perl distribution, you could add this file using PPM. You'll need the dll's from the Remedy 6.3 User Tool with it to work. Regards, Michiel On 10/31/05, John Brown <fa...@ya...> wrote: > The machine I am building on has the ARServer 5.12 patch 1385 installed l= ocally to the C:\ARSystem > directory. I included the API files in the installation options. Those = files do not exist on my > system at all. > > How have you been able to get ARSPerl to work in a windows environment? = I have a brand new > install of remedy 5.12 patch 1385, ms-sql 2000, activeperl 5.8.7 build 51= 3. Is there a ppd > available for version 5.85 of ARSPerl? > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |