Dear Jonathan,

i'm sorry i haven't see your answer, so i try to send again my help-mail.

I use perl 5.8.0 from my redhat distribution.
These are the outputs from my tests how you suggest to me.
Thanks a lot for your help.

perl -V
########
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.21-14.elsmp, archname=i386-linux-thread-multi
    uname='linux twe'




config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686 -Dmyhostnam
e=localhost [EMAIL PROTECTED] -Dcc=gcc -Dcf_by=Red Hat,
Inc. -Dinstallp
refix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsitepre
fix=
/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -Duseithr
eads
 -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_sh
adow
 -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -U
vers
iononly -Dpager=/usr/bin/less -isr'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef'
 useithreads=define usemultiplicity=
    useperlio= d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=un uselongdouble=
    usemymalloc=, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags
='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGI
NG -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFF
SET_
BITS=64 -I/usr/include/gdbm',
    optimize='',




cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-st
rict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-37)',
gccosand
vers=''
gccversion='3.2.3 200305'
    intsize=o, longsize=s, ptrsize=l, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long'
k', ivsize=4'
ivtype='long'
known_extensi, nvtype='double', nvsize=, Off_t='', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc'
l', ldflags =''
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libper
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef,
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/CORE'
    cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s
Unicode/Normalize XS/A'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        MAINT18379
  Built under linux
  Compiled at Jun 28 2004 14:32:58
  @INC:
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
   /usr/lib/perl5/5.8.0
######################

my log

#####




Configuring IBM Informix Database Driver for Perl Version 2003.04
(2003-03-05) (aka DBD::Informix)
        You are using DBI version 1.45 and Perl version 5.008
Remember to actually read the README file!

Perl:     perl5.008 i386-linux-thread-multi dl_dlopen.xs
System:   linux tweet
Compiler:
gcc -O2 -g -pi -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -f
no-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_B
ITS=64 -I/usr/include/gdbm

Using IBM Informix CSDK Version 2.81, IBM Informix-ESQL Version 9.53.UC2X5
from /opt/informix

Beware: DBD::Informix is not yet aware of all the new IUS data types.

Assert macro will be disabled!

lib/DBD/Informix/Defaults.pm written OK
esqlvrsn.h written OK
esqlinfo.h written OK


Gosh!  Perl doesn't think your compiler handles prototypes.
Well, even though I don't believe it, we'll take Perl's word
for it and we won't try to force them into use.  Don't you
need to upgrade your compiler?  If you run into compilation
problems with the test program, you will need to revisit this
issue.
Testing whether your Informix test environment will work...
+ INFORMIXC='/usr/bin/perl'
pg='pg' esqlcc' ESQLCC='gcc'
esql -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-stri
ct-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm  -DESQLC_VERSION=953 -DNDEBUG esqltest.ec
sh: -c: line 2: unexpected EOF while looking for matching `''
Failed to compile esqltest.ec to esqltestub
###########


Marco    .

----- Original Message ----- 
From: "Jonathan Leffler" <[EMAIL PROTECTED]>
To: "Marco Avvisano" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 12:05 AM
Subject: Re: Fwd: DBD::Informix A configuration failure


> Dear Marco,
>
> I thought I remembered seeing this before, and when I looked at my email
> archive at work, sure enough, on 2004-10-05 09:49 -07:00, I responded to
> your questions.  Did you not receive the email from me?
>
> Is there any risk that your response was filtered out before reaching me
> because of viral contamination -- did you reply from a Windows machine, in
> other words?
>
> Your previous subject line was 'problem install DBD Informix'.  I'm
> cutting and pasting my previous comments again, on the grounds that you
> must not have seen them...
>
>   ====
>
> On Tue, 5 Oct 2004 14:23:26 +0200, Marco Avvisano
> <[EMAIL PROTECTED]> wrote:
> > i'm tryng to install DBD module for Informix on a Red Hat Enterprise
> Linux ES release 3
> > these are the error when i exec Makefile.PL.
> >
> > #######################
> > perl Makefile.PL
> >
> > Configuring IBM Informix Database Driver for Perl Version 2003.04
> (2003-03-05) (aka DBD::Informix)
> >         You are using DBI version 1.43 and Perl version 5.008
> > Remember to actually read the README file!
> >
> > Perl:     perl5.008 i386-linux-thread-multi dl_dlopen.xs
> > System:   linux tweet
> > Compiler: gcc -O2 -g -pi -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
>
> Perl 5.8.0?  I guess you're using the system provided version rather
> than your own build.
>
> > Using IBM Informix CSDK Version 2.81, IBM Informix-ESQL Version
> 9.53.UC2X5 from /opt/informix
>
> Mostly good - I'm not sure about the X5 designation (it means it is a
> 5th patched revision of UC2 - but doesn't tell me whether it was a
> specific patch for you or something that is generally available).
>
> > Beware: DBD::Informix is not yet aware of all the new IUS data types.
> >
> > Assert macro will be disabled!
> >
> > lib/DBD/Informix/Defaults.pm written OK
> > esqlvrsn.h written OK
> > esqlinfo.h written OK
> >
> > Gosh!  Perl doesn't think your compiler handles prototypes.
> > Well, even though I don't believe it, we'll take Perl's word
> > for it and we won't try to force them into use.  Don't you
> > need to upgrade your compiler?  If you run into compilation
> > problems with the test program, you will need to revisit this
> > issue.
>
> That's odd.  I need your 'perl -V' output - as the README file says
> you should supply.  It is a warning, but I've not seen it in ages.
> I'll need to review what the heck is wrong via the configuration
> information in the 'perl -V' output.  It is most likely an error in
> the Makefile.PL script.
>
> > Testing whether your Informix test environment will work...
> > sh: -c: line 2: unexpected EOF while looking for matching `''
> > sh: -c: line 3: syntax error: unexpected end of file
> > Failed to compile esqltest.ec to esqltestub
>
> That, too, is very odd.  What has RedHat done to break shell scripts?
> (I'm jaundiced against RedHat at the moment - they are getting to be
> as bad as Microsoft at breaking working software with every upgrade.
> And that's not easy to achieve!)
>
> Please rerun with DBD_INFORMIX_DEBUG_ESQLTEST=yes set in the
> environment, and send me the output:
>
> DBD_INFORMIX_DEBUG_ESQLTEST=yes perl Makefile.PL 2>&1 | tee log
>
> Please read the README file for details about the information required
> when reporting problems.
>   ====
>
> As far as I know, you have not responded with the information I requested.
>  (Versions of everything; environment; specified log files.)  Those 'sh
> -c' lines really puzzle me - what on earth is going on there?
>
>
> There are some issues with RedHat.  RHEL3 update 3 has introduced a
> feature called, IIRC, Exec-Guard, which amongst other things loads shared
> libraries at random addresses.  This can easily get in the way of
> Informix's fixed address shared-memory communication buffer.  The
> indications are that if you use olsoctcp connection (network connections)
> instead, then the system works fine.  The trouble is that RHEL3 randomly
> loads a shared library at the addresses we expect to use - the memory
> fragmentation problems can be really bad when trying to get big hunks of
> shared memory for the database server itself.  ('Stable Enterprise
> operating system - my foot!'  You can't do that sort of thing in an update
> release!)  However, that is a problem you would encounter much later in
> the build process - when running the tests, to be precise (possibly the
> ESQL/C test before building the makefile, more likely the main module
> testing phase).  You haven't got that far yet.
>
> I also note that you're using an 'i386-linux-thread-multi' version of
> Perl.  I'm not convinced that's all that safe for DBD::Informix.  The
> 'multi' bit refers to 'multiplicity', meaning that you can have multiple
> Perl interpreters in a single executable, IIRC.  And the thread bit is
> self-explanatory, but I don't think you're advised to use it with DBI. You
> might need to set DBD_INFORMIX_ESQLC_LINKAGE="-shared -thread" and set
> THLIB (I think that's the correct name) to the appropriate library name
> (likely POSIX or posix -- check the ESQL/C release notes).  Again, I don't
> think this is your immediate issue - those errors are weird in the
> extreme.
>
> I note that Makefile.PL looks at $Config{"prototype"} to find out whether
> your C compiler supports prototypes.  One reason for asking for the 'perl
> -V' output is to see whether something weird has happened to that bit of
> the Perl configuration.
>
> --
> Jonathan Leffler ([EMAIL PROTECTED])
> STSM, Informix Database Engineering, IBM Data Management
> 4100 Bohannon Drive, Menlo Park, CA 94025
> Tel: +1 650-926-6921   Tie-Line: 630-6921
>       "I don't suffer from insanity; I enjoy every minute of it!"
>
>
>
> Jonathan Leffler <[EMAIL PROTECTED]> wrote on 10/10/2004 09:39:12
> PM:
>
> > ---------- Forwarded message ----------
> > From: Marco Avvisano <[EMAIL PROTECTED]>
> > Date: Fri, 8 Oct 2004 10:30:06 +0200
> > Subject: DBD::Informix A configuration failure
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> >
> >
> >
> >
> > I have problem to install DBD Informix module on Red Hat Enterprise
> > Linux ES release 3
> >
> > #####
> > perl Makefile.PL
> >
> > Configuring IBM Informix Database Driver for Perl Version 2003.04
> > (2003-03-05) (aka DBD::Informix)
> >         You are using DBI version 1.45 and Perl version 5.008
> > Remember to actually read the README file!
> >
> > Perl:     perl5.008 i386-linux-thread-multi dl_dlopen.xs
> > System:   linux tweet
> > Compiler: gcc -O2 -g -pi -D_REENTRANT -D_GNU_SOURCE
> > -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
> > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > -I/usr/include/gdbm
> >
> > Using IBM Informix CSDK Version 2.81, IBM Informix-ESQL Version
> > 9.53.UC2X5 from /opt/informix
> >
> > Beware: DBD::Informix is not yet aware of all the new IUS data types.
> >
> > Assert macro will be disabled!
> >
> > lib/DBD/Informix/Defaults.pm written OK
> > esqlvrsn.h written OK
> > esqlinfo.h written OK
> >
> > Gosh!  Perl doesn't think your compiler handles prototypes.
> > Well, even though I don't believe it, we'll take Perl's word
> > for it and we won't try to force them into use.  Don't you
> > need to upgrade your compiler?  If you run into compilation
> > problems with the test program, you will need to revisit this
> > issue.
> > Testing whether your Informix test environment will work...
> > sh: -c: line 2: unexpected EOF while looking for matching `''
> > sh: -c: line 3: syntax error: unexpected end of file
> > Failed to compile esqltest.ec to esqltestub
> >
> > ########
> >
> > any suggestions ?
> >
> > thanks for help
> >
> > Marco
> >
> >
> >
> > -- 
> > Jonathan Leffler <[EMAIL PROTECTED]>  #include <disclaimer.h>
> > Guardian of DBD::Informix - v2003.04 - http://dbi.perl.org
> > "I don't suffer from insanity - I enjoy every minute of it."
>

Reply via email to