OpenClovis / SAFplus-Availability-Scalability-Platform

Middleware that provides libraries, GUI, and code generator to design multi-node (clustered) applications that are highly available, redundant, and scalable. Provides sub-second node and application fault detection and failover, and useful application libraries including distributed hash tables (checkpoint), event, logging, and communications. Implements SA-Forum APIs where applicable. Used anywhere reliability is a must -- like telecom, wireless, defense and enterprise computing. Download stable release with installer from: ftp.openclovis.com
www.openclovis.com
GNU General Public License v2.0
19 stars 13 forks source link

installer doesn't work for ubuntu 13.04 #71

Closed abhiravk closed 11 years ago

abhiravk commented 11 years ago

./install Traceback (most recent call last): File "install.py", line 1744, in main() File "install.py", line 1734, in main installer = ASPInstaller() File "install.py", line 99, in init self.OS = determine_os() File "./src/install/packages.py", line 864, in determine_os return Ubuntu() File "./src/install/packages.py", line 32, in init self.kernelVer[2] = int(self.kernelVer[2]) ValueError: invalid literal for int() with base 10: '0-19-generic'

hoangle commented 11 years ago

Assigned to Minh to fix it. Verify on some of popular linux distribution (http://en.wikipedia.org/wiki/List_of_Linux_distributions).

CangTranOC commented 11 years ago

It seems that you are NOT using the latest /src/install/packages.py. Request to pull latest source code to test

abhiravk commented 11 years ago

I was using the sdk from the ftp site as mentioned in the readme file on github. Anyways, as per your suggestion I have cloned the repository from github and trying to build it on xubuntu 13.10 and xubuntu 12.10 but I am getting different error on both versions. Logs - http://pastebin.com/U2APHEMu xubuntu 13.05 http://pastebin.com/JHpxC5Qu xubuntu 12.10

CangTranOC commented 11 years ago

Hi Abhiravk,

Currently, our SDK 6.0 installation package was verified on Ubuntu 11.10 & 12.04.

Hi Minh,

Can you check out the latest 6.0, create a stable build, verify it with Ubuntu 12.04 12.10 13.04, and put it into ftp.openclovis.com?

minhgiang1983 commented 11 years ago

Hi a Cang,

I created and tested the last 6.0 on ubuntu 13.04 and see the same issue with abhiravk. openais and ezxml not build property on 13.04. I am fixing this issue now

Thanks, Minh Giang

rajiva commented 11 years ago

I tested this issue: Installer doesn't work for Ubuntu 13.04 I am also getting an error during installation similar to http://pastebin.com/U2APHEMu .

CangTranOC commented 11 years ago

The openais-0.80.3 use HZ macro defined in kernel header <sys/param.h>.

define HZ CONFIG_HZ

Modern Linux (Ubuntu 13.04) configure with CONFIG_NO_HZ because the timer frequency setting which is an importance setting in old Linux version has little effect at all.

$cat /boot/config-uname -r | grep HZ CONFIG_NO_HZ=y

This is the key reason you see the error tlist.h:224:11: error: CONFIG_HZ undeclared (first use in this function)

A workaround for this issue is to run "make menuconfig" to load the menu-based configuration system to reset the kernel configuration. Another workaround is to define CONFIG_HZ. However, once the CONFIG_HZ issue is resolved, you will get another version mismatch issue.

In short, SDK 6.0 cannot be move up Ubuntu 13.04 since this release version is running stably in our customer system. We might have a plan to move up the mainline (6.1) to modern Linux. Minh is working on that.

abhiravk commented 11 years ago

Thanks for updating on the issue. However I was not able to compile the latest code on the ubuntu 12.10 as well. Is it because of the same reason that you mentioned above?

minhgiang1983 commented 11 years ago

openais-0.80.3 is too old , I am going to use 1.1.4 for Ubuntu 14.03. Because Ubuntu 14.03 use glibc 2.17 so there are several issue related to code syntax . I will fix now.

On Wed, May 8, 2013 at 9:58 AM, Abhirav notifications@github.com wrote:

Thanks for updating on the issue. However I was not able to compile the latest code on the ubuntu 12.10 as well. Is it because of the same reason that you mentioned above?

— Reply to this email directly or view it on GitHubhttps://github.com/OpenClovis/SAFplus-Availability-Scalability-Platform/issues/71#issuecomment-17583923 .

minhgiang1983 commented 11 years ago

I already fixed on 6.1 and 6.0 . Tomorrow, I will retest on fresh PC, create an install package and upload to ftp.openclovis.com