Installation from source

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

desmo
Posts: 18
Joined: Thu Nov 09, 2006 1:22 pm

Installation from source

Postby desmo » 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

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Feb 04, 2008 7:25 am

I have not yet tried to recompile Scalix components myself, but I can tell you that there is not enough there to get a full system up and running. The Scalix Web Access and Scalix Server source is not present right now. Scalix Server source may follow at some point in the future, we will still have to see when, though, as we don't have timelines.

You may want to look on the wiki for a manual install, and see if you can get it running using those instructions. Though I believe it won't work, as you are installing on a SPARC platform and the binaries are all for i386.

desmo
Posts: 18
Joined: Thu Nov 09, 2006 1:22 pm

Postby desmo » Mon Feb 04, 2008 9:51 am

Hi and thanks for your reply. I would be very interested in trying recompiling CE for linux on sparc or solaris 10 on sparc, and I think it could be something many people would be interested too. Any way Scalix could make available sorces or src.rpm for CE so that the community could contribute to this effort?

Wouldn't Scalix be interested in offering at least a "CE Beta" for Sparc?

Best Regards

Simone

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Feb 04, 2008 10:12 am

I believe a lot of the Scalix server core is i386 specific, in terms of variable lengths, etc. The best guy to speak to though is florian, maybe PM him here? He will be able to give you any official answers.

desmo
Posts: 18
Joined: Thu Nov 09, 2006 1:22 pm

Postby desmo » Mon Feb 04, 2008 5:49 pm

Thanks, I will

Simone

kimchi

Did you find a solution for the problem?

Postby kimchi » Wed Feb 06, 2008 4:46 pm

I'm having a similar problem with Opensuse 10.3:

./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
Scalix Installer - starting version 11.3.0.80...
Scalix Installer - using Python 2.5.1 (/usr/bin/python).
Error: unsupported OS release: openSUSE 10.3 (i586) on i386
Scalix Installer - cleaning up...
Scalix Installer - done.


I'll appreciate any help


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 0 guests