compiling py 2.7.3 with openssl

2012-06-09 Thread V N
RHEL 5.3 x86_64 / Python 2.7.3 compiled as shown below ==> PYTHON=Python-2.7.3 tar xjf bin/$PYTHON.tar.bz2 cd $PYTHON PYHOME=/usr/local/$PYTHON; export PYHOME LDFLAGS="-L/usr/local/lib64"; export LDFLAGS CPPFLAGS="-I/usr/local/include/ncurses -I/usr/local/include/readline

py 2.7.1 & openssl

2011-03-30 Thread V N
I installed openssl-1.0.0d.tar.gz on my RHEL 5 box using: ./config --prefix=/usr/local --openssldir=/usr/local/openssl shared zlib make sudo make install Then I installed python 2.7.1 using PYHOME=/usr/local/Python-2.7.1; export PYHOME LD_RUN_PATH=$PYHO

Re: py 2.7.1 & openssl

2011-03-31 Thread V N
Thank you for your response. Here's some more information: RHEL 5.3 / x86_64, using gcc I am now compiling openssl-1.0.0d using: ./config --prefix=/usr/local --openssldir=/usr/local/openssl -fPIC shared threads zlib I do have the logs for config, make and make install. There are no errors in

Re: py 2.7.1 & openssl

2011-03-31 Thread V N
Yes, _md5 is enabled but I get a very long list under Failed to build these modules: _bisect_codecs_cn _codecs_hk _codecs_iso2022_codecs_jp _codecs_kr _codecs_tw _collections _csv _ctypes_ctypes_test _curses _curses_panel _elemen

Re: py 2.7.1 & openssl

2011-04-01 Thread V N
I tried all your suggestions. No success. On Apr 1, 8:35 am, nirinA wrote: > hi, > > > Yes, _md5 is enabled but I get a very long list under > >  Failed to build these modules: > > ... list of mostly all extension modules ... > > This list was empty earlier. > > at some point, the compilation fai

escape character / csv module

2010-07-01 Thread V N
string "\x00" has a length of 1. When I use the csv module to write that to a file csv_f = csv.writer(file("test.csv","wb"),delimiter="|") csv_f.writerow(["\x00","zz"]) The output file looks like this: |zz Is it possible to force the writer to write that string? -- http://mail.python.org/mailm