Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Cannot make C libraries on OSX 10.8.5

Setting SSL_DIR to a reasonable value got the libraries to build -
thanks! Next I'll try to get the samples to build.

On Wed, Mar 5, 2014 at 6:30 PM, Tom Smith <yotommy@xxxxxxxxx> wrote:
> Much better, thanks!
>
> The build ends with this:
>
> ld: warning: directory not found for option
> '-L/Users/tsmith/devel/mqtt-mb/org.eclipse.paho.mqtt.c/src/../../../../source/openssl-1.0.1c//lib'
> strip -x darwin_ia64/libmqttv3as.so
>
> Let me be more careful with SSL_DIR and try again. May be tomorrow
> before I can report results.
>
> On Wed, Mar 5, 2014 at 6:13 PM, Ian Craggs
> <icraggs@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>> I forgot, there is an old makefile in the build directory with an OS/X
>> section.  The library names built are old, so I do need to update the root
>> makefile.
>>
>> To try this:
>>
>> cd src
>> make -f ../build/Makefile
>>
>> Ian
>>
>>
>>
>> On 03/05/2014 11:09 PM, Ian Craggs wrote:
>>>
>>> Hi Tom,
>>>
>>> it hasn't been my top priority to get an OSX build working, but I should
>>> do it.  I'll see what I can do in the next week or so, maybe sooner.
>>>
>>> If anyone wants to contribute an update for the makefile for me I would be
>>> very happy :-) (not really expecting it to happen!)
>>>
>>> Ian
>>>
>>>
>>> On 03/05/2014 09:11 PM, Tom Smith wrote:
>>>>
>>>> I'm trying to build the C libraries on Mac OSX Mountain Lion. However,
>>>> make doesn't result in any action being taken (see below). I've
>>>> checked out the same code on a Linux machine and the same steps result
>>>> in a good build. I've peeked at the Makefile, but think it would take
>>>> me a long time to diagnose the problem.
>>>>
>>>> I don't necessarily need to build these myself, if there are binaries
>>>> for OSX lying around somewhere that I can use.
>>>>
>>>> Any advice?
>>>>
>>>> $ git clone
>>>> git://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.c.git
>>>> Cloning into 'org.eclipse.paho.mqtt.c'...
>>>> remote: Counting objects: 988, done.
>>>> remote: Compressing objects: 100% (369/369), done.
>>>> remote: Total 988 (delta 644), reused 951 (delta 607)
>>>> Receiving objects: 100% (988/988), 609.14 KiB, done.
>>>> Resolving deltas: 100% (644/644), done.
>>>>
>>>> $ cd org.eclipse.paho.mqtt.c/
>>>>
>>>> $ make -version
>>>> GNU Make 3.81
>>>> Copyright (C) 2006  Free Software Foundation, Inc.
>>>> This is free software; see the source for copying conditions.
>>>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>>>> PARTICULAR PURPOSE.
>>>>
>>>> This program built for i386-apple-darwin11.3.0
>>>>
>>>> $ make
>>>> make: *** No targets.  Stop.
>>>> _______________________________________________
>>>> paho-dev mailing list
>>>> paho-dev@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/paho-dev
>>>
>>>
>>
>> --
>> Ian Craggs
>> icraggs@xxxxxxxxxx                 IBM United Kingdom
>> Comitter on Paho, Mosquitto
>>
>> _______________________________________________
>> paho-dev mailing list
>> paho-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/paho-dev


Back to the top