On Saturday 28 January 2006 20:24, Christopher Pinon wrote:
> Hi,
>
> I would like to ask whether there's any hope of compiling fish-1.20.1 on
> an older system (gcc-2.95.3, glibc-2.2.3, doxygen-1.2.18). I've included
> the console log of configure below, but this looks OK. The problem is
> that I get a bad error as soon as I start make:
>
>
> $ make
> gcc -g -O2  -Wall -std=gnu99 -fno-strict-aliasing   -c -o function.o
> function.c cc1: unknown C standard `gnu99'
> function.c: In function `function_add':
> function.c:96: parse error before `*'
> function.c:97: `d' undeclared (first use in this function)
> function.c:97: (Each undeclared identifier is reported only once
> function.c:97: for each function it appears in.)
> make: *** [function.o] Error 1
>
>
> I would be grateful for any ideas about this. Clearly, it's not a
> doxygen problem, but perhaps fish has a higher gcc requirement?

Unless somebody has a less time consuming solution, you can install newer gcc. 
If your distro does not have anything newer, you have to compile it from 
source. It goes like this:
- download gcc source (I think 3.4.x would work)
tar -xjvf gcc-version.tar.bz2
mkdir build
cd build
../gcc-version/configure --prefix=/newgcc --enable-languages=c
make bootstrap
make install
export CC=/newgcc/bin/gcc

and now you can compile fish, starting with the usual ./configure


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to