Steve Singer ssinger at ca.afilias.info
Tue Nov 30 09:18:42 PST 2010
On 10-11-30 12:16 PM, Mark Steben wrote:
> Here is the error from 'make'
>
> -DPGSHARE="\"/usr/local/postgresql-8.3.11/share/\""
> -I/usr/local/postgresql-8.3.11/include/
> -I/usr/local/postgresql-8.3.11/include/server/  -c -o scan.o scan.c
> gcc: scan.c: No such file or directory
> gcc: no input files
> make[2]: *** [scan.o] Error 1
> make[2]: Leaving directory
> `/usr/local/src/slony1-2.0.5/src/slony_logshipper'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/slony1-2.0.5/src'
> make: *** [all] Error 2
> [root at msteben-centos slony1-2.0.5]#


See bug 165 http://bugs.slony.info/bugzilla/show_bug.cgi?id=164

Either install flex + bison or grab the missing files attached to that bug.





>
> And here is the contents of the slony_logshipper folder:
>
>
> [root at msteben-centos slony_logshipper]# ls -la
> total 392
> drwxr-xr-x  2 1589 1000  4096 Nov 30 12:11 .
> drwxr-xr-x 10 1589 1000  4096 Oct  6 12:33 ..
> -rw-r--r--  1 1589 1000  2996 Oct  6 12:33 dbutil.c
> -rw-r--r--  1 root root 12704 Nov 24 13:12 dbutil.o
> -rwxr-xr-x  1 1589 1000    45 Oct  6 12:33 .gitignore
> -rw-r--r--  1 1589 1000 13997 Oct  6 12:33 ipcutil.c
> -rw-r--r--  1 root root 30128 Nov 24 13:12 ipcutil.o
> -rw-r--r--  1 1589 1000  1917 Oct  6 12:33 Makefile
> -rw-r--r--  1 root root 83330 Nov 24 13:12 parser.c
> -rw-r--r--  1 root root 51064 Nov 30 12:11 parser.o
> -rw-r--r--  1 1589 1000 21642 Oct  6 12:33 parser.y
> -rw-r--r--  1 1589 1000  7389 Oct  7 09:09 scan.h
> -rw-r--r--  1 1589 1000 12048 Oct  6 12:33 scan.l
> -rw-r--r--  1 1589 1000 28331 Oct  6 12:33 slony_logshipper.c
> -rw-r--r--  1 1589 1000  5905 Oct  6 12:33 slony_logshipper.h
> -rw-r--r--  1 root root 72296 Nov 24 13:12 slony_logshipper.o
> -rw-r--r--  1 root root  4728 Nov 24 13:12 y.tab.h
>
> Mark Steben | Database Administrator
> @utoRevenueR - "Keeping Customers Close"
> 95D Ashley Ave, West Springfield, MA 01089
> 413.243.4800 x1512 (Phone) |413.732-1824 (Fax)
> @utoRevenue is a registered trademark and a division of Dominion Enterprises
>
>
> -----Original Message-----
> From: Kenneth Marshall [mailto:ktm at rice.edu]
> Sent: Tuesday, November 30, 2010 11:35 AM
> To: Mark Steben
> Cc: slony1-general at lists.slony.info
> Subject: Re: [Slony1-general] install instruction
>
> On Tue, Nov 30, 2010 at 11:21:46AM -0500, Mark Steben wrote:
>>
>>
>> Mark Steben?|?Database Administrator?
>> @utoRevenue? - "Keeping Customers Close"?
>> 95D Ashley Ave, West Springfield, MA 01089
>> 413.243.4800 x1512 (Phone) |413.732-1824 (Fax)
>> @utoRevenue is a registered trademark and a division of Dominion
>> Enterprises?
>> ?
>> ________________________________________
>> From: Mark Steben [mailto:msteben at autorevenue.com]
>> Sent: Tuesday, November 23, 2010 4:13 PM
>> To: 'slony1-general at lists.slony.info'
>> Subject: install instruction
>>
>> Hi
>>
>> I might just be blind (Been accused of it many times), but I?m having
>> trouble
>> Installing slony1-2.0.5 and can?t seem to find installation instructions
>> In www.slony.info .? I seem to get the ./configure to work but am getting
>> Errors on the make command.
>>
>> If someone could point me to doc, or give me some insights relative
>> To slony1-2 and how installation is different from slony1-1.? I previously
>> Had that successfully installed.
>>
>> Thank you,
>>
>>
>> The rest of us are flying blind until you show the error you got...
>> also details like what OS you're on would be useful.
>>
>>
>> I?m ok now. At first I installed 2.0.5 ? took the tarball out of the main
>> slony  website www.slony.info
>> For some reason the source was missing some input components:
>>
>> src/slony1-2.0.5/src/slony_logshipper/scan.c
>>
>> to be exact
>> So I reverted back to 2.0.4 and the install went flawlessly
>> Do I need to stay away from 2.0.5?
>>
>>
>> Mark Steben?|?Database Administrator?
>> @utoRevenue? - "Keeping Customers Close"?
>> 95D Ashley Ave, West Springfield, MA 01089
>> 413.243.4800 x1512 (Phone) |413.732-1824 (Fax)
>> @utoRevenue is a registered trademark and a division of Dominion
>> Enterprises?
>> ?
>>
>
> 2.0.5 is working well here, which was certainly not the case for
> earlier 2.0.x releases. Please post your error messages from the
> build.
>
> Cheers,
> Ken
>
>
>
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-general



More information about the Slony1-general mailing list