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

Configuration model failed! #103

Closed hoangle closed 10 years ago

hoangle commented 11 years ago

Step to reproduce:

  1. Install SAFplus 6.1 into /opt/clovis/6.1
  2. Goto /opt/clovis/6.1/sdk/prebuild, configure and make asp-libs
  3. Create new openclovis model, configure -> got bellow error:

hoangle@hoangle:~/workspace_61$ /opt/clovis/6.1/configure --with-model-name=testNew --with-sdk-dir=/opt/clovis/6.1 /opt/clovis/6.1/configure --with-model-name=testNew --with-sdk-dir=/opt/clovis/6.1 /opt/clovis/6.1/configure: line 1507: cd: /opt/clovis/6.1/6.1: No such file or directory

SAFplus Version: 6.1 SAFplus SDK directory: /opt/clovis/6.1/sdk Buildtools directory: /opt/clovis/6.1/buildtools Model Name: testNew Model: /home/hoangle/workspace_61/testNew Building: SAFplus libraries? 0 Model? 1 HPI: [OpenHPI: 0 Emerson: 0 ] Valgrind: Simulation: 0 Binary Mode:

find configure.conf file in preconfigure Load prebuild configuration /opt/clovis/6.1/configure: line 1905: [: 0nexport: integer expression expected

minhgiang1983 commented 11 years ago

Hi Hoang, It work on my machine. I will investigate this issue using "sh shell".

Thanks, Minh Giang

minhgiang1983 commented 11 years ago

Hi a Hoang,

https://github.com/OpenClovis/SAFplus-Availability-Scalability-Platform/commit/e170f5ded42d75586668bf96da6b06cf6fd7fa1b

Please help to test again. I can not reproduce on my machine.

Thanks, Minh Giang

hoangle commented 11 years ago

You can able to reproduce it by switching sh to bash: /bin/sh -> /bin/bash