Skip to content

Instantly share code, notes, and snippets.

@aboltart
Created November 26, 2012 07:17
Show Gist options
  • Save aboltart/4146997 to your computer and use it in GitHub Desktop.
Save aboltart/4146997 to your computer and use it in GitHub Desktop.
.rvm/src/ruby-2.0.0-preview1/ext/psych/mkmf.log
find_header: checking for yaml.h... -------------------- yes
"gcc-4.2 -E -I../../.ext/include/x86_64-darwin12.2.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/Users/aabolts/.rvm/usr/include -I/Users/aabolts/.rvm/usr/include -arch i386 -g -Os -pipe -no-cpp-precomp -fno-common conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <yaml.h>
/* end */
--------------------
find_library: checking for yaml_get_version()... -------------------- -lyaml
"gcc-4.2 -o conftest -I../../.ext/include/x86_64-darwin12.2.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/Users/aabolts/.rvm/usr/include -I/Users/aabolts/.rvm/usr/include -arch i386 -g -Os -pipe -no-cpp-precomp -fno-common conftest.c -L. -L../.. -L/Users/aabolts/.rvm/usr/lib -L. -arch i386 -bind_at_load -fstack-protector -L/usr/local/lib -L/Users/aabolts/.rvm/usr/lib -L/Users/aabolts/.rvm/usr/lib -lruby.2.0.0-static -lyaml -lpthread -ldl -lobjc "
conftest.c: In function ‘t’:
conftest.c:6: error: ‘yaml_get_version’ undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main(void) {return 0;}
5: extern int t(void);
6: int t(void) { void ((*volatile p)()); p = (void ((*)()))yaml_get_version; return 0; }
/* end */
"gcc-4.2 -o conftest -I../../.ext/include/x86_64-darwin12.2.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/Users/aabolts/.rvm/usr/include -I/Users/aabolts/.rvm/usr/include -arch i386 -g -Os -pipe -no-cpp-precomp -fno-common conftest.c -L. -L../.. -L/Users/aabolts/.rvm/usr/lib -L. -arch i386 -bind_at_load -fstack-protector -L/usr/local/lib -L/Users/aabolts/.rvm/usr/lib -L/Users/aabolts/.rvm/usr/lib -lruby.2.0.0-static -lyaml -lpthread -ldl -lobjc "
ld: warning: ignoring file /Users/aabolts/.rvm/usr/lib/libyaml.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
"_yaml_get_version", referenced from:
_t in ccyCV9DQ.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main(void) {return 0;}
5: extern int t(void);
6: int t(void) { yaml_get_version(); return 0; }
/* end */
--------------------
libyaml is missing. Please install libyaml.
Failed to configure psych. It will not be installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment