Thread: [Arsperl-users] ars_APIVersion - wrong returns?
Brought to you by:
jeffmurphy
|
From: Georg G. <ggr...@gm...> - 2008-09-24 13:12:58
|
Hello, I'm playing around with what ars_APIVersion returns, because in our company it's likely that they want to exclude too old api versions. Now, I compiled ARSPerl against a 7.0.1 ARS Lib - which works nicely. I edited the Makefile.PL a little, and now wanted to ask - how do you determine the API Version? I've looked at the Makefile.PL, which can output the Version (by reading the ar.h), which works pretty nice. What's overlooked: serverReleaseFromAPIVersion is missing 7.0 => 12 (currently, all 7.0 have the api version 12, 7.1 has 13). Enabling the checks for the api version in the Makefile.PL returns ars_APIVersion: 9 What's the reason ARSPerl returns "9" in this case, when I have the ars libs with version 12, and even the Makefile.PL recognizes i've got a version 12? Seems like a little bug, and I'd appreciate any advice how to fix that. I looked trough the code, but couldn't seem to find the position where the ARS API Version is set (?). Do you receive that wrong value from the compiled libraries? Maybe, there's a little mistake done by BMC releasing those unix libs? Thanks, Georg |
|
From: Thilo S. <thi...@ap...> - 2008-09-24 14:35:17
|
Up to version 1.90 ars_APIVersion was returning the value of AR_EXPORT_VERSION (from arstruct.h) instead of AR_CURRENT_API_VERSION. This has been changed with version 1.91. You didn't mention what ARSperl version you are using, but it probably can't be 1.91 (or else I'd be very surprised). Regards, Thilo Georg Grabler wrote: > Hello, > > I'm playing around with what ars_APIVersion returns, because in our > company it's likely that they want to exclude too old api versions. > > Now, I compiled ARSPerl against a 7.0.1 ARS Lib - which works nicely. > > I edited the Makefile.PL a little, and now wanted to ask - how do you > determine the API Version? > I've looked at the Makefile.PL, which can output the Version (by reading > the ar.h), which works pretty nice. > What's overlooked: serverReleaseFromAPIVersion is missing 7.0 => 12 > (currently, all 7.0 have the api version 12, 7.1 has 13). > > Enabling the checks for the api version in the Makefile.PL returns > ars_APIVersion: 9 > > What's the reason ARSPerl returns "9" in this case, when I have the ars > libs with version 12, and even the Makefile.PL recognizes i've got a > version 12? > > Seems like a little bug, and I'd appreciate any advice how to fix that. > I looked trough the code, but couldn't seem to find the position where > the ARS API Version is set (?). > > Do you receive that wrong value from the compiled libraries? Maybe, > there's a little mistake done by BMC releasing those unix libs? > > Thanks, > Georg > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > > > -- > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Georg G. <ggr...@gm...> - 2008-09-24 14:57:10
|
Hi, I'm sorry, I missed testing it with the latest Version (even when i knew there was 1.91 around ..). I really was using 1.90 I just tried it on a RHEL5 testbox, and it works properly. Sorry for this :/ Thanks for the fast answer, Thilo! Kind regards, Georg On Wed, Sep 24, 2008 at 4:07 PM, Thilo Stapff <thi...@ap...>wrote: > Up to version 1.90 ars_APIVersion was returning the value of > AR_EXPORT_VERSION (from arstruct.h) instead of AR_CURRENT_API_VERSION. > This has been changed with version 1.91. You didn't mention what ARSperl > version you are using, but it probably can't be 1.91 (or else I'd be > very surprised). > > Regards, > Thilo > > > Georg Grabler wrote: > > Hello, > > > > I'm playing around with what ars_APIVersion returns, because in our > > company it's likely that they want to exclude too old api versions. > > > > Now, I compiled ARSPerl against a 7.0.1 ARS Lib - which works nicely. > > > > I edited the Makefile.PL a little, and now wanted to ask - how do you > > determine the API Version? > > I've looked at the Makefile.PL, which can output the Version (by reading > > the ar.h), which works pretty nice. > > What's overlooked: serverReleaseFromAPIVersion is missing 7.0 => 12 > > (currently, all 7.0 have the api version 12, 7.1 has 13). > > > > Enabling the checks for the api version in the Makefile.PL returns > > ars_APIVersion: 9 > > > > What's the reason ARSPerl returns "9" in this case, when I have the ars > > libs with version 12, and even the Makefile.PL recognizes i've got a > > version 12? > > > > Seems like a little bug, and I'd appreciate any advice how to fix that. > > I looked trough the code, but couldn't seem to find the position where > > the ARS API Version is set (?). > > > > Do you receive that wrong value from the compiled libraries? Maybe, > > there's a little mistake done by BMC releasing those unix libs? > > > > Thanks, > > Georg > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > ------------------------------------------------------------------------ > > > > > > > > -- > > Arsperl-users mailing list > > Ars...@ar... > > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > -- > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |