maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
805 stars 233 forks source link

error xxx making C -examples #316

Closed Jacquesduval closed 4 years ago

Jacquesduval commented 4 years ago

Sorry to say got an error when i create the sample see copy of my terminal here below

jacques@artdujardin esp-homekit-demo % sudo docker run -it --rm -v "$(pwd)":/project -w /project esp-rtos make -C examples/garage
Password: make: Entering directory '/project/examples/garage' CC /opt/esp-open-rtos/open_esplibs/libmain/user_interface.c mkdir: cannot create directory 'build': Permission denied /opt/esp-open-rtos/open_esplibs/component.mk:15: recipe for target 'build/open_esplibs_libmain//user_interface.o' failed make: *** [build/open_esplibs_libmain//user_interface.o] Error 1 make: Leaving directory '/project/examples/garage' jacques@artdujardin esp-homekit-demo %

Would you please help me ? Thanks Best Rgds

pocketscience commented 4 years ago

It says it right there - you have a permissions issue with the /examples/garage folder. Check/fix the folder permissions. Not sure why you're using sudo either to run the build - that shouldn't be necessary.

Jacquesduval commented 4 years ago

Thanks a lot for your answer, will have a look and let you know. How could i contribute to you ? I am new on Github and don’t know how to contribute ? Best Rgds

Le 4 mars 2020 à 03:32, pocketscience notifications@github.com a écrit :

It says it right there - you have a permissions issue with the /examples/garage folder. Check/fix the folder permissions. Not sure why you're using sudo either to run the build - that shouldn't be necessary.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/maximkulkin/esp-homekit-demo/issues/316?email_source=notifications&email_token=AOIXAFMNCTFVGABCEBONB2DRFW4UXA5CNFSM4LAOUQH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENWB2JQ#issuecomment-594287910, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOIXAFMK4UCA2QBLJNPSPTTRFW4UXANCNFSM4LAOUQHQ.

Jacques Duval 3515 A route de Bonnieux 84560 Menerbes

Mail : jacquesduv@me.com Phone : +33 607 019 661

pocketscience commented 4 years ago

This isn't my repository - I'm using it just like you. One suggestion regarding contributions would be to learn as much as possible and try to help others who ask questions.