Mysql DBD drivers on Hpux

"Nair, Sujith" <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
Hi , 
I have been trying to compile the mysql driver on a HPUX-11.11i platform and
am getting the following errors
are there any patches / workarounds that Ineed to look for while doing this
?
Any help would be appreciated

see the transcript below
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++

I will use the following settings for compiling and testing:

  cflags        (mysql_config) = -I'/opt/mysql/include/mysql'
  libs          (mysql_config) = -L/opt/mysql/lib/mysql -lmysqlclient
-lcrypt -lnsl -lm
  nocatchstderr (default     ) = 0
  nofoundrows   (default     ) = 0
  ssl           (guessed     ) = 0
  testdb        (default     ) = test
  testhost      (default     ) = 
  testpassword  (default     ) = 
  testuser      (default     ) = 

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Using DBI 1.40 (for perl 5.008003 on PA-RISC2.0) installed in
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
Writing Makefile for DBD::mysql

****************************************************************************
*************************************************************8

# make
gcc -c  -I/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
-I'/opt/mysql/include/mysql' -D_HPUX_SOURCE -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -O2   -DVERSION=\"2.9004\"
-DXS_VERSION=\"2.9004\" -fPIC "-I/usr/local/lib/perl5/5.8.3/PA-RISC2.0/CORE"
dbdimp.c
In file included from /usr/local/lib/perl5/5.8.3/PA-RISC2.0/CORE/perl.h:709,
                 from
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI/DBIXS.h:19,
                 from dbdimp.h:20,
                 from dbdimp.c:19:
/usr/include/sys/socket.h:484: error: parse error before "sendfile"
/usr/include/sys/socket.h:484: error: parse error before "bsize_t"
/usr/include/sys/socket.h:486: error: parse error before "sendpath"
/usr/include/sys/socket.h:486: error: parse error before "bsize_t"
make: *** [dbdimp.o] Error 1

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++


thanks & regards
-Sujith

+++++++++++++++++++++++++++
+ Sujith V R Nair                            
+ Infosys Technologies Ltd.             
+ Pune                                          
+ phone: +91 20  22978565             
+++++++++++++++++++++++++++


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.