472,988 Members | 2,643 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,988 software developers and data experts.

influence platorm during install -end user question

How do I influence the platform type during install? Could you look
at this and tell me what I'm doing wrong? It's still using
information from get_platform instead of using my preference.

[root@k12linux pyosd-0.2.14]# python setup.py install
--install-purelib=lib.linux=i686-2.3
--install-lib=/usr/lib/python2.3/site-packages
running install
running build
running build_py
running build_ext
running install_lib
creating /usr/lib/python2.3/site-packages/pyosd
copying build/lib.linux-x86_64-2.3/pyosd/__init__.py ->
/usr/lib/python2.3/site-packages/pyosd
copying build/lib.linux-x86_64-2.3/pyosd/daemon.py ->
/usr/lib/python2.3/site-packages/pyosd
byte-compiling /usr/lib/python2.3/site-packages/pyosd/__init__.py to
__init__.pyc
byte-compiling /usr/lib/python2.3/site-packages/pyosd/daemon.py to daemon.pyc
On 9/15/05, Peter Hartmann <as***********@gmail.com> wrote:
Hello,
I could really use some help. I'm trying to install a python program
on centos4 x86_64. When I run 'python setup.py' it ends up in
/usr/lib64/python2.3/site-packages/ instead of
/usr/lib/python2.3/site-packages. It's a problem because the program
I'm trying to install is a dependency for something that is only
32bit. How can I specify a 32bit install? What I've tried so far:
When I try 'python setup.py build --build-lib
/usr/lib/python2.3/site-packages' and 'python setup.py install
--install-lib /usr/lib/python2.3/site-packages', it installs the 64bit
version into the 32bit library. Can anyone help me?

Thanks,
Peter

Sep 16 '05 #1
1 1821
Peter Hartmann <as***********@gmail.com> wrote:
How do I influence the platform type during install? Could you look
at this and tell me what I'm doing wrong? It's still using
information from get_platform instead of using my preference.

[root@k12linux pyosd-0.2.14]# python setup.py install
--install-purelib=lib.linux=i686-2.3
--install-lib=/usr/lib/python2.3/site-packages


The answer was given to you previously. To get Python to build a 32-bit
extension, you must use the 32-bit version of Python to run setup.py.
Otherwise, it's always going to use the 64-bit compiler.

Also note that there is a typo in your command line. You have an equals
sign in lib.linux=i686-2.3 where you should have a dash.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Sep 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
1
by: Tim Marsden | last post by:
Hi, How do I modify the app.config file for my application during install. The file is not available when using a helper class or custom action program until after the install? Tim
3
by: Vai2000 | last post by:
Hi All, I need to execute custom action during installation of my program (through MSI). Creating the MSI was pretty straight fwd. After that I went into the Custom Action Editor and added the...
1
by: Petrucci2000 | last post by:
Hi All, I am looking to create an installation package (MSI ) which will fire off few of my custom .vbs during the install process. How to accomplish this task? TIA PS: I tried to include...
2
by: Neelima Godugu | last post by:
Hi All, Is there a way to modify AppSettings key values during installation of a web app using a web setup project. Thanks in advance. Neelima
1
by: manish deshpande | last post by:
Hi, When i'm installing MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm by the following command: rpm -i MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm the following error is being shown: ...
2
by: Michael | last post by:
Hi Everyone, I need a little help. I installed the new patch the other day for VB slow performance and since then I stated having more problems, like the IDE compiler locking up. Anyways, today...
0
by: nat | last post by:
Hi guys, I'm running CentOS 4.4 and the current version on my system is Python 2.3.4. Ideally I wanted to use an RPM to update the system python but a lot of dependencies failed and since I...
7
numberwhun
by: numberwhun | last post by:
**NOTE: This article is written using the 5.8.8 Alpha2 release of Strawberry Perl. I am writing this article with much joy and glee. This is due to the fact that Active State no longer has a...
0
by: silviu | last post by:
Hello I'm trying to install Microsoft SQL 2005 Server Express Edition but I'm getting the following error: SQL Server Setup unexpectedly failed... Then it says something about a log file. Here's...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.