From owner-freebsd-hackers Sat Mar 27 5:16:43 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rose.niw.com.au (app3022-2.gw.connect.com.au [203.63.119.4]) by hub.freebsd.org (Postfix) with ESMTP id BB1D214F68 for ; Sat, 27 Mar 1999 05:16:35 -0800 (PST) (envelope-from ian@apdata.com.au) Received: from apdata.com.au (localhost [127.0.0.1]) by rose.niw.com.au (Postfix) with ESMTP id 8F3B7A3203; Sat, 27 Mar 1999 23:46:14 +1030 (CST) Message-ID: <36FCDA1E.AB2E7B2B@apdata.com.au> Date: Sat, 27 Mar 1999 23:46:14 +1030 From: Ian West Organization: Applied Data Control X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Jeroen Ruigrok/Asmodai Cc: Julian Elischer , hackers@FreeBSD.ORG, jx@alice.wonderland.caltech.edu Subject: Re: amazing packages I just tripped over.. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jeroen Ruigrok/Asmodai wrote: > > On 27-Mar-99 Julian Elischer wrote: > > http://www.cco.caltech.edu/~jafl/jcc/ > > http://www.cco.caltech.edu/~jafl/jx/ > > Been there, still trying =( > > > maybe we can somehow get the FreeBSD Ports collection > > connected with this? > > Well, the above packages are a PITA to set up... > > JX requires ACE IIRC, and the whole compilation process is a real PITA. > People with hints or otherwise willing to try feel free to share ideas > etc... > > --- > Jeroen Ruigrok van der Werven > asmodai(at)wxs.nl The idea does not replace the work... > Network/Security Specialist > *BSD: Powered by Knowledge & Know-how > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message I just compiled it under -current, worked like a charm, (read the 1st point in the faq (I read it last;-) You need to line /usr/include/X11 to /usr/X11R6/include/X11). You also need to uncomment 2 entries in ACE/ACE_wrappers/ace/config-freebsd.h, they are #define ACE_HAS_SIGINFO_T and #define ACE_HAS_SIGWAIT Diff is below... *** JX-1.1.20/ACE/ACE_wrappers/ace/config-freebsd.h Thu Dec 31 11:51:42 1998 --- JX-1.1.20.wkg/ACE/ACE_wrappers/ace/config-freebsd.h Sat Mar 27 20:23:26 1999 *************** *** 32,38 **** #define ACE_HAS_DIRENT #define ACE_USES_ASM_SYMBOL_IN_DLSYM #define ACE_LACKS_SIGSET ! //#define ACE_HAS_SIGINFO_T #define ACE_LACKS_SIGINFO_H #define ACE_LACKS_UCONTEXT_H #define ACE_LACKS_SI_ADDR --- 32,38 ---- #define ACE_HAS_DIRENT #define ACE_USES_ASM_SYMBOL_IN_DLSYM #define ACE_LACKS_SIGSET ! #define ACE_HAS_SIGINFO_T #define ACE_LACKS_SIGINFO_H #define ACE_LACKS_UCONTEXT_H #define ACE_LACKS_SI_ADDR *************** *** 169,175 **** #define ACE_HAS_MSG #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG ! // #define ACE_HAS_SIGWAIT // Optimize ACE_Handle_Set for select(). #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT --- 169,175 ---- #define ACE_HAS_MSG #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG ! #define ACE_HAS_SIGWAIT // Optimize ACE_Handle_Set for select(). #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT Hopefully I got that the right way around. Also I had to make make clean before it compiled, but that may have been because I didn't link X11 first... I compiled the source from the archive JX_source-1.1.20.1.tar.gz Set variables JX_INSTALL_ROOT and JX_LIB_ROOT as per where you wish the code and libs to be installed. If you run make without these set, it tells you anyway. After changing the one file, and making sure you have gmake, just run gmake freebsd. No extensive testing yet, but code_crusader seems to work right.. Hope this is of use to someone... Ian P.S. I have forwarded this to the JX mail address, I suspect strongly that the changes apply to FreeBSD 3.1 as well as -current, other than that, compilation was painless. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message