Difficulty in "Building the full emoncms on the raspberrypi software stack".

Hi all,

I have a big difficulty in "Building the full emoncms on the raspberrypi software stack".

All is fine until I arrive to "Install Php Redis Client"

Arrived at this stage, the command :
./configure [--enable-redis-igbinary]
gives me several messages :

at the beginning of the messages
Warning You should use --build --host -- target
Warning invalid host type [--enable-redis-igbinary]
...
at the end og the messages
Invalid configuration [--enable-redis-igbinary]
Machine '[--enable-redis not recognised
Configure: error: /bin/bash ./config.sub [--enable-redis-igbinary] failed

The command make && make install which follows gives :
no target specified and no makefile found. Stop

I am completely blocked.
I have made several attempts, restarting the building fom the very beginning, with always the same result at this point.

Can anyone help me ?

Thanks in advance.

Ben

TrystanLea's picture

Re: Difficulty in "Building the full emoncms on the raspberrypi software stack".

Hello Ben, I've update the documentation to use the same steps that are used in the harddrive installation for redis, it can be installed via pecl with:

sudo pecl install redis

and added to php conf with:

sudo sh -c 'echo "extension=redis.so" > /etc/php5/apache2/conf.d/20-redis.ini'
sudo sh -c 'echo "extension=redis.so" > /etc/php5/cli/conf.d/20-redis.ini'

benbiais's picture

Re: Difficulty in "Building the full emoncms on the raspberrypi software stack".

Hello Trystan,

Thanks for your reply.

I have followed your updated doc.

All went fine, up to the stage "Install Emoncms" .

The  command "git clone -b redismetadata https://github.com/emoncms/emoncms.git returned me the fatal message : "Cloning into emoncms. Remote branch redismetadata not found in upstream stream."

By the way, I had the same type of message some days ago, when attempting to update to latest version a Raspberry+Harddrive installation with the command "git pull /var/www/emoncms". I got the message "Your configuration specifies to merge with the ref 'redismetadata' from the remote, but not such ref was fetched."

What can I do to overcome this problem ?

Are these commands to be modified ?

Thanks in advance for your assistance.

Bernard

balou91's picture

Re: Difficulty in "Building the full emoncms on the raspberrypi software stack".

Hello,

 

I have the same problem. I tried too Install redis by github and ./configure Make && make install but I have a lot error messages.

 

I done all the steps except one of the tutorial.

I can't execute this command : sudo pecl install redis

error message : can't find the pecl command.

And I can't install it.

 

Someone have an idea?

 

Thank you.

Franck

 

balou91's picture

Re: Difficulty in "Building the full emoncms on the raspberrypi software stack".

Hello,

 

I have got the solution :

 

launch these before :

sudo apt-get install php-http

sudo apt-get install php5-dev

 

Then start the command :

sudo pecl install redis

And wait, wait, wait ..... :)

 

Regards,

 

Franck.

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.