Hello 

I've to install DBI and DBD::Oracle
<http://www.pythian.com/news/dbd-oracle>  on AIX (see APPENDIX for all
details) version 6.1.


/u06/dist/automation/basenv/tempDBI/DBI-1.609
$ perl Makefile.PL

*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.

Creating test wrappers for DBI::PurePerl:

...

Checking if your kit is complete...
Looks good

    I see you're using perl 5.008002 on aix-thread-multi, okay.
    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.

Writing Makefile for DBI
$


Unfortunately, we don't have the cc-Compiler.

Therefore, whe I launch the "make" utility I get the error:

        cc_r -c    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPENDNEED_PTHREAD_INIT -q32
-D_LARGE_FILES -qlonglong -O    -DVERSION=\"1.609\"
-DXS_VERSION=\"1.609\"  "-I/u
sr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE"   Perl.c
/bin/sh: cc_r:  not found.
make: 1254-004 The error code from the last command is 127.


Because we have only gcc-4.2.0-3 installed, I'd modify the current
make-file and use the macro

  "make MAKERULES=/<my_pathname/nunzio_make"

 by modifying the value for CC=cc  to   CC=gcc-4.2.0-3

The problem and therefore the reason for this mails is: Do you possible
have the compiler option for gcc such that I can substitute the
cc-comand?


          cc_r -c    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-q32 -D_LARGE_FILES -qlonglong -O    -DVERSION=\"1.609\"
-DXS_VERSION=\"1.609\"  "-I/u
sr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE"   Perl.c

Thank you in advance
Nunzio



Reply via email to