I followed the instructions found at:
http://www.nntp.perl.org/group/perl.macosx/2007/03/msg10229.html
Which suggested adding -msse2 to the configuration options.
I'm still getting the following errors while trying to install DBD::mysql:
cc -c -I/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/DBI -I/usr/local/mysql/include -Os -arch i386 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-common -DPERL_DARWIN -no-cpp-precomp -arch i686 -arch ppc -msse2 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"4.005\" -DXS_VERSION=\"4.005\" "-I/usr/local/lib/perl5/5.8.8/darwin-2level/CORE"
dbdimp.c
dbdimp.c: In function 'mysql_dr_connect':
dbdimp.c:1533: error: 'ulong' undeclared (first use in this function)
dbdimp.c:1533: error: (Each undeclared identifier is reported only once
dbdimp.c:1533: error: for each function it appears in.)
dbdimp.c:1533: error: parse error before numeric constant
dbdimp.c:1535: error: parse error before numeric constant
dbdimp.c: In function 'mysql_dr_connect':
dbdimp.c:1533: error: 'ulong' undeclared (first use in this function)
dbdimp.c:1533: error: (Each undeclared identifier is reported only once
dbdimp.c:1533: error: for each function it appears in.)
dbdimp.c:1533: error: parse error before numeric constant
dbdimp.c:1535: error: parse error before numeric constant
dbdimp.c:1649: error: parse error before numeric constant
dbdimp.c:1649: error: parse error before numeric constant
dbdimp.c: In function 'mysql_dr_connect':
dbdimp.c:1533: error: 'ulong' undeclared (first use in this function)
dbdimp.c:1533: error: (Each undeclared identifier is reported only once
dbdimp.c:1533: error: for each function it appears in.)
dbdimp.c:1533: error: parse error before numeric constant
dbdimp.c:1535: error: parse error before numeric constant
dbdimp.c:1649: error: parse error before numeric constant
lipo: can't open input file: /var/tmp//cciO6iLr.out (No such file or directory)
make: ***
dbdimp.o Error 1
Any other suggestions?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.