Skip to content
This repository has been archived by the owner on Sep 15, 2018. It is now read-only.

Error with gem install captured #9

Open
kylehayes opened this issue Sep 29, 2011 · 1 comment
Open

Error with gem install captured #9

kylehayes opened this issue Sep 29, 2011 · 1 comment

Comments

@kylehayes
Copy link

I'm getting an error when attempting to run sudo gem install captured with the following tail:

gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin11.0 -I. -DRUBY_EXTCONF_H="curb_config.h" -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -I/opt/local/include -g -Wall -c curb.c
In file included from /opt/local/include/curl/curl.h:35,
from curb.h:12,
from curb.c:8:
/opt/local/include/curl/curlrules.h:143: error: size of array ‘curl_rule_01’ is negative
/opt/local/include/curl/curlrules.h:153: error: size of array ‘curl_rule_02’ is negative
lipo: can't open input file: /var/tmp//ccGv23da.out (No such file or directory)
make: *** [curb.o] Error 1

@csexton
Copy link
Owner

csexton commented Oct 3, 2011

Seems like there is a problem with the version of curl you have and the default ruby on OS X -- what version do you have installed? Does it match what is in installed with ports?

You might do better to build against the system libcurl.

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

No branches or pull requests

2 participants