Welcome, Guest. Please login or register.

Author Topic: Advice needed re GeekGadgets Environment  (Read 1549 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline tonywTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show only replies by tonyw
Advice needed re GeekGadgets Environment
« on: December 01, 2002, 12:43:20 AM »
I'm trying to get the "Amiga port" of the Kaffe JVM to work (see earlier thread). I have scraped up source distributions for versions 0.7, 0.9 and 1.07. I have also managed to find a binary for version 0.7 which sort of runs (it doesn't run "Hello, World", but that's another problem).

Like all "ports", the Kaffe distributions are incomplete (missing headers, libraries, etc) and have to be built using a particular environment - in this case, a Linux-like environment running under AmigaOS.

My problem is that I can not build a new binary from the distributed sources. The Readme says that I have to "use a GeekGadgets environment", whatever that means. I have a couple of versions of gcc, the latest being 2.95.3. I also have sh.

The build depends on the shell interpreting stuff like this configuration script, then calling make to build it:
"# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
--with-afs      if you are running AFS"
ac_help="$ac_help
--with-curses      use the curses library instead of the termcap library"
ac_help="$ac_help
--with-glibc-malloc   use the GNU C library version of malloc"
ac_help="$ac_help"

etc. I guess I need a working version of bash or some such shell, running under OS3.9, to interpret this script. I can only find a source distribution for bash, and I can't compile it without bash  :-x

Can someone give me some advice on what I need to compile this stuff? I'm not a Linux geek, so I'm out of my depth here. I'm trying to avoid rebuilding the whole thing using SAS, since it looks like gcc will be the preferred compiler for OS4.

thanks

tony
 

Offline pteppic

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 98
    • Show only replies by pteppic
Re: Advice needed re GeekGadgets Environment
« Reply #1 on: December 01, 2002, 05:11:02 AM »
should be able to find all you need at www.geekgadgets.org and ftp.geekgadgets.org but there seems to have been some trouble getting there recently.

pt
\\"But please remember this is only a work of fiction.  The truth, as always, will be far stranger.\\"

---Arthur C. Clarke
 

Offline tonywTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show only replies by tonyw
Re: Advice needed re GeekGadgets Environment
« Reply #2 on: December 01, 2002, 05:58:15 AM »
Thanks, pt, I know what's there, but I don't know what I need. That is the question.

tony
 

Offline tonywTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show only replies by tonyw
Re: Advice needed re GeekGadgets Environment
« Reply #3 on: December 01, 2002, 11:09:53 PM »
What? No one can tell me which flavour of shell I have to run? No Linux/Unix geeks out there?

tony
 :-?
 

Offline pteppic

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 98
    • Show only replies by pteppic
Re: Advice needed re GeekGadgets Environment
« Reply #4 on: December 02, 2002, 12:50:46 AM »
Found a working mirror by searching through Amiga.org archives.

ftp://ftp.uni-erlangen.de/pub/source/geekgadgets


Try here first ftp://ftp.uni-erlangen.de/pub/source/geekgadgets/amiga/m68k/snapshots/current/ then look through the alpha directory to install the latest gcc and anything else you need.
Unfortunatly I still couldnt get to the web site,  I remember there being a good guide about how to do the installation there.
\\"But please remember this is only a work of fiction.  The truth, as always, will be far stranger.\\"

---Arthur C. Clarke
 

Offline tonywTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show only replies by tonyw
Re: Advice needed re GeekGadgets Environment
« Reply #5 on: December 02, 2002, 05:42:32 AM »
pt, thanks for the reply, but you still don't understand.

I don't want a link to a source of geekgadgets code - I already know that and I've downloaded and tried several with no success.

What I want to know is "What sort of shell do I need?"

What flavour of Linux or Unix shell executes this sort of script file?

Once I know what I'm looking for, I can go searching further in the archives.

tony
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
 

Offline tonywTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show only replies by tonyw
Re: Advice needed re GeekGadgets Environment
« Reply #7 on: December 02, 2002, 11:02:24 AM »
Thanks Piru, that's a later version of pdksh than the one I've tried before. It sort of runs, at least now it doesn't complain about the syntax of the script file. I had to import the script file into an Amiga editor and export it again to get rid of all the CR/LF pairs - now the syntax is accepted. So much for the "Amiga" version.

The main problem now is that the script uses Unix pathnames and calls Unix utilities like sed, rm, etc.

I guess I'll just have to load them all, and gradually approach the Unix environment that the script expects. Ah, the joys of taking over someone else's code.

cheers

tony
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Advice needed re GeekGadgets Environment
« Reply #8 on: December 02, 2002, 11:10:32 AM »
Quote
he main problem now is that the script uses Unix pathnames and calls Unix utilities like sed, rm, etc.

I guess I'll just have to load them all, and gradually approach the Unix environment that the script expects. Ah, the joys of taking over someone else's code.


Right, you need to get fileutils and some other packages.
In fact, if you have the bandwidth you're probably best off by installing the whole GG.

These GG nix cmds handle nix pathnames automagic. You probably need to add some assigns or tune the makefiles though.

 

Offline pteppic

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 98
    • Show only replies by pteppic
Re: Advice needed re GeekGadgets Environment
« Reply #9 on: December 02, 2002, 11:48:15 AM »
Quote
pt, thanks for the reply, but you still don't understand.


I understood, but I just didn't have a better answer  ;-)
I've never looked at Kaffe so dont know what you need, other than the standard gg installation.

Good luck with it.

Pt
\\"But please remember this is only a work of fiction.  The truth, as always, will be far stranger.\\"

---Arthur C. Clarke
 

Offline tonywTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show only replies by tonyw
Re: Advice needed re GeekGadgets Environment
« Reply #10 on: December 02, 2002, 12:48:44 PM »
I'm getting there now, anyway. Just now looking for "cat" and "sleep" which don't appear to be in Aminet or GG archives . . .

Thanks for the help.

tony