Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 18640
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: ssuruli [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: 1.49



Subject: problem during make
I have been trying to install DBD::Pg on SUNOS (SunOS 5.9 Generic_118558-11 sun4u sparc SUNW,Ultra-5_10) both manually and CPAN. I seem to be stuck during the make process with the following error message "quote.c", line 94: syntax error before or at: / "quote.c", line 98: syntax error before or at: / "quote.c", line 117: cannot recover from previous errors make: *** [quote.o] Error 10 I think when trying to install using CPAN, CPAN tried with version DBD-Pg-1.48 and I have manually tried to run make on version DBD-Pg-1.47 and DBD-Pg-1.48 with no luck. Currently the system has Perl v5.6.1 installed. Any help is much appreciated. Thanks in advance
CC: ssuruli [...] yahoo.com
CC: ssuruli [...] yahoo.com
Subject: Re: [Dbdpg-general] [rt.cpan.org #18640] problem during make
Date: Wed, 12 Apr 2006 12:58:53 -0000
To: bug-DBD-Pg [...] rt.cpan.org
From: general [...] gborg.postgresql.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Show quoted text
> I have been trying to install DBD::Pg on SUNOS (SunOS 5.9 > Generic_118558-11 sun4u sparc SUNW,Ultra-5_10) both manually and CPAN. I > seem to be stuck during the make process with the following error message > > "quote.c", line 94: syntax error before or at: / > > I think when trying to install using CPAN, CPAN tried with version > DBD-Pg-1.48 and I have manually tried to run make on version DBD-Pg-1.47 > and DBD-Pg-1.48 with no luck.
What compiler are you using? It looks as though it does not like the double-forward-slash style of comments, two of which have snuck into quote.c. You can remove those yourself (lines 94 and 98) and it should work after that. I will remove them from the next version as well: thanks for the report. - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 200604120857 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iD8DBQFEPPlCvJuQZxSWSsgRAu2jAJ9czJshQTmIskx3ePJ+x3sESU9hKQCg/WU+ zWJOBFri6SWwWYf3nGANz/M= =m35G -----END PGP SIGNATURE-----
That worked. Thanks!! Here is the information on the compiler. ucbcc: WorkShop Compilers 5.0 98/12/15 C 5.0 On Wed Apr 12 08:58:45 2006, general@gborg.postgresql.org wrote: Show quoted text
> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >
> > I have been trying to install DBD::Pg on SUNOS (SunOS 5.9 > > Generic_118558-11 sun4u sparc SUNW,Ultra-5_10) both manually and CPAN. I > > seem to be stuck during the make process with the following error
message Show quoted text
> > > > "quote.c", line 94: syntax error before or at: / > > > > I think when trying to install using CPAN, CPAN tried with version > > DBD-Pg-1.48 and I have manually tried to run make on version DBD-Pg-1.47 > > and DBD-Pg-1.48 with no luck.
> > What compiler are you using? It looks as though it does not like the > double-forward-slash style of comments, two of which have snuck into > quote.c. You can remove those yourself (lines 94 and 98) and it should > work after that. I will remove them from the next version as well: thanks > for the report. > > - -- > Greg Sabino Mullane greg@turnstep.com > PGP Key: 0x14964AC8 200604120857 > http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 > > -----BEGIN PGP SIGNATURE----- > > iD8DBQFEPPlCvJuQZxSWSsgRAu2jAJ9czJshQTmIskx3ePJ+x3sESU9hKQCg/WU+ > zWJOBFri6SWwWYf3nGANz/M= > =m35G > -----END PGP SIGNATURE----- > >