Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

DBD::ODBC install fails at perl Makefile.PL

by mj10044 (Initiate)
on Jan 26, 2011 at 23:24 UTC ( [id://884438]=perlquestion: print w/replies, xml ) Need Help??

mj10044 has asked for the wisdom of the Perl Monks concerning the following question:

Oh wise ones, I am attempting to install DBD::ODBC module on AIX 6.1. Perl is set to 64 bit, ODBC driver mgr is 64 bit, and drivers are 64 bit. My problem is when installing DBD::ODBC module, I receive a segmentation fault when running perl Makefile.PL. any help appreciated ? ***************** SEE OUTPUT BELOW ********************

> perl Makefile.PL Useless use of private variable in void context at Makefile.PL line 10 +25. ********** Remember to actually *READ* the README file! And re-read it if you have any problems. ********** OSNAME: aix LANG: en_US ODBCHOME: /opt/unixODBC-2.3.0 LD_LIBRARY_PATH: :/opt/unixODBC-2.3.0/lib:/lib:/usr/local/lib DBROOT: WINDIR: II_SYSTEM: You are using a Perl configured with threading enabled. Please read the warnings in DBI about this. You should also be aware that on non-Windows platforms ODBC drivers co +me in two forms, thread-safe and non-thread-safe drivers and you may need to make sure you are using the right one. Press return to continue... Looking for odbc_config at /opt/unixODBC-2.3.0/bin/odbc_config Found odbc_config (via /opt/unixODBC-2.3.0/bin/odbc_config) version +2.3.0 odbc_config reports --prefix=/opt/unixODBC-2.3.0 odbc_config reports --include-prefix=/opt/unixODBC-2.3.0/include odbc_config reports --lib-prefix=/opt/unixODBC-2.3.0/lib ODBC INC dir set to /opt/unixODBC-2.3.0/include from odbc_config ODBC LIB dir set to /opt/unixODBC-2.3.0/lib from odbc_config Using ODBCHOME /opt/unixODBC-2.3.0 This looks like a unixodbc type of driver manager. Looking for odbcinst odbcinst -j reports: unixODBC 2.3.0 DRIVERS............: /opt/unixODBC-2.3.0/odbcinst.ini SYSTEM DATA SOURCES: /opt/unixODBC-2.3.0/odbc.ini FILE DATA SOURCES..: /opt/unixODBC-2.3.0/ODBCDataSources USER DATA SOURCES..: /opt/unixODBC-2.3.0/odbc.ini SQLULEN Size.......: 8 SQLLEN Size........: 8 SQLSETPOSIROW Size.: 8 Please note these files as they are where you define your ODBC drivers + and data sources. Looking for odbc_config to get cflags Adding odbc_config --cflags "-DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_T +YPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/opt/unixODBC-2.3.0/inc +lude " to CC line Checking if your kit is complete... Looks good Segmentation fault(coredump)

Replies are listed 'Best First'.
Re: DBD::ODBC install fails at perl Makefile.PL
by mje (Curate) on Jan 27, 2011 at 10:10 UTC

    This might sound strange but have you run out of disk space - especially in /var?

    What version of Perl is this?

    The next thing to happen is prerequisite checking where it will look for DBI. Have you installed DBI? What version of ExtUtils::MakeMaker are you using? What version of DBD::ODBC are you trying to build?

    Have you successfully installed any other modules?

    I have not got AIX 6.1 but in 5.1 with Perl 5.6.0, ExtUtils::MakeMaker 5.45, DBD::ODBC 1.28_2 I get further than you.

      Hi, 1. /var is 6% full 2. Perl version is 5.8.8 3. I did install DBI with no problems. ( V 1.616 ) 4. I am trying to install version DBD::ODBC ( V 1.27 ) 5. ExtUtils::MakeMaker ( V 6.30)

        I'm not sure what else to suggest as it is simply running through the Makefile.PL (Perl) and then the ExtUtils::MakeMaker tasks - it is in Perl and there is nothing special about the DBD::ODBC module. If you built this Perl yourself, did you check it passed all tests before deploying it?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://884438]
Approved by broomduster
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-24 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found