I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-06-30 20:26:41-07 by minime
make: Fatal error: Command failed for target dbdimp.o
Below is the results of the "perl Makefile.PL" and "make" commands. I tried the "perl Makefile.PL" with and without the testuser/testhost to no avail.

# perl Makefile.PL --mysql_config=/opt/xampp/bin/mysql_config --testuser =root --testhost=172.21.0.217
I will use the following settings for compiling and testing:

cflags (mysql_config ) = -I/opt/xampp/include/mysql -R/opt/xampp/lib -I/opt/xampp/include -L/opt/xampp/lib
embedded (mysql_config ) =
libs (mysql_config ) = -R/opt/xampp/lib -L/opt/xampp/lib/mysql -lmysqlclient -lz -
lposix4 -lgen -lsocket -lnsl -lm -L/opt/xampp/lib -lssl -lcrypto
mysql_config (Users choice ) = /opt/xampp/bin/mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (default ) = test
testhost (User's choice) = 172.21.0.217
testpassword (default ) =
testsocket (default ) =
testuser (User's choice) = root

To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'.
Using DBI 1.605 (for perl 5.008008 on sun4-solaris) installed in /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI/
Writing Makefile for DBD::mysql


# make
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI -I/opt/xampp/include/mysql -R/opt/xampp/lib -I/opt/xampp/include -L/opt/xampp/lib -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" dbdimp.c
In file included from dbdimp.c:20:
dbdimp.h:22: mysql.h: No such file or directory
dbdimp.h:23: mysqld_error.h: No such file or directory
dbdimp.h:25: errmsg.h: No such file or directory
In file included from dbdimp.c:20:
dbdimp.h:144: parse error before `MYSQL'
dbdimp.h:144: warning: no semicolon at end of struct or union
dbdimp.h:165: parse error before `}'
dbdimp.h:237: parse error before `MYSQL_RES'
dbdimp.h:237: warning: no semicolon at end of struct or union
dbdimp.h:240: parse error before `row_num'
dbdimp.h:240: warning: data definition has no type or storage class
dbdimp.h:245: parse error before `insertid'
dbdimp.h:245: warning: data definition has no type or storage class
dbdimp.h:252: parse error before `}'
In file included from dbdimp.c:20:
dbdimp.h:294: parse error before `*'
dbdimp.h:297: parse error before `mysql_st_internal_execute'
...
dbdimp.c: In function `mysql_db_quote':
dbdimp.c:4559: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_last_insert_id':
dbdimp.c:4582: dereferencing pointer to incomplete type
*** Error code 1
make: Fatal error: Command failed for target `dbdimp.o'
Direct Responses: Write a response