Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Thanks to Jed Smith's suggestions, I've managed to get this to work. This is what I did accomplish this:</p> <ul> <li><p><strong>Step one:</strong> First, I edited "Makefile.pre.in". I replaced the line "CC= @CC@" with "CC= gcc". As far as I can tell, this forced the compilation to use gcc instead of whatever other unnamable hideousness AIX tried to use.</p></li> <li><p><strong>Step two:</strong> Put a soft link for ncurses.h under /usr/include. I couldn't get configure to find ncurses.h under /opt/utv/sad/include/ncurses/, so I cheated; I ran the following command as root:</p></li> </ul> <pre> ln -s /utv/sad/ncurses/include/ncurses/ncurses.h /usr/include/ncurses.h </pre> <ul> <li><strong>Step three:</strong> I compiled and installed GNU binutils and GNU make, configuring them with "--prefix=/home/chenf". Then I put /home/chenf/bin first in my path, to make sure the compilation process would use whatever it found there instead of the defaults provides by AIX.</li> <li><strong>Step four:</strong> I ran configure like this:</li> </ul> <pre> ./configure --prefix=/opt/freeware --disable-ipv6 --without-threads --with-ncurses=/opt/sad/ncurses </pre> <p>Ipv6 and threads were giving me compilation errors, and I don't need them, so that's why I disabled them. Under the /opt/sad/ncurses directory, lib/libncurses.a is found. That seems to have taken care of the library itself.</p> <p>After that, all I had to do was "make" and "make install". Done.</p> <p>I did get some errors during compilation, and in the end I was told that it had failed to produce some of the modules (like math, and datetime) but that everything else was still OK. For the time being I'll make do without them.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload