Tags: error, freew, ftp, install, installation, on-2, onsun, programming, pub, python, solaris-9, solaris-9-sparc, source, sparc, sunfreeware, tar
Python Installation error on Solaris-9-SPARC
On Programmer » Python
4,106 words with 5 Comments; publish: Thu, 27 Dec 2007 21:23:00 GMT; (20078.13, « »)
Hello All,
I am very new to Python, trying to install it from source
(ftp://ftp.sunfreeware.com/pub/freew...on-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
http://python.itags.org/q_python_69893.html
All Comments
Leave a comment...
- 5 Comments

- 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
#1; Thu, 27 Dec 2007 21:24:00 GMT

- 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
#2; Thu, 27 Dec 2007 21:25:00 GMT

Madhu R. Vajrala wrote:
> 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
#3; Thu, 27 Dec 2007 21:26:00 GMT

- 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
#4; Thu, 27 Dec 2007 21:27:00 GMT

- 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
On Thu, 2005-07-14 at 10:56 -0700, casevh.python.itags.org.comcast.net wrote:
> Madhu R. Vajrala wrote:
> > 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
#5; Thu, 27 Dec 2007 21:28:00 GMT