Page 1 of 1

Raspbian: client: command not found - building PSOL

Posted: Tue Oct 21, 2014 11:29 am
by Arndroid
Hey guys,

I wanted to update and optimize my nginx server today. After the apt-get update,upgrade and even dist-upgrade, I went on to building the Pagespeed module for nginx from Google:
https://developers.google.com/speed/pag ... rom_source

(Everything is done as su)

But in the end I got this error:

configuring additional modules
adding module in /var/www/ngx_pagespeed-release-1.9.32.1-beta //yes I stored it in my www folder, just temporary.
Architecture not supported: armv6l
something@something:~/nginx-1.7.6# sudo make
make: *** No rule to make target 'build', needed by 'default'. Stop.
Too bad for ARM users, but according to:
https://github.com/pagespeed/ngx_pagespeed/issues/398
It seems I have to follow these steps:
https://github.com/pagespeed/ngx_pagesp ... rom-Source
And that should do it.

But running the first bash for building results in this:

something@something:~/mod_pagespeed# sudo client config http://modpagespeed.googlecode.com/svn/ ... .32.1/src/
sudo: client: command not found
I cannot find a solution for it, but in my google search I found that it might have something to do with my PATH variable, somehow?

Not that it should make any diffrence but, I am running raspbian with jessie instead of wheezy.

Thanks in advance,
Arndroid

Re: Raspbian: client: command not found - building PSOL

Posted: Wed Oct 22, 2014 3:10 pm
by cpc464
sudo is looking for command called "client" and can't find it.

either:
specift the full pathname of the "client command, thus: sudo /full/path/to/client ...

or

Add the directory containing the "client" command to your PATH variable, then retry your original sudo command

or

perhaps this wasn't the command you were intending to execute

Re: Raspbian: client: command not found - building PSOL

Posted: Thu Oct 23, 2014 12:26 pm
by Arndroid
It seems I made a typo, indeed.
client should be gclient!

Thanks. :)

But now I've ran into another problem:
http://www.raspberrypi.org/forums/viewt ... 66&t=89890