Re: Problems building DBI::Ingres on Solaris 10

[email protected] (Michael Genrich)
Newsgroups perl.dbi.users
Message-ID <C889B53F.B3BA%[email protected]>
I'm also seeing the same error on a freshly-installed-from-source Perl.  My
Ingres knowledge is scant -- does anyone have any idea why this SQL
statement is failing?




On 7/30/10 11:32 AM, "Michael Genrich" <[email protected]> wrote:

> I'm running into an error very early in the build process for DBD::Ingres-0.53
> , where the make chokes on a supposed SQL syntax error in dbdimp.sc:
> 
> 
> /usr/local/ingres/ingres/bin/esqlc -o.h -w -p dbdimp.sc
> ESQL dbdimp.sc:
> %% Error in file dbdimp.sc, Line 746:
> E_EQ0244 Syntax error on ':'.
> 
> make: *** [Ingres.h] Error 255
> 
> 
> 
> Particulars:
> Solaris 10
> Perl 5.8.8
> Ingres2006 (ingres2006-9.0.4-105-gpl-sun-solaris-sparc-32-64bit)
> 
> 
> Full output:
> # perl Makefile.PL -v
> 
>  Configuring DBD::Ingres ...
> 
>         Try 'perl Makefile.PL -v'
>           if you have any problems.
> 
> 
> Using Ingres in /usr/local/ingres
> 
> Checking if your kit is complete...
> Looks good
> Writing Makefile for DBD::Ingres
> 
> 
> # make
> cp Ingres.pm blib/lib/DBD/Ingres.pm
> /usr/local/bin/perl -p -e "s/~DRIVER~/Ingres/g"
> </usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI/Driver.xst
> >Ingres.xsi
> /usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
> /usr/local/lib/perl5/5.8.8/ExtUtils/typemap  Ingres.xs > Ingres.xsc && mv
> Ingres.xsc Ingres.c
> /usr/local/ingres/ingres/bin/esqlc -o.h -w -p dbdimp.sc
> ESQL dbdimp.sc:
> %% Error in file dbdimp.sc, Line 746:
> E_EQ0244 Syntax error on ':'.
> 
> make: *** [Ingres.h] Error 255
> 
> 
> 
> 
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
>   Platform:
>     osname=solaris, osvers=2.10, archname=sun4-solaris
>     uname='sunos 5.10 generic_118822-30 sun4u sparc sunw,ultra-5_10 solaris '
>     config_args='-Dcc=gcc'
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
>     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>     use64bitint=undef use64bitall=undef uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='gcc', ccflags ='-fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
>     optimize='-O',
>     cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -I/opt/gnu/include'
>     ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib '
>     libpth=/usr/local/lib /opt/gnu/lib /usr/lib /usr/ccs/lib
>     libs=-lsocket -lnsl -ldl -lm -lc
>     perllibs=-lsocket -lnsl -ldl -lm -lc
>     libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

-- 
Michael Genrich
The Jackson Laboratory
600 Main Street
Bar Harbor, ME 04609
207.288.6619
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.