:logger => File.open("log/access.log", "ab") However, after my successful build of the patched gem, when I re-enabledĬlogger in my rails 3 app in config/application.rb like this, it Unconditional raise and the gem built fine. That might work for me, except there are several Windows platform Raise "C ext not supported on RUBY_PLATFORM=#" I wonder if extconf.rb should just bail out with Is the pure-Ruby version acceptable for you? > there's anything else I can try to help solve this. > I want to use clogger on Windows with the version of Ruby 9:35 ` Ben Armstrong 0 siblings, 1 reply 4+ messages in thread 15:07 gem fails to build on Win 7 32 bit, DevKit 3.7.2 () Ben 21:04 ` Eric Wong * Re: gem fails to build on Win 7 32 bit, DevKit 3.7.2 () In file included from c:/Ruby22/include/ruby-2.2.0/ruby/defines.h:163:0,įrom c:/Ruby22/include/ruby-2.2.0/ruby/ruby.h:29,įrom c:/Ruby22/include/ruby-2.2.0/ruby.h:33,Ĭ:/Ruby22/include/ruby-2.2.0/ruby/win32.h:318:12: note: previous declaration of 'gettimeofday' was hereīlocking_helpers.h:57:0: warning: "stat" redefined Ĭ:/Ruby22/include/ruby-2.2.0/ruby/win32.h:199:0: note: this is the location of the previous definitionĬlogger.c:994:3: warning: passing argument 2 of 'fstati64' from incompatible pointer type Ĭ:/Ruby22/include/ruby-2.2.0/ruby/win32.h:483:12: note: expected 'struct _stat64 *' but argument is of type 'struct stat *'Ĭlogger.c:996:3: warning: passing argument 2 of 'my_stat' from incompatible pointer type īlocking_helpers.h:21:12: note: expected 'struct _stat64 *' but argument is of type 'struct stat *' noĬhecking for rb_thread_io_blocking_region() in ruby.h. yesĬhecking for rb_thread_blocking_region() in ruby.h. yesĬhecking for rb_thread_call_without_gvl() in ruby/thread.h. noĬhecking for rb_str_set_len() in ruby.h. yesĬhecking for struct tm.tm_gmtoff in time.h. yesĬhecking for clock_gettime() in time.h. yesĬhecking for CLOCK_MONOTONIC in time.h. siteconf20160725-8240-12azzw.rb extconf.rbĬhecking for O_NONBLOCK in unistd.h,fcntl.h. There's anything else I can try to help solve this.Ĭurrent directory: c:/Ruby22/lib/ruby/gems/2.2.0/gems/clogger-2.0.2/ext/clogger_extĬ:/Ruby22/bin/ruby.exe -r. I want to use clogger on Windows with the version of 21:04 ` Eric Wong 0 siblings, 1 reply 4+ messages in threadįrom: Ben Armstrong 15:07 UTC ( / raw) Hence, I haven't used ridk much.Gem fails to build on Win 7 32 bit, DevKit 3.7.2 () clogger RubyGem user+dev discussion/patches/pulls/bugs/help help / color / mirror / code / Atom feed * gem fails to build on Win 7 32 bit, DevKit 3.7.2 () 15:07 Ben Armstrong I have been using MSYS2/MinGW for a while, so, when working with it, I work in its shell. My trunk build is used a few places for testing, RubyGems just found a bug with it. First results shown are from Apri-2017, I was building before that, but not logging. I've been logging my trunk test results here. Psych::VERSION 2.2.4 LIBYAML_VERSION 0.1.7 X509::DEFAULT_CERT_DIR Dir Exists C:/ruby23-ri2/ssl/certsĬonfig::DEFAULT_CONFIG_FILE File Dated C:\OpenSSL-Win32\bin\openssl.cfgĮNV File Dated C:\OpenSSL-Win32\bin\openssl.cfg X509::DEFAULT_CERT_FILE File Dated C:/ruby23-ri2/ssl/cert.pem SSLContext::METHODS SSLv23 SSLv3 TLSv1 TLSv1_1 TLSv1_2 Ruby 2.3.5p376 ( revision 59905) īuild Type/Info: RubyInstaller2 vers ruby-loco RI2 2.4.2-2 commit a1b07ad All standard tests done with the extension/so version. Built with readline 7.0, but also has rb-readline installed.The file ruby23_64_2.3.5_info.log shows test results on the upgraded default gems. Includes prepare, build, package, and several tests. Default gems - BigDecimal, JSON, OpenSSL, Pysch, and RDoc are updated, *.so files stripped, and all pushed back into the build.Since there were a few issues posted in RI2 that involved gem update / install problems, it's obvious that many users are updating gems, and also default gems. I would like to propose adding it to the OneClick web site. I believe it would help the adoption of RI2 if a 2.3 build was available. I recently uploaded a 2.3.5 build to BinTray. Although I've mostly concentrated on testing trunk, I added building of 2.3 and 2.4. I've been using my own MSYS2/MinGW build system for a while, and I include the RI2 runtime. Lars Kanis has put a lot of time into the RubyInstaller2 (RI2) system (thanks again), and is building 2.4 versions. They also have various issues, from ssl certs to package availability and maintenance. At present, RubyInstaller (RI) versions have stopped at 2.3.3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |