RE: [Ffts-develop] installation problems
Status: Planning
Brought to you by:
mghiggins
|
From: Haifa T. <Ha...@he...> - 2001-10-12 15:12:53
|
Hi,
As you recommended me,I have insatlled gcc2.95.3 on my sun box.
Then I retry to install FFTS. But problems persists.
When launching MakeAll, I receive a lot of erros kind of:
In file included from /opt/app/usr/local/pgsql/include/libpq++.h:27,
from CDatabase.h:30,
from CDatabase.cpp:22:
/opt/app/usr/local/pgsql/include/pgconnection.h:86: syntax error before'('
....
while the 86th ligne of pgconnection.h looks all right:
" string IntToString(int)"
Is this due to the postgresql or to problems with string type, I informe
you, thas during installation of postgresql I encountered some problems, so
I decided to install binary version.
What do you recommend me.
I'm waiting for your help.
Thanks a lot.
Haifa.
-----Message d'origine-----
De : Mark Higgins [mailto:mgh...@ya...]
Envoye : mardi, 18. septembre 2001 16:20
A : Haifa Touati
Objet : Re: [Ffts-develop] installation problems
Thanks for the note! I haven't heard of anyone trying to install
it on a sun box yet, so this is new territory. :)
To start with, I'd grab the most recent version from the CVS
repository... follow the instructions at
http://sourceforge.net/cvs/?group_id=9699
to pull it all down. The advantage here is that I've generalised
MakeVars a bit, and that might help us out in resolving this.
My first guess is that the problem arises because of
namespaces... versions of gcc before 3.0 don't require you to
explicitly state the namespaces you're using, like std:: which
contains string.
Try compiling this bit of code and let me know if it gives you
the same error:
#include <iostream>
#include <string>
int main( void )
{
string s( "hello" );
cout << s << "\n";
return 0;
}
If my hypothesis is correct, this code will give you the same
error message, but adding the line
using namespace std;
before int main( void ) will make the error go away.
If that's the case, it'll require a fair bit of work to solve
your problem, since a tonne of source code files will need to be
edited. Your best bet for getting the FFTS to work, then, would
be to download gcc and install it on your sun box - I'm pretty
sure it's available and know it's free. The best version of gcc
to get is probably 2.96.
--- Haifa Touati <Ha...@he...> wrote:
> Hi,
> I'm installing FFTS v 0.5 on a Sun 2.8 station.
> I have installed Qt, PostgreSQL and LibCurl as mentionned in
> the
> installation guide.
> I have changed the Makefile to use CC sparc compiler instead
> of the g++ one
> (because this latter isn't very well installed on my station).
> when I lunch the MakeAll, I receive errors like :
> type name expected instead of string.
> So I added in the MakeVars file the stl lib "string.h"
> but errors persist.
> How can I resolve this?
> Does FFTS installation requires g++?
> Thanks in advance.
> Haifa.
>
>
> _______________________________________________
> ffts-develop mailing list
> fft...@li...
> https://lists.sourceforge.net/lists/listinfo/ffts-develop
=====
-------------------------------------------------------
Mark Higgins, mgh...@ya...
http://www.molala.net
Opinions expressed herein do not reflect my own views;
I haven't had free will since last year when aliens ate
my brain.
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
|