Just wanted to send this to the list as it contained instructions that Roger sent on building mosquitto on Mac OS X.
Begin forwarded message: > From: Robert Wlodarczyk <[email protected]> > Date: March 20, 2011 8:00:00 PM PDT > To: Roger Light <[email protected]> > Subject: Re: [Mqtt-users] Installing on Mac OS + MySQL > > Hi Roger, > > Just wanted to give you an update on this. I got these instructions to work > perfectly! Honestly, the hardest part was getting cmake onto the Mac using > macports since I installed Xcode 4 which was just released last week. (So all > the instructions online weren't updated yet for Xcode 4.) After uninstalling > macports and installing Xcode, and reinstalling macports, I was able to get > cmake, and everything from there worked like a charm. > > Thanks for your help! > > Robert. > > On Mar 16, 2011, at 2:36 AM, Roger Light wrote: > >> Hi Robert, >> >> By happenchance, the person who made the homebrew recipe (Adam) has >> just joined the mailing list as well. Is there any chance you can help >> out Adam? >> >> With regards the SQL question - since version 0.9 mosquitto hasn't had >> a requirement for sqlite. It used to be used to store persistent >> messages and subscriptions and other internal state, but has been >> replaced with code specific to mosquitto that is much more suited to >> the job (and hence much more efficient. >> >> The current release of mosquitto does by default require sqlite, but >> it's purely for backwards compatibility purposes for people who have >> upgraded from <0.9. It can be disabled at build time by commenting out >> the line >> >> #define WITH_SQLITE_UPGRADE >> >> to >> >> //#define WITH_SQLITE_UPGRADE >> >> in config.h >> >> and commenting out the line >> >> target_link_libraries(mosquitto sqlite3) >> >> to >> >> # target_link_libraries(mosquitto sqlite3) >> >> in src/CMakeLists.txt >> >> I'm hoping a Mac user can help out with the missing details of what to >> do, but briefly you need to: >> >> Install cmake >> Install build tools like make and a C compiler >> Extract the mosquitto tar file: tar zxf mosquitto-0.9.3.tar.gz >> Create a directory "build" within the extracted source directory: cd >> mosquitto-0.9.3; mkdir build >> Change to the build directory and run cmake: cd build; cmake .. >> Build everything: make >> Install: make install >> >> Cheers, >> >> Roger >> >> On Wed, Mar 16, 2011 at 3:31 AM, Robert Wlodarczyk >> <[email protected]> wrote: >>> Hi all, >>> >>> I'd like to get MQTT installed on Mac OS. I see there are instructions >>> using homebrew, but I've never used homebrew before. Is there a set of >>> instructions to get MQTT installed on Mac OS taking you through the steps >>> to do so? Ideally I'd like to get it to run with MySQL, but a local sqllite >>> database is fine as well. >>> >>> Thanks, >>> >>> Robert. >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~mqtt-users >>> Post to : [email protected] >>> Unsubscribe : https://launchpad.net/~mqtt-users >>> More help : https://help.launchpad.net/ListHelp >>> >
_______________________________________________ Mailing list: https://launchpad.net/~mqtt-users Post to : [email protected] Unsubscribe : https://launchpad.net/~mqtt-users More help : https://help.launchpad.net/ListHelp

