{"id":1215,"date":"2022-08-30T15:14:18","date_gmt":"2022-08-30T15:14:18","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/10\/unable-to-install-gammu-on-mac-os-x-10-8-2-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:14:18","modified_gmt":"2022-08-30T15:14:18","slug":"unable-to-install-gammu-on-mac-os-x-10-8-2-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/unable-to-install-gammu-on-mac-os-x-10-8-2-collection-of-common-programming-errors\/","title":{"rendered":"Unable to install Gammu on Mac OS X 10.8.2-Collection of common programming errors"},"content":{"rendered":"<p>I am trying to install Gammu on my Mac Machine. I already have cmake installed &amp; also Apple Developer Command Line Tools.<\/p>\n<p>When I run <code>.\/configure<\/code>, I get following :<\/p>\n<pre><code>Avi-MacBook-Pro:gammu-1.32.0 avi$ .\/configure\nWrapper script for configuring CMake for Gammu.\n\nThis provides limited compatibility with configure, if you want full\nconfiguration control, use directly CMake. More information about CMake\nis available at .\n\n-- Configuring Gammu 1.32.0\n-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) \n-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) \n-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) \n-- Could NOT find Threads (missing:  Threads_FOUND) \n-- MySQL not found.\n-- Found PostgreSQL: \/usr\/include, \/usr\/lib\/libpq.dylib\n-- libdbi not found.\n-- Could NOT find Libintl (missing:  LIBINTL_INCLUDE_DIR LIBINTL_LIB_FOUND) \n-- glib-2.0 not found.\n-- gobject-2.0 not found.\n-- Bluez not found.\n-- Using OSX Bluetooth stack\n-- Bluetooth support enabled\n-- libusb-1.0 not found.\n-- Nokia support enabled\n-- Nokia MBUS2 protocol enabled\n-- Nokia FBUS2 protocol enabled\n-- Nokia FBUS2DLR3 protocol enabled\n-- Nokia DKU2PHONET protocol enabled\n-- Nokia DKU2AT protocol enabled\n-- Nokia DKU5FBUS2 protocol enabled\n-- Nokia FBUS2PL2303 protocol enabled\n-- Nokia FBUS2BLUE protocol enabled\n-- Nokia PHONETBLUE protocol enabled\n-- Nokia BLUEFBUS2 protocol enabled\n-- Nokia BLUEPHONET protocol enabled\n-- Nokia 3320 and compatible phones support enabled\n-- Nokia 650 and compatible phones support enabled\n-- Nokia 61xx and compatible phones support enabled\n-- Nokia 6510 and compatible phones support enabled\n-- Force using 6210 frames for calendar for DCT4 phones disabled\n-- Nokia 7110 and compatible phones support enabled\n-- Nokia 9210 and compatible phones support enabled\n-- Nokia 3650 and compatible phones support enabled\n-- AT support enabled\n-- AT protocol enabled\n-- AT protocol over Bluetooth enabled\n-- AT phones support enabled\n-- Alcatel support enabled\n-- Alcatel protocol enabled\n-- Alcatel phones support enabled\n-- OBEX compatible phones support enabled\n-- OBEX protocol over Bluetooth enabled\n-- Generic OBEX phones support enabled\n-- AT with OBEX phones support enabled\n-- Symbian phones support (S60) enabled\n-- Symbian phones support (gnapplet) enabled\n-- GNAPBUS protocol over Bluetooth enabled\n-- Gnapplet phones support enabled\n-- S60 phones support enabled\n-- Cell Broadcast messages support enabled\n-- Backup\/Restore functions enabled\n\/var\/lock is not writable, skipping locking tests!\n-- Init script not being installed, install it by -DINSTALL_LSB_INIT=ON\n-- Udev rules not being installed, install it by -DINSTALL_UDEV_RULES=ON\n-- Configuring done\n-- Generating done\n-- Build files have been written to: \/Users\/avi\/Desktop\/gam\/gammu-1.32.0\/build-configure\n<\/code><\/pre>\n<p>When I run <code>make<\/code>, I get error :<\/p>\n<pre><code>Avi-MacBook-Pro:gammu-1.32.0 avi$ make\nmake -C build-configure\n[  1%] Building C object helper\/CMakeFiles\/string.dir\/string.o\nIn file included from \/Users\/avi\/Desktop\/gam\/gammu-1.32.0\/helper\/string.c:1:\n\/Users\/avi\/Desktop\/gam\/gammu-1.32.0\/helper\/string.h:14:10: error: 'string.h'\n      file not found with  include; use \"quotes\" instead\n#include \n         ^~~~~~~~~~\n         \"string.h\"\n\/Users\/avi\/Desktop\/gam\/gammu-1.32.0\/helper\/string.h:39:57: error: unknown type\n      name 'size_t'\nextern int strncasecmp (const char *s1, const char *s2, size_t n);\n                                                        ^\n\/Users\/avi\/Desktop\/gam\/gammu-1.32.0\/helper\/string.h:58:1: error: unknown type\n      name 'wchar_t'\nwchar_t         towlower                        (wchar_t c);\n^\n\/Users\/avi\/Desktop\/gam\/gammu-1.32.0\/helper\/string.h:58:22: error: unknown type\n      name 'wchar_t'\nwchar_t         towlower                        (wchar_t c);\n                                                 ^\nIn file included from \/Users\/avi\/Desktop\/gam\/gammu-1.32.0\/helper\/string.c:3:\n\/Users\/avi\/Desktop\/gam\/gammu-1.32.0\/build-configure\/helper\/..\/include\/gammu-unicode.h:18:10: fatal error: \n      'wchar.h' file not found\n#include \n         ^\n5 errors generated.\nmake[3]: *** [helper\/CMakeFiles\/string.dir\/string.o] Error 1\nmake[2]: *** [helper\/CMakeFiles\/string.dir\/all] Error 2\nmake[1]: *** [all] Error 2\nmake: *** [all] Error 2\n<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2013-11-10 00:10:25. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I am trying to install Gammu on my Mac Machine. I already have cmake installed &amp; also Apple Developer Command Line Tools. When I run .\/configure, I get following : Avi-MacBook-Pro:gammu-1.32.0 avi$ .\/configure Wrapper script for configuring CMake for Gammu. This provides limited compatibility with configure, if you want full configuration control, use directly CMake. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1215","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1215"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1215\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}