'Python' & $TAPE issues on FC4 install (solved)

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

'Python' & $TAPE issues on FC4 install (solved)

Postby btisdall » Fri Jun 02, 2006 11:13 am

Whilst trying to do a test upgrade to 10.0.1 on a VMware setup I encountered the dreaded "Build does not contain version for the version of Python installed" error &, bizarrely, errors about /dev/nst0.

I eventually realised that I have the $TAPE environment variable set and this was causing tar to ignore stdin & try to extract the file from the tape drive. The solution was therefore to unset the $TAPE variable, or better still, tweak line 124 of the scalix-installer script so it looks like:


Code: Select all

tail +$SKIP $0 | tar xzmf - -C "$WRKDIR"


The version below should also fix Python errors resulting from new versions of 'tail' that don't have the skip option. Mwarfield gave a very big hint on this one here:

http://www.scalix.com/community/viewtop ... ght=python

But here's a solution in full:

Code: Select all

sed -e '1,/^__ARCHIVE_FOLLOWS__/d' $0 | tar xzmf - -C "$WRKDIR"


Note with either of these the installer still gave the following errors:

Code: Select all

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors


Nevertheless, the installation then proceeded without problems for me.

Hope this helps someone.
Last edited by btisdall on Fri Jun 02, 2006 12:55 pm, edited 2 times in total.
Ben Tisdall
www.redcircleit.com
London

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Jun 02, 2006 12:10 pm

What version of Python did you have installed on FC4 ?

Cheers

Dave

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Fri Jun 02, 2006 12:50 pm

bentis@FAKE-REDRESS:~$ rpm -qi python
Name : python Relocations: (not relocatable)
Version : 2.4.1 Vendor: Red Hat, Inc.
Release : 2 Build Date: Mon 16 May 2005 08:30:02 PM BST
Install Date: Sat 20 May 2006 07:48:42 AM BST Build Host: decompose.build.redhat.com
Group : Development/Languages Source RPM: python-2.4.1-2.src.rpm
Size : 20792316 License: PSF - see LICENSE
Signature : DSA/SHA1, Fri 20 May 2005 06:34:44 PM BST, Key ID b44269d04f2a6fd2Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.python.org/
Summary : An interpreted, interactive, object-oriented programming language [...]
Ben Tisdall

www.redcircleit.com

London


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 9 guests

cron