GithubHelp home page GithubHelp logo

Comments (7)

holoduke avatar holoduke commented on May 4, 2024 6

After brew link openssl --force i get another error

./../folly/portability/Malloc.h:27:12: error: unknown type name 'size_t'
extern "C" size_t malloc_usable_size(void* ptr);

from redex.

cesarferreira avatar cesarferreira commented on May 4, 2024 2

Yep, same as @holoduke here

libtool: compile:  g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/local/include -std=gnu++0x -g -O2 -MT portability/Malloc.lo -MD -MP -MF portability/.deps/Malloc.Tpo -c portability/Malloc.cpp  -fno-common -DPIC -o portability/.libs/Malloc.o
In file included from portability/Malloc.cpp:17:
./../folly/portability/Malloc.h:27:12: error: unknown type name 'size_t'
extern "C" size_t malloc_usable_size(void* ptr);
           ^
1 error generated.
make[4]: *** [portability/Malloc.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

from redex.

benjamin-bader avatar benjamin-bader commented on May 4, 2024

Turns out that, using Homebrew openssl, one must brew link openssl --force in order for headers to be seen by make.

from redex.

bertmaher avatar bertmaher commented on May 4, 2024

Thanks for the PR! Apparently folly sprouted an openssl dependence and I didn't notice since it was already on my machine :-).

from redex.

benjamin-bader avatar benjamin-bader commented on May 4, 2024

You're welcome! I was surprised, I thought I already had those headers in place, too.

I guess a "better" solution than brew link might be to provide some path to ./configure, but it's beyond my experience to say positively. What do you think is the right way to handle the openssl dependency on OS X?

from redex.

bertmaher avatar bertmaher commented on May 4, 2024

You're probably right that a ./configure parameter would be ideal here. I'm inclined to simply recommend brew link, just for simplicity's sake. But if someone wanted to figure out how to make configure work, I'd be happy!

from redex.

sealskej avatar sealskej commented on May 4, 2024

@cesarferreira the solution is mentioned in #8

from redex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.