gerard at free wrote: > hello all, > i'm following this blog: > http://blogs.sun.com/edp/entry/moving_from_nevada_and_live > > to upgrade form SXCE b101 to os200811. > > The problem is with ips, when building ips: > hg clone ssh://anon at hg.opensolaris.org/hg/pkg/gat e > cd gate/src > make install > > > i got these errors: > building 'OpenSSL.crypto' extension > /usr/lib/python2.4/pycc -DNDEBUG -I/usr/include/python2.4 -c > src/crypto/crypto.c > -o build/temp.solaris-2.11-i86pc-2.4/src/crypto/crypto.o > "src/crypto/x509.h", line 17: cannot find include file: <openssl/ssl.h> > "src/crypto/x509.h", line 27: syntax error before or at: X509 > "src/crypto/x509name.h", line 17: cannot find include file: <openssl/ssl.h> > "src/crypto/x509name.h", line 27: syntax error before or at: X509_NAME > "src/crypto/netscape_spki.h", line 14: cannot find include file: > <openssl/ssl.h> > > but openssl/ssl.h is in /usr/sfw/include, so i don't understand why > python doesn't find it? > > Anybody can help? >
here is my simple workaround: ultra20-root% diff -u /usr/lib/python2.4/pycc-ori /usr/lib/python2.4/pycc --- /usr/lib/python2.4/pycc-ori Mon Oct 6 18:00:45 2008 +++ /usr/lib/python2.4/pycc Sun Dec 14 10:28:25 2008 @@ -169,4 +169,4 @@ extra_flags="$extra_flags -KPIC" fi -exec "$CC" $extra_flags "$...@}" +exec "$CC" -I/usr/sfw/include -R/usr/sfw/lib -L/usr/sfw/lib $extra_flags "$...@}" i hope it will be corrected in the future... gerard