From owner-freebsd-questions Fri Apr 7 15:25: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 1C90137B96B for ; Fri, 7 Apr 2000 15:25:03 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.241.237]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Fri, 7 Apr 2000 15:35:23 -0700 Message-ID: <38EE6033.382B9ADB@3-cities.com> Date: Fri, 07 Apr 2000 15:24:51 -0700 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "David J. Kanter" Cc: FreeBSD questions Subject: Re: Code crusader still broken References: <20000407055751.A90155@localhost.localdomain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "David J. Kanter" wrote: > > Last week I mentioned that the Code Crusader port was broken, and someone > responded that the maintainer was notified. I just ran cvsup and saw the > Makefile changed, with the BROKEN line remove, so I tried to install the > port. Still, I get no binaries with make && make install. > > I think this port is still broken. It is still broken; however, this is what I had to do to make Code Crusader 1.5.3 build as a port. Modify line 97 in patch-ac to get rid of the line 172 error. There was a blank right after the + that was causing the line 172 separator error. + @mkdir ${JCC} If you get rid of this error it should build on FreeBSD 3.4. The remaining changes were required on 4.0. I have yet to try all on my 3.4-Stable system. I haven't figured out how to setup a patch style of diff but this is my first diff that I applied to ACE/ACE_wrappers/config-freebsd-pthread.h 47d46 < #define ACE_LACKS_SIGSET 87a87,95 > #if (__FreeBSD_version < 400000) > #define ACE_LACKS_SIGSET > #endif /* __FreeBSD_version >= 400000 */ > > #if (__FreeBSD_version >= 400000) > #define ACE_HAS_UCONTEXT_T > #define ACE_HAS_SOCKLEN_T > #endif /* __FreeBSD_version >= 400000 */ > The second diff is ACE/ACE_wrappers/ace/Log_Msg.cpp 673c673 < #if ! (defined(__BORLANDC__) && __BORLANDC__ >= 0x0530) --- > #if defined(ACE_LACKS_SYS_NERR) 675c675 < #endif /* ! (defined(__BORLANDC__) && __BORLANDC__ >= 0x0530) */ --- > #endif /* defined(ACE_LACKS_SYS_NERR) */ I also haven't figured out how to check for bison. Code Crusader is dependant on bison being installed. These changes produced a jcc on my FreeBSD 4.0-Stable using the port/codecrusader/Makefile. I tried building a simple hellow_world from the tutorial. I had errors but it created the source file, project, and it appeared to try and compile it. -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message