Steve Singer ssinger at ca.afilias.info
Thu Nov 18 06:01:55 PST 2010
On 10-11-18 06:06 AM, Devrim GÜNDÜZ wrote:
>
> I cannot build 2.0.5 on RHEL5, since it complains about an old flex
> (which is nonsense, since this is the official tarball):
>
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/et -I/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -DPGSHARE="\"/usr/share/pgsql/\""  -I/usr/include/ -I/usr/include/pgsql/server/ -I/usr/include/ -I/usr/include/pgsql/server/ -I/usr/include/ -I/usr/include/pgsql/server/  -I/usr/include/et -I/usr/include -c -o ipcutil.o ipcutil.c
> bison -y -d  parser.y
> mv -f y.tab.c parser.c
> Missing flex scan.l scan.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/et -I/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -DPGSHARE="\"/usr/share/pgsql/\""  -I/usr/include/ -I/usr/include/pgsql/server/ -I/usr/include/ -I/usr/include/pgsql/server/ -I/usr/include/ -I/usr/include/pgsql/server/  -I/usr/include/et -I/usr/include -c -o parser.o parser.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/et -I/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -DPGSHARE="\"/usr/share/pgsql/\""  -I/usr/include/ -I/usr/include/pgsql/server/ -I/usr/include/ -I/usr/include/pgsql/server/ -I/usr/include/ -I/usr/include/pgsql/server/  -I/usr/include/et -I/usr/include -c -o scan.o scan.c
> gcc: scan.c: No such file or directory
> gcc: no input files
> make[3]: *** [scan.o] Error 1
>
> What changed since 2.0.4 in here, and what I can do to fix it?
>
> Regards,
>

The tar for 2.0.5 is missing the generated files.

See the discussion at http://bugs.slony.info/bugzilla/show_bug.cgi?id=164

You can either instal flex+bison or I've attached the missing files to 
that bug.


>
>
> _______________________________________________
> Slony1-hackers mailing list
> Slony1-hackers at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-hackers



More information about the Slony1-hackers mailing list