mkdir -p ~/bin cd ~/bin git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
You will need to add the depot_tools
to your
path. In bash
you would run:
export PATH=$PATH:~/bin/depot_tools
For building version 1.12 and later:
git clone -b latest-stable --recursive https://github.com/pagespeed/mod_pagespeed.git cd mod_pagespeed python build/gyp_chromium --depth=.
but this last command fails with:
[root@www-desa ~/mod_pagespeed]# python build/gyp_chromium --depth=.
Traceback (most recent call last):
File "build/gyp_chromium", line 30, in <module>
import gyp
ImportError: No module named gyp
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/796aa11f-eb88-4c9b-b682-a8baeb350e37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
+mmhoki was able to get mod_pagespeed up and running on FreeBSD and contributed a port you may be interested in: https://svnweb.freebsd.org/changeset/ports/452011
Otto
On Fri, 10 Nov 2017 at 16:42, Gonzalo Rivero <fishfr...@gmail.com> wrote:
hello, i'm following this instructions https://www.modpagespeed.com/doc/build_mod_pagespeed_from_source--mkdir -p ~/bin cd ~/bin git clone https://chromium.googlesource.com/chromium/tools/depot_tools.gitYou will need to add the
depot_tools
to your path. Inbash
you would run:export PATH=$PATH:~/bin/depot_toolsCheck out mod_pagespeed and dependencies 🔗
For building version 1.12 and later:
git clone -b latest-stable --recursive https://github.com/pagespeed/mod_pagespeed.git cd mod_pagespeed python build/gyp_chromium --depth=.
but this last command fails with:
[root@www-desa ~/mod_pagespeed]# python build/gyp_chromium --depth=.
Traceback (most recent call last):
File "build/gyp_chromium", line 30, in <module>
import gyp
ImportError: No module named gyp
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
python build/gyp_chromium --depth=.
Traceback (most recent call last):
File "build/gyp_chromium", line 30, in <module>
import gyp
ImportError: No module named gyp
```
```
```
echo $PATH :/home/myuser/bin/depot_tools
```
I'm trying to fix it.
Thanks,
Eric