[AG-TECH] Problems while installing AGkt2.2 from source on a Debian
Joseph
joseph at cs.usyd.edu.au
Wed Jun 9 21:07:54 CDT 2004
Hi
Me once again... I hope I annoy noone, otherwise let me know and I will
remove you from the cc list and/or try to send less mails.
As I have forgot yesterday to copy to the usual people, I repeat a few
stuff I've already told to Thomas D. Uram and then introduce a new point
(in the end).
So, first of all, I tried to install globus following the spec file. I've
run the stuff with gpt (having set GLOBUS_LOCATION before of course). Then
I have run this :
unisa-ag:/usr/local/bin# ${GPT_LOCATION}/sbin/gpt-postinstall
All of the packages in your GLOBUS_LOCATION are already set up.
unisa-ag:/usr/local/bin# ${GPT_LOCATION}/sbin/gpt-verify
Verifying Bundles...
Verifying run-time dependencies...
Verifying setup dependencies...
Verifying setup packages...
The following setup packages still need to be configured via
gpt-postinstall:
globus_trusted_ca_42864e48_setup-noflavor-pgm
ERROR: The collection of packages in
/home/joseph/deb/globusAG2.2-2.4/usr/lib/globus is not coherent!
So I don't know what to do for the time, since I've worked more on the
last point of the mail.
BTW, in the spec file, they also run /etc/profile/gpt.sh, which I don't
have on my pc, so I don't know what it's supposed to do. I assume it's
something linked with the global variables, but I'm not sure.
Then, I looked closer at the trouble with crypto and pyOpenSSL.
To resolv the trouble with the library, I have copied
./openssl-0.9.7d/include/openssl/* to ./pyOpenSSL/src/crypto/ then change
all lines in the pyOpenSSL/src/crypto from <openssl/file.h> to "file.h" .
This way I don't have any error of *.h not found, but it still doesn't
compile properly (the lines are at the end of this mail). It's what I'm
currently working on.
BTW, I would gladly take any feedback from other people trying the same
thing as me.
Cheers,
Joseph
ps : the lines still causing troubles during BuildSnapshot.py :
building 'OpenSSL_AG.crypto' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -I/var/tmp/build/openssl-0.9.7d/inc32
-I/usr/kerberos/include -I/usr/include/python2.3 -c src/crypto/pkcs7.c -o
build/temp.linux-i686-2.3/src/crypto/pkcs7.o
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: `crypto_PKCS7Obj' undeclared (first use in
this function)
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:154: error: `dealloc' 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:193: error: `crypto_PKCS7Obj' undeclared here (not in a
function)
src/crypto/pkcs7.c:14: warning: `CVSid' defined but not used
error: command 'gcc' failed with exit status 1
More information about the ag-tech
mailing list