Python Installation error on Solaris-9-SPARC

M

Madhu R. Vajrala

Hello All,

I am very new to Python, trying to install it from source
(ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/python-2.3.3.tar.gz) on
Sun Solaris-9 (SPARC). But getting the below error message during
configure. Also while uncompressing, it is returning the checksum doesnt
match error as well.

Configure Error:

config.status: error: cannot find input file: Modules/Setup.config.in

untar error:
..
..
..
..
..
..
x
Python-2.3.3/Mac/OSXResources/app/Resources/English.lproj/Documentation/doc, 0 bytes, 0 tape blocks
x
Python-2.3.3/Mac/OSXResources/app/Resources/English.lproj/Documentation/doc/index.html, 882 bytes, 2 tape blocks
x
Python-2.3.3/Mac/OSXResources/app/Resources/English.lproj/Documentation/ide, 0 bytes, 0 tape blocks
x
Python-2.3.3/Mac/OSXResources/app/Resources/English.lproj/Documentation/ide/index.html, 9909 bytes, 20 tape blocks
x
Python-2.3.3/Mac/OSXResources/app/Resources/English.lproj/Documentation/ide/IDE.gif, 10249 bytes, 21 tape blocks
tar: directory checksum error

Can someone help me understand why it is returning error, Also I do not
'root' privileges on the server that i am trying install. So I will be
installing my home directory.

Thank You,
Madhu
 
G

Grig Gheorghiu

Why don't you donwload the source from python.org? Also, on Solaris tar
is sometimes broken (i.e. can't deal with long directory names etc.)
You may want to donwload and install gnu tar.

Grig
 
M

Madhu R. Vajrala

I did...

1. wget http://www.python.org/ftp/python/2.4.1/Python-2.4.1.tgz

2. gunzip -c Python-2.4.1.tgz | tar xvf -

the above step errors:
--------
tar: directory checksum error
gunzip: stdout: Broken pipe
--------

3. Later.... in ./configure step...
This step also fails...(I did run this by ignoring the checksum error
in the previous step).

checking for build directories... done
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
**config.status: error: cannot find input file:
Modules/Setup.config.in**
____________________________________________________

Thank You,
madhu
 
C

casevh

Madhu said:
2. gunzip -c Python-2.4.1.tgz | tar xvf -

Use gtar. The Solaris tar does not hnadle long file names correctly.
gtar should be found in /usr/sfw/bin.

cvh
 
S

Skip Montanaro

Madhu> I did...
Madhu> 1. wget http://www.python.org/ftp/python/2.4.1/Python-2.4.1.tgz

Madhu> 2. gunzip -c Python-2.4.1.tgz | tar xvf -

Madhu> the above step errors:
Madhu> --------
Madhu> tar: directory checksum error
Madhu> gunzip: stdout: Broken pipe
Madhu> --------

You can't use Sun's tar to unpack the tarfile. The directory structure is
too deep. Get ahold of GNU tar instead.

Skip
 
M

Madhu R. Vajrala

This TIP worked GREAT !!! I was able to install python-2.4.1 on Sun
Solaris by executing below steps ( I am not a 'root' user)

1. wget http://www.python.org/ftp/python/2.4.1/Python-2.4.1.tgz

2. gunzip Python-2.4.1.tgz

3. /usr/sfw/bin/gtar -xvf Python-2.4.1.tar

5. cd Python-2.4.1

6. ./configure --prefix=/home/<username>/Py (The directory in which you
wanted to install Python libraries and binaries)

7. make

8. make install

Once again Thank you All for educating me.
Madhu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top