Loading ...
Sorry, an error occurred while loading the content.

(fwd) JAL on G4 with OS X 10.3.8

Expand Messages
  • Eur van Andel
    On Wed, 23 Feb 2005 23:18:05 +0100, Eur van Andel wrote: Hi This works for the 4.62 version of JAL, get it from sourceforge, or this obscure
    Message 1 of 1 , Feb 24, 2005
    View Source
    • 0 Attachment
      On Wed, 23 Feb 2005 23:18:05 +0100, Eur van Andel <eur@...> wrote:

      Hi

      This works for the 4.62 version of JAL, get it from sourceforge, or
      this obscure Russian mirror:

      http://ftp.citkit.ru/pub/sourceforge/j/ja/jal/

      don't ask, I only googled.

      Here we go:

      1) Be root. Google how to enable the root operator on OS X. Watch
      closely what Steve Jobs says when you do this, he'll say it only once.
      2) have iTunes blasting some hits in the backround from the timeframe when you
      were a teenager. We need the top most part of your brain, the bottom part is
      best distracted with heavy beats.

      > iMacDiane:~ root# cp -R /Users/eur/Documents/download/jal .
      Diane is my wife. Technically, it's her iMac. I hold the root password.

      > iMacDiane:~ root# cd jal

      check what you have:

      > iMacDiane:~/jal root# ls -l
      > total 1184
      > -rw-r--r-- 1 root wheel 91 23 Feb 19:53 AUTHORS
      > -rw-r--r-- 1 root wheel 17990 23 Feb 19:53 COPYING
      > drwxr-xr-x 5 root wheel 170 23 Feb 19:53 CVS
      > -rw-r--r-- 1 root wheel 5788 23 Feb 19:53 ChangeLog
      > -rw-r--r-- 1 root wheel 9236 23 Feb 19:53 INSTALL
      > -rw-r--r-- 1 root wheel 3692 23 Feb 19:53 MAINTAINERS
      > -rw-r--r-- 1 root wheel 18844 23 Feb 19:53 Makefile
      > -rw-r--r-- 1 root wheel 277 23 Feb 19:53 Makefile.am
      > -rw-r--r-- 1 root wheel 18952 23 Feb 19:53 Makefile.in
      > -rw-r--r-- 1 root wheel 11 23 Feb 19:53 NEWS
      > -rwxr-xr-x 1 root wheel 10128 23 Feb 19:53 PIC18_news.txt
      > -rw-r--r-- 1 root wheel 1067 23 Feb 19:53 README
      > -rw-r--r-- 1 root wheel 9509 23 Feb 19:53 TODO
      > -rw-r--r-- 1 root wheel 36823 23 Feb 19:53 aclocal.m4
      > -rwxr-xr-x 1 root wheel 41449 23 Feb 19:53 config.guess
      > -rw-r--r-- 1 root wheel 3770 23 Feb 19:53 config.h
      > -rw-r--r-- 1 root wheel 3543 23 Feb 19:53 config.h.in
      > -rw-r--r-- 1 root wheel 21136 23 Feb 19:53 config.log
      > -rwxr-xr-x 1 root wheel 39071 23 Feb 19:53 config.status
      > -rwxr-xr-x 1 root wheel 29792 23 Feb 19:53 config.sub
      > -rwxr-xr-x 1 root wheel 194976 23 Feb 19:53 configure
      > -rw-r--r-- 1 root wheel 3444 23 Feb 19:53 configure.ac
      > -rwxr-xr-x 1 root wheel 12123 23 Feb 19:53 depcomp
      > drwxr-xr-x 54 root wheel 1836 23 Feb 19:53 doc
      > -rwxr-xr-x 1 root wheel 5569 23 Feb 19:53 install-sh
      > drwxr-xr-x 50 root wheel 1700 23 Feb 19:53 jal
      > -rwxr-xr-x 1 root wheel 6930 23 Feb 19:53 jal.dsp
      > -rwxr-xr-x 1 root wheel 14874 23 Feb 19:53 jal.mak
      > -rw-r--r-- 1 root wheel 1100 23 Feb 19:53 jal.spec
      > -rw-r--r-- 1 root wheel 1103 23 Feb 19:53 jal.spec.in
      > -rwxr-xr-x 1 root wheel 5859 23 Feb 19:53 jal.vcproj
      > drwxr-xr-x 68 root wheel 2312 23 Feb 19:53 lib
      > -rwxr-xr-x 1 root wheel 10270 23 Feb 19:53 missing
      > -rwxr-xr-x 1 root wheel 1801 23 Feb 19:53 mkinstalldirs
      > -rw-r--r-- 1 root wheel 10 23 Feb 19:53 stamp-h.in
      > -rw-r--r-- 1 root wheel 23 23 Feb 19:53 stamp-h1
      > -rw-r--r-- 1 root wheel 127 23 Feb 19:53 version.h

      looking good. You did READ all this, right?

      Check for gnumake.

      > iMacDiane:~ eur$ which gnumake
      > /usr/bin/gnumake

      If you don't have it, get it here

      http://ftp.gnu.org/pub/gnu/make/

      Yes, you use Make to make gnumake, as in:

      > iMacDiane:~ root# cp -R /Users/eur/Documents/download/make-3.80 .
      > iMacDiane:~ root# cd make-3.80/
      > iMacDiane:~/make-3.80 root# ./configure
      > iMacDiane:~/make-3.80 root# Make
      > iMacDiane:~/make-3.80 root# Make install

      Now:

      > iMacDiane:~/jal root# gnumake

      Which gives the following errors:

      > In file included from assemble.c:22:
      > stdhdr.h:27: error: conflicting types for `malloc'
      > /usr/include/stdlib.h:140: error: previous declaration of `malloc'
      > In file included from assemble.c:26:
      > treerep.h:380:34: warning: backslash and newline separated by space
      > make[2]: *** [assemble.o] Error 1
      > make[1]: *** [all-recursive] Error 1
      > make: *** [all] Error 2

      Which we are going to repair.

      > iMacDiane:~/jal root# cd jal
      > iMacDiane:~/jal/jal root# vi treerep.h

      goto line 380 (:380) and remove the trailing spaces behind the
      backslash. Pressing "x" should work. Save and quit with ":wq". Now edit
      stdhdr.h as well:

      > iMacDiane:~/jal/jal root# vi stdhdr.h

      and remove this piece:

      > ifdef HAVE_MALLOC_H
      > #include <malloc.h>
      > #else
      > void *malloc(int);
      > #endif

      Move up one dir:

      > iMacDiane:~/jal/jal root# cd ..
      > iMacDiane:~/jal root# gnumake

      and try again. It should work now.

      (seeing the warnings, the trailing spaces might not be an actual error)

      All OK? Now:

      > iMacDiane:~/jal root# gnumake install

      Now test it.



      Eur van Andel, eur@...


      --
      Ir. E.E. van Andel, Fine Wire Heat Exchangers, Fiwihex B.V. www.fiwihex.com
      Wierdensestraat 74, NL-7604 BK Almelo, The Netherlands eur@...
      phone +31-546-491106 fax +31-546-491107 mobile +31-653-286573
    Your message has been successfully submitted and would be delivered to recipients shortly.