Re: [Arsperl-users] Make test errors for ARSperl-1.91 on Solaris 10
Brought to you by:
jeffmurphy
|
From: Andrews, A. <Ant...@de...> - 2010-01-08 21:06:58
|
Look at you. Good so far ...
[root@remedy2 ARSperl-1.91] # perl Makefile.PL
Building against perl 5.008004
Generating support.h file..
Processing AR_STRUCT_ITEM codes..
Processing AR_SERVER_STAT codes..
Processing AR_SCHEMA codes..
Processing AR_COM_PARM codes..
Processing AR_COM_METHOD codes..
Processing AR_DDE codes..
Processing AR_ACTIVE_LINK_ACTION codes..
Processing AR_ACTIVE_LINK_ACTION_OPEN codes..
Processing AR_CHAR_MENU_DD type codes..
Processing AR_CHAR_MENU_DD name codes..
Processing AR_CHAR_MENU_DD value format..
Processing AR_CHAR_MENU codes..
Processing AR_FILTER_ACTION codes..
Processing AR_MENU_REFRESH codes..
Processing AR_PERMISSIONS (Schema) codes..
Processing AR_PERMISSIONS (Field) codes..
Processing AR_DATA_TYPE codes..
Processing AR_BYTE_LIST codes..
Processing AR_NO_MATCH codes..
Processing AR_MULTI_MATCH codes..
Processing AR_RETURN codes..
Processing AR_FUNCTION codes..
Processing ARCON codes..
Processing ARCONOWNER codes..
Processing ARREF codes..
Processing AR_KEYWORD codes..
Processing AR_SERVER_INFO codes..
Generating serverTypeInfoHints.h ..
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.10
ARSAPI = /opt/remedy/api
AUTODEFINES = -g -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8
-DPERL_SUBVERSION_IS=4 -DPERL_BASEREV_IS=50
Checking if your kit is complete...
Looks good
Writing Makefile for ARS
=== ARSperl 'make test' configuration. ===
Please enter the following information. This information will be
recorded in ./t/config.cache
If you want to skip the 'make test' step, just hit ENTER
three times. You can configure it later by either re-running
'perl Makefile.PL' or by editting ./t/config.cache
Fair warning: you probably don't want to run 'make test' against a
production ARSystem server.
Server Name []:
________________________________
From: Con...@t-... [mailto:Con...@t-...]
Sent: Friday, January 08, 2010 3:58 PM
To: ars...@ar...
Subject: Re: [Arsperl-users] Make test errors for ARSperl-1.91 on
Solaris 10
ok, mine is patch 6
and here's the problem
/* NOTE: to fix bug#343062 we have added a new config item
AR_MAX_ATTACH_SIZE that */
/* applies to all databases. DB_MAX_ATTACH_SIZE applies only to Oracle
and it does */
/* not prevent the client program from sending over large attachments
(causing the */
/* server memory to grow). To fix this issue, AR_MAX_ATTACH_SIZE is
added to */
/* large attachments from going to the arserver.
*/
#define AR_SERVER_INFO_MAX_ATTACH_SIZE 333 /* The maximum
size (in bytes) allowed */
if you modify one line in your ar.h then you (perhaps) should be able to
compile ARSPerl
#define AR_SERVER_INFO_MAX_ATTACH_SIZE 333 /* int The
maximum size (in bytes) allowed */
HTH
Kind Regards Conny
________________________________
Von: Andrews, Anthony [mailto:Ant...@de...]
Gesendet: Freitag, 8. Januar 2010 21:45
An: ARSperl User Discussion
Betreff: Re: [Arsperl-users] Make test errors for ARSperl-1.91 on
Solaris 10
Thanks for your help Conny. The Remedy admin says patch 8.
________________________________
From: Con...@t-... [mailto:Con...@t-...]
Sent: Friday, January 08, 2010 3:18 PM
To: ars...@ar...
Subject: Re: [Arsperl-users] Make test errors for ARSperl-1.91 on
Solaris 10
it seems that you have a strange ar.h file
normally it would read like this
#define AR_SERVER_INFO_DB_MAX_ATTACH_SIZE 249 /* The maximum size (in
bytes) allowed */
/* for attachments in
Oracle */
but in your case the red marked part seems to be missing.
What patchlevel of ARS 7.1.0 do you have? Can you send me the whole ar.h
file?
Kind Regards Conny
________________________________
Von: Andrews, Anthony [mailto:Ant...@de...]
Gesendet: Freitag, 8. Januar 2010 20:47
An: ARSperl User Discussion
Betreff: [Arsperl-users] Make test errors for ARSperl-1.91 on Solaris 10
Somehow I always seem to screw the setup with arsperl, can someone lend
some insight into this error?
[root@ ARSperl-1.91] # perl Makefile.PL
Building against perl 5.008004
Generating support.h file..
Processing AR_STRUCT_ITEM codes..
Processing AR_SERVER_STAT codes..
Processing AR_SCHEMA codes..
Processing AR_COM_PARM codes..
Processing AR_COM_METHOD codes..
Processing AR_DDE codes..
Processing AR_ACTIVE_LINK_ACTION codes..
Processing AR_ACTIVE_LINK_ACTION_OPEN codes..
Processing AR_CHAR_MENU_DD type codes..
Processing AR_CHAR_MENU_DD name codes..
Processing AR_CHAR_MENU_DD value format..
Processing AR_CHAR_MENU codes..
Processing AR_FILTER_ACTION codes..
Processing AR_MENU_REFRESH codes..
Processing AR_PERMISSIONS (Schema) codes..
Processing AR_PERMISSIONS (Field) codes..
Processing AR_DATA_TYPE codes..
Processing AR_BYTE_LIST codes..
Processing AR_NO_MATCH codes..
Processing AR_MULTI_MATCH codes..
Processing AR_RETURN codes..
Processing AR_FUNCTION codes..
Processing ARCON codes..
Processing ARCONOWNER codes..
Processing ARREF codes..
Processing AR_KEYWORD codes..
Processing AR_SERVER_INFO codes..
Generating serverTypeInfoHints.h ..
cant map "The" to an artype for "AR_SERVER_INFO_MAX_ATTACH_SIZE"
something went wrong when i ran ""/usr/perl5/5.8.4/bin/perl"
infra/exsi.pl < "/opt/remedy/api/include/ar.h" > serverTypeInfoHints.h"
(rv = 65280, expected 0) at Makefile.PL line 242.
I have perl 5.8.4 installed with version 7.1 of ARS running on a solaris
10.
The api libraries are installed in /opt/remedy/api
I have the sun c compiler installed on this server.
Prior to running the Makefile.pl I installed the latest version of CPAN
and updated Bundle::CPAN.
The only thing I found about this error related to using ars version 7.1
with arsperl 1.90 and that is not the case in my situation
Thank you for any help you can provide.
[root@ infra] # echo $PATH
/usr/openwin/bin:/usr/dt/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/loca
l/sbin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,SPAR
C-Enterprise/sbin
Here is the perl -V output:
[root@ infra] # perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-64int
uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-xarch=v8 -D_TS_ERRNO',
optimize='-xO3 -xspace -xildoff',
cppflags=''
ccversion='Sun WorkShop', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE'
cccdlflags='-KPIC', lddlflags='-G'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
Locally applied patches:
22667 The optree builder was looping when constructing the ops
...
22715 Upgrade to FileCache 1.04
22733 Missing copyright in the README.
22746 fix a coredump caused by rv2gv not fully converting a PV
...
22755 Fix 29149 - another UTF8 cache bug hit by substr.
22774 [perl #28938] split could leave an array without ...
22775 [perl #29127] scalar delete of empty slice returned
garbage
22776 [perl #28986] perl -e "open m" crashes Perl
22777 add test for change #22776 ("open m" crashes Perl)
22778 add test for change #22746 ([perl #29102] Crash on assign
...
22781 [perl #29340] Bizarre copy of ARRAY make sure a pad op's
...
22796 [perl #29346] Double warning for int(undef) and abs(undef)
...
22818 BOM-marked and (BOMless) UTF-16 scripts not working
22823 [perl #29581] glob() misses a lot of matches
22827 Smoke [5.9.2] 22818 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1
cpu)
22830 [perl #29637] Thread creation time is hypersensitive
22831 improve hashing algorithm for ptr tables in perl_clone:
...
22839 [perl #29790] Optimization busted: '@a = "b", sort @a' ...
22850 [PATCH] 'perl -v' fails if local_patches contains code
snippets
22852 TEST needs to ignore SCM files
22886 Pod::Find should ignore SCM files and dirs
22888 Remove redundant %SIG assignments from FileCache
23006 [perl #30509] use encoding and "eq" cause memory leak
23074 Segfault using HTML::Entities
23106 Numeric comparison operators mustn't compare addresses of
...
23320 [perl #30066] Memory leak in nested shared data structures
...
23321 [perl #31459] Bug in read()
27722 perlio.c breaks on Solaris/gcc when > 256 FDs are
available
SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
6663288 Upgrade to CGI.pm 3.33
REGEXP0 - fix for UTF-8 recoding in regexps - CVE-2007-5116
6758953 Perl Sys::Syslog can log messages with wrong severity
Built under solaris
Compiled at May 18 2009 02:52:06
@INC:
/usr/perl5/5.8.4/lib/sun4-solaris-64int
/usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int
/usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4
/usr/perl5/vendor_perl
|