Thread: [Arsperl-users] windows 1.91 building issues
Brought to you by:
jeffmurphy
|
From: Doug M. <rap...@ya...> - 2011-08-15 22:10:31
|
I am working through building this on windows and have run into a few issues. Right now the issue is in the ARS.xs (issue 5). The first four issues have been worked around and are only documented for reference. I am willing to share the binaries after this is built.
misc data. Remedy 7.5, Visual studio 10, 32bit windows, and 32bit perl 5.12
Any help is welcome and thanks in advance.
Issue 1:
I updated the following comment fields in the ar.h to prevent the error message
cant map "deprecated" to an artype for "AR_SERVER_INFO_FT_COLLECTION_DIR"
#These are the variable types that I used, if they are wrong please let me know.
AR_SERVER_INFO_FT_COLLECTION_DIR int
AR_SERVER_INFO_FT_CONFIGURATION_DIR char
AR_SERVER_INFO_FT_TEMP_DIR char
AR_SERVER_INFO_LICENSE_USAGE int
AR_SERVER_INFO_CLIENT_MANAGED_TRANSACTION_TIMEOUT int
AR_SERVER_INFO_MAX_ATTACH_SIZE int
We are using visual studio 10. The "nmake" command errors out in a few places. I used the "/n" to dump the commands out to a batch file to run them indvidually. One of the first errors is in the perl code to
## add curly brace on right side after "ARGV"
Issue 2 and 3:
\Perl\bin\perl.exe -l -e "print qq{{@ARGV}}" -- "Running Mkbootstrap for ARS ()"
#### removed the “, q[], '755'” for permissions
#### This line runs into an issue with the permissions part so I removed it for this test.
C:\Perl\bin\perl.exe -MExtUtils::Install -e "pm_to_blib({{@ARGV}, 'blib\lib\auto'})"
Issue 4:
Support.h file needs modified and I commented these out, since it is in two different places.
* roll our own strcasecmp and strncasecmp for Win */
/* DJM
EXTERN int strcasecmp(char *s1, char *s2);
EXTERN int strncasecmp(char *s1, char *s2, size_t n);
Issue 5: (This is the current issue that I am working on).
ARS.xs: In function `XS_ARS_ars_GetActiveLink':
ARS.xs:1392: warning: passing arg 19 of `ARGetActiveLink' from incompatible poin
ter type
ARS.xs:1392: error: too few arguments to function `ARGetActiveLink'
ARS.xs: In function `XS_ARS_ars_CreateActiveLink':
ARS.xs:5260: warning: passing arg 17 of `ARCreateActiveLink' makes integer from
pointer without a cast
ARS.xs:5260: error: too few arguments to function `ARCreateActiveLink'
ARS.xs: In function `XS_ARS_ars_SetActiveLink':
ARS.xs:5431: warning: passing arg 18 of `ARSetActiveLink' from incompatible poin
ter type
ARS.xs:5431: error: too few arguments to function `ARSetActiveLink'
|
|
From: Thilo S. <thi...@ap...> - 2011-08-16 08:35:36
|
ARSperl 1.91 doesn't support the 7.5 API. Try using 1.93 (which has been
released recently) instead.
Regards,
Thilo
On 16.08.2011 00:10, Doug Mooney wrote:
> I am working through building this on windows and have run into a few
> issues. Right now the issue is in the ARS.xs (issue 5). The first four
> issues have been worked around and are only documented for reference. I
> am willing to share the binaries after this is built.
>
> misc data. Remedy 7.5, Visual studio 10, 32bit windows, and 32bit perl 5.12
>
> Any help is welcome and thanks in advance.
>
> Issue 1:
>
> I updated the following comment fields in the ar.h to prevent the error
> message
> cant map "deprecated" to an artype for "AR_SERVER_INFO_FT_COLLECTION_DIR"
>
> #These are the variable types that I used, if they are wrong please let
> me know.
>
> AR_SERVER_INFO_FT_COLLECTION_DIR int
> AR_SERVER_INFO_FT_CONFIGURATION_DIR char
> AR_SERVER_INFO_FT_TEMP_DIR char
> AR_SERVER_INFO_LICENSE_USAGE int
> AR_SERVER_INFO_CLIENT_MANAGED_TRANSACTION_TIMEOUT int
> AR_SERVER_INFO_MAX_ATTACH_SIZE int
>
>
> We are using visual studio 10. The "nmake" command errors out in a few
> places. I used the "/n" to dump the commands out to a batch file to run
> them indvidually. One of the first errors is in the perl code to
> ## add curly brace on right side after "ARGV"
>
> Issue 2 and 3:
> \Perl\bin\perl.exe -l -e "print qq{{@ARGV}}" -- "Running Mkbootstrap for
> ARS ()"
> #### removed the “, q[], '755'” for permissions
>
> #### This line runs into an issue with the permissions part so I removed
> it for this test.
> C:\Perl\bin\perl.exe -MExtUtils::Install -e "pm_to_blib({{@ARGV},
> 'blib\lib\auto'})"
>
> Issue 4:
>
> Support.h file needs modified and I commented these out, since it is in
> two different places.
>
> * roll our own strcasecmp and strncasecmp for Win */
> /* DJM
> EXTERN int strcasecmp(char *s1, char *s2);
>
> EXTERN int strncasecmp(char *s1, char *s2, size_t n);
>
>
> Issue 5: (This is the current issue that I am working on).
>
> ARS.xs: In function `XS_ARS_ars_GetActiveLink':
> ARS.xs:1392: warning: passing arg 19 of `ARGetActiveLink' from
> incompatible poin
> ter type
> ARS.xs:1392: error: too few arguments to function `ARGetActiveLink'
> ARS.xs: In function `XS_ARS_ars_CreateActiveLink':
> ARS.xs:5260: warning: passing arg 17 of `ARCreateActiveLink' makes
> integer from
> pointer without a cast
> ARS.xs:5260: error: too few arguments to function `ARCreateActiveLink'
> ARS.xs: In function `XS_ARS_ars_SetActiveLink':
> ARS.xs:5431: warning: passing arg 18 of `ARSetActiveLink' from
> incompatible poin
> ter type
> ARS.xs:5431: error: too few arguments to function `ARSetActiveLink'
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at: http://p.sf.net/sfu/wandisco-dev2dev
>
>
>
>
>
> --
> Arsperl-users mailing list
> Ars...@li...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Michiel B. <mi...@be...> - 2011-08-17 13:45:47
|
As a general remark, you'd typically be best off compiling Perl
modules with the same compiler as is used for Perl. This means - for
ActiveState Perl - Visual Studio 6.
Around two years ago I created PPD installation packages for ARSperl
on Windows. I already got some inquiries if I could make these
available for 1.93 and/or newer Perls, and I'd like to, but no longer
have access to the SDK's.
If someone can get me access to the SDK I'd be more then happy to
provide PPDs for Windows.
--
Michiel
On Tue, Aug 16, 2011 at 10:34 AM, Thilo Stapff
<thi...@ap...> wrote:
> ARSperl 1.91 doesn't support the 7.5 API. Try using 1.93 (which has been
> released recently) instead.
>
>
> Regards,
> Thilo
>
>
> On 16.08.2011 00:10, Doug Mooney wrote:
>> I am working through building this on windows and have run into a few
>> issues. Right now the issue is in the ARS.xs (issue 5). The first four
>> issues have been worked around and are only documented for reference. I
>> am willing to share the binaries after this is built.
>>
>> misc data. Remedy 7.5, Visual studio 10, 32bit windows, and 32bit perl 5.12
>>
>> Any help is welcome and thanks in advance.
>>
>> Issue 1:
>>
>> I updated the following comment fields in the ar.h to prevent the error
>> message
>> cant map "deprecated" to an artype for "AR_SERVER_INFO_FT_COLLECTION_DIR"
>>
>> #These are the variable types that I used, if they are wrong please let
>> me know.
>>
>> AR_SERVER_INFO_FT_COLLECTION_DIR int
>> AR_SERVER_INFO_FT_CONFIGURATION_DIR char
>> AR_SERVER_INFO_FT_TEMP_DIR char
>> AR_SERVER_INFO_LICENSE_USAGE int
>> AR_SERVER_INFO_CLIENT_MANAGED_TRANSACTION_TIMEOUT int
>> AR_SERVER_INFO_MAX_ATTACH_SIZE int
>>
>>
>> We are using visual studio 10. The "nmake" command errors out in a few
>> places. I used the "/n" to dump the commands out to a batch file to run
>> them indvidually. One of the first errors is in the perl code to
>> ## add curly brace on right side after "ARGV"
>>
>> Issue 2 and 3:
>> \Perl\bin\perl.exe -l -e "print qq{{@ARGV}}" -- "Running Mkbootstrap for
>> ARS ()"
>> #### removed the “, q[], '755'” for permissions
>>
>> #### This line runs into an issue with the permissions part so I removed
>> it for this test.
>> C:\Perl\bin\perl.exe -MExtUtils::Install -e "pm_to_blib({{@ARGV},
>> 'blib\lib\auto'})"
>>
>> Issue 4:
>>
>> Support.h file needs modified and I commented these out, since it is in
>> two different places.
>>
>> * roll our own strcasecmp and strncasecmp for Win */
>> /* DJM
>> EXTERN int strcasecmp(char *s1, char *s2);
>>
>> EXTERN int strncasecmp(char *s1, char *s2, size_t n);
>>
>>
>> Issue 5: (This is the current issue that I am working on).
>>
>> ARS.xs: In function `XS_ARS_ars_GetActiveLink':
>> ARS.xs:1392: warning: passing arg 19 of `ARGetActiveLink' from
>> incompatible poin
>> ter type
>> ARS.xs:1392: error: too few arguments to function `ARGetActiveLink'
>> ARS.xs: In function `XS_ARS_ars_CreateActiveLink':
>> ARS.xs:5260: warning: passing arg 17 of `ARCreateActiveLink' makes
>> integer from
>> pointer without a cast
>> ARS.xs:5260: error: too few arguments to function `ARCreateActiveLink'
>> ARS.xs: In function `XS_ARS_ars_SetActiveLink':
>> ARS.xs:5431: warning: passing arg 18 of `ARSetActiveLink' from
>> incompatible poin
>> ter type
>> ARS.xs:5431: error: too few arguments to function `ARSetActiveLink'
>>
>>
>> ------------------------------------------------------------------------------
>> uberSVN's rich system and user administration capabilities and model
>> configuration take the hassle out of deploying and managing Subversion and
>> the tools developers use with it. Learn more about uberSVN and get a free
>> download at: http://p.sf.net/sfu/wandisco-dev2dev
>>
>>
>>
>>
>>
>> --
>> Arsperl-users mailing list
>> Ars...@li...
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at: http://p.sf.net/sfu/wandisco-dev2dev
>
>
> --
> Arsperl-users mailing list
> Ars...@li...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|