Hello,
I do have a big problem with a configuration failure (perl Makefile.PL does 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
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/ccs/bin:/usr/dt/bin:/usr/j2re1.4.2_05/bin:/usr/j2sdk1.4.2_05/bin:/usr/j2se/bin:/usr/java/bin:/usr/java1.1/bin:/usr/java1.2/bin:/usr/java1.3/bin:/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/symcli/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-geocoder/bin:/appl/local/tomcat-pegaview/bin:/appl/local/tomcat-qgis/bin:/appl/local/tools/bin:/appl/local/OpenSource/usr/bin:/appl/local/UC4/uc4263j/bin:/appl/local/amore/autodocu/bin:/appl/local/amore/perl/bin:/appl/local/apple/5.1/bin:/appl/local/ar/Backup_Patch1484/bin:/appl/local/ar/es7601a/bin:/appl/local/bea/BEAMQ50_PATCH/bin:/appl/local/bea/DMA50A/bin:/appl/local/bea/jdk131_03/bin:/appl/local/bea/jdk131_10/bin:/appl/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/local/geocoder/java1.3.1_02/bin:/appl/local/iplanet/iplanet-http-4.1/bin:/appl/local/iplanet/iplanet_http_6.0/bin:/appl/local/ivmpkg/IVMcvs115/bin:/appl/local/oracle/8.1.7.4/bin:/appl/local/oracle/8.1.7/bin:/appl/local/oracle/9.2.0.6/bin:/appl/local/oracle/9.2.0/bin:/appl/local/oracle/OSL/bin:/appl/local/oracle/oid/bin:/appl/local/oracle/oui/bin:/appl/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.64/bin:/appl/local/src/perl-ldap-0.25/bin:/appl/local/tivoli/lcf/bin:/appl/local/tools/usr/bin:/opt/CTEact/bin:/opt/Navisphere/bin:/opt/ORCLfmap/bin:/opt/Patrol/bin:/opt/SUNWcest/bin:/opt/SUNWcstu/bin:/opt/SUNWexplo/bin:/opt/SUNWncswc/bin:/opt/SUNWrtvc/bin:/opt/SUNWsan/bin:/opt/SUNWsneep/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/VRTS/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/sbin:/appl/local/informix/bin:/appl/local/informix/ARSPROD/scripts:/appl/local/informix/bin:/appl/local/informix/ARSPROD/scripts:/opt/IBM/informix/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:/appl/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.FC4 from
/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:[EMAIL PROTECTED]> @t-systems.com
Internet: <http://www.t-systems.com/> http://www.t-systems.com