01-10-2013
Python 2.6 on redhat 5 (update 8)
Hi,
I would like to know wheather it is possible to install python 2.6 on RedHat Ent Linux 5 (update8) using rpms?
I have checked by default Python 2.4 is installed.
or wheather Redhat 6.0 needs to be installed for python 2.6?
8 More Discussions You Might Find Interesting
1. Red Hat
Hi All,
I have to upgrade python installed on my Redhat enterprise Linux 4. I downloaded the latest python package from python website but not able to install the new package as the make command itself goes on running for more than a day. Can some help me regarding this. Is ther any method to... (2 Replies)
Discussion started by: Praveen H
2 Replies
2. Red Hat
how to restart the telnet daemon in Redhat 5 Update 3. I am not able to find the path
/etc/init.d/xinetd restart
/etc/init.d/inetd restart (4 Replies)
Discussion started by: gunnervarma
4 Replies
3. Red Hat
Hi,
Please help to find Redhat Linux AS2.1 update 6 iso file.
Thanks, (2 Replies)
Discussion started by: luyan10
2 Replies
4. Red Hat
Hi Friends,
I am very new to the redhat subscription.
So that i am having lot of doubts. Please help me.
1. As per my understandings we need to register and pay for each rhel server to get update and support from redhat. Can we have a local yum repository where we can download the... (3 Replies)
Discussion started by: arumon
3 Replies
5. UNIX for Dummies Questions & Answers
Hi. I have a basic script in python that outputs like this..
$ ./test.py
1%
2%
3%
4%
5%
6%
7%
8%
9%
10%
...
But how can I make it so the output stays in 1 line?
So it would look something like this..
$ ./test.py
10% (1 Reply)
Discussion started by: cbreiny
1 Replies
6. Red Hat
Hi,
I am trying to install redhat into one of my machine, but during boot up from Redhat Dvd, it mention not able to detect my HDD and it need another driver to install into it.
Because the machine only have one driver update disc source which is my CD/DVD rom, so i would like to know... (9 Replies)
Discussion started by: cbtang
9 Replies
7. Red Hat
Hi
i want to update the BASH because of the "shell shock" vulnerability.
my RedHat 5 is clean install with the default mirror site.
when im running the command: yum update bash
im getting a message saying there is no update. you can see in the attach picture...
what am i doing wrong? is... (4 Replies)
Discussion started by: guy3145
4 Replies
8. Shell Programming and Scripting
Hello all,
Not sure if this question has been answered already.
I have some xml Element variable as below:
child19 = core_elem_dcache.find('stat')
child20 = core_elem_dcache.find('stat')
child21 = core_elem_dcache.find('stat')
child22 = core_elem_dcache.find('stat'Next I... (2 Replies)
Discussion started by: Zam_1234
2 Replies
LEARN ABOUT DEBIAN
python-config
PYTHON-CONFIG(1) General Commands Manual PYTHON-CONFIG(1)
NAME
python-config - output build options for python C/C++ extensions or embedding
SYNOPSIS
python-config [ --prefix ] [ --exec-prefix ] [ --includes ] [ --libs ] [ --cflags ] [ --ldflags ] [ --extension-suffix ] [ --configdir ] [
--help ]
DESCRIPTION
python-config helps compiling and linking programs, which embed the Python interpreter, or extension modules that can be loaded dynamically
(at run time) into the interpreter.
OPTIONS
--cflags
print the C compiler flags.
--ldflags
print the flags that should be passed to the linker.
--includes
similar to --cflags but only with -I options (path to python header files).
--libs similar to --ldflags but only with -l options (used libraries).
--prefix
prints the prefix (base directory) under which python can be found.
--exec-prefix
print the prefix used for executable program directories (such as bin, sbin, etc).
--extension-suffix
print suffix used for extension modules (including the _d modified for debug builds).
--configdir
prints the path to the configuration directory under which the Makefile, etc. can be found).
--help print the usage message.
EXAMPLES
To build the singe-file c program prog against the python library, use
gcc $(python-config --cflags --ldflags) progr.cpp -o progr.cpp
The same in a makefile:
CFLAGS+=$(shell python-config --cflags)
LDFLAGS+=$(shell python-config --ldflags)
all: progr
To build a dynamically loadable python module, use
gcc $(python-config --cflags --ldflags) -shared -fPIC progr.cpp -o progr.so
SEE ALSO
python (1)
http://docs.python.org/extending/extending.html
/usr/share/doc/python/faq/extending.html
AUTHORS
This manual page was written by Johann Felix Soden <johfel@gmx.de> for the Debian project (and may be used by others).
November 27, 2011 PYTHON-CONFIG(1)