Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

cputhrottle failed to build on 10.11 #42394

Closed
apjanke opened this issue Aug 3, 2015 · 2 comments
Closed

cputhrottle failed to build on 10.11 #42394

apjanke opened this issue Aug 3, 2015 · 2 comments
Labels

Comments

@apjanke
Copy link
Contributor

apjanke commented Aug 3, 2015

https://gist.github.com/5349c9c1883795c1394a

On 10.11 PB3.

/usr/bin/g++ -c -g -Wall -I..///boost_1_43_0 cputhrottle.cc
In file included from cputhrottle.cc:5:
./manip.h:4:10: fatal error: 'boost/shared_ptr.hpp' file not found
#include <boost/shared_ptr.hpp>
         ^
1 error generated.
make: *** [cputhrottle.o] Error 1
@dunn
Copy link
Contributor

dunn commented Aug 3, 2015

It also explodes if you try to override the make variables with what should be the correct ones:

  def install
    system "make", "all", "CC=#{ENV.cc}",
           "BOOST_INCLUDES=#{Formula["boost"].opt_include}",
           "BOOST_LIBS=#{Formula["boost"].opt_lib}"
    bin.install "cputhrottle"
  end

https://gist.github.com/bf25dee9820fc97080c7

@DomT4
Copy link
Member

DomT4 commented Aug 10, 2015

Moving to tracking in #40837. If you report this one upstream let us know in that thread and I'll add a link to that report, Thanks!

@DomT4 DomT4 closed this as completed Aug 10, 2015
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants