Subj : Soupgate / Spoon
To   : Vincent Coen
From : Sean Rima
Date : Tue Jun 30 2020 04:54 pm


  Hello Vincent!

30 Jun 20 15:48, you wrote to me:

VC> Hello Sean!

VC> Tuesday June 30 2020 01:26, you wrote to All:

>> I don't know if anyone remembers Tom Torfs Soupgate. It was a
>> command line  program to import SOUP files, usually from it's
>> sister app SPOON.

>> I have the source, but cannot get SPOON to compile. It is way over
>> my head. I  know that the days of importing NNTP are probally well
>> gone. But it is a good  app

VC> To build it run the spoon.sh script   but if you are win then look at
VC> content and modify i to run on your system.


VC> As to why it might be failing ====  if you do compile it ::

VC> Look at file spoon.err for why but here  it shows multi lines similar
VC> to :


VC> n file included from spoon.h:115,
VC>                  from spoon.cpp:40:
VC> socket.hpp:73:10: fatal error: iostream.h: No such file or directory
VC>  #include "iostream.h"
VC>           ^~~~~~~~~~~~
VC> compilation terminated.
VC> In file included from spoon.h:115,
VC>                  from config.cpp:38:
VC> socket.hpp:73:10: fatal error: iostream.h: No such file or directory
VC>  #include "iostream.h"


VC> Needless to say I do not have iostream.h but it does ring a bell just
VC> cant remember from where .

VC> Just did a search - here is is on a old partition and relates to fpc
VC> (free pascal compiler) so not helpfull.


VC> Does not help that what docs are with it do not indicate if any extra
VC> packages / libraries are needed.


Turns out you have to change iostream.h to iostream and fstream.h to fstream in the hpp file and in the socket.cpp add below include <socket.hpp>
using namespace std;


Sean


--- GoldED+/LNX 1.1.5-b20180707
* Origin: A Destination in the Sun (2:263/1)