Re: [greenstone-devel] Greenstone running on Redhat 9.0

From Doug Carter
DateMon, 5 Jan 2004 07:33:21 -0800
Subject Re: [greenstone-devel] Greenstone running on Redhat 9.0
In-Reply-To (3FF885B4-4050402-cs-waikato-ac-nz)
The gcc version is: 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

The compile errors are in the isis-gdl stuff:

g++ *.cpp -o IsisGdl
CRC32.cpp: In function `long unsigned int CalcCRC32(std::fstream&)':
CRC32.cpp:100: no matching function for call to `std::basic_fstream<char,
std::char_traits<char> >::get(unsigned char&)'
/usr/include/c++/3.2.2/bits/istream.tcc:514: candidates are: _Traits::int_type
std::basic_istream<_CharT, _Traits>::get() [with _CharT = char, _Traits =
std::char_traits<char>]
/usr/include/c++/3.2.2/bits/istream.tcc:546:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::get(_CharT&) [with _CharT = char, _Traits =
std::char_traits<char>]
/usr/include/c++/3.2.2/bits/istream.tcc:580:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::get(_CharT*, int, _CharT) [with _CharT = char, _Traits =
std::char_traits<char>]
/usr/include/c++/3.2.2/istream:162: std::basic_istream<_CharT,
_Traits>& std::basic_istream<_CharT, _Traits>::get(_CharT*, int) [with
_CharT = char, _Traits = std::char_traits<char>]
/usr/include/c++/3.2.2/bits/istream.tcc:622:
std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::get(std::basic_streambuf<_CharT, _Traits>&, _CharT) [with _CharT =
char, _Traits = std::char_traits<char>]
/usr/include/c++/3.2.2/istream:169: std::basic_istream<_CharT,
_Traits>& std::basic_istream<_CharT,
_Traits>::get(std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char,
_Traits = std::char_traits<char>]
In file included from IsisDef.h:35,
from stdafx.h:39,
from CacheMan.cpp:27:
IsisTypes.h:76: conflicting types for `typedef double double_t'
/usr/include/bits/mathdef.h:31: previous declaration as `typedef long double
double_t'

---

Let me know if you need more info or detail.

Thanks,

Doug


On Mon, Jan 05, 2004 at 10:29:24AM +1300, John R. McPherson wrote:
> Doug Carter wrote:
> >Hi all,
> >
> >I've been working to get Greenstone 2.41 running on Redhat 9.0. So far,
> >the results have been hit and miss, and I still do not have a reliable
> >system. I've resolved the perl 5.8 problem, with a less than elegant
> >hack. And now I've got problems with wvWare.
> >
> >Has anyone out there been able to get this combination running? Has
> >anyone compiled a list of steps they took to make this work?
>
> Hi,
> can you please give us a few more details, like which version of the gcc
> compiler you are using ("gcc -v") and what the error messages are?
>
> There were problems with compiling the wget package under redhat 9 with
> earlier versions of greenstone but I thought it was resolved with 2.41.
>
> John McPherson