473,513 Members | 2,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installation in a local directory

Hi y'all,

I'm trying to perform a local install of python at work in my user
directory. Everything compiles correctly, but I can't seem to tell the
configure script the location of the bin and lib directories where I
want my stuff. I've think I've passed the correct flags to the
'configure' script.

make clean
../configure --enable-shared --prefix=/user/mcdaniel/arch32
make

where arch32 contains the the lib and bin directories where I want my
python stuff to go. Unfortunately these directories are not written
to; everything ends up in the default location from where I ran 'make'.
Moreover, if I add a symbolic link from the python binary (which I can
run directly without problems) to the bin directory so that my PATH
will recognize the new python, I get an error about loading shared
libraries.

I'm making on a 32 bit new debian system.

Thank you for your help,

Sean McDaniel

Jun 27 '08 #1
2 1796
Sean McDaniel wrote:
Hi y'all,

I'm trying to perform a local install of python at work in my user
directory. Everything compiles correctly, but I can't seem to tell the
configure script the location of the bin and lib directories where I
want my stuff. I've think I've passed the correct flags to the
'configure' script.

make clean
./configure --enable-shared --prefix=/user/mcdaniel/arch32
make

where arch32 contains the the lib and bin directories where I want my
python stuff to go. Unfortunately these directories are not written to;
everything ends up in the default location from where I ran 'make'.
Moreover, if I add a symbolic link from the python binary (which I can
run directly without problems) to the bin directory so that my PATH will
recognize the new python, I get an error about loading shared libraries.

I'm making on a 32 bit new debian system.

Thank you for your help,
Did you run "make install" yet? It's that step that moves the binaries
to where they should live. As it says in

http://www.python.org/download/releases/2.5/

"""Change to the Python-2.5 directory and run the "./configure", "make",
"make install" commands to compile and install Python."""

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/

Jun 27 '08 #2
On Apr 25, 12:37 am, Steve Holden <st...@holdenweb.comwrote:
Sean McDaniel wrote:
Hi y'all,
I'm trying to perform a local install of python at work in my user
directory. Everything compiles correctly, but I can't seem to tell the
configure script the location of the bin and lib directories where I
want my stuff. I've think I've passed the correct flags to the
'configure' script.
make clean
./configure --enable-shared --prefix=/user/mcdaniel/arch32
make
where arch32 contains the the lib and bin directories where I want my
python stuff to go. Unfortunately these directories are not written to;
everything ends up in the default location from where I ran 'make'.
Moreover, if I add a symbolic link from the python binary (which I can
run directly without problems) to the bin directory so that my PATH will
recognize the new python, I get an error about loading shared libraries.
I'm making on a 32 bit new debian system.
Thank you for your help,

Did you run "make install" yet? It's that step that moves the binaries
to where they should live. As it says in

http://www.python.org/download/releases/2.5/

"""Change to the Python-2.5 directory and run the "./configure", "make",
"make install" commands to compile and install Python."""

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
Damnit,

That was exactly the problem. Thank you.

Sean
Jun 27 '08 #3

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

Similar topics

0
2068
by: gwerk | last post by:
I've tried installing php 4.3.0 and .4 and keep getting the same problem. When I 'make' the install I end up with an error: /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:22:19:...
0
2498
by: Steve | last post by:
Hey there- We're attempting to get Perl 5.8.4 installed on our AIX machines, and I've hit a wall. We're using mostly GNU utilities, (GCC, ld, ar, etc.) running AIX 5.1 and 4.3.3. The configure...
0
1749
by: Nick Keeling | last post by:
--=_48167406.4627091C Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I am a MySQL newbie with a post installation problem. I have Linux Red Hat 9 with MySQL 4.0....
1
8076
by: srihari | last post by:
Hai, I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My machine is Intel XEON 64bit. The installation went well except for the creation of tools catalog. When I tried to install the tools...
0
1272
by: R2D2 | last post by:
I have created a .chm file to go with my application, and have embedded it as a resource to allow it to be redistributed with the program. On installation, I need to copy this to the local help...
2
2234
by: Adam Smith | last post by:
Installation of 7.4.2, even with just ./configure : gmake step ==> _________________________________________________ gmake: Leaving directory...
4
7289
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always...
9
1403
by: Marshall Dudley | last post by:
I am trying to install python, but am having problems. I did what the README file said, and it created an executible code in the current directory as it said it would when I typed "make". It...
2
1766
by: ZMY | last post by:
Hi all, I am installing python 2.2 on QNX4.25 but can't get it into /usr/local/ bin/ directory. Here is what I did: 1) untar Python-2.2 into directory /openqnx/Python-2.2/ 2) use command:...
1
2450
by: sureshbup | last post by:
Hi to all, I am trying to install CPAN modules using the command perl -MCPAN -e 'install qw (Text::CSV_XS)' but i get the problem like this even i changed the working proxies but none is...
0
7260
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
7160
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7537
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...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3233
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.