New and different h2xs boot failure

[email protected] (Rob McMillin) Wed, 22 Aug 2001 01:17:49 -0700
Newsgroups perl.dbi.oracle-oci
Message-ID <[email protected]>
Versions:

    Oracle 8.1.7
    RedHat 7.1
      Perl 5.6.0
   C::Scan 0.74
Oracle OCI 0.04

Technically Oracle 8.1.7 isn't supposed to work with RedHat 7.1, but
somebody on Oracle Technet finally figured it out and posted the
solution.  Yay!

So anyway, when I run the boot script (which I have to manually change
the #! path to -- docs change pretty please?), it didn't work the first
time because the paths don't include $ORACLE_HOME/rdbms/public, where
lots of the files are actually located.  So I fixed THAT:

diff -c /home/rlm/src/Oracle-OCI-0.04/boot.\~1\~
/home/rlm/src/Oracle-OCI-0.04/boot
*** /home/rlm/src/Oracle-OCI-0.04/boot.~1~	Fri Jul 20 17:02:20 2001
--- /home/rlm/src/Oracle-OCI-0.04/boot	Wed Aug 22 00:48:11 2001
***************
*** 137,143 ****
  -e $oci_hdr or croak "Error:  hit by a missing oci.h";
  -r _        or croak "Error:  unreadable $oci_hdr";
  
! my @ora_dirs = ($demodir, "$orahome/network/public",
"$orahome/plsql/public");
  
  
 
############################################################################
--- 137,144 ----
  -e $oci_hdr or croak "Error:  hit by a missing oci.h";
  -r _        or croak "Error:  unreadable $oci_hdr";
  
! my @ora_dirs = ($demodir, "$orahome/network/public",
"$orahome/plsql/public",
!                 "$orahome/rdbms/public");
  
  
 
############################################################################

------ snip -------

and now I'm wondering what to do about the error I picked up next:

Running h2xs...
Scanning typemaps...
 Scanning /usr/lib/perl5/5.6.0/ExtUtils/typemap
Scanning /oracle/OraHome/rdbms/demo/oci.h for functions...
Expecting parenth after identifier in `fd_set *__restrict __readfds'
after `fd_set *__restrict ' at /usr/lib/perl5/site_perl/5.6.0/C/Scan.pm
line 797.
h2xs failed at boot line 184

===================

It looks as though h2xs is scanning a file when it dies. (which one?
This sequence is contained in /usr/include/sys/select.h.) Is there a way
to specify which files *not* to look at?

-- 
	  http://www.pricegrabber.com | Dog is my co-pilot.