[AG-TECH] Problems while installing AGkt2.2 from source on a Debian

Thomas D. Uram turam at mcs.anl.gov
Mon Jun 7 01:53:13 CDT 2004


Hi Joseph:

For some of the problems you've run into, we'll have to see more detail 
to try to help. Could you create a log of the build using 'script' or 
something similar, and send the entire build log?  It will be long, so 
you might want to send it to ag-mcs at mcs.anl.gov instead of the ag-tech 
list; please also include at least the other Debian packagers (<Jason 
Hill> jahill at scl.ameslab.gov, dgolden at cp.dias.ie), too, so they can help 
if possible.

It's not clear to me from the error output alone why ssl.h is not being 
found during the openssl build.  Maybe the reason for this, too, will be 
more clear from the more detailed log result.  Please also send details 
about what directories have been created in the timestamped dist directory.

As for rpms:  I expect that for debian the result will debian packages, 
not rpms.  The details of creating these packages will likely be 
captured in a packaging/linux/debian/BuildPackage.py script.  I don't 
know about packaging for debian, so unfortunately can't help much there. 
  I can say that the script will likey perform many of the same tasks as 
the rpm/BuildPackage.py script.

Thanks again for your work packaging for debian.

Tom




Joseph wrote:
> 
> Hello
> 
> As I need to install AGtk2.2 on a Debian, I've worked from the source 
> tarball. To know how to do, I've followed the instructions gently given 
> by Thomas D. Uram for the beta version in a doc called 
> AG-Linux-Build-HOWTO.rtf (which is quite big so I don't attach it to 
> this mail).
> 
> However, when I execute python BuildSnapshot.py --no-check-out 
> --sourcedir=/sourcedir in the ccessGrid/packaging directory, I have some 
> troubles during the script.
> 
> Firstly, there are a lot of errors in the files in the src/crypto 
> directory.
> 
> Then, a failure happens because of an "ImportError: No module named 
> pyGlobus".
> 
> Finally, of course, there is a problem with the rpm construction.
> 
> However, the script produces an AccessGrid-2.2-Snapshot-date_hour.tar.gz 
> and creates a dist-date_hour repertory. I don't have, though, a 
> AccessGrid-2.2-date_hour.tar.gz, the binary file.
> 
> BTW, the error output is pasted at the end of this mail. I didn't paste 
> the standard output since it's too big.
> 
> I didn't try to solve the firt trouble, because it's some parse errors 
> and stuff like this (so trouble with the code itself most probably) and 
> it didn't seem to be important for the time.
> 
> I've tried to solve the second point. In the AG-Linux-Build-HOWTO.rtf, 
> there was no mention of pyGlobus, but I thought it might finally be 
> needed. So I went to pyGlobus website and ... found there is no version 
> of pyGlobus for the GlobusToolkit 3.0.2 (the one used in the 
> AG-Linux-Build-HOWTO.rtf).
> 
> I've tried with pyGlobus for Globus2.4 then 3.2 but it wasn't a success 
> (for the 2.4 one it's because I have no repertory for Globus, since 
> Globus3.0.2's install doesn't create one, for the other one the 
> installation went ok but the AccessGrid intall still fails). I also set 
> the PYTHONPATH but without success.
> 
> So I don't know what to do. I have also noticed that some pyGlobus files 
> and repertories are made during the installation of AccessGrid by the 
> installation script itself, so I wonder if there is a trouble during the 
> installation...
> 
> For the rpm, AccessGrid-2.2-Snapshot-date_hour.src.tar.gz and the 
> dist-date_hour repertory, I don't know what to do with them in order to 
> install AccessGrid. For sure, I don't want some rpm but some binary or 
> an installation from the source (to be able to do some *.deb for the 
> debian packaging system).
> 
> However, I found nothing close to a binary or an installation script in 
> the AccessGrid-2.2-Snapshot-date_hour.src.tar.gz and the dist-date_hour 
> repertory. I don't neither have the binary tar.gz file, so I don't know 
> what to do to install AccessGrid.
> 
> I hope you don't mind my questions and you will be able to help me ! 
> BTW, I'm quite new to linux and linux packaging, so I may lack some 
> basic knowledges, sorry.
> 
> Cheers,
>      Joseph
> 
> ps : the error output :
> sys:1: DeprecationWarning: Non-ASCII character '\xc3' in file setup.py 
> on line 87, but no encoding declared; see http://www.python.org/
> peps/pep-0263.html for details
> sys:1: DeprecationWarning: Non-ASCII character '\xc3' in file setup.py 
> on line 87, but no encoding declared; see http://www.python.org/
> peps/pep-0263.html for details
> In file included from src/crypto/crypto.h:17,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509.h:17:25: openssl/ssl.h: No such file or directory
> In file included from src/crypto/crypto.h:17,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509.h:27: error: parse error before "X509"
> src/crypto/x509.h:27: warning: no semicolon at end of struct or union
> src/crypto/x509.h:29: error: parse error before '}' token
> src/crypto/x509.h:29: warning: type defaults to `int' in declaration of 
> `crypto_X509Obj'
> src/crypto/x509.h:29: warning: data definition has no type or storage class
> In file included from src/crypto/crypto.h:18,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509name.h:22:25: openssl/ssl.h: No such file or directory
> In file included from src/crypto/crypto.h:18,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509name.h:32: error: parse error before "X509_NAME"
> src/crypto/x509name.h:32: warning: no semicolon at end of struct or union
> src/crypto/x509name.h:35: error: parse error before '}' token
> src/crypto/x509name.h:35: warning: type defaults to `int' in declaration 
> of `crypto_X509NameObj'
> src/crypto/x509name.h:35: warning: data definition has no type or 
> storage class
> In file included from src/crypto/crypto.h:19,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509store.h:15:25: openssl/ssl.h: No such file or directory
> In file included from src/crypto/crypto.h:19,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509store.h:25: error: parse error before "X509_STORE"
> src/crypto/x509store.h:25: warning: no semicolon at end of struct or union
> src/crypto/x509store.h:27: error: parse error before '}' token
> src/crypto/x509store.h:27: warning: type defaults to `int' in 
> declaration of `crypto_X509StoreObj'
> src/crypto/x509store.h:27: warning: data definition has no type or 
> storage class
> In file included from src/crypto/crypto.h:20,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509req.h:15:25: openssl/ssl.h: No such file or directory
> In file included from src/crypto/crypto.h:20,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509req.h:25: error: parse error before "X509_REQ"
> src/crypto/x509req.h:25: warning: no semicolon at end of struct or union
> src/crypto/x509req.h:27: error: parse error before '}' token
> src/crypto/x509req.h:27: warning: type defaults to `int' in declaration 
> of `crypto_X509ReqObj'
> src/crypto/x509req.h:27: warning: data definition has no type or storage 
> class
> In file included from src/crypto/crypto.h:21,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/pkey.h:22: error: parse error before "EVP_PKEY"
> src/crypto/pkey.h:22: warning: no semicolon at end of struct or union
> src/crypto/pkey.h:24: error: parse error before '}' token
> src/crypto/pkey.h:24: warning: type defaults to `int' in declaration of 
> `crypto_PKeyObj'
> src/crypto/pkey.h:24: warning: data definition has no type or storage class
> In file included from src/crypto/crypto.h:22,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509ext.h:15:25: openssl/ssl.h: No such file or directory
> src/crypto/x509ext.h:16:28: openssl/x509v3.h: No such file or directory
> In file included from src/crypto/crypto.h:22,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509ext.h:27: error: parse error before "X509_EXTENSION"
> src/crypto/x509ext.h:27: warning: no semicolon at end of struct or union
> src/crypto/x509ext.h:29: error: parse error before '}' token
> src/crypto/x509ext.h:29: warning: type defaults to `int' in declaration 
> of `crypto_X509ExtensionObj'
> src/crypto/x509ext.h:29: warning: data definition has no type or storage 
> class
> In file included from src/crypto/crypto.h:23,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/pkcs7.h:15:27: openssl/pkcs7.h: No such file or directory
> In file included from src/crypto/crypto.h:23,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/pkcs7.h:25: error: parse error before "PKCS7"
> src/crypto/pkcs7.h:25: warning: no semicolon at end of struct or union
> src/crypto/pkcs7.h:27: error: parse error before '}' token
> src/crypto/pkcs7.h:27: warning: type defaults to `int' in declaration of 
> `crypto_PKCS7Obj'
> src/crypto/pkcs7.h:27: warning: data definition has no type or storage 
> class
> In file included from src/crypto/crypto.h:24,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/pkcs12.h:14:28: openssl/pkcs12.h: No such file or directory
> src/crypto/pkcs12.h:15:26: openssl/asn1.h: No such file or directory
> In file included from src/crypto/crypto.h:25,
>                  from src/crypto/pkcs7.c:12:
> src/util.h:17:25: openssl/err.h: No such file or directory
> In file included from src/crypto/pkcs7.c:12:
> src/crypto/crypto.h:70: error: parse error before '*' token
> src/crypto/crypto.h:70: error: parse error before '*' token
> src/crypto/crypto.h:70: warning: type defaults to `int' in declaration 
> of `crypto_X509_New'
> src/crypto/crypto.h:70: warning: function declaration isn't a prototype
> src/crypto/crypto.h:70: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:71: error: parse error before '*' token
> src/crypto/crypto.h:71: error: parse error before '*' token
> src/crypto/crypto.h:71: warning: type defaults to `int' in declaration 
> of `crypto_X509Name_New'
> src/crypto/crypto.h:71: warning: function declaration isn't a prototype
> src/crypto/crypto.h:71: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:72: error: parse error before '*' token
> src/crypto/crypto.h:72: error: parse error before '*' token
> src/crypto/crypto.h:72: warning: type defaults to `int' in declaration 
> of `crypto_X509Req_New'
> src/crypto/crypto.h:72: warning: function declaration isn't a prototype
> src/crypto/crypto.h:72: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:73: error: parse error before '*' token
> src/crypto/crypto.h:73: error: parse error before '*' token
> src/crypto/crypto.h:73: warning: type defaults to `int' in declaration 
> of `crypto_X509Store_New'
> src/crypto/crypto.h:73: warning: function declaration isn't a prototype
> src/crypto/crypto.h:73: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:74: error: parse error before '*' token
> src/crypto/crypto.h:74: error: parse error before '*' token
> src/crypto/crypto.h:74: warning: type defaults to `int' in declaration 
> of `crypto_PKey_New'
> src/crypto/crypto.h:74: warning: function declaration isn't a prototype
> src/crypto/crypto.h:74: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:75: error: parse error before '*' token
> src/crypto/crypto.h:75: warning: type defaults to `int' in declaration 
> of `crypto_X509Extension_New'
> src/crypto/crypto.h:75: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:76: error: parse error before '*' token
> src/crypto/crypto.h:76: error: parse error before '*' token
> src/crypto/crypto.h:76: warning: type defaults to `int' in declaration 
> of `crypto_PKCS7_New'
> src/crypto/crypto.h:76: warning: function declaration isn't a prototype
> src/crypto/crypto.h:76: warning: data definition has no type or storage 
> class
> src/crypto/pkcs7.c:25: error: parse error before '*' token
> src/crypto/pkcs7.c:26: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_type_is_signed':
> src/crypto/pkcs7.c:27: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:27: error: (Each undeclared identifier is reported 
> only once
> src/crypto/pkcs7.c:27: error: for each function it appears in.)
> src/crypto/pkcs7.c:30: warning: implicit declaration of function 
> `PKCS7_type_is_signed'
> src/crypto/pkcs7.c:30: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:45: error: parse error before '*' token
> src/crypto/pkcs7.c:46: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_type_is_enveloped':
> src/crypto/pkcs7.c:47: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:50: warning: implicit declaration of function 
> `PKCS7_type_is_enveloped'
> src/crypto/pkcs7.c:50: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:65: error: parse error before '*' token
> src/crypto/pkcs7.c:66: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_type_is_signedAndEnveloped':
> src/crypto/pkcs7.c:67: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:70: warning: implicit declaration of function 
> `PKCS7_type_is_signedAndEnveloped'
> src/crypto/pkcs7.c:70: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:85: error: parse error before '*' token
> src/crypto/pkcs7.c:86: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_type_is_data':
> src/crypto/pkcs7.c:87: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:90: warning: implicit declaration of function 
> `PKCS7_type_is_data'
> src/crypto/pkcs7.c:90: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:105: error: parse error before '*' token
> src/crypto/pkcs7.c:106: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_get_type_name':
> src/crypto/pkcs7.c:107: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:113: warning: implicit declaration of function 
> `OBJ_nid2sn'
> src/crypto/pkcs7.c:113: warning: implicit declaration of function 
> `OBJ_obj2nid'
> src/crypto/pkcs7.c:113: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:113: warning: passing arg 1 of `PyString_FromString' 
> makes pointer from integer without a cast
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:143: error: parse error before '*' token
> src/crypto/pkcs7.c:144: error: parse error before '*' token
> src/crypto/pkcs7.c:145: warning: return type defaults to `int'
> src/crypto/pkcs7.c:145: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_New':
> src/crypto/pkcs7.c:146: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:148: error: parse error before ')' token
> src/crypto/pkcs7.c:153: error: `pkcs7' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:166: error: parse error before '*' token
> src/crypto/pkcs7.c:167: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_dealloc':
> src/crypto/pkcs7.c:169: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:170: warning: implicit declaration of function 
> `PKCS7_free'
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:184: error: parse error before '*' token
> src/crypto/pkcs7.c:185: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_getattr':
> src/crypto/pkcs7.c:186: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:186: error: `name' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:14: warning: `CVSid' defined but not used
> error: command 'gcc' failed with exit status 1
> sys:1: DeprecationWarning: Non-ASCII character '\xc3' in file setup.py 
> on line 87, but no encoding declared; see http://www.python.org/
> peps/pep-0263.html for details
> In file included from src/crypto/crypto.h:17,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509.h:17:25: openssl/ssl.h: No such file or directory
> In file included from src/crypto/crypto.h:17,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509.h:27: error: parse error before "X509"
> src/crypto/x509.h:27: warning: no semicolon at end of struct or union
> src/crypto/x509.h:29: error: parse error before '}' token
> src/crypto/x509.h:29: warning: type defaults to `int' in declaration of 
> `crypto_X509Obj'
> src/crypto/x509.h:29: warning: data definition has no type or storage class
> In file included from src/crypto/crypto.h:18,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509name.h:22:25: openssl/ssl.h: No such file or directory
> In file included from src/crypto/crypto.h:18,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509name.h:32: error: parse error before "X509_NAME"
> src/crypto/x509name.h:32: warning: no semicolon at end of struct or union
> src/crypto/x509name.h:35: error: parse error before '}' token
> src/crypto/x509name.h:35: warning: type defaults to `int' in declaration 
> of `crypto_X509NameObj'
> src/crypto/x509name.h:35: warning: data definition has no type or 
> storage class
> In file included from src/crypto/crypto.h:19,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509store.h:15:25: openssl/ssl.h: No such file or directory
> In file included from src/crypto/crypto.h:19,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509store.h:25: error: parse error before "X509_STORE"
> src/crypto/x509store.h:25: warning: no semicolon at end of struct or union
> src/crypto/x509store.h:27: error: parse error before '}' token
> src/crypto/x509store.h:27: warning: type defaults to `int' in 
> declaration of `crypto_X509StoreObj'
> src/crypto/x509store.h:27: warning: data definition has no type or 
> storage class
> In file included from src/crypto/crypto.h:20,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509req.h:15:25: openssl/ssl.h: No such file or directory
> In file included from src/crypto/crypto.h:20,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509req.h:25: error: parse error before "X509_REQ"
> src/crypto/x509req.h:25: warning: no semicolon at end of struct or union
> src/crypto/x509req.h:27: error: parse error before '}' token
> src/crypto/x509req.h:27: warning: type defaults to `int' in declaration 
> of `crypto_X509ReqObj'
> src/crypto/x509req.h:27: warning: data definition has no type or storage 
> class
> In file included from src/crypto/crypto.h:21,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/pkey.h:22: error: parse error before "EVP_PKEY"
> src/crypto/pkey.h:22: warning: no semicolon at end of struct or union
> src/crypto/pkey.h:24: error: parse error before '}' token
> src/crypto/pkey.h:24: warning: type defaults to `int' in declaration of 
> `crypto_PKeyObj'
> src/crypto/pkey.h:24: warning: data definition has no type or storage class
> In file included from src/crypto/crypto.h:22,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509ext.h:15:25: openssl/ssl.h: No such file or directory
> src/crypto/x509ext.h:16:28: openssl/x509v3.h: No such file or directory
> In file included from src/crypto/crypto.h:22,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/x509ext.h:27: error: parse error before "X509_EXTENSION"
> src/crypto/x509ext.h:27: warning: no semicolon at end of struct or union
> src/crypto/x509ext.h:29: error: parse error before '}' token
> src/crypto/x509ext.h:29: warning: type defaults to `int' in declaration 
> of `crypto_X509ExtensionObj'
> src/crypto/x509ext.h:29: warning: data definition has no type or storage 
> class
> In file included from src/crypto/crypto.h:23,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/pkcs7.h:15:27: openssl/pkcs7.h: No such file or directory
> In file included from src/crypto/crypto.h:23,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/pkcs7.h:25: error: parse error before "PKCS7"
> src/crypto/pkcs7.h:25: warning: no semicolon at end of struct or union
> src/crypto/pkcs7.h:27: error: parse error before '}' token
> src/crypto/pkcs7.h:27: warning: type defaults to `int' in declaration of 
> `crypto_PKCS7Obj'
> src/crypto/pkcs7.h:27: warning: data definition has no type or storage 
> class
> In file included from src/crypto/crypto.h:24,
>                  from src/crypto/pkcs7.c:12:
> src/crypto/pkcs12.h:14:28: openssl/pkcs12.h: No such file or directory
> src/crypto/pkcs12.h:15:26: openssl/asn1.h: No such file or directory
> In file included from src/crypto/crypto.h:25,
>                  from src/crypto/pkcs7.c:12:
> src/util.h:17:25: openssl/err.h: No such file or directory
> In file included from src/crypto/pkcs7.c:12:
> src/crypto/crypto.h:70: error: parse error before '*' token
> src/crypto/crypto.h:70: error: parse error before '*' token
> src/crypto/crypto.h:70: warning: type defaults to `int' in declaration 
> of `crypto_X509_New'
> src/crypto/crypto.h:70: warning: function declaration isn't a prototype
> src/crypto/crypto.h:70: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:71: error: parse error before '*' token
> src/crypto/crypto.h:71: error: parse error before '*' token
> src/crypto/crypto.h:71: warning: type defaults to `int' in declaration 
> of `crypto_X509Name_New'
> src/crypto/crypto.h:71: warning: function declaration isn't a prototype
> src/crypto/crypto.h:71: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:72: error: parse error before '*' token
> src/crypto/crypto.h:72: error: parse error before '*' token
> src/crypto/crypto.h:72: warning: type defaults to `int' in declaration 
> of `crypto_X509Req_New'
> src/crypto/crypto.h:72: warning: function declaration isn't a prototype
> src/crypto/crypto.h:72: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:73: error: parse error before '*' token
> src/crypto/crypto.h:73: error: parse error before '*' token
> src/crypto/crypto.h:73: warning: type defaults to `int' in declaration 
> of `crypto_X509Store_New'
> src/crypto/crypto.h:73: warning: function declaration isn't a prototype
> src/crypto/crypto.h:73: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:74: error: parse error before '*' token
> src/crypto/crypto.h:74: error: parse error before '*' token
> src/crypto/crypto.h:74: warning: type defaults to `int' in declaration 
> of `crypto_PKey_New'
> src/crypto/crypto.h:74: warning: function declaration isn't a prototype
> src/crypto/crypto.h:74: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:75: error: parse error before '*' token
> src/crypto/crypto.h:75: warning: type defaults to `int' in declaration 
> of `crypto_X509Extension_New'
> src/crypto/crypto.h:75: warning: data definition has no type or storage 
> class
> src/crypto/crypto.h:76: error: parse error before '*' token
> src/crypto/crypto.h:76: error: parse error before '*' token
> src/crypto/crypto.h:76: warning: type defaults to `int' in declaration 
> of `crypto_PKCS7_New'
> src/crypto/crypto.h:76: warning: function declaration isn't a prototype
> src/crypto/crypto.h:76: warning: data definition has no type or storage 
> class
> src/crypto/pkcs7.c:25: error: parse error before '*' token
> src/crypto/pkcs7.c:26: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_type_is_signed':
> src/crypto/pkcs7.c:27: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:27: error: (Each undeclared identifier is reported 
> only once
> src/crypto/pkcs7.c:27: error: for each function it appears in.)
> src/crypto/pkcs7.c:30: warning: implicit declaration of function 
> `PKCS7_type_is_signed'
> src/crypto/pkcs7.c:30: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:45: error: parse error before '*' token
> src/crypto/pkcs7.c:46: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_type_is_enveloped':
> src/crypto/pkcs7.c:47: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:50: warning: implicit declaration of function 
> `PKCS7_type_is_enveloped'
> src/crypto/pkcs7.c:50: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:65: error: parse error before '*' token
> src/crypto/pkcs7.c:66: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_type_is_signedAndEnveloped':
> src/crypto/pkcs7.c:67: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:70: warning: implicit declaration of function 
> `PKCS7_type_is_signedAndEnveloped'
> src/crypto/pkcs7.c:70: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:85: error: parse error before '*' token
> src/crypto/pkcs7.c:86: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_type_is_data':
> src/crypto/pkcs7.c:87: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:90: warning: implicit declaration of function 
> `PKCS7_type_is_data'
> src/crypto/pkcs7.c:90: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:105: error: parse error before '*' token
> src/crypto/pkcs7.c:106: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_get_type_name':
> src/crypto/pkcs7.c:107: error: `args' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:113: warning: implicit declaration of function 
> `OBJ_nid2sn'
> src/crypto/pkcs7.c:113: warning: implicit declaration of function 
> `OBJ_obj2nid'
> src/crypto/pkcs7.c:113: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:113: warning: passing arg 1 of `PyString_FromString' 
> makes pointer from integer without a cast
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:143: error: parse error before '*' token
> src/crypto/pkcs7.c:144: error: parse error before '*' token
> src/crypto/pkcs7.c:145: warning: return type defaults to `int'
> src/crypto/pkcs7.c:145: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_New':
> src/crypto/pkcs7.c:146: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:148: error: parse error before ')' token
> src/crypto/pkcs7.c:153: error: `pkcs7' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:166: error: parse error before '*' token
> src/crypto/pkcs7.c:167: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_dealloc':
> src/crypto/pkcs7.c:169: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:170: warning: implicit declaration of function 
> `PKCS7_free'
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:184: error: parse error before '*' token
> src/crypto/pkcs7.c:185: warning: function declaration isn't a prototype
> src/crypto/pkcs7.c: In function `crypto_PKCS7_getattr':
> src/crypto/pkcs7.c:186: error: `self' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c:186: error: `name' undeclared (first use in this 
> function)
> src/crypto/pkcs7.c: At top level:
> src/crypto/pkcs7.c:14: warning: `CVSid' defined but not used
> error: command 'gcc' failed with exit status 1
> Traceback (most recent call last):
>   File "test_dist.py", line 213, in ?
>     for module in map(__import__, modules_to_test):
>   File "/var/tmp/build/AccessGrid/tests/unittest_ClientProfile.py", line 
> 20, in ?
>     from AccessGrid.Platform.Config import SystemConfig
>   File 
> "/var/tmp/build/dist-20040603_193542/lib/python2.3/site-packages/AccessGrid/Platform/__init__.py", 
> line 59, in ?
>     from AccessGrid.Platform.unix import Config as Config
>   File 
> "/var/tmp/build/dist-20040603_193542/lib/python2.3/site-packages/AccessGrid/Platform/unix/Config.py", 
> line 21, in ?
>     from pyGlobus import security
> ImportError: No module named pyGlobus
> BuildPackage.py:45: RuntimeWarning: tmpnam is a potential security risk 
> to your program
>   TmpDir = os.tmpnam()
> rpm: To install rpm packages on Debian systems, use alien. See 
> README.Debian.
> error: cannot open Packages index using db3 - No such file or directory (2)
> error: cannot open rpm database in /var/lib/rpm
> cp: cannot stat 
> `/usr/src/redhat/RPMS/i386/globus-accessgrid-2.4-1.i386.rpm': No such 
> file or directory
> tar: 
> /usr/src/redhat/SOURCES/AccessGrid-2.2-Snapshot_20040603_193542.tar.gz: 
> Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
> BuildPackage.py:45: RuntimeWarning: tmpnam is a potential security risk 
> to your program
>   TmpDir = os.tmpnam()
> rpm: To install rpm packages on Debian systems, use alien. See 
> README.Debian.
> error: cannot open Packages index using db3 - No such file or directory (2)
> error: cannot open rpm database in /var/lib/rpm
> cp: cannot stat 
> `/usr/src/redhat/RPMS/i386/globus-accessgrid-2.4-1.i386.rpm': No such 
> file or directory
> tar: 
> /usr/src/redhat/SOURCES/AccessGrid-2.2-Snapshot_20040603_193542.tar.gz: 
> Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
> 
> 




More information about the ag-tech mailing list