[ic] Trouble with SQL-Statement-0.1019 IC 4.6.5 SOLVED!
jojo@blackpoint.de
jojo@blackpoint.de
Thu, 26 Apr 2001 18:12:51 +0200 (CEST)
On 26 Apr, To: Interchange-Userlist wrote:
> Hi list,
>
> on the fresh machine. I've SQL-Statement-0.1017. But during the
> installation of IC 4.6.5, IC want to install the SQL-Statement-0.1019
> and I get
>
> ----------snip----------
> SQL-Statement-0.1019/t/40where.t
> SQL-Statement-0.1019/t/50eval.t
> SQL-Statement-0.1019/t/60hash.t
> SQL-Statement-0.1019/t/70limit.t
> SQL-Statement-0.1019/test.pl
> Removing previously used /tmp/.cpan/build/SQL-Statement-0.1019
>
> CPAN.pm: Going to build J/JW/JWIED/SQL-Statement-0.1019.tar.gz
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for SQL::Statement
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/SQL
> cp lib/SQL/Eval.pm blib/lib/SQL/Eval.pm
> cp lib/SQL/Statement/Hash.pm blib/lib/SQL/Statement/Hash.pm
> cp lib/SQL/Statement.pm blib/lib/SQL/Statement.pm
> cc -c -DVERSION=\"0.1019\" -DXS_VERSION=\"0.1019\" -DPIC -fpic -I/usr/lib
> /usr/local/gnu/share/bison.simple:99: syntax error before `do'
> *** Error code 1
>
> Stop in /tmp/.cpan/build/SQL-Statement-0.1019.
> /usr/bin/make -- NOT OK
> Running make test
> Oops, make had returned bad status
> Running make install
> Oops, make had returned bad status
> Storable is up to date.
> DBI is up to date.
> Safe::Hole is up to date.
>
> You are now ready to cd to /home/ic and run 'bin/makecat'
> to set up your first catalog.
> ----------snip----------
>
> Any idea?
>
> Thank you a lot for your help!
>
> Joachim
>
Using
perl -npi -e "s:\r::g" *
solve the problem. Why is there a wrong line ending codes (^M)?
Thanks!
Joachim
--
-------------<FreeBsd>--------------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net