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

Can't install puma -- error: expected specifier-qualifier-list before ‘uint8_t’ #815

Closed
nate-dipiazza opened this issue Nov 4, 2015 · 4 comments

Comments

@nate-dipiazza
Copy link

The C code cannot compile. The error is in io_buffer.c.

gcc -I. -I/usr/local/lib/ruby/1.8/x86_64-linux -I/usr/local/lib/ruby/1.8/x86_64-linux -I. -Wno-deprecated-declarations    -fPIC -g -O2   -c io_buffer.c
io_buffer.c:6: error: expected specifier-qualifier-list beforeuint8_t

I can install version 1.5.0.

I'm running ruby 1.8.7 on Redhat 5.11. Are you aware of any dependencies that are preventing me from installing a 2+ puma gem?

@evanphx
Copy link
Member

evanphx commented Nov 7, 2015

That must be a very, very old linux if 'uint8_t' isn't available.

@jmacmullin
Copy link

I get the same error when attempting to install the latest Puma on Mac OS X El Capitan

@jmacmullin
Copy link

Well, similar:
io_buffer.c:118:10: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]

@micfan
Copy link

micfan commented Jan 29, 2016

@jmacmullin Why this occurs in Mac machine? My Ruby version is RVM.ruby-2.2.1

nolman added a commit to nolman/puma that referenced this issue Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants