8000 Install fails on 10.4.11 · Issue #96 · Chris911/iStats · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Install fails on 10.4.11 #96
Open
Open
@ltpitt

Description

@ltpitt

Hello there,

I write from the past :)

I tried installing this nice software on my eMac using 10.4.11.
I installed ruby via homebrew:
ruby 2.4.1p111 (2017-03-22 revision 58053) [powerpc-darwin8.0]

And tried the command in README.md to install:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future

And then gem install iStats or sudo gem install iStats but I got error anyway:
Building native extensions. This could take a while...

ERROR:  Error installing iStats:
        ERROR: Failed to build gem native extension.

    current directory: /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/gems/2.4.0/gems/iStats-1.6.1/ext/osx_stats
/usr/local/Cellar/ruby/2.4.1_1/bin/ruby -r ./siteconf20200715-27343-fjhuzx.rb extconf.rb
creating Makefile

current directory: /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/gems/2.4.0/gems/iStats-1.6.1/ext/osx_stats
make "DESTDIR=" clean

current directory: /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/gems/2.4.0/gems/iStats-1.6.1/ext/osx_stats
make "DESTDIR="
compiling smc.c
smc.c: In function 'method_get_battery_time_remaining':
smc.c:417: error: 'kIOPSTimeRemainingUnknown' undeclared (first use in this function)
smc.c:417: error: (Each undeclared identifier is reported only once
smc.c:417: error: for each function it appears in.)
smc.c:419: error: 'kIOPSTimeRemainingUnlimited' undeclared (first use in this function)
make: *** [smc.o] Error 1

make failed, exit code 2

Gem files will remain installed in /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/gems/2.4.0/gems/iStats-1.6.1 for inspection.
Results logged to /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/gems/2.4.0/extensions/powerpc-darwin-8/2.4.0/iStats-1.6.1/gem_make.out

Is there any hope for my dinosaur or I'll have to write my own little stats script?

Thanks for your time and help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0