jfgiraud

Untitled

Dec 2nd, 2020
710
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. apk add python3 python3-dev py3-virtualenv
  2. apk add python2 python2-dev
  3. apk add mariadb-dev
  4.  
  5. #error: command 'gcc' failed with exit status 1
  6. # ----------------------------------------
  7. # ERROR: Failed building wheel for MySQL-python
  8. apk add gcc
  9.  
  10. #19 | #include <limits.h>
  11. # | ^~~~~~~~~~
  12. # compilation terminated.
  13. # error: command 'gcc' failed with exit status 1
  14. apk add libc-dev
  15.  
  16. #_mysql.c: In function '_mysql_ConnectionObject_ping':
  17. #_mysql.c:1804:41: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'
  18. #1804 | if ( reconnect != -1 ) self->connection.reconnect = reconnect;
  19. # | ^
  20. #error: command 'gcc' failed with exit status 1
  21. #https://github.com/DefectDojo/django-DefectDojo/issues/407#issuecomment-415862064
  22. sed '/st_mysql_options options;/a unsigned int reconnect;' /usr/include/mysql/mysql.h -i.bkp
  23.  
Advertisement
Add Comment
Please, Sign In to add comment