AW: DBD::Informix FAILURE CLASS A gcc: language arch=v9 not recog nize d
- From: Govinda.Pfister@xxxxxxxxxx (Govinda Pfister)
- Date: Fri, 23 Jun 2006 07:56:19 +0200
Dear Jonathan,
Thanks a lot for your sound advice. And sorry that I did not include the plattform information (Solaris) as part of the problem description. I noticed just one moment after sending the email...
By the way is it allways the case that one should not use programs together that are mixed concerning 32 vs 64 bit builds?
I will give the installation of the 32-Bit CSDK a try ... really hope this will solve my problem.
Cheers,
Govinda
-----Ursprüngliche Nachricht-----
Von: Jonathan Leffler [mailto:jonathan.leffler@xxxxxxxxx]
Gesendet: Donnerstag, 22. Juni 2006 17:28
An: Pfister, Govinda
Cc: dbi-users@xxxxxxxx; dbd.informix@xxxxxxxxx
Betreff: Re: DBD::Informix FAILURE CLASS A gcc: language arch=v9 not recognize d
On 6/22/06, Govinda.Pfister@xxxxxxxxxx <Govinda.Pfister@xxxxxxxxxx> wrote:
I do have a big problem with a configuration failure (perl Makefile.PLdoes not work).
I studied all the provided readmes and googled endlessly, but did not
found a solution.
Hopefully you can help!
The error message is: gcc: language arch=v9 not recognized A lot of
problems I found in the dbi-users mailing list seemed simlar to this
error message, but Perl, DBI where compiled with gcc and not a
diffrent compiler. Right?
Best Regards,
Govinda Pfister
Dear Govinda,
Thanks for including all the relevant information as you did - it really helps me diagnose the problems much more swiftly than just supplying part of the information would have done.
You have a 32-bit build of Perl - see the line that says use64bitint=undef and the line that says longsize=4. You have a 64-bit version of CSDK (ESQL/C), as indicated by F in version 2.90.FC4, and you're on Solaris as indicated by the Perl configuration and the arch-v9 not recognized error message.
Because you gave me all the information, I can recommend that you obtain CSDK 2.90.UC4 for Solaris - the 32-bit version of CSDK or ESQL/C instead of the 64-bit version. This will work better with your obsolete version of IDS (DB-Access 9.21.UC6 is long overdue for upgrade; you will almost certainly get a performance boost out of the upgrade too). Assuming you can't upgrade that, the 32-bit CSDK will be able to use shared memory connections to the 32-bit server.
The alternative - harder in my view - is to build a 64-bit Perl, and then rebuild the other modules (such as DBI) for the new build, and then use the 64-bit CSDK. Beware of the Perl configuration process picking up 32-bit libraries instead of 64-bit libraries - this complicates the build in my experience.
If you decide to go ahead with a 64-bit Perl, then you have another preparatory step to do when you are ready to install DBD::Informix again.
You'll need to modify the esql script to remove the -xarch=v9 directive that is specific to the Sun C compiler and replace it with the corresponding -m64 directive for GCC. With GCC v3.3.2, you are probably OK - the 64-bit support would, I think, be built automatically. Depending on whether you want to use GCC every time, or only when you work with Perl, you will take a copy of the esql script as provided by IBM/Informix, either in $INFORMIXDIR/bin or in the DBD::Informix build directory. Assuming you do this just for DBD::Informix, edit the local copy of the script, replacing the C compiler (cc) with GCC (gcc), and replacing -xarch=v9 with -m64.
There might be other flags to fiddle with - I don't recall any, but if you have problems, get back to me via the mailing lists. Make sure "." is on your path ahead of $INFORMIXDIR/bin so you use the local script.
Bugreport-Info:
perl -V
---------------------------------------
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos solaris 5.8 generic_108528-11 sun4u sparc
sunw,ultra-5_10 '
config_args='-Dcc=gcc -B/usr/ccs/bin/'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3.2', gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Dec 2 2005 01:34:16
@INC:
/usr/local/lib/perl5/5.8.7/sun4-solaris
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
esql -v
---------------------------------------
IBM Informix CSDK Version 2.90, IBM Informix-ESQL Version 2.90.FC4
Software Serial Number AAA#B000000
dbaccess -V
----------------------------------------
DB-Access Version 9.21.UC6
Software Serial Number AAD#J179567
env | sort
----------------------------------------
_=/bin/env
ARCONFIGDIR=/appl/local/ar/config
ARDATE=%d.%m.%y %X
ARHELP=/appl/local/ar/es7601a/help
ARHOME=/users/es7601a/user1/aradmin/arHome
ARNONROOTINSTALL=TRUE
ARSDIR=/appl/local/ar/es7601a/
BACKUPDIR=/appl/local/informix/archive
BEADIR=/appl/local/bea/DMA50A
CMASK=022
DBD_INFORMIX_DATABASE=arsysten_help
DBD_INFORMIX_DEBUG_ESQLTEST=yes
DBD_INFORMIX_DEBUG_GCC=yes
DBD_INFORMIX_PASSWORD=xxxxxxxx
DBD_INFORMIX_USERNAME=aradmin
DBDATE=MDY2
DBEDIT=vi
EDITOR=vi
HISTFILE=/.sh_history
HISTSIZE=5000
HOME=/users/es7601a/user1/aradmin
INFORMIXDIR=/opt/IBM/informix
INFORMIXSERVER=arsa1
INFSHMSERVER=es7601ashm
LANG=de
LC_ALL=de
LD_LIBRARY_PATH=/appl/local/bea/DMA50A/lib:/appl/local/ar/es7601a/bin:
/opt/IBM/informix/lib:/opt/IBM/informix/lib/esql
LOGNAME=aradmin
MAIL=/usr/mail/aradmin
MANPAT=:/appl/local/ar/es7601a/man
MANPATH=:/usr/flash/man
NLSPATH=/usr/lib/locale/C/LC_MESSAGES/%N:/appl/local/ar/es7601a/locale
/C/%N
NTSPOOLDIR=/appl/local/ar/ntspool
ONCONFIG=onconfig.ars
PATH=/usr/local/bin:/bin:/usr/bin:/usr/ucb:/usr/bin/X11:/usr/local/bin
:/usr/bin:/appl/local/bea/DMA50A/bin:/usr/X/bin:/usr/apache/bin:/usr/c
cs/bin:/usr/dt/bin:/usr/j2re1.4.2_05/bin:/usr/j2sdk1.4.2_05/bin:/usr/j
2se/bin:/usr/java/bin:/usr/java1.1/bin:/usr/java1.2/bin:/usr/java1.3/b
in:/usr/java1.4.2/bin:/usr/java1.4/bin:/usr/java1.5.0/bin:/usr/jre1.5.
0_02/bin:/usr/local/bin:/usr/oasys/bin:/usr/openwin/bin:/usr/perl5/bin
:/usr/proc/bin:/usr/sadm/bin:/usr/snadm/bin:/usr/storapi/bin:/usr/symc
li/bin:/usr/vmsys/bin:/usr/xpg4/bin:/appl/local/apache_webportal/bin:/
appl/local/ar/bin:/appl/local/informix/bin:/appl/local/jakarta-
tomcat-4.1.29_pegaview/bin:/appl/local/jakarta-tomcat-4.1.30_geocoder/
bin:/appl/local/jakarta-tomcat-4.1.30_qgis/bin:/appl/local/tomcat-geoc
oder/bin:/appl/local/tomcat-pegaview/bin:/appl/local/tomcat-qgis/bin:/
appl/local/tools/bin:/appl/local/OpenSource/usr/bin:/appl/local/UC4/uc
4263j/bin:/appl/local/amore/autodocu/bin:/appl/local/amore/perl/bin:/a
ppl/local/apple/5.1/bin:/appl/local/ar/Backup_Patch1484/bin:/appl/loca
l/ar/es7601a/bin:/appl/local/bea/BEAMQ50_PATCH/bin:/appl/local/bea/DMA
50A/bin:/appl/local/bea/jdk131_03/bin:/appl/local/bea/jdk131_10/bin:/a
ppl/local/ebp/ebpgk/bin:/appl/local/emc/ECC/bin:/appl/local/epos/ecare
/bin:/appl/local/epos/epos40/bin:/appl/local/ftrans/ftrans/bin:/appl/l
ocal/geocoder/java1.3.1_02/bin:/appl/local/iplanet/iplanet-http-4.1/bi
n:/appl/local/iplanet/iplanet_http_6.0/bin:/appl/local/ivmpkg/IVMcvs11
5/bin:/appl/local/oracle/8.1.7.4/bin:/appl/local/oracle/8.1.7/bin:/app
l/local/oracle/9.2.0.6/bin:/appl/local/oracle/9.2.0/bin:/appl/local/or
acle/OSL/bin:/appl/local/oracle/oid/bin:/appl/local/oracle/oui/bin:/ap
pl/local/oracle2/oid/bin:/appl/local/pegaview/jdo/bin:/appl/local/qgis
/aims40exe/bin:/appl/local/qgis/arcexe82/bin:/appl/local/qgis/j2re1_3_
0_02/bin:/appl/local/qgis/sdeexe83/bin:/appl/local/src/libwww-perl-5.6
4/bin:/appl/local/src/perl-ldap-0.25/bin:/appl/local/tivoli/lcf/bin:/a
ppl/local/tools/usr/bin:/opt/CTEact/bin:/opt/Navisphere/bin:/opt/ORCLf
map/bin:/opt/Patrol/bin:/opt/SUNWcest/bin:/opt/SUNWcstu/bin:/opt/SUNWe
xplo/bin:/opt/SUNWncswc/bin:/opt/SUNWrtvc/bin:/opt/SUNWsan/bin:/opt/SU
NWsneep/bin:/opt/SUNWsrsas/bin:/opt/SUNWsrsca/bin:/opt/SUNWsrscp/bin:/
opt/SUNWsrsep/bin:/opt/SUNWsrshp/bin:/opt/SUNWsrspx/bin:/opt/SUNWsrsrp
/bin:/opt/SUNWsrssa/bin:/opt/SUNWsrsvp/bin:/opt/SUNWstade/bin:/opt/VRT
S/bin:/opt/VRTSob/bin:/opt/VRTSvlic/bin:/opt/VRTSvmsa/bin:/opt/sun/bin
:/opt/tools/bin:/bin:/users/es7601a/user1/aradmin:/opt/gnu/bin:/usr/sb
in:/appl/local/informix/bin:/appl/local/informix/ARSPROD/scripts:/appl
/local/informix/bin:/appl/local/informix/ARSPROD/scripts:/opt/IBM/info
rmix/bin
PS1=es7601a:$PWD$>
PWD=/users/es7601a/user1/aradmin/govinda/DBD-Informix-2005.02
SHELL=/bin/ksh
SHLIB_PATH=:/appl/local/informix/lib:/appl/local/informix/lib/esql:/ap
pl/local/informix/lib:/appl/local/informix/lib/esql
SSH2_CLIENT=164.29.8.174 1206 10.100.0.255 22
SSH2_SFTP_LOG_FACILITY=12
SSH2_TTY=/dev/pts/21
TERM=vt100
TZ=MET
USER=aradmin
perl5.8.7 Makefile.PL
----------------------------------------------
*** ExtUtils::AutoInstall version 0.63
*** Checking for dependencies...
[Core Features]
- DBI ...loaded. (1.51 >= 1.38)
[High Resolution Timing]
- Time::HiRes ...loaded. (1.66)
[POD Format Testing]
- Test::Pod ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [y] Dispatching
deprecated method 'CPAN::Config::load' to CPAN::HandleConfigOdd number
of elements in hash assignment at
/usr/local/lib/perl5/5.8.7/CPAN/HandleConfig.pm line 338.
CPAN: File::HomeDir loaded ok
*** Dependencies will be installed the next time you type 'make'.
(You may need to do that as the 'root' user.)
*** ExtUtils::AutoInstall configuration finished.
Subroutine main::WriteMakefile redefined at
/usr/local/lib/perl5/site_perl/5.8.7/ExtUtils/AutoInstall.pm line 491.
Configuring IBM Informix Database Driver for Perl DBI Version 2005.02(2005-07-29) (aka DBD::Informix)
You are using DBI version 1.51 and Perl version 5.008007
Remember to actually read the README file!
Perl: perl v5.008007 sun4-solaris dl_dlopen.xs
System: sunos solaris 5.8 generic_108528-11 sun4u sparc sunw,ultra-5_10
Using INFORMIXDIR=/opt/IBM/informix and ESQL/C compiler esql Using IBM
Informix CSDK Version 2.90, IBM Informix-ESQL Version 2.90.FC4from
/opt/IBM/informix
Beware: DBD::Informix is not yet aware of all the new IUS data types.
Assert macro will be disabled!
lib/DBD/Informix/Defaults.pm written OK esqlvrsn.h written OK
esqlinfo.h written OK
Testing whether your Informix test environment will work...
ccflag = <<-fno-strict-aliasing>>
ccflag = <<-pipe>>
ccflag = <<-I/usr/local/include>>
ccflag = <<-D_LARGEFILE_SOURCE>>
ccflag = <<-D_FILE_OFFSET_BITS=64>>
cppflag = <<-DESQLC_VERSION=290>>
cppflag = <<-DNDEBUG>>
cppflag = <<-DUSE_REAL_MALLOC>>
execute_command: esql -c -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DESQLC_VERSION=290 -DNDEBUG -DUSE_REAL_MALLOC esqltest.ec
+ec+ <<esql>>
+ec+ <<-c>>
+ec+ <<-fno-strict-aliasing>>
+ec+ <<-pipe>>
+ec+ <<-I/usr/local/include>>
+ec+ <<-D_LARGEFILE_SOURCE>>
+ec+ <<-D_FILE_OFFSET_BITS=64>>
+ec+ <<-DESQLC_VERSION=290>>
+ec+ <<-DNDEBUG>>
+ec+ <<-DUSE_REAL_MALLOC>>
+ec+ <<esqltest.ec>>
+ setenv INFORMIXC = /usr/local/bin/perl esqlcc setenv ESQLCC = gcc
+ -B/usr/ccs/bin/
gcc: language arch=v9 not recognized
gcc: esqltest.c: linker input file unused because linking not done
execute_command: esql -c -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DESQLC_VERSION=290 -DNDEBUG -DUSE_REAL_MALLOC esqlc_v6.ec
+ec+ <<esql>>
+ec+ <<-c>>
+ec+ <<-fno-strict-aliasing>>
+ec+ <<-pipe>>
+ec+ <<-I/usr/local/include>>
+ec+ <<-D_LARGEFILE_SOURCE>>
+ec+ <<-D_FILE_OFFSET_BITS=64>>
+ec+ <<-DESQLC_VERSION=290>>
+ec+ <<-DNDEBUG>>
+ec+ <<-DUSE_REAL_MALLOC>>
+ec+ <<esqlc_v6.ec>>
+ setenv INFORMIXC = /usr/local/bin/perl esqlcc setenv ESQLCC = gcc
+ -B/usr/ccs/bin/
gcc: language arch=v9 not recognized
gcc: esqlc_v6.c: linker input file unused because linking not done
execute_command: esql -o esqltest esqltest.o esqlc_v6.o
+ec+ <<esql>>
+ec+ <<-o>>
+ec+ <<esqltest>>
+ec+ <<esqltest.o>>
+ec+ <<esqlc_v6.o>>
+ setenv INFORMIXC = /usr/local/bin/perl esqlcc setenv ESQLCC = gcc
+ -B/usr/ccs/bin/
gcc: esqltest.o: No such file or directory
gcc: esqlc_v6.o: No such file or directory
gcc: language arch=v9 not recognized
Failed to link test program esqltest
Govinda Pfister
Remedy Approved Consultant, Clarify Certified Consultant,
ITIL-Certified
Projectcenter Business Process Solutions Solution & Service Center
Business Enabling Solutions Global Competence Center T-Systems
Enterprise Services GmbH Memmelsdorfer Str. 209a, 96052 Bamberg
+49 951 4097-161 (Tel)
+49 951 4097-200 (Fax)
E-Mail: Govinda.Pfister <mailto:Govinda.Pfister@xxxxxxxxxxxxx> @
t-systems.com
Internet: <http://www.t-systems.com/> http://www.t-systems.com
--
Jonathan Leffler <jonathan.leffler@xxxxxxxxx> #include <disclaimer.h> Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org "I don't suffer from insanity - I enjoy every minute of it."
.
- Prev by Date: Unable to install DBD::Oracle on windows XP
- Next by Date: Re: Unable to install DBD::Oracle on windows XP
- Previous by thread: Unable to install DBD::Oracle on windows XP
- Next by thread: DBD::Sybase misleads me?
- Index(es):
Relevant Pages
|
|