Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
No Subject

No Subject

2005-06-30       - By Patrick Galbraith

 Back
Arunkumar,

Could you possibly try to build DBD::mysql without that flag using GCC?  
I think that could clear up your issue,

kind regards,

Patrick

On Jun 30, 2005, at 6:10 PM, <arunkumar.santhana@(protected)> wrote:

> Hi All,
>
> I am facing the build problem while installing the DBD-MySql perl  
> module (ver 2.9008) using both GCC and CC compilers in HP-UX machine.
>
> For the Build using GCC, the compiler error is produced due to the  
> unknown?compiler option "+DAportable".
>
> For the Build using CC, the preprocessor error is produced due to the  
> recursive declration of macro "PerlIO" in perlio.h file.
>
> Please give me the solution to get rid of this problem.
>
> Thanks in advance.
>
> Regards,
> Arun.
> ?
> Wipro Technologies.
>
>
> The following is the log for both build.
>
> =======================================================================
> ===================
> ??? DBD-Mysql-2 (See http://sql-2.ora-code.com).9008 Perl module Build in HP-UX 11.11? using GCC
> =======================================================================
> ===================
>
> # uname -a
> HP-UX hpccase B.11.11 U 9000/871 2015587066 unlimited-user license
>
> # perl -v
> This is perl, v5.8.7 built for PA-RISC2.0
>
> # gcc -v
> Using built-in specs.
> Target: hppa2.0w-hp-hpux11.11
> Configured with:
> /scratch/joseph/pkgbuild/3.3.1/hpux-11 (See http://pux-11.ora-code.com)/gcc-4 (See http://gcc-4.ora-code.com).0.0/configure
> --enable-languages=c,c++ --enable-threads=posix --disable-nls
>
> --disable-libmudflap --with-gnu-as --without-gnu-ld
> --with-as=/usr/local/bin/as --with-ld=/usr/ccs/bin/ld
> --prefix=/usr/local
> Thread model: posix
> gcc version 4.0.0
>
> # perl Makefile.PL CC=gcc
> I will use the following settings for compiling and testing:
>
> ? cflags??????? (mysql_config) =
> -I/cmdisk1/mysql-max-4 (See http://max-4.ora-code.com).1.12-hp-hpux11.11-hppa2.0w/include +DAportable
> ? libs????????? (mysql_config) =
> -L/cmdisk1/mysql-max-4 (See http://max-4.ora-code.com).1.12-hp-hpux11.11-hppa2.0w/lib -lmysqlclient -lz
> -lcrypt -lnsl -lm
> ? mysql_config? (guessed???? ) = mysql_config
> ? nocatchstderr (default???? ) = 0
> ? nofoundrows?? (default???? ) = 0
> ? ssl?????????? (guessed???? ) = 0
> ? testdb??????? (default???? ) = test
> ? testhost????? (default???? ) =
> ? testpassword? (default???? ) =
> ? testsocket??? (default???? ) =
> ? testuser????? (default???? ) =
>
> To change these settings, see 'perl Makefile.PL --help' and
> 'perldoc INSTALL'.
>
> Note (probably harmless): No library found for -lz
> Using DBI 1.48 (for perl 5.008007 on PA-RISC2.0) installed in
> /opt/perl/lib/site_perl/5.8.7/PA-RISC2.0/auto/DBI/
> Writing Makefile for DBD::mysql
> # make
> ??????? gcc -c? -I/opt/perl/lib/site_perl/5.8.7/PA-RISC2.0/auto/DBI/
> -I/cmdisk1/mysql-max-4 (See http://max-4.ora-code.com).1.12-hp-hpux11.11-hppa2.0w/includ
> e +DAportable -DDBD_MYSQL_INSERT_ID_IS_GOOD -g?? -mpa-risc-2 (See http://isc-2.ora-code.com)-0
> -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/l
> ocal/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O
> -DVERSION=\"2.9008\"? -DXS_VERSION=\"2.9008\" -fPIC "-I/opt/
> perl/lib/5.8.7/PA-RISC2.0/CORE"?? dbdimp.c
> gcc: +DAportable: No such file or directory
> *** Error exit code 1
>
> Stop.
>
> =======================================================================
> ===================
>
> =======================================================================
> ===================
> ??????? DBD-Mysql-2 (See http://sql-2.ora-code.com).9008 Perl module Build in HP-UX 11.11? using HP C  
> compiler (cc)
> =======================================================================
> ===================
>
>
> # perl Makefile.PL CC=cc
> I will use the following settings for compiling and testing:
>
> ? cflags??????? (mysql_config) =
> -I/cmdisk1/mysql-max-4 (See http://max-4.ora-code.com).1.12-hp-hpux11.11-hppa2.0w/include +DAportable
> ? libs????????? (mysql_config) =
> -L/cmdisk1/mysql-max-4 (See http://max-4.ora-code.com).1.12-hp-hpux11.11-hppa2.0w/lib -lmysqlclient -lz
> -lcrypt -lnsl -lm
> ? mysql_config? (guessed???? ) = mysql_config
> ? nocatchstderr (default???? ) = 0
> ? nofoundrows?? (default???? ) = 0
> ? ssl?????????? (guessed???? ) = 0
> ? testdb??????? (default???? ) = test
> ? testhost????? (default???? ) =
> ? testpassword? (default???? ) =
> ? testsocket??? (default???? ) =
> ? testuser????? (default???? ) =
>
> To change these settings, see 'perl Makefile.PL --help' and
> 'perldoc INSTALL'.
>
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -lz
> Using DBI 1.48 (for perl 5.008007 on PA-RISC2.0) installed in
> /opt/perl/lib/site_perl/5.8.7/PA-RISC2.0/auto/DBI/
> Writing Makefile for DBD::mysql
> # make
> cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
> cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
> cp lib/Mysql.pm blib/lib/Mysql.pm
> cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
> cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
> cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
> ??????? cc -c? -I/opt/perl/lib/site_perl/5.8.7/PA-RISC2.0/auto/DBI/
> -I/cmdisk1/mysql-max-4 (See http://max-4.ora-code.com).1.12-hp-hpux11.11-hppa2.0w/include +DAportable
>
> -DDBD_MYSQL_INSERT_ID_IS_GOOD -g?? -mpa-risc-2 (See http://isc-2.ora-code.com)-0 -D_HPUX_SOURCE
> -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include
>
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O
> -DVERSION=\"2.9008\"? -DXS_VERSION=\"2.9008\" -fPIC
>
> "-I/opt/perl/lib/5.8.7/PA-RISC2.0/CORE"?? dbdimp.c
> (Bundled) cc: warning 480: The -g option is available only with the  
> C/ANSI C product; ignored.
> (Bundled) cc: warning 422: Unknown option "m" ignored.
> (Bundled) cc: warning 480: The -p option is available only with the  
> C/ANSI C product; ignored.
> (Bundled) cc: warning 422: Unknown option "a" ignored.
> (Bundled) cc: warning 422: Unknown option "-" ignored.
> (Bundled) cc: warning 480: The -r option is available only with the  
> C/ANSI C product; ignored.
> (Bundled) cc: warning 422: Unknown option "i" ignored.
> (Bundled) cc: warning 422: Unknown option "-" ignored.
> (Bundled) cc: warning 422: Unknown option "2" ignored.
> (Bundled) cc: warning 422: Unknown option "-" ignored.
> (Bundled) cc: warning 422: Unknown option "0" ignored.
> (Bundled) cc: warning 422: Unknown option "f" ignored.
> (Bundled) cc: warning 480: The -p option is available only with the  
> C/ANSI C product; ignored.
> (Bundled) cc: warning 422: Unknown option "i" ignored.
> (Bundled) cc: warning 480: The -p option is available only with the  
> C/ANSI C product; ignored.
> (Bundled) cc: warning 480: The -e option is available only with the  
> C/ANSI C product; ignored.
> (Bundled) cc: warning 480: The -g option is available only with the  
> C/ANSI C product; ignored.
> (Bundled) cc: warning 480: The -O option is available only with the  
> C/ANSI C product; ignored.
> (Bundled) cc: warning 422: Unknown option "f" ignored.
> cpp: "/opt/perl/lib/5.8.7/PA-RISC2.0/CORE/perlio.h", line 114: error  
> 4065: Recursion in macro "PerlIO".
> *** Error exit code 1
>
> Stop.
> #
>
> =======================================================================
> ===================
> ?
>
>
>  Confidentiality Notice
>
>  The information contained in this electronic message and any  
> attachments to this message are intended
>  for the exclusive use of the addressee(s) and may contain  
> confidential or privileged information. If
>  you are not the intended recipient, please notify the sender at Wipro  
> or Mailadmin@(protected) immediately
>  and destroy all copies of this message and any attachments.
>
Patrick Galbraith Senior Software Developer
patg@(protected) http://www.mysql.com

Those who fear climbing mountains
Shall live forever in the holes - Arab Poet