From: doug.hendricks@... (the_rev_dharma_roadkill) Date: 2003-07-25T07:36:22+09:00 Subject: Re: Build crash of preview3 on alpha/osf5.1 AND POSSIBLE FIX matz@ruby-lang.org (Yukihiro Matsumoto) wrote in message news:<1059024003.511102.21055.nullmailer@picachu.netlab.jp>... > Hi, > > In message "Build crash of preview3 on alpha/osf5.1 AND POSSIBLE FIX" > on 03/07/24, the_rev_dharma_roadkill writes: > > |The problem is the line in ext/socket/extconf.rb: > |$CPPFLAGS += " -Dss_family=__ss_family -Dss_len=__ss_len" > |which my system hates. Comment this line out and everything builds. > |But this line is required for other systems, so I propose this fix: > |we try_link for HAVE_SOCKADDR_STORAGE without the above line first. > |If it doesn't work, then try again with the line. Maybe this wouldn't > |work on the supported platforms, but can people check it out? I'm not > |a ruby source developer, I can't even get to the ruby cvs tree because > |of my company's firewall. > | > |There is probably a much prettier way to do this, but I don't have > |much experience in write multi-platform builds. > > I will check this fix in preview4, which is going out several hours > later. Thank you, Doug. > > matz. Preview4 works for me! With no changes! Many thanks, matz. I still get some disturbing compiler warnings, but the self-test and my (very small) test works fine. I will post a very small summary of the compiler warnings in another thread. Doug