Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebrew package on homebrew/fuse tap for procfs #6

Open
alexchandel opened this issue Apr 22, 2016 · 8 comments
Open

Homebrew package on homebrew/fuse tap for procfs #6

alexchandel opened this issue Apr 22, 2016 · 8 comments

Comments

@alexchandel
Copy link
Owner

Homebrew has an awesome repository of FUSE filesystems for OS X on the homebrew/fuse tap.

From the formula guidelines, I think the only change we need is to have our Makefile install the procfs binary and plist to the right Homebrew directory. But that said, our source could use some tidying.

@BenjaminHCCarr
Copy link
Collaborator

I do a bunch of homebrew stuff; and need /proc back :)

So I am willing to formula it when you say it's ready to release. I'll write a -HEAD formula to test; but would love procfs.rb to be back!

Cloning now.

@alexchandel
Copy link
Owner Author

Go for it. Other than the 3 documented bugs in the issues list, it runs fine as far as I know. I've added you as a collaborator.

@ylluminate
Copy link

Any news on getting this done? I'm having trouble with 10.12 compilation and would love a nice steady reproducible install of /proc vs having to fight it on fresh installs or setting it up on other workstations.

@BenjaminHCCarr
Copy link
Collaborator

Hey guys..... I plan on doing this... I'm just defending my PhD on August 11th. And have a <2yo.

So time/sleep/food are priority.

Queued. Still live

@BenjaminHCCarr
Copy link
Collaborator

BenjaminHCCarr commented Aug 17, 2017

Needed a break of edits... hacked on this a bit:
Tap is at:
https://github.com/BenjaminHCCarr/homebrew-tap/

The formula is at (WIP):
https://github.com/BenjaminHCCarr/homebrew-tap/blob/master/Formula/procfs.rb


L14 is definitely needed, L15 is to try to figure out why pcrecpp and pcrecpp::string are puking:
https://github.com/BenjaminHCCarr/homebrew-tap/blob/master/Formula/procfs.rb#L14-L15

Gist: https://gist.github.com/247c5201b20a09317250b4813e5c8ba5


I'm on pcre 8.41 are you possibly using PCRE2?
http://www.pcre.org/current/doc/html/
(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.30.tar.bz2) ?


it's in brew:

benc$ brew info pcre2
pcre2: stable 10.30 (bottled), HEAD
Perl compatible regular expressions library with a new API
http://www.pcre.org/

versus my "classic"

benc$ brew info pcre
pcre: stable 8.41 (bottled), HEAD
Perl compatible regular expressions library
http://www.pcre.org/
/usr/local/Cellar/pcre/8.41 (204 files, 5.4MB) *
  Poured from bottle on 2017-07-10 at 23:07:03

@danielbair
Copy link

danielbair commented Apr 24, 2018

Arg, I need a working /proc procfs on macOS High Sierra.

@alexchandel
Copy link
Owner Author

@BenjaminHCCarr:

IIRC I was using brew's "classic" pcre. Did you find any changes I needed to merge?

@danielbair:

This should build, if you update the -isysroot to 10.13's SDK.

@alexchandel
Copy link
Owner Author

@danielbair I've updated the Makefile to use the generic SDK (/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk) and fix the std::string issue. Notwithstanding the known issues (most notably the missing PIDs of #4), this should work for you on macOS High Sierra (tested myself).

@BenjaminHCCarr I believe the pcrecpp::string was due to the implicit use of std::string in procfs.cc. That's been fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants