Guest User

Untitled

a guest
Apr 22nd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.57 KB | None | 0 0
  1. #not sure what is causing this in OSX Leopard. I just installed XCODE 3.0 (actually the whole iPhone SDK which includes Xcode 3.0)
  2.  
  3.  
  4. sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
  5. Building native extensions. This could take a while...
  6. ERROR: Error installing mysql:
  7. ERROR: Failed to build gem native extension.
  8.  
  9. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
  10. checking for mysql_ssl_set()... no
  11. checking for mysql.h... yes
  12. creating Makefile
  13.  
  14. make
  15. gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_MYSQL_H -I/usr/local/mysql/include -Os -arch i386 -fno-common -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -c mysql.c
  16. cc -arch ppc -arch i386 -pipe -bundle -o mysql.bundle mysql.o -L"." -L"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib" -L. -arch ppc -arch i386 -lruby -L/usr/local/mysql/lib -lmysqlclient -lz -lm -lpthread -ldl -lm
  17. ld warning: in /usr/local/mysql/lib/libmysqlclient.dylib, file is not of required architecture
  18. Undefined symbols for architecture ppc:
  19. "_mysql_store_result", referenced from:
  20. _store_result in mysql.o
  21. _query in mysql.o
  22. "_mysql_stmt_errno", referenced from:
  23. _mysql_stmt_raise in mysql.o
  24. _stmt_prepare in mysql.o
  25. _stmt_result_metadata in mysql.o
  26. "_mysql_stmt_error", referenced from:
  27. _mysql_stmt_raise in mysql.o
  28. "_mysql_options", referenced from:
  29. _options in mysql.o
  30. "_mysql_refresh", referenced from:
  31. _refresh in mysql.o
  32. _reload in mysql.o
  33. "_mysql_get_client_version", referenced from:
  34. _client_version in mysql.o
  35. "_mysql_stmt_bind_result", referenced from:
  36. _stmt_bind_result in mysql.o
  37. _stmt_execute in mysql.o
  38. "_mysql_fetch_lengths", referenced from:
  39. _fetch_hash2 in mysql.o
  40. _fetch_lengths in mysql.o
  41. _fetch_row in mysql.o
  42. "_mysql_character_set_name", referenced from:
  43. _character_set_name in mysql.o
  44. "_mysql_set_server_option", referenced from:
  45. _query in mysql.o
  46. _set_server_option in mysql.o
  47. "_mysql_real_query", referenced from:
  48. _query in mysql.o
  49. _query in mysql.o
  50. "_mysql_num_fields", referenced from:
  51. _fetch_hash2 in mysql.o
  52. _fetch_fields in mysql.o
  53. _fetch_field_direct in mysql.o
  54. _fetch_lengths in mysql.o
  55. _fetch_row in mysql.o
  56. _num_fields in mysql.o
  57. _stmt_prepare in mysql.o
  58. "_mysql_ping", referenced from:
  59. _ping in mysql.o
  60. "_mysql_free_result", referenced from:
  61. _free_mysqlres in mysql.o
  62. _free_mysqlstmt_memory in mysql.o
  63. _free_mysqlstmt in mysql.o
  64. _list_dbs in mysql.o
  65. _list_tables in mysql.o
  66. _res_free in mysql.o
  67. _stmt_free_result in mysql.o
  68. "_mysql_rollback", referenced from:
  69. _rollback in mysql.o
  70. "_mysql_next_result", referenced from:
  71. _query in mysql.o
  72. _next_result in mysql.o
  73. "_mysql_data_seek", referenced from:
  74. _data_seek in mysql.o
  75. "_mysql_autocommit", referenced from:
  76. _autocommit in mysql.o
  77. "_mysql_debug", referenced from:
  78. _my_debug in mysql.o
  79. "_mysql_stmt_affected_rows", referenced from:
  80. _stmt_affected_rows in mysql.o
  81. "_mysql_stmt_insert_id", referenced from:
  82. _stmt_insert_id in mysql.o
  83. "_mysql_use_result", referenced from:
  84. _use_result in mysql.o
  85. "_mysql_stmt_fetch", referenced from:
  86. _stmt_fetch in mysql.o
  87. "_mysql_stmt_free_result", referenced from:
  88. _stmt_free_result in mysql.o
  89. "_mysql_field_seek", referenced from:
  90. _field_seek in mysql.o
  91. "_mysql_stmt_param_count", referenced from:
  92. _stmt_param_count in mysql.o
  93. _stmt_prepare in mysql.o
  94. "_mysql_fetch_row", referenced from:
  95. _list_dbs in mysql.o
  96. _list_tables in mysql.o
  97. _fetch_hash2 in mysql.o
  98. _fetch_row in mysql.o
  99. "_mysql_sqlstate", referenced from:
  100. _mysql_raise in mysql.o
  101. _sqlstate in mysql.o
  102. "_mysql_stmt_sqlstate", referenced from:
  103. _mysql_stmt_raise in mysql.o
  104. _stmt_sqlstate in mysql.o
  105. "_mysql_list_processes", referenced from:
  106. _list_processes in mysql.o
  107. "_mysql_real_escape_string", referenced from:
  108. _real_escape_string in mysql.o
  109. "_mysql_stmt_bind_param", referenced from:
  110. _stmt_execute in mysql.o
  111. "_mysql_field_count", referenced from:
  112. _field_count in mysql.o
  113. _query in mysql.o
  114. _query in mysql.o
  115. "_mysql_field_tell", referenced from:
  116. _field_tell in mysql.o
  117. "_mysql_stmt_result_metadata", referenced from:
  118. _stmt_prepare in mysql.o
  119. _stmt_result_metadata in mysql.o
  120. "_mysql_list_tables", referenced from:
  121. _list_tables in mysql.o
  122. "_mysql_stmt_prepare", referenced from:
  123. _stmt_prepare in mysql.o
  124. "_mysql_get_client_info", referenced from:
  125. _client_info in mysql.o
  126. "_mysql_thread_id", referenced from:
  127. _thread_id in mysql.o
  128. "_mysql_stmt_execute", referenced from:
  129. _stmt_execute in mysql.o
  130. "_mysql_stmt_init", referenced from:
  131. _stmt_init in mysql.o
  132. "_mysql_stat", referenced from:
  133. _my_stat in mysql.o
  134. "_mysql_stmt_field_count", referenced from:
  135. _stmt_field_count in mysql.o
  136. "_mysql_close", referenced from:
  137. _free_mysql in mysql.o
  138. _my_close in mysql.o
  139. "_mysql_stmt_data_seek", referenced from:
  140. _stmt_data_seek in mysql.o
  141. "_mysql_fetch_fields", referenced from:
  142. _fetch_hash2 in mysql.o
  143. _fetch_fields in mysql.o
  144. _stmt_bind_result in mysql.o
  145. _stmt_execute in mysql.o
  146. _stmt_prepare in mysql.o
  147. "_mysql_list_fields", referenced from:
  148. _list_fields in mysql.o
  149. "_mysql_row_seek", referenced from:
  150. _row_seek in mysql.o
  151. "_mysql_change_user", referenced from:
  152. _change_user in mysql.o
  153. "_mysql_stmt_row_seek", referenced from:
  154. _stmt_row_seek in mysql.o
  155. "_mysql_stmt_close", referenced from:
  156. _free_mysqlstmt in mysql.o
  157. _stmt_close in mysql.o
  158. "_mysql_info", referenced from:
  159. _info in mysql.o
  160. "_mysql_init", referenced from:
  161. _init in mysql.o
  162. _real_connect in mysql.o
  163. "_mysql_get_server_info", referenced from:
  164. _server_info in mysql.o
  165. "_mysql_fetch_field_direct", referenced from:
  166. _fetch_field_direct in mysql.o
  167. "_mysql_dump_debug_info", referenced from:
  168. _dump_debug_info in mysql.o
  169. "_mysql_row_tell", referenced from:
  170. _row_tell in mysql.o
  171. "_mysql_real_connect", referenced from:
  172. _real_connect in mysql.o
  173. _real_connect2 in mysql.o
  174. "_mysql_stmt_row_tell", referenced from:
  175. _stmt_row_tell in mysql.o
  176. "_mysql_kill", referenced from:
  177. _my_kill in mysql.o
  178. "_mysql_num_rows", referenced from:
  179. _list_dbs in mysql.o
  180. _list_tables in mysql.o
  181. _num_rows in mysql.o
  182. "_mysql_warning_count", referenced from:
  183. _warning_count in mysql.o
  184. "_mysql_stmt_num_rows", referenced from:
  185. _stmt_num_rows in mysql.o
  186. "_mysql_stmt_attr_set", referenced from:
  187. _stmt_init in mysql.o
  188. "_mysql_get_server_version", referenced from:
  189. _query in mysql.o
  190. _server_version in mysql.o
  191. "_mysql_more_results", referenced from:
  192. _more_results in mysql.o
  193. "_mysql_select_db", referenced from:
  194. _select_db in mysql.o
  195. "_mysql_stmt_store_result", referenced from:
  196. _stmt_execute in mysql.o
  197. "_mysql_get_host_info", referenced from:
  198. _host_info in mysql.o
  199. "_mysql_commit", referenced from:
  200. _commit in mysql.o
  201. "_mysql_shutdown", referenced from:
  202. _my_shutdown in mysql.o
  203. "_mysql_list_dbs", referenced from:
  204. _list_dbs in mysql.o
  205. "_mysql_affected_rows", referenced from:
  206. _affected_rows in mysql.o
  207. "_mysql_insert_id", referenced from:
  208. _insert_id in mysql.o
  209. "_mysql_fetch_field", referenced from:
  210. _fetch_field in mysql.o
  211. "_mysql_get_proto_info", referenced from:
  212. _proto_info in mysql.o
  213. "_mysql_errno", referenced from:
  214. _mysql_raise in mysql.o
  215. _my_close in mysql.o
  216. _my_errno in mysql.o
  217. "_mysql_error", referenced from:
  218. _mysql_raise in mysql.o
  219. _my_error in mysql.o
  220. "_mysql_escape_string", referenced from:
  221. _escape_string in mysql.o
  222. ld: symbol(s) not found for architecture ppc
  223. collect2: ld returned 1 exit status
  224. lipo: can't open input file: /var/tmp//ccTVZpWE.out (No such file or directory)
  225. make: *** [mysql.bundle] Error 1
  226.  
  227.  
  228. Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.7 for inspection.
  229. Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.7/gem_make.out
Add Comment
Please, Sign In to add comment