473,320 Members | 1,930 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,320 software developers and data experts.

compiling python with unix

I would like to understand what python needs to work on unix.
And to understand how i can make it smalest possible?
I dont understand at all setup.

I searched in python.org and in sources but it is not clear at all for me.

Can python run with a posix C compiler and minix or something like that ?

Thanks

Jul 18 '05 #1
4 1747
In article <40**********************@news.easynet.fr>,
RosalieM <NO****@easyconnect.fr> wrote:
I would like to understand what python needs to work on unix.
And to understand how i can make it smalest possible?
I dont understand at all setup.

I searched in python.org and in sources but it is not clear at all for me.

Can python run with a posix C compiler and minix or something like that ?

Jul 18 '05 #2

"Cameron Laird" <cl****@lairds.com> a écrit dans le message de
news:10*************@corp.supernews.com...
In article <40**********************@news.easynet.fr>,
RosalieM <NO****@easyconnect.fr> wrote:
I would like to understand what python needs to work on unix.
And to understand how i can make it smalest possible?
I dont understand at all setup.

I searched in python.org and in sources but it is not clear at all for me.

Can python run with a posix C compiler and minix or something like that ?

.
.
.
There are probably simple answers to your questions. It
might take a bit of conversation before we understand each
other's language.

Most Unix host nowadays install with Python already present.
Under MacOS and nearly all Linux distributions, for example,
I can type at the command line, and receive responses:
# python
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information. >>> 3 + 8.5 11.5 >>> print("Hello, world.")

Hello, world.
Is that the sort of information you seek? If you prefer,
fr.comp.lang.python is also available as a Usenet newsgroup.
--

Cameron Laird <cl****@phaseit.net>
Business: http://www.Phaseit.net


I used a lfs 4.0 to build my unix. But is is very fat. I can compile python
from there and play with "Hello World", but i dont uderstand how to choose
what i need and what i dont need to compile it and choose features that
python would be able to do.

For example, can i build python on a minix system?
Why socket module needs threads to compile ?

I search answers to this kind of questions.

Thanks.
Jul 18 '05 #3
In article <40**********************@news.easynet.fr>,
RosalieM <NO****@easyconnect.fr> wrote:
Jul 18 '05 #4
"Cameron Laird" <cl****@lairds.com> a écrit dans le message de
news:10*************@corp.supernews.com...
In article <40**********************@news.easynet.fr>,
RosalieM <NO****@easyconnect.fr> wrote:
I would like to understand what python needs to work on unix.
And to understand how i can make it smalest possible?
I dont understand at all setup.

I searched in python.org and in sources but it is not clear at all for me.

Can python run with a posix C compiler and minix or something like that ?

.
.
.
There are probably simple answers to your questions. It
might take a bit of conversation before we understand each
other's language.

Most Unix host nowadays install with Python already present.
Under MacOS and nearly all Linux distributions, for example,
I can type at the command line, and receive responses:
# python
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information. >>> 3 + 8.5 11.5 >>> print("Hello, world.")

Hello, world.
Is that the sort of information you seek? If you prefer,
fr.comp.lang.python is also available as a Usenet newsgroup.
--

Cameron Laird <cl****@phaseit.net>
Business: http://www.Phaseit.net


I used a lfs 4.0 to build my unix. But is is very fat (250 M). I can compile
python
from there and play with "Hello World",
but i dont uderstand how to choose
what i need and what i dont need to compile python (library needed)
and how to choose features that python would be able to do
(for example if i dont inted to use some modules).

My questions are like :
For example, can i build python on a minix system?
Why socket module needs threads to compile ?

I search answers to this kind of questions.
You may right saying that it is possible that there is simple answers
and i may ununderstand some basic features of how system works
if so give me direction to search, because as i told i looked into python
site
for documentation about this and found nothing.

Thanks.
Jul 18 '05 #5

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

Similar topics

0
by: Gus Tabares | last post by:
Hello all, I'm looking to compile debug versions of python23.dll and python23.lib using .NET. I done this successfully using MSVC++ but would like to use .NET. Has anyone been successful in...
3
by: Florian Lindner | last post by:
Hello, I want to compile that small python script: bastet:/ # cat test.py #!/usr/bin/python import sys, os username = os.getlogin() print username os.spawnv(os.P_WAIT, "/root/mailboxmgm.py",...
0
by: Johnathan Doe | last post by:
I've been thinking about what the issues would be in compiling Python into native machine code, and since type information is important in Python, it seems possible that Python code can be...
5
by: Heuguette Bostic | last post by:
I am attempting to compile Python 2-3.4 on Tru64 UNIX V4.0F. Whenever Iissue the make command, the following errors are output: -pthread -ieee -std -Olimit 1500 -DNDEBUG -O -I. -I./Include...
3
by: francisl | last post by:
We have to build some script were I work to make a dynamic server inventory. But, the project team, a windows crew, start it all in vbscript and on mssql. Note, due to political reason, we can...
1
by: Han-Wen Nienhuys | last post by:
Hello, I have a small patch for Python SVN that makes it possible to cross-compile python on Unix to various other Unix targets. I have successfully built a binary for FreeBSD on Linux. The...
3
by: Russ | last post by:
Is it possible to compile python code into a library (on unix), then link to it and call it from C/C++? If so, where can I learn how. Thanks.
2
by: Gilles Ganault | last post by:
Hello I need to compile Python with the packages "socket,sys,time,os", but I've never done it before, and would like confirmation that this will work as planned: ====== make clean...
4
by: Colin J. Williams | last post by:
1.I have both 2.5 and 2.6 but both appear, under Recent Projects, as pcbuild. It would be helpful if the Python Version could be indicated. 2.With 2.6, Python compiles and executes OK but...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.