Installation from source
Posted: Sat Feb 02, 2008 9:27 pm
Hi all,
I am attempting installation from source but at the moment it fails when extracting the tgz part of scalix-installer, this my steps.
Downloaded the source pkg, extracted, this creates
scalix-installer-src.tgz
scalix-mobile-src.tgz
scalix-platform-src.tgz
scalix-sac-src.tgz
scalix-sis-src.tgz
Extracted scalix-installer-src.tgz, cd into scalix-installer and run ant, this fails:
scalix-installer/build.xml:204: basedir does not exist!
basedir should be scalix-installer/build but this is not included in the package and not created by ant, mkdir scalix-installer/build solves it
runa ant again, all is fine:
zip:
[tar] Building tar: /home/simone/Desktop/stuff/SCALIX/scalix-installer/build/merlin.tar.gz
dist:
[echo] Creating self-extracting archive dist/scalix-installer. Please wait...
[echo] All builds complete.
Good, so I cd into dist and run ./scalix-installer:
Scalix Installer - extracting archive, please wait...
./scalix-installer: line 154: cd: /tmp/scalix-wizard.H32737/py: No such file or directory
/usr/bin/python: can't open file '/tmp/scalix-wizard.H32737/py/sxversion.py': [Errno 2] No such file or directory
Scalix Installer - starting version ...
Scalix Installer - using Python 2.5.1 (/usr/bin/python).
/usr/bin/python: can't open file '/tmp/scalix-wizard.H32737/py/sxmerlin.py': [Errno 2] No such file or directory
Scalix Installer - cleaning up...
Scalix Installer - done.
In this case the directory created by the scirpt (in my case) is /tmp/scalix-wizard.H32737/py24 and NOT /tmp/scalix-wizard.H32737/py as the script is expecting, this can be fixed editing the variable PY_SUBDIR="py24"
At this point the script complains it cannot find sxmerlin.py and sxversion.py this is because the files in the temp dir are .pyc, so again editing the script fixes this but then I get the error:
../dist/scalix-installer
Scalix Installer - extracting archive, please wait...
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Appears to be this bit that doesn't work:
tail -n +$SKIP $0 | tar xzm -C "$WRKDIR"
not producing a valid archive, any idea? (Aurora SPARC and Fedora8 x86_64)
Scalix Installer - starting version 11.3.0.80...
Scalix Installer - using Python 2.4.3 (/usr/bin/python).
Error: unsupported OS release: Aurora SPARC Linux release 2.99 (Angel) on sparc64
Scalix Installer - cleaning up...
Scalix Installer - done.
Is there a way to try compilation on an unsupported platform?
Thanks,
Simone
I am attempting installation from source but at the moment it fails when extracting the tgz part of scalix-installer, this my steps.
Downloaded the source pkg, extracted, this creates
scalix-installer-src.tgz
scalix-mobile-src.tgz
scalix-platform-src.tgz
scalix-sac-src.tgz
scalix-sis-src.tgz
Extracted scalix-installer-src.tgz, cd into scalix-installer and run ant, this fails:
scalix-installer/build.xml:204: basedir does not exist!
basedir should be scalix-installer/build but this is not included in the package and not created by ant, mkdir scalix-installer/build solves it
runa ant again, all is fine:
zip:
[tar] Building tar: /home/simone/Desktop/stuff/SCALIX/scalix-installer/build/merlin.tar.gz
dist:
[echo] Creating self-extracting archive dist/scalix-installer. Please wait...
[echo] All builds complete.
Good, so I cd into dist and run ./scalix-installer:
Scalix Installer - extracting archive, please wait...
./scalix-installer: line 154: cd: /tmp/scalix-wizard.H32737/py: No such file or directory
/usr/bin/python: can't open file '/tmp/scalix-wizard.H32737/py/sxversion.py': [Errno 2] No such file or directory
Scalix Installer - starting version ...
Scalix Installer - using Python 2.5.1 (/usr/bin/python).
/usr/bin/python: can't open file '/tmp/scalix-wizard.H32737/py/sxmerlin.py': [Errno 2] No such file or directory
Scalix Installer - cleaning up...
Scalix Installer - done.
In this case the directory created by the scirpt (in my case) is /tmp/scalix-wizard.H32737/py24 and NOT /tmp/scalix-wizard.H32737/py as the script is expecting, this can be fixed editing the variable PY_SUBDIR="py24"
At this point the script complains it cannot find sxmerlin.py and sxversion.py this is because the files in the temp dir are .pyc, so again editing the script fixes this but then I get the error:
../dist/scalix-installer
Scalix Installer - extracting archive, please wait...
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Appears to be this bit that doesn't work:
tail -n +$SKIP $0 | tar xzm -C "$WRKDIR"
not producing a valid archive, any idea? (Aurora SPARC and Fedora8 x86_64)
Scalix Installer - starting version 11.3.0.80...
Scalix Installer - using Python 2.4.3 (/usr/bin/python).
Error: unsupported OS release: Aurora SPARC Linux release 2.99 (Angel) on sparc64
Scalix Installer - cleaning up...
Scalix Installer - done.
Is there a way to try compilation on an unsupported platform?
Thanks,
Simone