On Wed, Nov 5, 2008 at 9:58 AM, Vineet Kaimal <[EMAIL PROTECTED]>wrote:

> Jonathan ,
>
> Thanks for your reply
>

Please keep the list in the loop -- you might have gotten the answer by now
if you had.


> We installed DBI-1.607
> i ran the following commands
> perl Makefile.pl
> make
> make test
> make install
> i think this installs the DBI module


It certainly should do.  You're going to have to do some tracking down.  Is
there a DBIXS.h in an appropriate place?  Could there be several DBI
directory locations under your Perl's library -- and the DBIXS.h file is
missing from one?  Could the permissions be set wrong?  What is the exact
location of DBI?  What are the command line options when you build the
failing code?


> After this i tried DBD-DB2-1.1 module
> i ran
> perl Makefile.pl
> after this i tried running make
> for which it gaves the errors
>
> Hope this information helps you in providing some tips inorder to
> provide a solution to help me?
>
> Regards,
> Vineet.
>
> On 11/5/08, Jonathan Leffler <[EMAIL PROTECTED]> wrote:
> > On Tue, Nov 4, 2008 at 9:34 PM, Vineet Kaimal
> > <[EMAIL PROTECTED]>wrote:
> >
> >> I was trying to install PERL in Linux OS.
> >> I was successful in installing the DBI module.
> >
> > Are you sure?
> >
> >> But on installing the DBD module, i am facing the following errors
> >
> > There are lots of DBD modules - you are talking about DBD::DB2.  Please
> be
> > precise in your thinking, and in your email subject lines.
> >
> >> on the issuance of make command.
> >>
> >> In file included from DB2.xs:7:
> >> DB2.h:18:67: DBIXS.h: No such file or directory
> >
> > This says that the header file installed with DBI wasn't found when you
> > tried to compile DBD::DB2.  So, either you installed DBI somewhere off
> the
> > beaten track and didn't tell DBD::DB2 where it was, or you didn't
> > successfully install DBI (or something went radically wrong, but that's
> > pretty unlikely).
> >
> > I also note that Linux covers a rather wide range of platforms; some more
> > precision in the platform (x86 vs x86_64 vs PPC vs SPARC vs zSeries vs
> ...)
> > version/distribution would not go amiss.  Also, in general, the version
> of
> > Perl is relevant.  This time, the answer does not depend on this
> information
> > (probably).  But get in the habit of identifying what you are using
> > succinctly but accurately.
> >
> >> In file included from DB2.h:22,
> >>                 from DB2.xs:7:
> >> dbdimp.h:15: error: syntax error before "dbih_drc_t"
> >> dbdimp.h:15: warning: no semicolon at end of struct or union
> >> dbdimp.h:18: error: syntax error before '*' token
> >> dbdimp.h:18: warning: data definition has no type or storage class
> >> dbdimp.h:19: error: syntax error before '}' token
> >> dbdimp.h:23: error: syntax error before "dbih_dbc_t"
> >> dbdimp.h:23: warning: no semicolon at end of struct or union
> >> dbdimp.h:27: error: syntax error before '}' token
> >> dbdimp.h:32: error: syntax error before "dbih_stc_t"
> >> dbdimp.h:32: warning: no semicolon at end of struct or union
> >> dbdimp.h:39: error: syntax error before '*' token
> >> dbdimp.h:39: warning: data definition has no type or storage class
> >> dbdimp.h:55: error: syntax error before '}' token
> >> dbdimp.h:60: error: syntax error before "imp_sth_t"
> >> dbdimp.h:60: warning: no semicolon at end of struct or union
> >> dbdimp.h:77: error: syntax error before '}' token
> >> dbdimp.h:83: error: syntax error before "SV"
> >>
> >> These are just some of the errors the errors in DB2.c,DB2.xs and DB2.h
> >> files.
> >>
> >> I have installed the DB2 client in this machine and have run the
> >> export DB2_HOME command.
> >>
> >> Can anyone help me in this?
>



-- 
Jonathan Leffler <[EMAIL PROTECTED]>  #include <disclaimer.h>
Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."

Reply via email to