Re: compile question
[email protected] (Tim Bunce) Sun, 1 Apr 2001 11:09:05 +0100
| Newsgroups | perl.dbi.oracle-oci |
|---|---|
| Organization | Paul Ingram Group, Software Systems, +44 1 483 862800 |
| Message-ID | <[email protected]> |
On Fri, Mar 30, 2001 at 05:27:00PM -0800, Dave Viner wrote:
>
> btw - i'm attaching an initial stab at a patch for bsd. at least it makes it
> to the compilation of the c files. not wonderous, but something is more than
> nothing
Indeed, many thanks.
> -#!/bin/bash
> +#!/bin/ksh
Probably best to make it /bin/sh for greatest portability (unless you
want to port it to Perl :)
[your patch was reversed, you need to do 'diff -c oldfile newfile', thanks]
> -echo
> -echo "Editing h2xs.typemap"
> -## remove the ** and make them *
> -perl -p -i.bak -w \
> - -e 's/OCITrans\s+\*\*/OCITrans \*/;' \
> - h2xs.typemap
Why add that, and just for that type?
> echo "Editing OCI.xs..."
> @@ -100,7 +86,6 @@
> -e 's/^sword$/sword_status/;' \
> -e '$types{do{($a=$1)=~tr/\t //d;$a} }++ if m/^\t(\w+[\s\*]*)\s+[\&\s]*\w+$/;' \
> -e 'END{ open T,">types.dat" or die $!; print T Dumper(\%types); }' \
> - -e 's/\[]//; ' \
And that?
But some background info and reasoning would help me know if that's the
best way to go. Thanks.
Tim.