python - Lektor installation fails on MacBookPro OS X 10.6.8 -


i trying install lektor on macbookpro os x 10.6.8

imagemagick , python2.7 installed.

when run installation command:

curl -sf https://www.getlektor.com/install.sh | sh 

the build process runs until gets error when building '_watchdog_fsevents' extension. error is:

cc1: error: -werror=unused-command-line-argument-hard-error-in-future: no option -wunused-command-line-argument-hard-error-in-future 

i've cut , pasted output prior error following code section.

how should overcome this?

  running build_ext   building '_watchdog_fsevents' extension   creating build/temp.macosx-10.6-x86_64-2.7   creating build/temp.macosx-10.6-x86_64-2.7/src   gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -i/usr/local/include -i/usr/local/opt/sqlite/include -dndebug -g -o3 -wall -wstrict-prototypes -wno-error=unused-command-line-argument-hard-error-in-future -dwatchdog_version_string="0.8.3" -dwatchdog_version_major=0 -dwatchdog_version_minor=8 -dwatchdog_version_build=3 -i/usr/local/cellar/python/2.7.9/frameworks/python.framework/versions/2.7/include/python2.7 -c src/watchdog_fsevents.c -o build/temp.macosx-10.6-x86_64-2.7/src/watchdog_fsevents.o -std=c99 -pedantic -wall -wextra -fpic -wno-error=unused-command-line-argument-hard-error-in-future   cc1: error: -werror=unused-command-line-argument-hard-error-in-future: no option -wunused-command-line-argument-hard-error-in-future   cc1: error: -werror=unused-command-line-argument-hard-error-in-future: no option -wunused-command-line-argument-hard-error-in-future   error: command 'gcc-4.2' failed exit status 1    ----------------------------------------   failed building wheel watchdog failed build watchdog 

most version of os x old support installation of watchdog version of gcc have. if cannot upgrade os x installation recommend installing recent version of clang via brew , install lektor after exporting cc=clang.

note though lektor not tested os x < 10.9.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -