Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 1999 23:46:14 +1030
From:      Ian West <ian@apdata.com.au>
To:        Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
Cc:        Julian Elischer <julian@whistle.com>, hackers@FreeBSD.ORG, jx@alice.wonderland.caltech.edu
Subject:   Re: amazing packages I just tripped over..
Message-ID:  <36FCDA1E.AB2E7B2B@apdata.com.au>
References:  <XFMail.990327124723.asmodai@wxs.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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     <http://www.freebsdzine.org>;
> asmodai(at)wxs.nl        The idea does not replace the work...
> Network/Security Specialist      <http://home.wxs.nl/~asmodai>;
> *BSD: Powered by Knowledge & Know-how <http://www.freebsd.org>;
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36FCDA1E.AB2E7B2B>