469,927 Members | 1,867 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

Python Installation error on Solaris-9-SPARC

Hello All,

I am very new to Python, trying to install it from source
(ftp://ftp.sunfreeware.com/pub/freewa...n-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
Jul 21 '05 #1
5 4187
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

Jul 21 '05 #2
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

Jul 21 '05 #3


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

Jul 21 '05 #4

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
Jul 21 '05 #5
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, ca****@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

Jul 21 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Samir Badaoui | last post: by
5 posts views Thread by M. Laymon | last post: by
reply views Thread by PiErre | last post: by
reply views Thread by dean | last post: by
9 posts views Thread by Andy Leszczynski | last post: by
4 posts views Thread by cboccio | last post: by
1 post views Thread by Yi Xing | last post: by
1 post views Thread by cosmo_general | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.