<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic GNV and Google Test in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236552#M14980</link>
    <description>Problems with Google Test Configure script under GNV&lt;BR /&gt;&lt;BR /&gt;OpenVMS V7.3-2.  GNV newly installed (latest).  I attempted to use GNV&lt;BR /&gt;to build the newly available Google Test suite.&lt;BR /&gt;&lt;BR /&gt;The configure script continually hung. I don't know whether the failures are &lt;BR /&gt;all related.  Here are a couple of the early ones.&lt;BR /&gt;&lt;BR /&gt;for ac_var in `(set) 2&amp;gt;&amp;amp;1 |&lt;BR /&gt;        sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do&lt;BR /&gt;&lt;BR /&gt;This is not the first sed call in the script (the previous ones did not hang).&lt;BR /&gt;&lt;BR /&gt;Next block of code with a hang in it was an attempt to find the maximum &lt;BR /&gt;length of command line arguments (see below).&lt;BR /&gt;&lt;BR /&gt;Any ideas how to get this working? &lt;BR /&gt;&lt;BR /&gt;# find the maximum length of command line arguments&lt;BR /&gt;echo "$as_me:$LINENO: checking the maximum length of command line arguments" &amp;gt;&amp;amp;5&lt;BR /&gt;echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" &amp;gt;&amp;amp;6&lt;BR /&gt;if test "${lt_cv_sys_max_cmd_len+set}" = set; then&lt;BR /&gt;  echo $ECHO_N "(cached) $ECHO_C" &amp;gt;&amp;amp;6&lt;BR /&gt;else&lt;BR /&gt;    i=0&lt;BR /&gt;  teststring="ABCD"&lt;BR /&gt;&lt;BR /&gt;  case $build_os in&lt;BR /&gt;  msdosdjgpp*)&lt;BR /&gt;    # On DJGPP, this test can blow up pretty badly due to problems in libc&lt;BR /&gt;    # (any single argument exceeding 2000 bytes causes a buffer overrun&lt;BR /&gt;    # during glob expansion).  Even if it were fixed, the result of this&lt;BR /&gt;    # check would be larger than it should be.&lt;BR /&gt;    lt_cv_sys_max_cmd_len=12288;    # 12K is about right&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  gnu*)&lt;BR /&gt;    # Under GNU Hurd, this test is not required because there is&lt;BR /&gt;    # no limit to the length of command line arguments.&lt;BR /&gt;    # Libtool will interpret -1 as no limit whatsoever&lt;BR /&gt;    lt_cv_sys_max_cmd_len=-1;&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  cygwin* | mingw*)&lt;BR /&gt;    # On Win9x/ME, this test blows up -- it succeeds, but takes&lt;BR /&gt;    # about 5 minutes as the teststring grows exponentially.&lt;BR /&gt;    # Worse, since 9x/ME are not pre-emptively multitasking,&lt;BR /&gt;    # you end up with a "frozen" computer, even though with patience&lt;BR /&gt;    # the test eventually succeeds (with a max line length of 256k).&lt;BR /&gt;    # Instead, let's just punt: use the minimum linelength reported by&lt;BR /&gt;    # all of the supported platforms: 8192 (on NT/2K/XP).&lt;BR /&gt;    lt_cv_sys_max_cmd_len=8192;&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  amigaos*)&lt;BR /&gt;    # On AmigaOS with pdksh, this test takes hours, literally.&lt;BR /&gt;    # So we just punt and use a minimum line length of 8192.&lt;BR /&gt;    lt_cv_sys_max_cmd_len=8192;&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)&lt;BR /&gt;    # This has been around since 386BSD, at least.  Likely further.&lt;BR /&gt;    if test -x /sbin/sysctl; then&lt;BR /&gt;      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`&lt;BR /&gt;    elif test -x /usr/sbin/sysctl; then&lt;BR /&gt;      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`&lt;BR /&gt;    else&lt;BR /&gt;      lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs&lt;BR /&gt;    fi&lt;BR /&gt;    # And add a safety zone&lt;BR /&gt;    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`&lt;BR /&gt;    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  interix*)&lt;BR /&gt;    # We know the value 262144 and hardcode it with a safety zone (like BSD)&lt;BR /&gt;    lt_cv_sys_max_cmd_len=196608&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  osf*)&lt;BR /&gt;    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure&lt;BR /&gt;    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not&lt;BR /&gt;    # nice to cause kernel panics so lets avoid the loop below.&lt;BR /&gt;    # First set a reasonable default.&lt;BR /&gt;    lt_cv_sys_max_cmd_len=16384&lt;BR /&gt;    #&lt;BR /&gt;    if test -x /sbin/sysconfig; then&lt;BR /&gt;      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in&lt;BR /&gt;        *1*) lt_cv_sys_max_cmd_len=-1 ;;&lt;BR /&gt;      esac&lt;BR /&gt;    fi&lt;BR /&gt;    ;;&lt;BR /&gt;  sco3.2v5*)&lt;BR /&gt;    lt_cv_sys_max_cmd_len=102400&lt;BR /&gt;    ;;&lt;BR /&gt;  sysv5* | sco5v6* | sysv4.2uw2*)&lt;BR /&gt;    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2&amp;gt;/dev/null`&lt;BR /&gt;    if test -n "$kargmax"; then&lt;BR /&gt;      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`&lt;BR /&gt;    else&lt;BR /&gt;      lt_cv_sys_max_cmd_len=32768&lt;BR /&gt;    fi&lt;BR /&gt;    ;;&lt;BR /&gt;  *)&lt;BR /&gt;    # If test is not a shell built-in, we'll probably end up computing a&lt;BR /&gt;    # maximum length that is only half of the actual maximum length, but&lt;BR /&gt;    # we can't tell.&lt;BR /&gt;    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}&lt;BR /&gt;    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2&amp;gt;/dev/null` \&lt;BR /&gt;        = "XX$teststring") &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp;&lt;BR /&gt;     new_result=`expr "X$teststring" : ".*" 2&amp;gt;&amp;amp;1` &amp;amp;&amp;amp;&lt;BR /&gt;     lt_cv_sys_max_cmd_len=$new_result &amp;amp;&amp;amp;&lt;BR /&gt;     test $i != 17 # 1/2 MB should be enough&lt;BR /&gt;    do&lt;BR /&gt;      i=`expr $i + 1`&lt;BR /&gt;      teststring=$teststring$teststring&lt;BR /&gt;    done&lt;BR /&gt;    teststring=&lt;BR /&gt;    # Add a significant safety factor because C++ compilers can tack on massive&lt;BR /&gt;    # amounts of additional arguments before passing them to the linker.&lt;BR /&gt;    # It appears as though 1/2 is a usable value.&lt;BR /&gt;    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`&lt;BR /&gt;    ;;&lt;BR /&gt;  esac&lt;BR /&gt;&lt;BR /&gt;fi&lt;BR /&gt;</description>
    <pubDate>Fri, 18 Jul 2008 16:00:32 GMT</pubDate>
    <dc:creator>T.L.Hughes</dc:creator>
    <dc:date>2008-07-18T16:00:32Z</dc:date>
    <item>
      <title>GNV and Google Test</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236552#M14980</link>
      <description>Problems with Google Test Configure script under GNV&lt;BR /&gt;&lt;BR /&gt;OpenVMS V7.3-2.  GNV newly installed (latest).  I attempted to use GNV&lt;BR /&gt;to build the newly available Google Test suite.&lt;BR /&gt;&lt;BR /&gt;The configure script continually hung. I don't know whether the failures are &lt;BR /&gt;all related.  Here are a couple of the early ones.&lt;BR /&gt;&lt;BR /&gt;for ac_var in `(set) 2&amp;gt;&amp;amp;1 |&lt;BR /&gt;        sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do&lt;BR /&gt;&lt;BR /&gt;This is not the first sed call in the script (the previous ones did not hang).&lt;BR /&gt;&lt;BR /&gt;Next block of code with a hang in it was an attempt to find the maximum &lt;BR /&gt;length of command line arguments (see below).&lt;BR /&gt;&lt;BR /&gt;Any ideas how to get this working? &lt;BR /&gt;&lt;BR /&gt;# find the maximum length of command line arguments&lt;BR /&gt;echo "$as_me:$LINENO: checking the maximum length of command line arguments" &amp;gt;&amp;amp;5&lt;BR /&gt;echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" &amp;gt;&amp;amp;6&lt;BR /&gt;if test "${lt_cv_sys_max_cmd_len+set}" = set; then&lt;BR /&gt;  echo $ECHO_N "(cached) $ECHO_C" &amp;gt;&amp;amp;6&lt;BR /&gt;else&lt;BR /&gt;    i=0&lt;BR /&gt;  teststring="ABCD"&lt;BR /&gt;&lt;BR /&gt;  case $build_os in&lt;BR /&gt;  msdosdjgpp*)&lt;BR /&gt;    # On DJGPP, this test can blow up pretty badly due to problems in libc&lt;BR /&gt;    # (any single argument exceeding 2000 bytes causes a buffer overrun&lt;BR /&gt;    # during glob expansion).  Even if it were fixed, the result of this&lt;BR /&gt;    # check would be larger than it should be.&lt;BR /&gt;    lt_cv_sys_max_cmd_len=12288;    # 12K is about right&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  gnu*)&lt;BR /&gt;    # Under GNU Hurd, this test is not required because there is&lt;BR /&gt;    # no limit to the length of command line arguments.&lt;BR /&gt;    # Libtool will interpret -1 as no limit whatsoever&lt;BR /&gt;    lt_cv_sys_max_cmd_len=-1;&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  cygwin* | mingw*)&lt;BR /&gt;    # On Win9x/ME, this test blows up -- it succeeds, but takes&lt;BR /&gt;    # about 5 minutes as the teststring grows exponentially.&lt;BR /&gt;    # Worse, since 9x/ME are not pre-emptively multitasking,&lt;BR /&gt;    # you end up with a "frozen" computer, even though with patience&lt;BR /&gt;    # the test eventually succeeds (with a max line length of 256k).&lt;BR /&gt;    # Instead, let's just punt: use the minimum linelength reported by&lt;BR /&gt;    # all of the supported platforms: 8192 (on NT/2K/XP).&lt;BR /&gt;    lt_cv_sys_max_cmd_len=8192;&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  amigaos*)&lt;BR /&gt;    # On AmigaOS with pdksh, this test takes hours, literally.&lt;BR /&gt;    # So we just punt and use a minimum line length of 8192.&lt;BR /&gt;    lt_cv_sys_max_cmd_len=8192;&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)&lt;BR /&gt;    # This has been around since 386BSD, at least.  Likely further.&lt;BR /&gt;    if test -x /sbin/sysctl; then&lt;BR /&gt;      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`&lt;BR /&gt;    elif test -x /usr/sbin/sysctl; then&lt;BR /&gt;      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`&lt;BR /&gt;    else&lt;BR /&gt;      lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs&lt;BR /&gt;    fi&lt;BR /&gt;    # And add a safety zone&lt;BR /&gt;    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`&lt;BR /&gt;    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  interix*)&lt;BR /&gt;    # We know the value 262144 and hardcode it with a safety zone (like BSD)&lt;BR /&gt;    lt_cv_sys_max_cmd_len=196608&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;  osf*)&lt;BR /&gt;    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure&lt;BR /&gt;    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not&lt;BR /&gt;    # nice to cause kernel panics so lets avoid the loop below.&lt;BR /&gt;    # First set a reasonable default.&lt;BR /&gt;    lt_cv_sys_max_cmd_len=16384&lt;BR /&gt;    #&lt;BR /&gt;    if test -x /sbin/sysconfig; then&lt;BR /&gt;      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in&lt;BR /&gt;        *1*) lt_cv_sys_max_cmd_len=-1 ;;&lt;BR /&gt;      esac&lt;BR /&gt;    fi&lt;BR /&gt;    ;;&lt;BR /&gt;  sco3.2v5*)&lt;BR /&gt;    lt_cv_sys_max_cmd_len=102400&lt;BR /&gt;    ;;&lt;BR /&gt;  sysv5* | sco5v6* | sysv4.2uw2*)&lt;BR /&gt;    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2&amp;gt;/dev/null`&lt;BR /&gt;    if test -n "$kargmax"; then&lt;BR /&gt;      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`&lt;BR /&gt;    else&lt;BR /&gt;      lt_cv_sys_max_cmd_len=32768&lt;BR /&gt;    fi&lt;BR /&gt;    ;;&lt;BR /&gt;  *)&lt;BR /&gt;    # If test is not a shell built-in, we'll probably end up computing a&lt;BR /&gt;    # maximum length that is only half of the actual maximum length, but&lt;BR /&gt;    # we can't tell.&lt;BR /&gt;    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}&lt;BR /&gt;    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2&amp;gt;/dev/null` \&lt;BR /&gt;        = "XX$teststring") &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp;&lt;BR /&gt;     new_result=`expr "X$teststring" : ".*" 2&amp;gt;&amp;amp;1` &amp;amp;&amp;amp;&lt;BR /&gt;     lt_cv_sys_max_cmd_len=$new_result &amp;amp;&amp;amp;&lt;BR /&gt;     test $i != 17 # 1/2 MB should be enough&lt;BR /&gt;    do&lt;BR /&gt;      i=`expr $i + 1`&lt;BR /&gt;      teststring=$teststring$teststring&lt;BR /&gt;    done&lt;BR /&gt;    teststring=&lt;BR /&gt;    # Add a significant safety factor because C++ compilers can tack on massive&lt;BR /&gt;    # amounts of additional arguments before passing them to the linker.&lt;BR /&gt;    # It appears as though 1/2 is a usable value.&lt;BR /&gt;    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`&lt;BR /&gt;    ;;&lt;BR /&gt;  esac&lt;BR /&gt;&lt;BR /&gt;fi&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2008 16:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236552#M14980</guid>
      <dc:creator>T.L.Hughes</dc:creator>
      <dc:date>2008-07-18T16:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: GNV and Google Test</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236553#M14981</link>
      <description>exactly which version of GNV do you have and are you aware of John Malmbergs fixes for GNV?</description>
      <pubDate>Sat, 19 Jul 2008 09:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236553#M14981</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2008-07-19T09:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: GNV and Google Test</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236554#M14982</link>
      <description>GNV Version is : &lt;BR /&gt;&lt;BR /&gt;product install gnv /source=dsa1:[hpproducts.gnv]/dest=dkc200:[gnv]&lt;BR /&gt; &lt;BR /&gt;   1 - DEC AXPVMS GNV V1.6-2               Layered Product&lt;BR /&gt;   2 - DEC AXPVMS GNV A1.5-3               Layered Product&lt;BR /&gt;&lt;BR /&gt;I wasn't aware of any fixes, I'll look into that.  Thanks.&lt;BR /&gt;&lt;BR /&gt;- Tracy</description>
      <pubDate>Mon, 21 Jul 2008 17:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236554#M14982</guid>
      <dc:creator>T.L.Hughes</dc:creator>
      <dc:date>2008-07-21T17:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: GNV and Google Test</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236555#M14983</link>
      <description>There are no fixes from HP as yet.  gnv is open-source, and one of the folks that once worked on gnv for HP has published various fixes for gnv that have not yet been incorporated back into the HP version.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://eisner.encompasserve.org/GNV/" target="_blank"&gt;ftp://eisner.encompasserve.org/GNV/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jul 2008 20:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236555#M14983</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-07-21T20:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: GNV and Google Test</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236556#M14984</link>
      <description>Current GNV is later than the one you have. See &lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/opensource/gnv.html" target="_blank"&gt;http://h71000.www7.hp.com/opensource/gnv.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Do also see John M patches also.</description>
      <pubDate>Tue, 22 Jul 2008 09:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-and-google-test/m-p/4236556#M14984</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2008-07-22T09:48:35Z</dc:date>
    </item>
  </channel>
</rss>

