Installing DBD::mysql on a 10.3.9 server

Finally got it to work, though it might be an overkill. Had to go about it, the long way
1) First installed the new perl (5.8.7, eat your heart out tiger), using the perl distribution was a breeze. Then reinstalled all the modules that were previously installed. (Don't forget to install xcode first, I had a broken installation and gave some trouble).
http://developer.apple.com/internet/opensource/perl.html
The nice part is that 5.8.7 took over the old version without much ado.
2) Installed the new PHP (the distribution by entropy, great job on behave of the mac community by Marc Liyanage. http://www.entropy.ch/software/macosx/php/)
Had to do a couple of changes as described by Marc, but not a major problem.
3) Install DBI
4) Couldn't get beyond the errors when installing DBD::mysql (strange that being an apple distribution it had trouble with directories and 386!), so I had to install the new MySQL (from http://dev.mysql.com/downloads/). This was a bit trickier, since it still the old files take precedence. Use this command:
perl Makefile.PL --libs="`/usr/local/mysql/bin/mysql_config --libs`" --cflags="`/usr/local/mysql/bin/mysql_config --cflags`" --testuser=root --testpassword=**** or what ever path you have. Don't forget to d/l the cool admin tool as well.
Guess just have to upgrade apache and would be a totally updated server (at least on the web part).

The makefiles don't always put things in the exact same place that Apple does. I'm afraid I don't have anything that old to test on or give you any more specific advice, but you should generally make sure you're duplicating the stock installation as closely as possible if you want things to work the way they used to.

Similar Messages

  • How to Install DBD::mysql on Mac OSX 10.4.7 SERVER Universal

    I spent 3 days trying to figure out how to install DBD::mysql on OSX 10.4.7 Server Universal on my Mac Pro.
    I didn't think it would be so hard just to get it installed so I could use Movable Type. Yikes!
    Anyway, I wrote up a tutorial on what I did to get it installed. Hopefully it will help you out if you are having problems installing DBD::mysql on Server 10.4.7 Universal with a Mac Pro.
    DISCLAIMER: I cannot say whether or not this will work with any other version of Server or Macintosh. Inside the article below is a link to how to install DBD::mysql on other versions of OSX that may or may not work for you.
    http://macnewsblog.com/2006/09/howto_install_dbdmysql_onmac.html
    MacBook Pro 15" Mac OS X (10.4.6)

    Hopefully this worked for those with Mac Pros!

  • How to install DBD::mysql on Lion?

    After upgrading to Lion, I found that my Perl DBI scripts were no longer able to connect to a MySQL database. They would return an error message like this:
    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at (eval 3) line 3.
    Perhaps the DBD::mysql perl module hasn't been fully installed,
    or perhaps the capitalisation of 'mysql' isn't right.
    Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
    at ./dbitest.pl line 11
    Searching the Mac for 'mysql.pm' anywhere came up empty, so I assumed that Lion had wiped out my DBD::mysql installation. So I tried to re-install it using CPAN. After finding the necessary files, it ended badly:
    Checking if your kit is complete...
    Looks good
    Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    Can't exec "make": No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
      CAPTTOFU/DBD-mysql-4.020.tar.gz
      make -- NOT OK
    'YAML' not installed, will not store persistent state
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    CAPTTOFU/DBD-mysql-4.020.tar.gz              : make NO
    The first problem seems to be "Can't exec 'make'", and when I enter "which make", I get nothing. Wasn't 'make' included with the previous version of OS X? I don't recall installing it myself, and I'm not sure where to begin here.

    Update: I located 'make' in Developer/usr/bin and added that to my path. Now the attempt to install DBD::mysql ends slightly differently:
    Checking if your kit is complete...
    Looks good
    Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    make: *** No rule to make target `/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'.  Stop.
      CAPTTOFU/DBD-mysql-4.020.tar.gz
      make -- NOT OK
    'YAML' not installed, will not store persistent state
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    CAPTTOFU/DBD-mysql-4.020.tar.gz              : make NO
    I don't know what to make of "No rule to make target..."

  • Installing DBI and DBD::mysql in 10.4 Tiger, with MySQL 5.0

    After some discussion here http://discussions.apple.com/thread.jspa?threadID=546982&tstart=0
    I wanted to document what was required to get Bundle::DBI and DBD::mysql installed.
    I started off with the helpful info found on the following two pages, but I had to do more to get it working:
    http://www.truerwords.net/articles/osx/installdbdmysql.html
    http://www.gyford.com/phil/writing/2004/06/07/installingdbia.php
    Note: I am working with mysql-standard-5.0.15-osx10.4-powerpc,
    downloaded and configured according to the MySQL site instructions.
    If you are using an earlier version of MySQL, then you will need to adjust accordingly. The articles I link to above, may work for you verbatim.
    1. Download DBI 1.51 from CPAN:
    http://search.cpan.org/~hoymich/DBI-1.45-5.8.4/
    2. Unpack the file, eg: tar -xzvf DBI-1.51.tar.gz
    3. cd into the directory
    4. Type perl Makefile.PL
    5. Type make && make test
    6. sudo make install (NB: See below !)
    7. IMPORTANT: to get DBD to install, you may need to specify the location of your mysql_config file:
    perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpasswdused --testhost=localhost --mysqlconfig=/usr/local/mysql/bin/mysqlconfig
    If something goes wrong, backup by typing:
    make clean
    Another note: I granted full priveleges for the "test" user on the "test" database, which is accepting local connections only and will be removed after everything is configured.
    # now for DBD
    8. Download DBD::mysql from CPAN http://search.cpan.org/~capttofu/DBD-mysql-3.0006
    9. unpack the archive & cd into it
    10. perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpwdused --testhost=localhost
    11. make && make test
    12. sudo make install
    That's what it took, hopefully this will help others who need it, and not offend those who know more about it

    Hi David!
    I'm trying to help my incredibly frustrated boyfriend, who's trying to upgrade to Tiger on his 12" PB (1.3 MHz single processor).
    He does a lot of web design and development, so he formatted his drive as HFS+, case-sensitive, journaled, and has installed his Adobe apps on a dmg, which works great.
    BUT (and he says this is always a problem) installing DBD::mySQL is proving near-impossible! His install is failing 98% of the tests run during maketest. He thinks the problem may actually be occurring when he runs Makefile. Here's the error message he's getting, even after reading your posts:
    During Makefile.PL:
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 450.
    Do you have any idea of a direction to point him in? He's so frustrated he can't even post to the forum - language not suitable for family viewing at this time.
    Thanks!
    Natalie
    Dual 867MHz G4 MDD   Mac OS X (10.3.6)  

  • Using DBD::Mysql on OS X Lion Server

    Hello together,
    I have MySQL running on Mac OS X Lion Server.
    The server was upgraded from Leopard Server so it is the Apple installed MySQL server version from Mac OS X Server 10.5.
    /usr/libexec/mysqld  Ver 5.0.67-log for apple-darwin9.0 on i686 (Source distribution)
    Now I want to install DBD::Mysql vom cpan but whatever I tried, it didn´t work.
    After googling I first I thought it might be an issue of headers and libraries so I copied /usr/local/lib/mysql and /usr/local/include/mysql from a OS X client machine, where I did install DBD::Mysql months ago.
    But I got some errors like
    dyld: Symbol not found: _mysql_init, referer: ...
    and
    dyld: lazy symbol binding failed: Symbol not found: _mysql_init, referer: ....
    (This is from appache error_log since I am have cgi scripts which use DBD::Mysql)
    Then I read some articles that it might be an issue of 32-bit an 64-bit incompatibilities.
    Could anyone give me some advice on how to get DBD::Mysql up an running or at least how to find out what the problem really is.
    Thanks in advance and best regards
    macmartin

    In the meantime I tried many differnt things.
    Finally I copied theses files from Mac OS X 10.7 client to the 10.7 Server:
    /Library/Perl/5.12/darwin-thread-multi-2level/Bundle/DBD/mysql.pm
    /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql.pm
    /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql/GetInfo.pm
    /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql/INSTALL.pod
    /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bs
    /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
    /usr/local/lib/mysql/
    /usr/local/include/mysql
    /usr/local/mysql/lib
    So if anyone runs into the same problem one possible solution could be to set up DBD::Mysql on 10.7 client and copy the appropriate files to the server.
    Best regards
    macmartin

  • Can't install Perl DBI or DBD::mysql after Mountain Lion upgrade

    I recently upgraded to Mountain Lion and found that my Perl DBI scripts stopped working, with the error message "Can't locate DBD/mysql.pm in @INC".
    The last time this happened, after upgrading to Lion, the solution was to install the new version of Xcode. Then I was able to use the Perl CPAN module to install DBI and DBD::mysql. (MySQL is already installed and running with no problem on the Mountain Lion machine.)
    Now I have installed Xcode 4.5.1, and tried
    mrb% sudo perl -MCPAN -e shell
    [then CPAN configures itself]
    cpan[1]> install DBI
    and it fails with this final message:
    /System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:583:11: fatal error:
          'sys/types.h' file not found
    #       include <sys/types.h>
                    ^
    1 error generated.
    make: *** [Perl.o] Error 1
      TIMB/DBI-1.622.tar.gz
      /Developer/usr/bin/make -- NOT OK
    'YAML' not installed, will not store persistent state
    Running make test
      Can't test without successful make
    Running make install
      Make had returned bad status, install seems impossible
    Failed during this command:
    TIMB/DBI-1.622.tar.gz                        : make NO
    Can anybody help?

    Here is a link to a resolution in Lion. It may also solve your Mountain Lion Perl DBD issue as well.
    If you run the command below before executing your Perl script the library is found and all is well!
    export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$DYLD_LIBRARY_PATH"
    Put this in your .bashrc or .bash_profile.
    On Apple StackExchange, Matthew Weiss had another approach.
    I found on another website the following command
    $ sudo perl -MCPAN -e 'CPAN::Shell->notest(install => CPAN::Shell->r)'
    This updated all my perl modules and all is back to normal. Not sure why or what, but don't care that it is working now.

  • Mountain Lion, Perl and DBD::mysql

    so far it seems to be impossible to add the DBD::mysql extension for Perl under Mountain Lion 10.8.2. Is that right?

    Nope.
    What makes you think it is impossible? Are you getting some sort of error message? Have you installed Xcode? Have you installed the MySQL client libraries?

  • Problems building DBD::mysql

    Has anyone had any luck with this. I have a freshly built perl 5.8.8, freshly built DBI, all work great, built with no errors. (All done with SUNWspro 11)
    I believe the problem is simply that when DBD::mysql is compiling it is trying to build it in either 32 bit or 64 bit but whatever it is doing, it is doing the opposite of what Perl and DBI were built as. Same thing happens when I use CPAN.
    Any hints on how to get this to build as 32bit?
    ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so

    Well no luck. Does this clear anything up?
    Unrecognized argument in LIBS ignored: '-xarch=v9'
    Using DBI 1.50 (for perl 5.006002 on sun4-solaris) installed in /usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/
    Writing Makefile for DBD::mysql
    cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    cp lib/Mysql.pm blib/lib/Mysql.pm
    /opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"3.0003\" -DXS_VERSION=\"3.0003\" -KPIC "-I/usr/local/lib/perl5/5.6.2/sun4-solaris/CORE" dbdimp.c
    /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI//Driver.xst > mysql.xsi
    /usr/bin/perl /usr/local/lib/perl5/5.6.2/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.2/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
    Warning: duplicate function definition 'do' detected in mysql.xs, line 224
    Warning: duplicate function definition 'rows' detected in mysql.xs, line 559
    /opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.6.2/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -xc99=none -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"3.0003\" -DXS_VERSION=\"3.0003\" -KPIC "-I/usr/local/lib/perl5/5.6.2/sun4-solaris/CORE" mysql.c
    Running Mkbootstrap for DBD::mysql ()
    chmod 644 mysql.bs
    rm -f blib/arch/auto/DBD/mysql/mysql.so
    LD_RUN_PATH="/usr/lib" /usr/bin/perl myld /opt/SUNWspro/bin/cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lmtmalloc
    ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so
    *** Error code 1
    make: Fatal error: Command failed for target `blib/arch/auto/DBD/mysql/mysql.so'
    /usr/ccs/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible

  • DBD::mysql object version 4.013 does not match bootstrap parameter 4.005

    The issue is with XServe running 10.6.2.
    Out of the box Perl doesn't come with DBM::MySQL module installed. To be able to install it, I first had to download MySQL libraries (instructions and link to the file are here: http://support.apple.com/kb/HT4006 ).
    After that I was able to install (manually with "make") the latest module DBD-mysql-4.013 which Perl now acknowledges. However, when module is called, following error is thrown:
    "install_driver(mysql) failed: DBD::mysql object version 4.013 does not match bootstrap parameter 4.005 at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 230.
    Compilation failed in require at (eval 3) line 3."
    Suspecting that Perl is looking for a 3-year old version 4.005, I did try removing 4.013 and installing 4.005 instead (as I couldn't find any other clear solution) but 4.005 failed to pass "make test" - not very surprisingly as it is that old - so I chose not to try installing it and put 4.013 back in and still got same error.
    If somebody could kindly provide/direct me to clear instructions to resolve this problem your help will be much appreciated! Thanks in advance.

    Unfortunately, I didn't document right away what I did to get this resolved but this is what I remember. This is a hack, I found a suggestion online that lead me to this. However, a FAIR WARNING - this is dangerous for the system.
    I went into the module file mysql.pm located here:
    cd /Library/Perl/5.10.0/darwin-thread-multi-2level/DBD
    vi mysql.pm
    I commented out the line that specifies version of the file, 4.013, and put 4.005 line instead:
    #$VERSION = '4.013';
    $VERSION = '4.005';
    If server is not rebooted, this doesn't change anything, error will still be thrown. So I rebooted the server from command line.
    This reboot did not go well, server went into some kind of intermediate state, I lost web access. We had to do a hard reboot by cycling power physically on the server itself. After that server came back up, log was full of all kinds of errors. Now all of a sudden the error "object version 4.013 does not match bootstrap parameter 4.005" wasn't thrown anymore. Apparently, version of this module is not read from the module .pm file itself every time module is called, it is instead stored somewhere else and is looked up there, wherever "there" may be. I suspect one of the files used during boot got confused when version number didn't match and it caused chain reaction and a bad reboot.
    Later on I went back into the file and changed version number back to 4.013 as it is supposed to be, and commented the other line out:
    $VERSION = '4.013';
    #$VERSION = '4.005';
    MySQL on Perl functioned fine since then.
    Server has been rebooted weeks later during 10.6.3 upgrade and this time it didn't cause any problems with the module. Still works.

  • Dbd::mysql dead following upgrade

    I've been using a combination of apache, PHP, perl, and MySQL for web development since 10.4, which relies upon the DBD::mysql module available from CPAN. The 10.5 upgrade broke my DBD::mysql installation, and so did this one.
    On 10.5, I had MySQL 5.0.51 running nicely with DBD::mysql-4.010 and Perl 5.8.8. Following the uprage, the MySQL installation continued to work properly, but programs attempting to use DBI for MySQL encountered the following error:
    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /Library/Perl/Updates/5.8.9 /System/Library/Perl/5.8.9/darwin-thread-multi-2level /System/Library/Perl/5.8.9 /Library/Perl/5.8.9/darwin-thread-multi-2level /Library/Perl/5.8.9 /Network/Library/Perl/5.8.9/darwin-thread-multi-2level /Network/Library/Perl/5.8.9 /Network/Library/Perl /System/Library/Perl/Extras/5.8.9/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.9 /Library/Perl/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at (eval 4) line 3.
    Perhaps the DBD::mysql perl module hasn't been fully installed,
    or perhaps the capitalisation of 'mysql' isn't right.
    Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
    The perl installation went from 5.8.8 to 5.8.9 during the upgrade. I have had problems before interfacing 64-bit MySQL with 32-bit DBD::mysql, and before the upgrade I was running only 32-bit versions of MySQL.
    I have tried to reinstall both DBI and DBD::mysql in both 64-bit and 32-bit perl and MySQL. The make of DBD::mysql fails with the following error:
    cflags (mysql_config) = -I/usr/local/mysql/include -g -Os -arch x86_64 -fno-common -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -DDONTDECLARE_CXA_PUREVIRTUAL
    embedded (mysql_config) =
    libs (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient -lz -lm -lmygcc
    mysql_config (guessed ) = mysql_config
    nocatchstderr (default ) = 0
    nofoundrows (default ) = 0
    ssl (guessed ) = 0
    testdb (default ) = test
    testhost (default ) =
    testpassword (default ) =
    testsocket (default ) =
    testuser (guessed ) = root
    To change these settings, see 'perl Makefile.PL --help' and
    'perldoc INSTALL'.
    Multiple copies of Driver.xst found in: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBI/ /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/auto/DBI/ at Makefile.PL line 902
    Using DBI 1.609 (for perl 5.010000 on darwin-thread-multi-2level) installed in /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    [email protected] 17:01:08 ~/.bin/src/DBD-mysql-4.012 521 $ sudo make
    gcc-4.2 -c -I/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBI -I/usr/local/mysql/include -g -Os -arch x86_64 -fno-common -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -DDONTDECLARE_CXA_PUREVIRTUAL -DDBDMYSQL_INSERT_ID_ISGOOD -g -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"4.012\" -DXS_VERSION=\"4.012\" "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE" dbdimp.c
    dbdimp.c: In function ‘alloc_param’:
    dbdimp.c:113: warning: format not a string literal and no format arguments
    There are additional, similar error messages, but there's a length limit on posts apparently.
    Root password was changed to blank to troubleshoot the install. I've tried setting the default perl to 5.8.9 as a system-wide paramter, but the DBI build still go into the 5.10.0 directory. I tried to compile DBI in 32-bit mode by using perl 5.8.9, but this build errors out . I've tried to set the perl 5.10.0 compiler to 32-bit mode, but that hasn't helped either.
    I can't get DBD::mysql to run correctly no matter what I've tried. Can someone please shed some light on the subject?

    Answer (of sorts) posted here:
    http://discussions.apple.com/message.jspa?messageID=10155786#10155786

  • Fail DBD::mysql 4.003 installation

    hi all
    I am trying to install perl module DBD-mysql-4.003 for bugzilla 3.0 installation.
    Os Version information is as below.
    Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
    Linux localhost.localdomain 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i
    686 i686 i386 GNU/Linux
    Upon manually installing the DBD::mysql version, I am getting the following error message.
    [root@localhost DBD-mysql-4.003]# export LANG=C
    [root@localhost DBD-mysql-4.003]# perl Makefile.PL
    I will use the following settings for compiling and testing:
    cflags (mysql_config) = -I/usr/include/mysql -g -pipe -march=i386 -mcpu
    =i686
    embedded (mysql_config) =
    libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lns
    l -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'.
    Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.0/i386-linu
    x-thread-multi/auto/DBI/ /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-mult
    i/auto/DBI/ at Makefile.PL line 738
    Using DBI 1.58 (for perl 5.008 on i386-linux-thread-multi) installed in /usr/lib
    /perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
    Writing Makefile for DBD::mysql
    [root@localhost DBD-mysql-4.003]# make
    gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr
    /include/mysql -g -pipe -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
    -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
    -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/
    gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"4.003\" -DXS_VERSION=\"4.
    003\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
    gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr
    /include/mysql -g -pipe -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
    -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
    -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/
    gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"4.003\" -DXS_VERSION=\"4.
    003\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" mysql.c
    Running Mkbootstrap for DBD::mysql ()
    chmod 644 mysql.bs
    rm -f blib/arch/auto/DBD/mysql/mysql.so
    LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld gcc -shared -L/usr/local/l
    ib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql -lm
    ysqlclient -lz -lcrypt -lnsl -lm
    chmod 755 blib/arch/auto/DBD/mysql/mysql.so
    cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
    chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
    Manifying blib/man3/DBD::mysql.3pm
    Manifying blib/man3/DBD::mysql::INSTALL.3pm
    Manifying blib/man3/Bundle:BD::mysql.3pm
    [root@localhost DBD-mysql-4.003]# make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
    'blib/lib', 'blib/arch')" t/*.t
    t/00base.............ok
    t/10dsnlist..........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/10dsnlist.t line 45
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/10dsnlist..........dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-9
    Failed 9/9 tests, 0.00% okay
    t/20createdrop.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/20createdrop.t line 45
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/20createdrop.......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-6
    Failed 6/6 tests, 0.00% okay
    t/30insertfetch......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/30insertfetch.t line 48
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/30insertfetch......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/35limit............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/35limit.t line 50
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/35limit............dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-113
    Failed 113/113 tests, 0.00% okay
    t/35prepare..........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/35prepare.t line 35
    t/35prepare..........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-40
    Failed 40/40 tests, 0.00% okay
    t/40bindparam........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40bindparam.t line 57
    t/40bindparam........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    t/40bindparam2.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40bindparam2.t line 64
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40bindparam2.......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-13
    Failed 13/13 tests, 0.00% okay
    t/40blobs............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40blobs.t line 64
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40blobs............dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/40catalog..........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40catalog.t line 22
    # Looks like your test died before it could output anything.
    t/40catalog..........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    t/40listfields.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40listfields.t line 57
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40listfields.......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-19
    Failed 19/19 tests, 0.00% okay
    t/40nulls............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40nulls.t line 50
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40nulls............dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/40numrows..........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/40numrows.t line 59
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/40numrows..........dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-25
    Failed 25/25 tests, 0.00% okay
    t/41bindparam........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/41bindparam.t line 37
    t/41bindparam........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/41blobs_prepare....DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/41blobs_prepare.t line 71
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/41blobs_prepare....dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-24
    Failed 24/24 tests, 0.00% okay
    t/42bindparam........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/42bindparam.t line 37
    t/42bindparam........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-11
    Failed 11/11 tests, 0.00% okay
    t/50chopblanks.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/50chopblanks.t line 57
    Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
    Either your server is not up and running or you have no
    permissions for acessing the DSN DBI:mysql:test.
    This test requires a running server and write permissions.
    Please make sure your server is running and you have
    permissions, then retry.
    t/50chopblanks.......dubious
    Test returned status 10 (wstat 2560, 0xa00)
    DIED. FAILED tests 1-35
    Failed 35/35 tests, 0.00% okay
    t/50commit...........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/50commit.t line 64
    Can't call method "tables" on an undefined value at t/lib.pl line 234.
    t/50commit...........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-30
    Failed 30/30 tests, 0.00% okay
    t/60leaks............skipped
    all skipped: $ENV{SLOW_TESTS} is not set
    t/70takeimp..........skipped
    all skipped: test feature not implemented
    t/75supported_sql....DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/75supported_sql.t line 35
    t/75supported_sql....dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-17
    Failed 17/17 tests, 0.00% okay
    t/80procs............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/80procs.t line 32
    t/80procs............dubious
    Test returned status 255 (wstat 65280, 0xff00)
    t/insertid...........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/insertid.t line 14
    t/insertid...........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-16
    Failed 16/16 tests, 0.00% okay
    t/param_values.......DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/param_values.t line 16
    Can't call method "tables" on an undefined value at t/lib.pl line 234.
    t/param_values.......dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-8
    Failed 8/8 tests, 0.00% okay
    t/prepare_noerror....DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/prepare_noerror.t line 22
    Can't call method "prepare" on an undefined value at t/prepare_noerror.t line 25
    t/prepare_noerror....dubious
    Test returned status 255 (wstat 65280, 0xff00)
    t/texecute...........DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/texecute.t line 17
    Can't call method "tables" on an undefined value at t/lib.pl line 234.
    t/texecute...........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-9
    Failed 9/9 tests, 0.00% okay
    t/utf8...............DBI connect('test','',...) failed: Access denied for user '
    root'@'localhost' (using password: NO) at t/utf8.t line 49
    t/utf8...............dubious
    Test returned status 255 (wstat 65280, 0xff00)
    Failed Test Stat Wstat Total Fail Failed List of Failed
    t/10dsnlist.t 10 2560 9 9 100.00% 1-9
    t/20createdrop.t 10 2560 6 6 100.00% 1-6
    t/30insertfetch.t 10 2560 11 11 100.00% 1-11
    t/35limit.t 10 2560 113 113 100.00% 1-113
    t/35prepare.t 255 65280 40 40 100.00% 1-40
    t/40bindparam.t 255 65280 ?? ?? % ??
    t/40bindparam2.t 10 2560 13 13 100.00% 1-13
    t/40blobs.t 10 2560 11 11 100.00% 1-11
    t/40catalog.t 255 65280 ?? ?? % ??
    t/40listfields.t 10 2560 19 19 100.00% 1-19
    t/40nulls.t 10 2560 11 11 100.00% 1-11
    t/40numrows.t 10 2560 25 25 100.00% 1-25
    t/41bindparam.t 255 65280 11 11 100.00% 1-11
    t/41blobs_prepare.t 10 2560 24 24 100.00% 1-24
    t/42bindparam.t 255 65280 11 11 100.00% 1-11
    t/50chopblanks.t 10 2560 35 35 100.00% 1-35
    t/50commit.t 255 65280 30 30 100.00% 1-30
    t/75supported_sql.t 255 65280 17 17 100.00% 1-17
    t/80procs.t 255 65280 ?? ?? % ??
    t/insertid.t 255 65280 16 16 100.00% 1-16
    t/param_values.t 255 65280 8 8 100.00% 1-8
    t/prepare_noerror.t 255 65280 ?? ?? % ??
    t/texecute.t 255 65280 9 9 100.00% 1-9
    t/utf8.t 255 65280 ?? ?? % ??
    2 tests skipped.
    Failed 24/27 test scripts, 11.11% okay. 419/424 subtests failed, 1.18% okay.
    make: *** [test_dynamic] Error 2
    Any help on this regard, is greatly appreciated.
    regards,
    Tejas

    I suggest that you ask for help in a MySQL forum.
    Anyhow, it seems like you are trying to install quite a new package on an old distribution or you might have a permissions problem.
    Try this forum:
    http://www.cpanforum.com/dist/DBD-mysql

  • Cannot install DBD::Oracle perl module with Oracle 11.2.0.3 client

    Hi
    I have been trying to install DBD::Oracle perl module on a Centos 5.7 server which is running Oracle client version 11.2.0.3. I have installed all dependencies prior to attempting installing the same and I am running into the following error -
    /usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1Here are the complete details of my attempt of installation of the perl module -
    [root@tch1testuview1 DBD-Oracle-1.50]# perl Makefile.PL
    Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
    Configuring DBD::Oracle for perl 5.008008 on linux (x86_64-linux-thread-multi)
    Remember to actually *READ* the README file! Especially if you have any problems.
    Installing on a linux, Ver#2.6
    Using Oracle in /app/utiba/oracle/client
    DEFINE _SQLPLUS_RELEASE = "1102000300" (CHAR)
    Oracle version 11.2.0.3 (11.2)
    Found /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Using /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Your LD_LIBRARY_PATH env var is set to '/app/utiba/oracle/client/lib:/lib:/usr/lib'
    Reading /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Reading /app/utiba/oracle/client/rdbms/lib/env_rdbms.mk
    WARNING: Oracle /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk doesn't define a 'build' rule.
    WARNING: I will now try to guess how to build and link DBD::Oracle for you.
             This kind of guess work is very error prone and Oracle-version sensitive.
             It is possible that it won't be supported in future versions of DBD::Oracle.
             *PLEASE* notify dbi-users about exactly _why_ you had to build it this way.
    Found header files in /app/utiba/oracle/client/rdbms/public.
    client_version=11.2
    DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112
    Checking for functioning wait.ph
    System: perl5.008008 linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12 02:14:55 est 2007 x86_64 x86_64 x86_64 gnulinux
    Compiler:   gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
    Linker:     /usr/bin/ld
    Sysliblist: -ldl -lm -lpthread -lnsl -lirc -lipgo
    Oracle makefiles would have used these definitions but we override them:
      CC:       $(GCC)
      CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
            $(SHARED_CFLAG) $(USRFLAGS)
               [$(GFLAG) -O2 $(CDEBUG) $(CCFLAGS) -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -DLDAP_CM $(LPFLAGS) $(PLSQLNCGFLAGS) $(USRFLAGS)]
      LDFLAGS:  -o $@ $(LDOBJSZ) $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/ $(LDPATHFLAG)$(LIBHOME) $(LLIBIRC)
               [-o $@ -m32 -L/app/utiba/oracle/client/rdbms/lib/ -L$(LIBHOME) -L$(LIBHOME)stubs/ -L$(LIBHOME) -lirc -lipgo ]
    Linking with  -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm  [from $(OCISHAREDLIBS)]
    LD_RUN_PATH=/app/utiba/oracle/client/lib
    Using DBD::Oracle 1.50.
    Using DBD::Oracle 1.50.
    Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
    Writing Makefile for DBD::Oracle
    ***  If you have problems...
         read all the log printed above, and the README and README.help.txt files.
         (Of course, you have read README by now anyway, haven't you?)
    [root@tch1testuview1 DBD-Oracle-1.50]# make
    Skip blib/lib/DBD/Oracle/Troubleshooting/Cygwin.pod (unchanged)
    Skip blib/lib/DBD/Oracle.pm (unchanged)
    Skip blib/lib/oraperl.ph (unchanged)
    Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Vms.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Linux.pod (unchanged)
    Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting.pod (unchanged)
    Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Hpux.pm (unchanged)
    Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
    Skip blib/lib/Oraperl.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Sun.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Macos.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Aix.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Object.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Win64.pod (unchanged)
    Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Win32.pod (unchanged)
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 Oracle.c
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 dbdimp.c
    dbdimp.c: In function ‘fb_ary_cb_alloc’:
    dbdimp.c:324: warning: comparison is always false due to limited range of data type
    dbdimp.c:325: warning: comparison is always false due to limited range of data type
    dbdimp.c:326: warning: comparison is always false due to limited range of data type
    dbdimp.c:327: warning: comparison is always false due to limited range of data type
    dbdimp.c:328: warning: comparison is always false due to limited range of data type
    dbdimp.c: In function ‘fb_ary_alloc’:
    dbdimp.c:344: warning: comparison is always false due to limited range of data type
    dbdimp.c:345: warning: comparison is always false due to limited range of data type
    dbdimp.c:346: warning: comparison is always false due to limited range of data type
    dbdimp.c:347: warning: comparison is always false due to limited range of data type
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 oci8.c
    oci8.c: In function ‘ora_blob_read_mb_piece’:
    oci8.c:1804: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘describe_obj_by_tdo’:
    oci8.c:3256: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘ora_describe’:
    oci8.c:3480: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘ora_st_fetch’:
    oci8.c:3953: warning: unused variable ‘imp_xxh’
    Running Mkbootstrap for DBD::Oracle ()
    chmod 644 Oracle.bs
    rm -f blib/arch/auto/DBD/Oracle/Oracle.so
    LD_RUN_PATH="/app/utiba/oracle/client/lib" gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Oracle.o dbdimp.o oci8.o  -o blib/arch/auto/DBD/Oracle/Oracle.so  \
               -L/app/utiba/oracle/client/lib/ -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm      \
    /usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1I am sure that installing a previous(older) version of oracle client will fix this issue i.e. either 11.2.0.1 or older (that is tested) but I want to know if it is possible to resolve the above issue with a work around and not having to install a previous version.
    Fyi.. I've tried to install DBD::Oracle version 1.24 and 1.50 but that doesn't seem to make any difference. I couldn't find any related thread either for this error so I desperately need a solution to the same(if any).
    If anyone can help here, would really appreciate it or else, I will have no choice but to install previous version of oracle client.
    Thanks
    Edited by: 956308 on Aug 31, 2012 6:55 AM
    Edited by: 956308 on Aug 31, 2012 6:57 AM

    Contents of the response file:
    oracle.install.responseFileVersion=http://www.oracle.com/2007/install/rspfmt_clientinstall_response_schema_v11_2_0
    ORACLE_HOSTNAME=slc00caz
    UNIX_GROUP_NAME=oracle
    INVENTORY_LOCATION=/home/psadm1/oraInventory
    SELECTED_LANGUAGES=en
    ORACLE_HOME=/opt/oracle/psft/pt/oracle-client/11.2.0.x
    ORACLE_BASE=/opt/oracle/psft/pt/oracle-client
    oracle.install.client.installType=Custom
    oracle.install.client.upgrading=false
    oracle.install.client.customComponents=oracle.rdbms.util:11.2.0.3.0,oracle.javavm.client:11.2.0.3.0,oracle.sqlplus:11.2.0.3.0,oracle.dbjava.jdbc:11.2.0.3.0,oracle.rdbms.oci:11.2.0.3.0,oracle.xdk:11.2.0.3.0,oracle.network.aso:11.2.0.3.0,oracle.assistants.oemlt:11.2.0.3.0,oracle.network.client:11.2.0.3.0,oracle.odbc:11.2.0.3.0,oracle.dbdev:11.2.0.3.0
    oracle.install.client.schedulerAgentHostName=
    oracle.install.client.schedulerAgentPortNumber=
    oracle.installer.autoupdates.option=SKIP_UPDATES
    oracle.installer.autoupdates.downloadUpdatesLoc=
    AUTOUPDATES_MYORACLESUPPORT_USERNAME=
    AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
    PROXY_HOST=
    PROXY_PORT=0
    PROXY_USER=
    PROXY_PWD=
    PROXY_REALM=

  • How do i install mysql on my mac mini lion server?

    How do i install mysql on my mac mini lion server?

    I have this error log
    May 27 07:06:35 server servermgrd[13454]: -[AccountsRequestHandler(AccountsSystemConfigurationObservation) registerForKeychainEventNotifications]: SecKeychainAddCallback() status: -25297
    May 27 07:06:35 server servermgrd[13454]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv4 rules
    May 27 07:06:35 server servermgrd[13454]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv6 rules
    May 27 07:10:35 server servermgrd[13454]: No requests in 300 seconds, shutting down
    May 27 07:20:29 server ScreensharingAgent[13999]: [CL_INVALID_DEVICE] : OpenCL Error : Failed to create context! Invalid device
    May 27 07:26:03 server login[14203]: USER_PROCESS: 14203 ttys000
    May 27 07:26:42 server SafariDAVClient[14233]: ServerNotifications: Setting delegate to APSD
    May 27 07:26:43 server SafariDAVClient[14233]: Subscription request completed
    May 27 07:27:58 server SafariDAVClient[14284]: ServerNotifications: Setting delegate to APSD
    May 27 07:27:59 server SafariDAVClient[14284]: Subscription request completed
    May 27 07:29:03 server login[14203]: DEAD_PROCESS: 14203 ttys000
    May 27 07:29:09 server login[14331]: USER_PROCESS: 14331 ttys000
    May 27 07:47:30 server com.mysql.mysqld[15000]: 120527 07:47:30 mysqld_safe Logging to '/usr/local/mysql/data/server.martinhedegaard.dk.err'.
    May 27 07:47:30 server com.apple.launchd[1] (0x7f82db634810.anonymous.nohup[15222]): Bug: launchd_core_logic.c:9394 (25693):0
    May 27 07:47:30 server com.apple.launchd[1] (0x7f82db634810.anonymous.nohup[15222]): Switching sessions is not allowed in the system Mach bootstrap.
    May 27 07:47:30 server com.apple.launchd[1] (0x7f82db634810.anonymous.nohup[15222]): _vprocmgr_switch_to_session(): kr = 0x44c
    May 27 07:47:30 server com.apple.launchd[1] (0x7f82dc9015d0.anonymous.nohup[15223]): Bug: launchd_core_logic.c:9394 (25693):0
    May 27 07:47:30 server com.apple.launchd[1] (0x7f82dc9015d0.anonymous.nohup[15223]): Switching sessions is not allowed in the system Mach bootstrap.
    May 27 07:47:30 server com.apple.launchd[1] (0x7f82dc9015d0.anonymous.nohup[15223]): _vprocmgr_switch_to_session(): kr = 0x44c
    May 27 07:47:30 server com.mysql.mysqld[15000]: 120527 07:47:30 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
    May 27 07:48:31 server Safari[541]: IPCClient: Server port 0 is invalid; looking it up again...
    May 27 09:06:34 server servermgrd[18040]: -[AccountsRequestHandler(AccountsSystemConfigurationObservation) registerForKeychainEventNotifications]: SecKeychainAddCallback() status: -25297
    May 27 09:06:35 server servermgrd[18040]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv4 rules
    May 27 09:06:35 server servermgrd[18040]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv6 rules
    May 27 09:09:01 server ScreensharingAgent[18184]: [CL_INVALID_DEVICE] : OpenCL Error : Failed to create context! Invalid device
    May 27 09:09:08 server SafariDAVClient[18193]: ServerNotifications: Setting delegate to APSD
    May 27 09:09:09 server SafariDAVClient[18193]: Subscription request completed
    May 27 09:10:34 server servermgrd[18040]: No requests in 300 seconds, shutting down
    May 27 09:29:44 server System Preferences[581]: about to perform command
    May 27 09:29:48 server com.mysql.mysqld[15000]: 120527 09:29:48 mysqld_safe mysqld from pid file /usr/local/mysql/data/server.martinhedegaard.dk.pid ended
    May 27 09:29:48 server com.mysql.mysqld[19056]: 120527 09:29:48 mysqld_safe Logging to '/usr/local/mysql/data/server.martinhedegaard.dk.err'.
    May 27 09:29:48 server com.apple.launchd[1] (0x7f82db62da20.anonymous.nohup[19280]): Bug: launchd_core_logic.c:9394 (25693):9
    May 27 09:29:48 server com.apple.launchd[1] (0x7f82db62da20.anonymous.nohup[19280]): Switching sessions is not allowed in the system Mach bootstrap.
    May 27 09:29:48 server com.apple.launchd[1] (0x7f82db62da20.anonymous.nohup[19280]): _vprocmgr_switch_to_session(): kr = 0x44c
    May 27 09:29:48 server com.apple.launchd[1] (0x7f82dc800da0.anonymous.nohup[19281]): Bug: launchd_core_logic.c:9394 (25693):0
    May 27 09:29:48 server com.apple.launchd[1] (0x7f82dc800da0.anonymous.nohup[19281]): Switching sessions is not allowed in the system Mach bootstrap.
    May 27 09:29:48 server com.apple.launchd[1] (0x7f82dc800da0.anonymous.nohup[19281]): _vprocmgr_switch_to_session(): kr = 0x44c
    May 27 09:29:48 server com.mysql.mysqld[19056]: 120527 09:29:48 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
    May 27 09:29:49 server System Preferences[581]: status= 0
    May 27 09:29:49 server System Preferences[581]: stat /usr/local/mysql/data
    May 27 09:33:54 server login[14331]: DEAD_PROCESS: 14331 ttys000
    May 27 09:34:12 server com.apple.launchd.peruser.501[456] (com.apple.talagent[494]): Exited: Killed: 9
    May 27 09:34:12 server com.apple.launchd.peruser.501[456] ([0x0-0x3a03a].com.apple.AppleSpell[15293]): Exited: Killed: 9
    May 27 09:34:12 server com.apple.launchd.peruser.501[456] (com.apple.mdworker.pool.0[18053]): Exited: Terminated: 15
    May 27 09:34:12 server loginwindow[98]: DEAD_PROCESS: 98 console
    May 27 09:34:12 server com.apple.dock.extra[19467]: Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:34:12 server com.apple.dock.extra[19467]: 2012-05-27 09:34:12.356 com.apple.dock.extra[19467:1707] Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:34:12 server com.apple.dock.extra[19467]: Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:34:12 server com.apple.dock.extra[19467]: 2012-05-27 09:34:12.357 com.apple.dock.extra[19467:1707] Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:34:12 server com.apple.dock.extra[19467]: Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:34:12 server com.apple.dock.extra[19467]: 2012-05-27 09:34:12.357 com.apple.dock.extra[19467:1707] Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:34:12 server com.apple.dock.extra[19467]: Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:34:12 server com.apple.dock.extra[19467]: 2012-05-27 09:34:12.358 com.apple.dock.extra[19467:1707] Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:34:12 server shutdown[19471]: reboot by martinhedegaard:
    May 27 09:34:12 server shutdown[19471]: SHUTDOWN_TIME: 1338104052 753955
    rc.server[ 8 ]: Tuning server for 4 GB (rounded down).
    May 27 09:34:22 localhost bootlog[0]: BOOT_TIME 1338104062 0
    May 27 09:34:33 localhost UserEventAgent[30]: starting CaptiveNetworkSupport as SystemEventAgent built May 25 2011 12:27:35
    May 27 09:34:33 localhost UserEventAgent[30]: CertsKeychainMonitor: configuring
    May 27 09:34:33 localhost UserEventAgent[30]: WirelessAirPortDeviceNameCopy(): no BSD interface name found for object 12551
    May 27 09:34:33 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptiveSCCopyWiFiDevices:388 WiFi Device Name == NULL
    May 27 09:34:23 localhost com.apple.launchd[1]: *** launchd[1] has started up. ***
    May 27 09:34:32 localhost com.apple.launchd[1] (com.apple.powerd): Unknown value for key POSIXSpawnType: Interactive
    May 27 09:34:32 localhost com.apple.launchd[1] (com.apple.sandboxd): Unknown value for key POSIXSpawnType: Interactive
    May 27 09:34:32 localhost com.apple.launchd[1] (com.apple.xgridd.pcastserver): Bug: launchd_core_logic.c:5193 (25693):2
    May 27 09:34:32 localhost com.apple.launchd[1] (com.apple.xgridd.pcastserver): Path monitoring failed on "/var/pcast/server/xgridd/keepalive": No such file or directory
    May 27 09:34:36 localhost airportd[47]: _processDLILEvent: en1 attached (down)
    May 27 09:34:36 localhost mDNSResponder[31]: mDNSResponder mDNSResponder-320.16 (Mar 17 2012 21:31:16) starting OSXVers 11
    May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CreateInterfaceWatchList:2788 WiFi Devices Found.
    May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
    May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
    May 27 09:34:36: --- last message repeated 1 time ---
    May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
    May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
    May 27 09:34:36: --- last message repeated 1 time ---
    May 27 09:34:36 localhost UserEventAgent[30]: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
    May 27 09:34:37 server configd[35]: setting hostname to "server.martinhedegaard.dk"
    May 27 09:34:37 server configd[35]: network configuration changed.
    May 27 09:34:40 server systemkeychain[52]: done file: /var/run/systemkeychaincheck.done
    May 27 09:34:40 server configd[35]: network configuration changed.
    May 27 09:34:40: --- last message repeated 1 time ---
    May 27 09:34:40 server mDNSResponder[31]: D2D_IPC: Loaded
    May 27 09:34:40 server mDNSResponder[31]: D2DInitialize succeeded
    May 27 09:34:40 server com.apple.ucupdate.plist[83]: ucupdate: Checked 1 update, no match found.
    May 27 09:34:40 server com.apple.pfctl[92]: No ALTQ support in kernel
    May 27 09:34:40 server com.apple.pfctl[92]: ALTQ related functions disabled
    HeadlessStartup: Already setup or this is an upgrade so we will not set the password.
    May 27 09:34:40 server emond[108]: SetUpLogs: uid = 0 gid = 0
    May 27 09:34:40 server named[78]: starting BIND 9.7.3-P3 -f
    May 27 09:34:40 server named[78]: built with '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--prefix=/usr' '--sysconfdir=/private/etc' '--localstatedir=/private/var' '--enable-atomic=no' '--with-openssl=yes' '--with-gssapi=yes' '--enable-symtable=none' 'CFLAGS=-arch x86_64 -arch i386 -g -Os -pipe -gdwarf-2 -D__APPLE_USE_RFC_2292' 'LDFLAGS=-arch x86_64 -arch i386 ' 'CXXFLAGS=-arch x86_64 -arch i386 -g -Os -pipe '
    May 27 09:34:40 server emond[108]: SetUpLogs: opening /Library/Logs/EventMonitor/EventMonitor.error.log
    May 27 09:34:40 server com.apple.SystemStarter[84]: Starting MySQL database server
    May 27 09:34:40 server loginwindow[97]: Login Window Application Started
    May 27 09:34:40 server com.apple.usbmuxd[82]: usbmuxd-268.5 on Jan  5 2012 at 03:34:01, running 64 bit
    May 27 09:34:40 server UserEventAgent[30]: WebUserEventAgent: installed
    May 27 09:34:42 server UserEventAgent[30]: Registered Workstation service - Wellness Guiden Server [3c:07:54:72:75:94]._workstation._tcp.
    May 27 09:34:43 server PasswordService[93]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 27 09:34:43 server PasswordService[93]: -[PasswordServerPrefsObject loadXMLData]: Unable to locate passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 27 09:34:43 server PasswordService[93]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 27 09:34:43 server PasswordService[93]: -[PasswordServerPrefsObject saveXMLData]: ldap_modify_ext_s of the passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 27 09:34:43 server named[78]: command channel listening on 127.0.0.1#54
    May 27 09:34:43 server mds[95]: (Normal) FMW: FMW 0 0
    May 27 09:34:44 server com.mysql.mysqld[117]: 120527 09:34:44 mysqld_safe Logging to '/usr/local/mysql/data/server.martinhedegaard.dk.err'.
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82db403900.anonymous.nohup[359]): Bug: launchd_core_logic.c:9394 (25693):2
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82db403900.anonymous.nohup[359]): Switching sessions is not allowed in the system Mach bootstrap.
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82db403900.anonymous.nohup[359]): _vprocmgr_switch_to_session(): kr = 0x44c
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82db62bfd0.anonymous.nohup[360]): Bug: launchd_core_logic.c:9394 (25693):0
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82db62bfd0.anonymous.nohup[360]): Switching sessions is not allowed in the system Mach bootstrap.
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82db62bfd0.anonymous.nohup[360]): _vprocmgr_switch_to_session(): kr = 0x44c
    May 27 09:34:44 server com.mysql.mysqld[117]: 120527 09:34:44 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[620]): Bug: launchd_core_logic.c:9394 (25693):0
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[620]): Switching sessions is not allowed in the system Mach bootstrap.
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[620]): _vprocmgr_switch_to_session(): kr = 0x44c
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[621]): Bug: launchd_core_logic.c:9394 (25693):0
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[621]): Switching sessions is not allowed in the system Mach bootstrap.
    May 27 09:34:44 server com.apple.launchd[1] (0x7f82dd0023b0.anonymous.nohup[621]): _vprocmgr_switch_to_session(): kr = 0x44c
    May 27 09:34:45 server freshclam[79]: Can't query current.cvd.clamav.net
    May 27 09:34:45 server freshclam[79]: Invalid DNS reply. Falling back to HTTP mode.
    May 27 09:34:46 server freshclam[79]: Can't get information about database.clamav.net: nodename nor servname provided, or not known
    May 27 09:34:46 server freshclam[79]: Can't read main.cvd header from database.clamav.net (IP: )
    May 27 09:34:47 server rpcsvchost[660]: sandbox_init: com.apple.msrpc.netlogon.sb succeeded
    May 27 09:34:47 server configd[35]: network configuration changed.
    May 27 09:34:48 server servermgrd[88]: servermgr_accounts: noteDirectorySearchPolicyChanged (reopening nodes)
    May 27 09:34:49 server ntpd[77]: proto: precision = 1.000 usec
    May 27 09:34:50 server loginwindow[97]: **DMPROXY** Found `/System/Library/CoreServices/DMProxy'.
    May 27 09:34:50 server com.apple.launchctl.LoginWindow[673]: com.apple.findmymacmessenger: Already loaded
    May 27 09:34:50 server loginwindow[97]: Login Window Started Security Agent
    May 27 09:34:50 server SecurityAgent[682]: Echo enabled
    May 27 09:34:51 server WindowServer[143]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    May 27 09:34:51 server freshclam[79]: Current functionality level = 61, recommended = 63
    May 27 09:34:53 server ScreensharingAgent[695]: [CL_INVALID_DEVICE] : OpenCL Error : Failed to create context! Invalid device
    May 27 09:34:54 server screensharingd[694]: 3891612: (connectAndCheck) Untrusted apps are not allowed to connect to or launch Window Server before login.
    May 27 09:34:54 server screensharingd[694]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    May 27 09:35:10 server sandboxd[713] ([712]): xscertd(712) deny job-creation
    May 27 09:35:10 server UserEventAgent[30]: CertsKeychainMonitor: ready to process keychain & timer events
    May 27 09:35:48 server servermgrd[88]: getting service list
    May 27 09:35:49 server servermgrd[88]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv4 rules
    May 27 09:35:49 server servermgrd[88]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv6 rules
    May 27 09:36:08 server SecurityAgent[682]: User info context values set for martinhedegaard
    May 27 09:36:08 server SecurityAgent[682]: Login Window login proceeding
    May 27 09:36:08 server loginwindow[97]: Login Window - Returned from Security Agent
    May 27 09:36:08 server loginwindow[97]: USER_PROCESS: 97 console
    May 27 09:36:08 server com.apple.launchd.peruser.501[703] (com.apple.ReportCrash): Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    May 27 09:36:08 server com.apple.launchctl.Aqua[757]: load: option requires an argument -- D
    May 27 09:36:08 server com.apple.launchctl.Aqua[757]: usage: launchctl load [-wF] [-D <user|local|network|system|all>] paths...
    May 27 09:36:09 server com.apple.launchd.peruser.501[703] (com.apple.launchctl.Aqua[757]): Exited with code: 1
    May 27 09:36:09 server ScreensharingAgent[773]: [CL_INVALID_DEVICE] : OpenCL Error : Failed to create context! Invalid device
    May 27 09:36:09 server UserEventAgent[30]: CaptiveNetworkSupport:CNSServerRegisterUserAgent:187 new user agent port: 17183
    May 27 09:36:10 server com.apple.dock.extra[802]: Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:36:10 server com.apple.dock.extra[802]: 2012-05-27 09:36:10.163 com.apple.dock.extra[802:1707] Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:36:10 server com.apple.dock.extra[802]: Could not connect the action buttonPressed: to target of class NSApplication
    May 27 09:36:10 server com.apple.dock.extra[802]: 2012-05-27 09:36:10.164 com.apple.dock.extra[802:1

  • Cannot install DBD::Oracle

    Hi all,
    I am trying to install DBD::Oracle on Windows machine using Cygwin. I downloaded DBD-Oracle from CPAN and unizipped. Then I tried to run "perl Makefile.PL" in DBD-Oracle directory but am getting the following error -
    Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin ........
    Can anyone please help regarding this issue since I need to access Oracle from Perl scripts.
    Thanks and Regards,
    Deepak

    Thanks for the prompt reply. Am connecting to 9i.
    Here is the update, though not checked whether its working or not -
    DOS> ppm install DBD::Oracle
    --This didn't throw up any error. Also, when I do "ppm" on my DOS prompt it shows DBD::Oracle as installed !! Will try executing a query when I get to my Desktop.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit

    How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit
    I ran Coldfusion 8 on SBS 2003 Premium for 6 months with no problems.  When we finally decided to cut over to SBS 2008, that’s when everything went to hell.  I tried for weeks to get Coldfusion 8 to install properly on the new SBS 2008 64-bit box.  During the course which, I found bits and pieces of information for Vista 64-bit and Windows Server 2008 64-bit installations.  There are some distinct differences, however, with SBS 2008 since it runs core Web applications like OWA, RWW and Companyweb.  After countless unsuccessful attempts, one of which completed corrupted the box, I found the solution.
    I have attempted in this white paper to detail the steps to assist others who may be in a similar situation.  I don’t make any warranty for the information, but so long as you follow the steps carefully you should be fine.  BTW, for those of you who say Adobe offers free technical support for licensed users, that’s not entirely true.  Like I said, I purchased CF8 and originally installed it on an SBS 2003 Premium box.  After we cut over to SBS 2008 and encountered problems, Adobe wouldn’t provide any technical support without charging.  Moreover, based on my initial conversations with Adobe’s technical team, no one seemed to know much about running 64-bit on SBS.
    From my understanding, only two versions of Coldfusion 8 can be installed in 64-bit: Enterprise and Developer.  The “normal” install (which I paid a grand for) can only be deployed in 32-bit mode – gee, THANKS Adobe!  By the way, in Developer mode only two distinct IPs can access the site in addition to the localhost.  Any additional IPs will result in a CFML error message stating that the maximum number of IPs have been exceeded.  At any rate, take your time and follow the steps to achieve a successful installation. 
    PRE-INSTALLATION TASKS
    Back Up SBS
    It’s always a good practice to backup your server before deploying any kind of major system changes.  Although this step is optional, I recommend it in case you need to restore your server for any reason.  Bear in mind, if your system ever gets totally corrupted, you cannot restore back from the twice daily incremental backup images alone.  You will need a full backup with system recovery information to restore.  Here are the basic steps:
    Click: Start > Programs > Administrative Tools.  Right-click “Windows Server Backup” and choose “Run as administrator”.
    Click “Backup Once” under Actions in the right-hand pane.
    Choose the “Different Options” radio button under Backup Options.
    Choose the “Custom” radio button.  What we’re primarily interested in here is backing up the OS – not your data partitions or attached drives.
    Select the “SYSTEM (C)” checkbox, uncheck any others.  Also, ensure that the “Enable system recovery” checkbox is selected before continuing on.
    Under ‘Specify Destination Type’, I usually select the “Local drives” radio button and point it to a Terrabyte USB drive I use for backups.  You can point this to a tape drive, or select the “Remote shared folder” radio button if you map to a UNC path to store your backup images.  Just remember, make sure that whatever path you select can readily be accessed in the event of an emergency.  Also, make sure the “Verify after writing (recommended)” checkbox is selected.
    Under ‘Specified Advanced Option’, I usually select the “VSS full backup” radio button instead of the default since I don’t use a 3rd party backup product.  If like me you rely solely on SBS for your backups, choose the full backup option.
    Confirm everything and click “Backup”.  This process may take several hours depending on the size of your system.
    Verify ISAPI Filters:
    In IIS Manager, double-click the server instance in the left-hand pane.
    In the center pane under IIS, double click the “Modules” icon to verify that the ISAPI native modules are already installed for IIS.  If it’s set up correctly you should see two entries:
    IsapiFilterModule              %windir%\System32\inetsrv\filter.dll
    IsapiModule                        %windir%\System32\inetsrv\isapi.dll
    If either of these modules are missing, you will need to re-install these (google for a solution).
    Set Up Development Environment
    Create a directory for your CFML files outside of the default Windows location (e.g., default is usually C:\inetpub\wwwroot\).  For the purpose of our install, I created a directory on a separate disk called: D:\DEV.
    Copy and paste your CFML files and directories into the new DEV root Web directory.  This will eventually be the directory where the Coldfusion installer places the CFIDE and CFDOCS folders. 
    Open IIS Manager and double-click the server instance in the left hand pane.  Expand the “Sites” folder.  Right-click the Sites folder and select “Add Web Site”.
    Enter a name in the “Site Name” box (e.g., “test-site”).  You will notice that the system will automatically create a corresponding Application Pool with the same name.  NOTE: this is important to prevent conflicts between the DefaultAppPool (needed for SBS Web apps like OWA, RWW, etc.) and the application pool needed for Coldfusion to function properly in SBS 2008.
    Point the “Physical Path” to the directory you created in step #1 above (e.g., “D:\DEV”).
    Don’t worry about testing the connection.  If you click “Test Settings” you may receive a warning that IIS cannot verify access to path (D:\DEV).  Don’t worry about this for the time being.
    Under “Host name”, enter a DNS path to your site (e.g., “dev.test-site.com”).  Click “OK”.
    Configure Application Pools for Installation
    In IIS Manager, double-click the server instance in the left-hand pane.  Click on “Application Pools” to display the list of server application pools in the center pane.
    In the “Actions” pane on the right-hand side, click “Set Application Pool Defaults”.
    Change “Enable 32-Bit Applications” - the second item from the top – from “False” to “True”, and then click “OK”.  NOTE: if you skip this step, Coldfusion will not properly create the required mappings during the install. We will change this setting back after the installation completes – more on this later.
    Modify the application.host.config File for 64-Bitness
    Click: Start > Programs > Accessories.  Right-click “Notepad” and choose “Run as administrator”.
    Open the config file from within Notepad – default location: C:\Windows\System32\inetsrv\config\applicationHost.config
    Do a search and change this one line from:
    <add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" />
    To this:
    <add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" preCondition="bitness64" />
    Restart the IIS Admin service.
    Set HTTP Compression
    According to some threads I read, the http compression module can cause errors if you don’t disable it globally. To remedy this, perform the following:
    Click: Start > Programs > Accessories.  Right-click “Command Prompt” and choose “Run as administrator”.
    At the command prompt, change directory to intetsrv by typing: cd inetsrv
    Run the following command:
    C:\Windows\system32\inetsrv>appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
    This will turn off HTTP compression for all sites in IIS.
    In IIS Manager, double-click the server instance in the left-hand pane.  Double-click the “Compression” icon in the IIS section of the center pane.
    Uncheck all of the boxes, then click the “Apply” button under Actions in the right-hand pane.
    Recheck all of the boxes, then click the “Apply” button under Actions in the right-hand pane.
    Restart the IIS Admin service.  This should enable compression and coldfusion to work at the same time.
    NOTE: if for some reason you need to reverse this, run the following command from the command prompt:
    C:\Windows\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name='xpress',doStaticCompression='false',dll='%windir%\system32\inetsrv\suscomp.dll']
    INSTALLATION TASKS
    Download the 64-bit installation package from Adobe – filename: coldfusion-801-wind64.exe.
    Right-click the file and select “Run as administrator”.
    Accept the terms of the License Agreement.
    If you have an Enterprise license, enter it.  For our purposes, just click the “Developer Edition” checkbox.
    Select “Server configuration” – the default radio button.
    I deselected all subcomponents and can’t guarantee that you’ll arrive at the same results if you select additional items like “.NET Integrated Services”.  It should be fine, particularly if you install documentation.  My preference was to keep the install as plain vanilla as possible.
    Select the directory path for Coldfusion to install into – default is :C\Coldfusion
    THE NEXT TWO STEPS ARE CRITICAL TO YOUR SUCCESS.  Unselect “All IIS Websites” and select the “Configure specific IIS Website or another web server” radio button.  Click “Add”, and then select your test Web site (e.g., “test-site”) under “IIS Web Site”.  Hit “OK”.
    Do NOT use the default directory path for the CF Administrator location (e.g., default path: “C:\inetpub\wwwroot”).  Instead, point the installer to your new DEV root Web directory (e.g., “D:\DEV”).  The bottom line, you want the installer to place the CFIDE directory and files within this folder, alongside your other CFML files and folders.
    Enter an Administrator password.
    Choose to Enable RDS, or not.  I enable this by preference but it is not required.  This allows you to make updates to files using a CFML editor directly vs. having to move/FTP the files over if you’re working remotely.  Opponents to this argue that it’s potentially less secure, but for a lower environment I don’t see this as a major concern.
    Confirm everything to kick off the install.
    If all goes well you should see a message at the end stating that the install was successful.  I recommend you uncheck the box that asks you to open the CF Administrator in the default Web browser after the install.  NOTE: we will open it a different way during the post-installation tasks.  The worst thing that will happen if you forget to uncheck the box is that you might receive an error that the command prompt hung – not a big deal – just close it and move on to the next (final) steps.
    POST-INSTALLATION TASKS
    Verify CF Installation:
    The installation will create a new folder in your program group: Start > Programs > Adobe > Coldfusion 8.  The default “Administrator” link will not work because it points to the wrong path: http://127.0.0.1/CFIDE/administrator/index.cfm. The “127.0.0.1” or “localhost” path as you may recall in IIS, points by default to the “C:\inetpub\wwwroot” directory.  Our CFIDE files, however, are located within: D:\DEV.
    To bring up the CF Administrator logon page, open up a Web browser and replace the “http://127.0.0.1” part of the path with the DNS path name to your CF environment (e.g., http://dev.test-site.com/CFIDE/administrator/index.cfm).
    This should bring up the Coldfusion Administrator Login screen.  Enter in the Administrator password you created during the install to log in and configure your application server.
    Verify that your test-site renders correctly by typing in your test URL into a Web browser (e.g., http://dev.test-site.com).
    Fix Application Pool Defaults to Re-enable SBS Web Applications:
    At this point, Coldfusion Administrator and your test CMFL Web site should be working properly.  The problem is, default SBS Web applications like OWA, RWW and Companyweb will throw errors and fail to start.  Fortunately, this is easily remedied by performing the following steps:
    In IIS Manager, double-click the server instance in the left-hand pane.  Click on “Application Pools” to display the list of server application pools in the center pane.
    In the “Actions” pane on the right-hand side, click “Set Application Pool Defaults”.
    Change “Enable 32-Bit Applications” - the second item from the top – from “True” to “False” this time.  This should re-enable the SBS applications, which would otherwise result in 500 errors (e.g., OWA, RWW, Companyweb, etc.).  There is no need to restart IIS.
    Open a Web browser and test that you can once again connect to OWA, RWW and Companyweb successfully.
    In IIS click to highlight the application pool for your new site (e.g., “test-site”).  In the right-hand pane, click “Advanced Settings”.  Ensure that “Enable 32-Bit Applications” – second item from the top – is set to “True” for this application pool specifically.
    Lastly, jump up and down for joy!  Hopefully now, everything is working.  Best of luck!! ..Paul D (MCP).

    First, it would be a good idea for you to specify what distro of Linux you're using, as not all are supported by Adobe.
    Second, this is probably your problem right here:
    http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing
    In a nutshell, CF expects the 32-bit version of libc.so.6 to be in /lib, but it's probably not. You might be able to modify the installer to point to the correct location for that file, or you might be able to create a symlink to the file - but as the above link describes, creating a symlink might have negative consequences.
    As for installing CF 8 64-bit, that's only available with Enterprise, not Standard. If you want CF Standard 64-bit, you need to upgrade to CF 9.
    Dave Watts, CTO, Fig Leaf Software

Maybe you are looking for

  • Can I use airport express to extend my network AND stream iTunes???

    I have an airport extreme connected to the cable modem and sending a signal out to my home network. I also have a powerbook and an airport express connected to the home stereo. My question is, can i use the express to extend my extreme signal (to rea

  • Focus on JSP Applet

    Hi, I have an application where an applet loads when the appropriate part is clicked from a tree. The problem here is the focus does not directly get on the applet and instead i first have to click on it to activate it. Can any one please tell me how

  • Can we Report BW Cube using Cognos Fornt End tools

    Hello, Experts. We need some inputs on how to Report BW cubes using COGNOS front end tools.   is this possible? do we need to develop new cubes out in cognos again for making reports? and in BW cube some attributes of material are not navigational if

  • Windows 126 error when downloading latest update!

    Please help cannot install latest version of itunes 'MSVCR80.dll is missing'!

  • How to create database connection and how to call it using Java

    Hi, Good day! I'd like to know how I can create a db connection in JDev, then use this connection to retrieve data using a Java Class? I've seen using New Gallery > Database Connection. But I'm not sure how I can access this connection using Java and