The permissions on testing/fulltests/support files after a fresh install
are -rw-r--r--.  When I run through the install I do get permissions
errors.  So I have been `chmod -R 777 testing`.

 

I was not able to find a tar.gz file for this pre-release so I am using
the contents of the zip file.  I have been unzipping on Windows then
FTP`ing in bin mode to AIX.  On an AIX, commonly available location
(xout/mpl) I created a tar file just to make things easier using `tar
cvf net-snmp-5.7.1.pre1`.  From the server where I am installing the
package, I create a filesystem and then from the mount point of that
filesystem, I `tar xvf /xout/mpl/net-snmp-5.7.1.pre1`.

 

Just the contents of the directory tree you requested are:

 

-bash-2.05b# ls -alR snmp-test-T001snmpv1get_simple-15466560

snmp-test-T001snmpv1get_simple-15466560:

total 52

drwx------   3 root system  4096 2011-08-19 14:02 .

drwxrwxrwt  54 bin  bin    16384 2011-08-19 14:09 ..

-rw-r--r--   1 root system  2058 2011-08-19 14:02 invoked

-rw-r--r--   1 root system   565 2011-08-19 14:02
output-simple_run15466560-1

-rw-r--r--   1 root system   482 2011-08-19 14:02
output-simple_run15466560-2

-rw-r--r--   1 root system   481 2011-08-19 14:02
output-simple_run15466560-3

-rw-r--r--   1 root system   491 2011-08-19 14:02
output-simple_run15466560-4

drwx------   3 root system   256 2011-08-19 14:02 persist

-rw-r--r--   1 root system   269 2011-08-19 14:02 snmpd.conf

-rw-r--r--   1 root system   746 2011-08-19 14:02 snmpd.log.stdout

 

snmp-test-T001snmpv1get_simple-15466560/persist:

total 4

drwx------  3 root system  256 2011-08-19 14:02 .

drwx------  3 root system 4096 2011-08-19 14:02 ..

drwx------  2 root system  256 2011-08-19 14:02 mib_indexes

 

snmp-test-T001snmpv1get_simple-15466560/persist/mib_indexes:

total 4

drwx------  2 root system  256 2011-08-19 14:02 .

drwx------  3 root system  256 2011-08-19 14:02 ..

-rw-r--r--  1 root system 2724 2011-08-19 14:02 0

-bash-2.05b#

 

I have also attached a typescript which shows all of the /tmp/snmp-test*
directories along with the content of their directory trees.

 

 

Mike Lomax

Principal Systems Engineer,

Advanced Technology Solutions                  

Office (909) 379-0669 

Cell (951) 206-5852

michael.lo...@quadramed.com

 

                    

 

       Visit QuadraMed's Booth (#1601) at AHIMA

       October 2 - 5 in Salt Lake City, UT

       

 

-----Original Message-----
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
Behalf Of Dave Shield
Sent: Friday, August 19, 2011 3:01 AM
To: Lomax, Michael P.
Cc: Wes Hardaker; net-snmp-coders@lists.sourceforge.net;
rst...@freesnmp.com
Subject: Re: NET-SNMP Compile Errors

 

On 18 August 2011 21:08, Lomax, Michael P. <mlo...@quadramed.com> wrote:

>   You will note that there is a execute permission problem within the
testing directories that I fix during the run.

 

This looks like an issue with the source tree when it is first unpacked.

What are the permissions on file in the directory
testing/fulltests/support/

when you unpack the code into a fresh tree?

   Are you working with the .tar.gz bundle, or the .zip file?

What is the exact command that you are using to unpack things?

 

 

I've tried unpacking the code from both .tar.gz and .zip files (on a
Linux box),

and get permissions of 711 and 755 respectively.   So the tarball tree
might

have issues if you're running as a different user from the one who

owns the files.

 

  [ Oh, and if you need to amend the permissions, try something like

         "chmod -R a+r testing".

    Using permissions of 777 are an abomination in the sight of man!]

 

 

 

> Unfortunately while the run of `make test` seemed to respond
differently,

> I did still get two errors (255 and 2) with Stops.

 

More to the point, the tests aren't actually passing correctly right
from the

beginning.   The first real test (T001snmpv1get_simple) is failing two
out

of the three cases.

   Have a look in /tmp - you should see a number of Net-SNMP test
directories,

one for each failing test.   If you can identify the one relating to
this first

T001snmpv1get_simple test (perhaps by clearing them all out, and
re-running

the "make test"),  then please post the full contents of this directory.
That

might give us enough information to understand what exactly is going
wrong.

 

Dave

Attachment: typescript.gz
Description: typescript.gz

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to