473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 1836
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.