Ruby on Rails Monday, May 9, 2016

# rpm -qa |grep libxml2
libxml2-python-2.9.1-6.el7_2.2.x86_64
libxml2-devel-2.9.1-6.el7_2.2.x86_64
libxml2-2.9.1-6.el7_2.2.x86_64

# rpm -qa |grep libxslt
libxslt-1.1.28-5.el7.x86_64
libxslt-devel-1.1.28-5.el7.x86_64


# cat /usr/local/share/gems/gems/nokogiri-1.6.7.2/ext/nokogiri/mkmf.log

"gcc -o conftest -I/usr/include -I/usr/include/ruby/backward
-I/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -mtune=generic -fPIC conftest.c -L. -L/usr/lib64
-L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64
-lruby -lpthread -lrt -ldl -lcrypt -lm -lc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */

"gcc -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I.
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-mtune=generic -fPIC -m64 -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

have_library: checking for gzdopen() in -lz... -------------------- yes

"gcc -o conftest -I/usr/include -I/usr/include/ruby/backward
-I/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -mtune=generic -fPIC -g -DXP_UNIX -Wall
-Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline
conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector
-rdynamic -Wl,-export-dynamic -m64 -lruby -lz -lpthread -lrt -ldl
-lcrypt -lm -lc "
conftest.c: In function 't':
conftest.c:7:32: warning: variable 'p' set but not used
[-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))gzdopen; return
0; }
^
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <zlib.h>
4:
5: /*top*/
6: extern int t(void);
7: int t(void) { void ((*volatile p)()); p = (void ((*)()))gzdopen;
return 0; }
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
/* end */

--------------------

have_iconv?: checking for iconv... -------------------- yes

"gcc -o conftest -I/usr/include -I/usr/include/ruby/backward
-I/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -mtune=generic -fPIC -g -DXP_UNIX -Wall
-Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline
conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector
-rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -lrt -ldl
-lcrypt -lm -lc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <stdlib.h>
4: #include <iconv.h>
5:
6: int main(void)
7: {
8: iconv_t cd = iconv_open("", "");
9: iconv(cd, NULL, NULL, NULL, NULL);
10: return EXIT_SUCCESS;
11: }
/* end */

--------------------

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bafa87226421748fd97678843737e0a9%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment