[Ham-Mac] Re:predict & gsat
Dana Rawding
[email protected]
Thu, 4 Dec 2003 19:11:08 -0500
Thanks Sergei! I made the changes and predict compiles fine. I did:
'./configure /sw/bin' to stay consistent with the other X11 apps I have
running.
I got gsat running but it takes some mods:
- configure was not able to find GTK so I edited the config.cache to
point it to /sw/ and the configure went without error. ./configure
--prefix=/sw
- I then had to edit support.h and change libintl.h to
/sw/include/libintl.h. Then do make.
- finally do 'ln -s /usr/bin/install /usr/bin/ginstall'. Then do make
install.
Gsat then runs fine. There is a little problem with it not finding the
plugin directory but it should not be a problem to fix. I did not have
a problem with missing packages (such as GTK) as I have a pretty
complete X11 environment.
On Dec 4, 2003, at 4:54 PM, Sergei Ludanov wrote:
> Hi Dana,
> Predict compiles fine under OS X. However I had to edit installer.c
> file to remove line:
> #include <sys/soundcard.h>
> and edited line:
> cc=system("cc -Wall -O3 -s -fomit-frame-pointer -lm -lncurses -pthread
> predict.c -o predict");
> to look like:
> cc=system("cc -Wall -O3 -s -fomit-frame-pointer -lm -lncurses
> predict.c -o predict");
> After that predict compiled OK .