Droplet icon indicating copy to clipboard operation
Droplet copied to clipboard

MACOS/X port

Open vrancurel opened this issue 15 years ago • 14 comments

vrancurel avatar Oct 07 '10 09:10 vrancurel

Looking forward to this one!

scality avatar Oct 07 '10 09:10 scality

Yes Mac OS X, iOS 4 and other BSD flavors!

baslking avatar Oct 12 '10 09:10 baslking

Same here, looking forward.

philpraxis avatar Nov 22 '10 17:11 philpraxis

+1 for a OSX port!

greenqloud avatar Jun 15 '11 21:06 greenqloud

I am going to rebase my local fork and see how much work is still required to make it work.

GiorgioRegni avatar Jun 17 '11 15:06 GiorgioRegni

That's great Giorgio, we will stay tuned.

greenqloud avatar Jun 17 '11 21:06 greenqloud

Any update on OSX progress?

sputnick avatar Aug 29 '11 14:08 sputnick

I got it compile and run properly in the latest master branch. Could you try it out too?

scality avatar Sep 20 '11 18:09 scality

Internally Stefan one of our main GreenQloud developers got the build working on osx and I see his patches are now in the master branch. I just tried pulling the master branch and running autogen.sh but it fails on dependancies. Giorgio do I need some alternative parameter to use your OSX dep. fixer?

cheers Eiki, GreenQloud

.... checking for pkg-config... no checking for LIBXML... no configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.

Alternatively, you may set the environment variables LIBXML_CFLAGS and LIBXML_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

sputnick avatar Sep 21 '11 10:09 sputnick

Hi Eiki, do you have brew or another OSX package manager on your machine? Droplet requires pkg-config, openssl, libxml.

scality avatar Sep 21 '11 14:09 scality

I don't at the moment. I went through all that myself when I first tried to port the code and I used macports to get the required libs. I just thought Girgio's last commit would handle these external dependency issues for a smooth build process. Basically you are saying that I need to manually add those 3 libs (a good addition for a build/install requirements doc.)?

sputnick avatar Sep 21 '11 16:09 sputnick

I see, I fixed the missing pkg.m4 file but you still need to have the libs installed. What I want to do is create prebuilt packages and binaries so that nobody needs to go through the compilation process to use it.

scality avatar Sep 21 '11 16:09 scality

alright thanks. I'll try getting the libs and building it again then.

sputnick avatar Sep 21 '11 17:09 sputnick

Built but not all the way there:

Installed Brew: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

Install packages needed brew install pkg-config brew install libxml2 brew install openssl

./autogen.sh make sudo make install

Went on to install Droplet sh to test the install and got the error: configure: error: readline library missing

Did a: brew install readline

But still the autogen.sh for Droplet sh complains about the missing readline lib...

sputnick avatar Sep 21 '11 18:09 sputnick