From info at egenix.com Tue Dec 2 11:12:24 2008 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Tue Dec 2 11:14:01 2008 Subject: [egenix-users] ANN: eGenix mxODBC Connect - Python Database Interface 1.0.0 Message-ID: <49350A08.10906@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix.com mxODBC Connect Python Database Interface Version 1.0.0 Our new client-server product for connecting Python applications to relational databases - from all major platforms This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-mxODBC-Connect-1.0.0-GA.html ________________________________________________________________________ INTRODUCTION The mxODBC Connect Database Interface for Python allows users to easily connect Python applications to all major databases on the market today in a highly portable and convenient way. Unlike our mxODBC Python extension, mxODBC Connect is designed as client-server application, so you no longer need to find production quality ODBC drivers for all the platforms you target with your Python application. Instead you use an easy to install Python client library which connects directly to the mxODBC Connect database server over the network. This makes mxODBC Connect the ideal basis for writing cross-platform database programs and utilities in Python, especially if you run applications that need to communicate with databases such as MS SQL Server and MS Access, Oracle Database, IBM DB2 and Informix, Sybase ASE and Sybase Anywhere, MySQL, PostgreSQL, SAP MaxDB and many more, that run on Windows or Linux machines. By removing the need to install and configure ODBC drivers on the client side, mxODBC Connect greatly simplifies setup and configuration of database driven client applications, while at the same time making the network communication between client and database server more efficient and more secure. For more information, please see the product page: http://www.egenix.com/products/python/mxODBCConnect/ ________________________________________________________________________ NEWS mxODBC Connect 1.0.0 is the first general availability release of our new mxODBC Connect product. With this release we have further improved the performance and round-trip times of the mxODBC Connect network layer even more. We are now able to achieve a *more than 10 times better performance* for a typical multi-tier application that runs on Linux and connects to a MS SQL Server database running on a Windows host, compared to the same application using mxODBC and the FreeTDS ODBC driver. Thanks to everyone who participated in the public beta ! ________________________________________________________________________ DOWNLOADS The download archives as well as instructions for installation and configuration of the product can be found on the product page: http://www.egenix.com/products/python/mxODBCConnect/ Evaluation licenses for the server part are available free of charge: http://www.egenix.com/products/python/mxODBCConnect/#Evaluation The client part of mxODBC Connect is always free of charge. _______________________________________________________________________ SUPPORT Commercial support for this product is available from eGenix.com. Please see http://www.egenix.com/services/support/ for details about our support offerings. Enjoy, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Dec 02 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 From info at egenix.com Sun Dec 7 22:10:23 2008 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Sun Dec 7 22:24:03 2008 Subject: [egenix-users] ANN: eGenix lowers USD prices on all products Message-ID: <493C3BBF.7090409@egenix.com> Dear Customers, eGenix is known for maintaining stable product prices whenever possible and we haven't touched our EUR prices for years. Unfortunately, the financial crisis had pushed the USD/EUR exchange rate to new limits earlier this year which forced us to raise the USD prices on all our products. In the last few weeks, the exchange rate has fallen to a reasonable level again, and we're pleased to announce a more than 10% price drop on all our USD product prices - just in time for Christmas :-) The new USD prices (*) are effective immediately and you can find them listed in our eGenix shop: http://shop.egenix.com/ (*) Note that this also affects all non-EUR prices in the shop, since these are calculated using the latest exchange rates based on the USD prices. Happy Shopping and a wonderful Christmas time, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Dec 07 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From JBard at wyeth.com Thu Dec 11 17:33:24 2008 From: JBard at wyeth.com (Joel Bard) Date: Thu Dec 11 23:33:32 2008 Subject: [egenix-users] mxODBC 3.0.2_x86_64 python 2.6 can't find libodbc Message-ID: <49414EE4020000FB0000A11C@gv01a67m.gv.us.pri.wyeth.com> Hi- I've been using 3.0.1 x86_64 with python 2.5 successfully for some time. Just installed 3.0.2 with python 2.6 on the same system and it doesn't work. In both cases libodbc.so.1 is in /d00/local/lib which is present in LD_LIBRARY_PATH Python 2.6 (r26_cci:66714, Dec 7 2008, 16:26:22) [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import mx >>> import mx.ODBC >>> import mx.ODBC.unixODBC Traceback (most recent call last): File "", line 1, in File "mx/ODBC/unixODBC/__init__.py", line 8, in ImportError: libodbc.so.1: cannot open shared object file: No such file or directory but: Python 2.5.2 (r252_cci:60911, May 26 2008, 10:48:22) [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import mx >>> import mx.ODBC >>> import mx.ODBC.unixODBC >>> Thanks, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman-archives/egenix-users/attachments/20081211/642b5964/attachment.htm From mal at egenix.com Fri Dec 12 00:09:16 2008 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Dec 12 00:09:27 2008 Subject: [egenix-users] mxODBC 3.0.2_x86_64 python 2.6 can't find libodbc In-Reply-To: <49414EE4020000FB0000A11C@gv01a67m.gv.us.pri.wyeth.com> References: <49414EE4020000FB0000A11C@gv01a67m.gv.us.pri.wyeth.com> Message-ID: <49419D9C.7040405@egenix.com> Hi Joel, I just tried this on a x64 Linux box with the released versions and it does work fine: lib/python> python2.6-ucs4 Python 2.6.1 (r261:67515, Dec 5 2008, 16:16:15) [GCC 4.2.1 (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. Loaded pyinteractive.py. >>> import mx.ODBC >>> import mx.ODBC.unixODBC >>> lib/python> ldd mx/ODBC/unixODBC/mxODBC.so libodbc.so.1 => /usr/local/unixODBC/lib/libodbc.so.1 (0x00002ac198b63000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ac198dfc000) libc.so.6 => /lib64/libc.so.6 (0x00002ac199017000) libdl.so.2 => /lib64/libdl.so.2 (0x00002ac19935d000) /lib64/ld-linux-x86-64.so.2 (0x0000555555554000) lib/python> file /usr/local/unixODBC/lib/libodbc.so.1 /usr/local/unixODBC/lib/libodbc.so.1: symbolic link to `libodbc.so.1.0.0' lib/python> file /usr/local/unixODBC/lib/libodbc.so.1.0.0 /usr/local/unixODBC/lib/libodbc.so.1.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), not stripped Could you try an strace on python -c "import mx.ODBC.unixODBC" to see where the OS looks for the libodbc.so.1 ? Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Dec 12 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ On 2008-12-11 23:33, Joel Bard wrote: > Hi- > > I've been using 3.0.1 x86_64 with python 2.5 successfully for some time. Just installed 3.0.2 with python 2.6 on the same system and it doesn't work. In both cases libodbc.so.1 is in /d00/local/lib which is present in LD_LIBRARY_PATH > > Python 2.6 (r26_cci:66714, Dec 7 2008, 16:26:22) > [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import mx >>>> import mx.ODBC >>>> import mx.ODBC.unixODBC > Traceback (most recent call last): > File "", line 1, in > File "mx/ODBC/unixODBC/__init__.py", line 8, in > ImportError: libodbc.so.1: cannot open shared object file: No such file or directory > > > but: > > Python 2.5.2 (r252_cci:60911, May 26 2008, 10:48:22) > [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import mx >>>> import mx.ODBC >>>> import mx.ODBC.unixODBC >>>> > > Thanks, > > Joel > > > > ------------------------------------------------------------------------ > > > _______________________________________________________________________ > eGenix.com User Mailing List http://www.egenix.com/ > https://www.egenix.com/mailman/listinfo/egenix-users From iknowjoseph at gmail.com Fri Dec 12 14:29:59 2008 From: iknowjoseph at gmail.com (Joseph Reeves) Date: Fri Dec 12 15:32:34 2008 Subject: [egenix-users] python-egenix-mxdatetime on Openmoko Message-ID: <958244340812120629l40c6db7ajad6eabb6d9ac0a45@mail.gmail.com> Dear all, I'm trying to install gnue-forms on Openmoko (www.openmoko.org), a requirement of which is python-egenix-mxdatetime. I've installed gcc (4.1.2-r14) downloaded the source directory (genix-mx-base-3.1.1) and have tried to install as per the instructions on the egenix website. The installation fails with: root@om-gta02:~/egenix-mx-base-3.1.1# python setup.py install running install running build running mx_autoconf arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1 -I/usr/include -c _configtest.c -o _configtest.o arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory failure. removing: _configtest.c _configtest.o arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1 -I/usr/include/python2.5 -I/usr/include -c _configtest.c -o _configtest.o arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory failure. removing: _configtest.c _configtest.o macros to define: [('BAD_STATIC_FORWARD', '1')] macros to undefine: ['HAVE_STRPTIME'] running build_ext building extension "mx.DateTime.mxDateTime.mxDateTime" (required) building 'mx.DateTime.mxDateTime.mxDateTime' extension arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DUSE_FAST_GETCURRENTTIME -DBAD_STATIC_FORWARD=1 -UHAVE_STRPTIME -Imx/DateTime/mxDateTime -I/usr/include/python2.5 -I/usr/include -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-armv4tl-2.5_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory error: command 'arm-angstrom-linux-gnueabi-gcc' failed with exit status 1 root@om-gta02:~/egenix-mx-base-3.1.1# Any help getting python-egenix-mxdatetime installed would be greatly appreciated. Thanks, Joseph From jbard at wyeth.com Fri Dec 12 10:19:58 2008 From: jbard at wyeth.com (Joel Bard) Date: Fri Dec 12 16:20:06 2008 Subject: Solved - [egenix-users] mxODBC 3.0.2_x86_64 python 2.6 can't find libodbc In-Reply-To: <49419D9C.7040405@egenix.com> References: <49414EE4020000FB0000A11C@gv01a67m.gv.us.pri.wyeth.com> <49419D9C.7040405@egenix.com> Message-ID: <49423ACE.D12A.00FB.0@wyeth.com> Thanks. strace showed that it was looking only in the rebular /lib/ etc. locations which indicated that LD_LIBRARY_PATH was being ignored. I'm using a python that's wrapped by the developers of some libraries that I need and they had left a LD_LIBRARY_PATH= statement in the script that starts python. Best Regards, Joel >>> "M.-A. Lemburg" 12/11/08 6:09 PM >>> Hi Joel, I just tried this on a x64 Linux box with the released versions and it does work fine: lib/python> python2.6-ucs4 Python 2.6.1 (r261:67515, Dec 5 2008, 16:16:15) [GCC 4.2.1 (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. Loaded pyinteractive.py. >>> import mx.ODBC >>> import mx.ODBC.unixODBC >>> lib/python> ldd mx/ODBC/unixODBC/mxODBC.so libodbc.so.1 => /usr/local/unixODBC/lib/libodbc.so.1 (0x00002ac198b63000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ac198dfc000) libc.so.6 => /lib64/libc.so.6 (0x00002ac199017000) libdl.so.2 => /lib64/libdl.so.2 (0x00002ac19935d000) /lib64/ld-linux-x86-64.so.2 (0x0000555555554000) lib/python> file /usr/local/unixODBC/lib/libodbc.so.1 /usr/local/unixODBC/lib/libodbc.so.1: symbolic link to `libodbc.so.1.0.0' lib/python> file /usr/local/unixODBC/lib/libodbc.so.1.0.0 /usr/local/unixODBC/lib/libodbc.so.1.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), not stripped Could you try an strace on python -c "import mx.ODBC.unixODBC" to see where the OS looks for the libodbc.so.1 ? Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Dec 12 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ On 2008-12-11 23:33, Joel Bard wrote: > Hi- > > I've been using 3.0.1 x86_64 with python 2.5 successfully for some time. Just installed 3.0.2 with python 2.6 on the same system and it doesn't work. In both cases libodbc.so.1 is in /d00/local/lib which is present in LD_LIBRARY_PATH > > Python 2.6 (r26_cci:66714, Dec 7 2008, 16:26:22) > [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import mx >>>> import mx.ODBC >>>> import mx.ODBC.unixODBC > Traceback (most recent call last): > File "", line 1, in > File "mx/ODBC/unixODBC/__init__.py", line 8, in > ImportError: libodbc.so.1: cannot open shared object file: No such file or directory > > > but: > > Python 2.5.2 (r252_cci:60911, May 26 2008, 10:48:22) > [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import mx >>>> import mx.ODBC >>>> import mx.ODBC.unixODBC >>>> > > Thanks, > > Joel > > > > ------------------------------------------------------------------------ > > > _______________________________________________________________________ > eGenix.com User Mailing List http://www.egenix.com/ > https://www.egenix.com/mailman/listinfo/egenix-users From iknowjoseph at gmail.com Fri Dec 12 15:37:54 2008 From: iknowjoseph at gmail.com (Joseph Reeves) Date: Fri Dec 12 16:38:00 2008 Subject: [egenix-users] Re: python-egenix-mxdatetime on Openmoko In-Reply-To: <958244340812120629l40c6db7ajad6eabb6d9ac0a45@mail.gmail.com> References: <958244340812120629l40c6db7ajad6eabb6d9ac0a45@mail.gmail.com> Message-ID: <958244340812120737s537c435dnf9a472063c3e0cc2@mail.gmail.com> I've just apt-get installed date time onto my Ubuntu machine and recreated the produced file structure onto the Openmoko. Now when I try and install gnue-forms I'm told: root@om-gta02:~/gnue-forms-0.6.1# python setup.py install running install checking GNUe Common Library checking mxDateTime library *** You don't have the (right) mxDateTime binaries installed ! --- Could not import the mx.DateTime package. Please install mxDateTime from the mxtools suite. The file 'INSTALL' contains more information about dependencies. root@om-gta02:~/gnue-forms-0.6.1# Obviously the binaries I've apt-get'd onto my laptop are for i686 machines, not the arm4 architecture of the Openmoko. Again, any help would be massively appreciated. Thanks, Joseph 2008/12/12 Joseph Reeves : > Dear all, > > I'm trying to install gnue-forms on Openmoko (www.openmoko.org), a > requirement of which is python-egenix-mxdatetime. > > I've installed gcc (4.1.2-r14) downloaded the source directory > (genix-mx-base-3.1.1) and have tried to install as per the > instructions on the egenix website. The installation fails with: > > root@om-gta02:~/egenix-mx-base-3.1.1# python setup.py install > running install > running build > running mx_autoconf > arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG > -g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1 -I/usr/include > -c _configtest.c -o _configtest.o > arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No > such file or directory > failure. > removing: _configtest.c _configtest.o > arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG > -g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1 > -I/usr/include/python2.5 -I/usr/include -c _configtest.c -o > _configtest.o > arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No > such file or directory > failure. > removing: _configtest.c _configtest.o > macros to define: [('BAD_STATIC_FORWARD', '1')] > macros to undefine: ['HAVE_STRPTIME'] > running build_ext > > building extension "mx.DateTime.mxDateTime.mxDateTime" (required) > building 'mx.DateTime.mxDateTime.mxDateTime' extension > arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG > -g -O3 -Wall -Wstrict-prototypes -fPIC -DUSE_FAST_GETCURRENTTIME > -DBAD_STATIC_FORWARD=1 -UHAVE_STRPTIME -Imx/DateTime/mxDateTime > -I/usr/include/python2.5 -I/usr/include -c > mx/DateTime/mxDateTime/mxDateTime.c -o > build/temp.linux-armv4tl-2.5_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o > arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No > such file or directory > error: command 'arm-angstrom-linux-gnueabi-gcc' failed with exit status 1 > root@om-gta02:~/egenix-mx-base-3.1.1# > > Any help getting python-egenix-mxdatetime installed would be greatly > appreciated. > > Thanks, Joseph > From iknowjoseph at gmail.com Fri Dec 12 16:33:57 2008 From: iknowjoseph at gmail.com (Joseph Reeves) Date: Fri Dec 12 17:37:00 2008 Subject: [egenix-users] Re: python-egenix-mxdatetime on Openmoko In-Reply-To: <958244340812120737s537c435dnf9a472063c3e0cc2@mail.gmail.com> References: <958244340812120629l40c6db7ajad6eabb6d9ac0a45@mail.gmail.com> <958244340812120737s537c435dnf9a472063c3e0cc2@mail.gmail.com> Message-ID: <958244340812120833s371111eepff6e8cf0c68d9b6@mail.gmail.com> Apologies for the spam, but I have more information if it helps: root@om-gta02:~/gnue-forms-0.6.1# python Python 2.5.2 (r252:60911, Oct 14 2008, 01:51:25) [GCC 4.1.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import mx.DateTime *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.5/site-packages/mx/DateTime/__init__.py", line 8, in from DateTime import * File "/usr/lib/python2.5/site-packages/mx/DateTime/DateTime.py", line 9, in from mxDateTime import * File "/usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/__init__.py", line 13, in raise ImportError, why ImportError: /usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/mxDateTime.so: cannot open shared object file: No such file or directory >>> root@om-gta02:~/gnue-forms-0.6.1# cat /usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/__init__.py """ mxDateTime - Date and time handling routines and types Copyright (c) 2000, Marc-Andre Lemburg; mailto:mal@lemburg.com Copyright (c) 2000-2008, eGenix.com Software GmbH; mailto:info@egenix.com See the documentation for further information on copyrights, or contact the author. All Rights Reserved. """ try: from mxDateTime import * from mxDateTime import __version__ except ImportError, why: print "*** You don't have the (right) mxDateTime binaries installed !" raise ImportError, why #from mxDateTime_Python import * #from mxDateTime_Python import __version__ # Python part of the intialization try: import time setnowapi(time.time) del time except NameError: pass root@om-gta02:~/gnue-forms-0.6.1# 2008/12/12 Joseph Reeves : > I've just apt-get installed date time onto my Ubuntu machine and > recreated the produced file structure onto the Openmoko. Now when I > try and install gnue-forms I'm told: > > root@om-gta02:~/gnue-forms-0.6.1# python setup.py install > running install > checking GNUe Common Library > checking mxDateTime library > *** You don't have the (right) mxDateTime binaries installed ! > --- > Could not import the mx.DateTime package. > Please install mxDateTime from the mxtools suite. > The file 'INSTALL' contains more information about dependencies. > root@om-gta02:~/gnue-forms-0.6.1# > > Obviously the binaries I've apt-get'd onto my laptop are for i686 > machines, not the arm4 architecture of the Openmoko. > > Again, any help would be massively appreciated. > > Thanks, Joseph > > > > 2008/12/12 Joseph Reeves : >> Dear all, >> >> I'm trying to install gnue-forms on Openmoko (www.openmoko.org), a >> requirement of which is python-egenix-mxdatetime. >> >> I've installed gcc (4.1.2-r14) downloaded the source directory >> (genix-mx-base-3.1.1) and have tried to install as per the >> instructions on the egenix website. The installation fails with: >> >> root@om-gta02:~/egenix-mx-base-3.1.1# python setup.py install >> running install >> running build >> running mx_autoconf >> arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG >> -g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1 -I/usr/include >> -c _configtest.c -o _configtest.o >> arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No >> such file or directory >> failure. >> removing: _configtest.c _configtest.o >> arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG >> -g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1 >> -I/usr/include/python2.5 -I/usr/include -c _configtest.c -o >> _configtest.o >> arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No >> such file or directory >> failure. >> removing: _configtest.c _configtest.o >> macros to define: [('BAD_STATIC_FORWARD', '1')] >> macros to undefine: ['HAVE_STRPTIME'] >> running build_ext >> >> building extension "mx.DateTime.mxDateTime.mxDateTime" (required) >> building 'mx.DateTime.mxDateTime.mxDateTime' extension >> arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG >> -g -O3 -Wall -Wstrict-prototypes -fPIC -DUSE_FAST_GETCURRENTTIME >> -DBAD_STATIC_FORWARD=1 -UHAVE_STRPTIME -Imx/DateTime/mxDateTime >> -I/usr/include/python2.5 -I/usr/include -c >> mx/DateTime/mxDateTime/mxDateTime.c -o >> build/temp.linux-armv4tl-2.5_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o >> arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No >> such file or directory >> error: command 'arm-angstrom-linux-gnueabi-gcc' failed with exit status 1 >> root@om-gta02:~/egenix-mx-base-3.1.1# >> >> Any help getting python-egenix-mxdatetime installed would be greatly >> appreciated. >> >> Thanks, Joseph >> > From mal at egenix.com Mon Dec 15 15:46:24 2008 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Dec 15 15:46:28 2008 Subject: [egenix-users] Re: python-egenix-mxdatetime on Openmoko In-Reply-To: <958244340812120833s371111eepff6e8cf0c68d9b6@mail.gmail.com> References: <958244340812120629l40c6db7ajad6eabb6d9ac0a45@mail.gmail.com> <958244340812120737s537c435dnf9a472063c3e0cc2@mail.gmail.com> <958244340812120833s371111eepff6e8cf0c68d9b6@mail.gmail.com> Message-ID: <49466DC0.8000108@egenix.com> Looking through the postings, your problem appears to be related the compiler setup, not mxDateTime itself: """ >>> arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No >>> such file or directory >>> error: command 'arm-angstrom-linux-gnueabi-gcc' failed with exit status 1 """ The ImportError just tells you that no .so was found - because this wasn't compiled. On 2008-12-12 17:33, Joseph Reeves wrote: > Apologies for the spam, but I have more information if it helps: > > root@om-gta02:~/gnue-forms-0.6.1# python > Python 2.5.2 (r252:60911, Oct 14 2008, 01:51:25) > [GCC 4.1.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import mx.DateTime > *** You don't have the (right) mxDateTime binaries installed ! > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.5/site-packages/mx/DateTime/__init__.py", > line 8, in > from DateTime import * > File "/usr/lib/python2.5/site-packages/mx/DateTime/DateTime.py", > line 9, in > from mxDateTime import * > File "/usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/__init__.py", > line 13, in > raise ImportError, why > ImportError: /usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/mxDateTime.so: > cannot open shared object file: No such file or directory > > root@om-gta02:~/gnue-forms-0.6.1# cat > /usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/__init__.py > """ mxDateTime - Date and time handling routines and types > > Copyright (c) 2000, Marc-Andre Lemburg; mailto:mal@lemburg.com > Copyright (c) 2000-2008, eGenix.com Software GmbH; mailto:info@egenix.com > See the documentation for further information on copyrights, > or contact the author. All Rights Reserved. > """ > try: > from mxDateTime import * > from mxDateTime import __version__ > except ImportError, why: > print "*** You don't have the (right) mxDateTime binaries installed !" > raise ImportError, why > #from mxDateTime_Python import * > #from mxDateTime_Python import __version__ > > # Python part of the intialization > try: > import time > setnowapi(time.time) > del time > > except NameError: > pass > root@om-gta02:~/gnue-forms-0.6.1# > > > > > 2008/12/12 Joseph Reeves : >> I've just apt-get installed date time onto my Ubuntu machine and >> recreated the produced file structure onto the Openmoko. Now when I >> try and install gnue-forms I'm told: >> >> root@om-gta02:~/gnue-forms-0.6.1# python setup.py install >> running install >> checking GNUe Common Library >> checking mxDateTime library >> *** You don't have the (right) mxDateTime binaries installed ! >> --- >> Could not import the mx.DateTime package. >> Please install mxDateTime from the mxtools suite. >> The file 'INSTALL' contains more information about dependencies. >> root@om-gta02:~/gnue-forms-0.6.1# >> >> Obviously the binaries I've apt-get'd onto my laptop are for i686 >> machines, not the arm4 architecture of the Openmoko. >> >> Again, any help would be massively appreciated. >> >> Thanks, Joseph >> >> >> >> 2008/12/12 Joseph Reeves : >>> Dear all, >>> >>> I'm trying to install gnue-forms on Openmoko (www.openmoko.org), a >>> requirement of which is python-egenix-mxdatetime. >>> >>> I've installed gcc (4.1.2-r14) downloaded the source directory >>> (genix-mx-base-3.1.1) and have tried to install as per the >>> instructions on the egenix website. The installation fails with: >>> >>> root@om-gta02:~/egenix-mx-base-3.1.1# python setup.py install >>> running install >>> running build >>> running mx_autoconf >>> arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG >>> -g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1 -I/usr/include >>> -c _configtest.c -o _configtest.o >>> arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No >>> such file or directory >>> failure. >>> removing: _configtest.c _configtest.o >>> arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG >>> -g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1 >>> -I/usr/include/python2.5 -I/usr/include -c _configtest.c -o >>> _configtest.o >>> arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No >>> such file or directory >>> failure. >>> removing: _configtest.c _configtest.o >>> macros to define: [('BAD_STATIC_FORWARD', '1')] >>> macros to undefine: ['HAVE_STRPTIME'] >>> running build_ext >>> >>> building extension "mx.DateTime.mxDateTime.mxDateTime" (required) >>> building 'mx.DateTime.mxDateTime.mxDateTime' extension >>> arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG >>> -g -O3 -Wall -Wstrict-prototypes -fPIC -DUSE_FAST_GETCURRENTTIME >>> -DBAD_STATIC_FORWARD=1 -UHAVE_STRPTIME -Imx/DateTime/mxDateTime >>> -I/usr/include/python2.5 -I/usr/include -c >>> mx/DateTime/mxDateTime/mxDateTime.c -o >>> build/temp.linux-armv4tl-2.5_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o >>> arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No >>> such file or directory >>> error: command 'arm-angstrom-linux-gnueabi-gcc' failed with exit status 1 >>> root@om-gta02:~/egenix-mx-base-3.1.1# >>> >>> Any help getting python-egenix-mxdatetime installed would be greatly >>> appreciated. >>> >>> Thanks, Joseph >>> > > > _______________________________________________________________________ > eGenix.com User Mailing List http://www.egenix.com/ > https://www.egenix.com/mailman/listinfo/egenix-users -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Dec 15 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From info at egenix.com Fri Dec 19 11:05:13 2008 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Fri Dec 19 11:06:35 2008 Subject: [egenix-users] ANN: eGenix pyOpenSSL Distribution 0.8.0-0.9.8i-1 Message-ID: <494B71D9.5070505@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.8.0-0.9.8i-1 An easy to install and use repackaged distribution of the pyOpenSSL Python interface for OpenSSL - available on Windows and Unix platforms This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-pyOpenSSL-Distribution-0.8.0-0.9.8i-1-GA.html ________________________________________________________________________ INTRODUCTION The eGenix.com pyOpenSSL Distribution includes everything you need to get started with SSL in Python. It comes with an easy to use installer that includes the most recent OpenSSL library versions in pre-compiled form. pyOpenSSL is an open-source Python add-on (http://pyopenssl.sf.net/) that allows writing SSL aware networking applications as well as certificate management tools. OpenSSL is an open-source implementation of the SSL protocol (http://www.openssl.org/). For more information, please see the product page: http://www.egenix.com/products/python/pyOpenSSL/ ________________________________________________________________________ NEWS This third release of the eGenix.com pyOpenSSL Distribution upgrades pyOpenSSL to version 0.8, which includes a few bug fixes related to threading. Please note that OpenSSL, the underlying SSL engine, does not allow sharing connections between threads. This is a little known fact which could in the past cause pyOpenSSL to crash Python. Jean-Paul Calderone, the maintainer of pyOpenSSL, has added fixes in 0.8 to prevent those crashes. We have also fixed several compiler warnings found in the code. The version of pyOpenSSL you find in the source release has those patches applied. Binaries are available for Linux x86 and x64 as well as Windows x86 and include pyOpenSSL 0.8.0 as well as the OpenSSL 0.9.8i libraries. ________________________________________________________________________ DOWNLOADS The download archives and instructions for installing the package can be found at: http://www.egenix.com/products/python/pyOpenSSL/ ________________________________________________________________________ UPGRADING Before installing this version of pyOpenSSL, please make sure that you uninstall any previously installed pyOpenSSL version. Otherwise, you could end up not using the included OpenSSL libs. _______________________________________________________________________ SUPPORT Commercial support for these packages is available from eGenix.com. Please see http://www.egenix.com/services/support/ for details about our support offerings. Enjoy, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Dec 19 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From fundawang at gmail.com Fri Dec 26 10:06:19 2008 From: fundawang at gmail.com (Funda Wang) Date: Fri Dec 26 03:06:23 2008 Subject: [egenix-users] Help on building python-egenix-mx-base Message-ID: Hello, I'm currently building python-egenix-mx-base in Mandriva Linux, where its LDFLAGS defaults to " -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro". Maybe you could merge this patch regarding linking against libm and libdl: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/python-egenix-mx-base/current/SOURCES/egenix-mx-base-fix_underlinking.diff Reagrds. From mal at egenix.com Fri Dec 26 16:42:40 2008 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Dec 26 16:42:43 2008 Subject: [egenix-users] Help on building python-egenix-mx-base In-Reply-To: References: Message-ID: <4954FB70.6050309@egenix.com> Hello, I'm not sure I understand: distutils gets its LDFLAGS from the Python installation when compiling and linking Python extensions and uses the same flags as those used for the installation of Python itself. Is the libdl needed for the new mx.Tools.dlopen() API ? On 2008-12-26 03:06, Funda Wang wrote: > Hello, > > I'm currently building python-egenix-mx-base in Mandriva Linux, where > its LDFLAGS defaults to " -Wl,--as-needed -Wl,--no-undefined > -Wl,-z,relro". > > Maybe you could merge this patch regarding linking against libm and libdl: > http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/python-egenix-mx-base/current/SOURCES/egenix-mx-base-fix_underlinking.diff -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Dec 26 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From fundawang at gmail.com Sat Dec 27 13:21:01 2008 From: fundawang at gmail.com (Funda Wang) Date: Sat Dec 27 06:21:07 2008 Subject: [egenix-users] Help on building python-egenix-mx-base In-Reply-To: <4954FB70.6050309@egenix.com> References: <4954FB70.6050309@egenix.com> Message-ID: 2008/12/26 M.-A. Lemburg : > Hello, > > I'm not sure I understand: distutils gets its LDFLAGS from the > Python installation when compiling and linking Python extensions > and uses the same flags as those used for the installation > of Python itself. > > Is the libdl needed for the new mx.Tools.dlopen() API ? Yes, if you use dlopen, then -ldl is requried. And the same for floor implies -lm. > > On 2008-12-26 03:06, Funda Wang wrote: >> Hello, >> >> I'm currently building python-egenix-mx-base in Mandriva Linux, where >> its LDFLAGS defaults to " -Wl,--as-needed -Wl,--no-undefined >> -Wl,-z,relro". >> >> Maybe you could merge this patch regarding linking against libm and libdl: >> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/python-egenix-mx-base/current/SOURCES/egenix-mx-base-fix_underlinking.diff > > -- > Marc-Andre Lemburg > eGenix.com > > Professional Python Services directly from the Source (#1, Dec 26 2008) >>>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ > ________________________________________________________________________ > 2008-12-02: Released mxODBC.Connect 1.0.0 http://python.egenix.com/ > > ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: > > > eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 > D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg > Registered at Amtsgericht Duesseldorf: HRB 46611 > http://www.egenix.com/company/contact/ >