|
Amiga Inc. Faq-O-Matic : Amiga SDK FAQ :
Why won't the SDK work with my Linux distribution? |
As mentioned previously in this FAQ, we at Amiga Inc. recommend RedHat Linux 6.1.
The reason for this is that Red Hat 6.2 and many other versions of Linux distribution ship with a broken ncurses package.
Ncurses itself is fine, but it is version 5 and gets installed by RPM as version 4. These two ncurses versions are incompatible, as there's a change in the ABI (the definition of structure termtype). The very same problem occurs to ANY other program that calls libncurses.so.4 in a legitimate way.
More information from Red Hat's Bugzilla
ray |
Daniel Robbins provided this fix to get the SDK to work under RedHat 6.2
- download ncurses-4.2.tar.gz from ftp://ftp.gnu.org/pub/gnu/ncurses
- unpack the tarball: tar xzvf ncurses-4.2.tar.gz
- enter source dir: cd ncurses-4.2
- configure: ./configure --with-shared --prefix=/usr/amiga
- compile: make
- install: make install
- set LD_LIBRARY_PATH: export LD_LIBRARY_PATH=/usr/amiga/lib
- try running "intent_media" and "intent_shell" from that same shell, and see if it works.
|
NOTE: the elate stuff must remain in /usr/lib/elate, especially "elate.efs"
|
I finally managed to get the SDK installed under Storm Linux (Debian 2.2). Whenever I tried before, it said it had installed it but didn't. No error report, nothing installed...
By running the setup program from ltrace I found that the initial probem was the
assumpsion that rpm was in /bin.
I made a temporary link and tried again with ltrace. I found that the rpms were making wrong assumptions about where libraries live. Basically I tricked the installer into not deleting the rpms and did a manual install using 'rpm --nodeps --force whatever.rpm'
Works like a charm :).
Bob
|
I just installed Suse Linux 7.0 Professional ran into the ncurses problem as expected. I downloaded ncurses 4.2 and tried to install it as described previously. The problem I ran into was that make returned errors so and I didn't want to waste time searching why. At the ftp site I also found ncurses 5.1. I just did the same as with the 4.2 distribution and it this time make worked and I got the thing compiled. Having ncurses 5.1 installed on my Linux I was able to install the SDK without any other problem.
Sami Radwan.
|
[Append to This Answer] |