Arnau Bria
2011-Mar-30 16:24 UTC
[Puppet Users] Possible bug in configure script (torque 2.5.5)
Hi all, it comes from another issue where David Beer is helping me, but I faced a configure related issue when applying his solution: I should build torque 2.5.5 with : --with-tcp-retry-limit=2 After doing so, I should have a define in pbs_config.h, but it isn''t: # grep -r TCP_RETRY_LIMIT src/*|grep define # I''m not bash expert and maybe I''m assuming something wrong, but looking at configure script: # Check whether --with-tcp_retry_limit or --without-tcp_retry_limit was given. if test "${with_tcp_retry_limit+set}" = set; then withval="$with_tcp_retry_limit" TCP_RETRY_LIMIT=${withval} else TCP_RETRY_LIMIT=0 fi; cat >>confdefs.h <<_ACEOF #define TCP_RETRY_LIMIT ${TCP_RETRY_LIMIT} _ACEOF TCP_RETRY_LIMIT define should ALWAYS have be defined and with some value ( 0 or own specified value). So, I think this is a bug in configure because: 1.-) If the param should NOT be written always, there''s a bug when enabling it. 2.-) If the param should be written always, there''s a bug when writing .h files. Find config.log attached. Cheers, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jacob Helwig
2011-Mar-30 16:31 UTC
Re: [Puppet Users] Possible bug in configure script (torque 2.5.5)
On Wed, 30 Mar 2011 18:24:50 +0200, Arnau Bria wrote:> > Hi all, > > it comes from another issue where David Beer is helping me, but > I faced a configure related issue when applying his solution: > > I should build torque 2.5.5 with : > > --with-tcp-retry-limit=2 > > After doing so, I should have a define in pbs_config.h, but > it isn''t: > > # grep -r TCP_RETRY_LIMIT src/*|grep define > # > > I''m not bash expert and maybe I''m assuming something wrong, but looking > at configure script: > > # Check whether --with-tcp_retry_limit or --without-tcp_retry_limit was given. > if test "${with_tcp_retry_limit+set}" = set; then > withval="$with_tcp_retry_limit" > TCP_RETRY_LIMIT=${withval} > else > TCP_RETRY_LIMIT=0 > fi; > > cat >>confdefs.h <<_ACEOF > #define TCP_RETRY_LIMIT ${TCP_RETRY_LIMIT} > _ACEOF > > TCP_RETRY_LIMIT define should ALWAYS have be defined and with some > value ( 0 or own specified value). > > So, I think this is a bug in configure because: > > 1.-) If the param should NOT be written always, there''s a bug when > enabling it. > 2.-) If the param should be written always, there''s a bug when writing > .h files. > > Find config.log attached. > > > Cheers, > Arnau >Wrong mailing list? -- Jacob Helwig
Arnau Bria
2011-Mar-30 16:35 UTC
Re: [Puppet Users] Possible bug in configure script (torque 2.5.5)
> Wrong mailing list?Sure... I''m always thinking on puppet. sorry dudes! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.