On Thu, Jul 12, 2001 at 09:48:22AM -0700, Dong Wang wrote: > Tim, > > I tried the installation of DBI-1.18, DBD-Oracle-1.07 on a Suse 7.2 Linux > box with Oracle 9i (9.0.1) installed. In the process of installing > DBD-Oracle-1.07, after "perl Makefile.PL", there is an error when doing > "make": > > Makefile:2340: *** missing separator (did you mean TAB instead of 8 > spaces?). Stop. > > On line 2340: > > occi*.type occiobj*.h occiinh*.h occipobj*.h > > After changing the leading spaces to a tab, "make" works. > > I guess other user will have the same problem because this line is extracted > from the Oracle file $ORACLE_HOME/rdbms/demo/demo_rdbms.mk. It would be nice > to convert that from the "perl Makefile.PL" step to avoid the hand editing > of the Makefile. If you can make a reliable patch that won't falsey trigger the behaviour on any of the countless platforms and countless Oracle versions that people use I'd be very happy to apply it. Possibly not that hard, so worth a try. At the very lest you could just catch this one error by looking for that specific text. So, patches welcome! (I hope to make another DBD::Oracle release before the conference but I'm stuck on some DBI weirdness now.) Tim. > Thanks. > > > Dong Wang > > Grand Central Networks > > [EMAIL PROTECTED] > > > -----Original Message----- > From: Tim Bunce [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 12, 2001 7:49 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Makefile on DBD::Oracle quits > > > Rewrite the relevant lines as > > foreach (qw(mk.pm Oracle.h dbdimp.h ocitrace.h)) { > $self->{PM}->{$_} = '$(INST_ARCHAUTODIR)/'.$_; > } > > Tim. > > On Thu, Jul 12, 2001 at 04:11:14PM +0200, [EMAIL PROTECTED] > wrote: > > Hi Tim, > > > > I've tried to run the Makefile.PL under perl version 5.004_01 on an AIX > UNIX machine, but all I get is the following error: > > > > syntax error at Makefile.PL line 620, near "$_ > > for " > > Execution of Makefile.PL aborted due to compilation errors. > > > > Do you know what this means and how I could fix it so I can proceed to > step 2? > > > > -- version of Oracle: 8.0.5. > > > > -- results of perl -V: > > > > Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration: > > Platform: > > osname=aix, osvers=4.2.1.0, archname=aix > > uname='aix iavnr4 2 4 002010076700 ' > > hint=recommended, useposix=true, d_sigaction=define > > bincompat3=y useperlio= d_sfio= > > Compiler: > > cc='cc', optimize='-O', gccversion= > > cppflags='-qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE > -I/usr/local/include' > > ccflags ='-qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE > -I/usr/local/include' > > stdchar='unsigned char', d_stdstdio=define, usevfork=false > > voidflags=15, castflags=1, d_casti32=define, d_castneg= > > intsize=4, alignbytes=8, usemymalloc=n, randbits=15 > > Linker and Libraries: > > ld='ld', ldflags =' -L/usr/local/lib' > > libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib > > libs=-lnsl -ldbm -ldl -lld -lm -lc -lbsd -lPW > > libc=/lib/libc.a, so=a > > useshrplib=false, libperl=libperl.a > > Dynamic Linking: > > dlsrc=dl_aix.xs, dlext=so, d_dlsymun=, ccdlflags='-bE:perl.exp' > > cccdlflags=' ', lddlflags='-H512 -T512 -bhalt:4 -bM:SRE > -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).e > > xp -b noentry -lc -L/usr/local/lib' > > > > > > Characteristics of this binary (from libperl): > > Built under aix > > Compiled at Sep 26 1997 16:06:03 > > @INC: > > /usr/local/lib/perl5/aix/5.00401 > > /usr/local/lib/perl5 > > /usr/local/lib/perl5/site_perl/aix > > /usr/local/lib/perl5/site_perl > > . > > > > Cheers, > > > > Maurice Dekker > > > > > --------------------------------------------------------------------------- > > This message (including any attachments) is confidential and may > be > > privileged. If you have received it by mistake please notify the sender > by > > return e-mail and delete this message from your system. Any > unauthorised > > use or dissemination of this message in whole or in part is > strictly > > prohibited. Please note that e-mails are susceptible to change. ABN > AMRO > > Bank N.V. (including its group companies) shall not be responsible > nor > > liable for the proper and complete transmission of the > information > > contained in this communication nor for any delay in its receipt or > damage > > to your system. ABN AMRO Bank N.V. (or its group companies) does > not > > guarantee that the integrity of this communication has been maintained > nor > > that this communication is free of viruses, interceptions or interference. > > > --------------------------------------------------------------------------- > >
