I'm on a gcc 3.2 (if it matters), and get this error when building the DBD-mysql module: server2 root # emerge DBD-mysql Calculating dependencies ...done! >>> emerge dev-perl/DBD-mysql-2.1004-r2 to / >>> md5 ;-) DBD-mysql-2.1004.tar.gz >>> Unpacking source... >>> Unpacking DBD-mysql-2.1004.tar.gz >>> Source unpacked. I will use the following settings for compiling and testing: cflags (mysql_config) = -I'/usr/include/mysql' libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm nocatchstderr (default ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. WARNING: EXE_FILES takes a array reference not a string/number. Please inform the author. Checking if your kit is complete... Looks good Can't use string ("dbimon pmysql") as an ARRAY ref while "strict refs" in use at /usr/lib/perl5/5.6.1/ExtUtils/MM_Unix.pm line 1417. make: *** No targets specified and no makefile found. Stop. !!! ERROR: The ebuild did not complete successfully. !!! Function perl-module_src_compile, Line 10, Exitcode 2 !!! compilation failed A quick Google search found a thread with a simple fix for MakeMaker: http://archive.develooper.com/makemaker@perl.org/msg00326.html
Corrected ebuild and patch submitted. If it gets to your end and all looks good, please either close this ticket or let me know. Michael
*** Bug 8109 has been marked as a duplicate of this bug. ***
I am also having a problem building version dev-perl/DBD-mysql-2.1013. The reason may be a missing file from the files directory. the makemaker.patch file is missing: bash-2.05a# emerge dev-perl/DBD-mysql Calculating dependencies ...done! >>> emerge dev-perl/DBD-mysql-2.1013 to / Version is: 5.6.1 >>> md5 ;-) DBD-mysql-2.1013.tar.gz Version is: 5.6.1 >>> Unpacking source... >>> Unpacking DBD-mysql-2.1013.tar.gz /usr/sbin/ebuild.sh: /usr/portage/dev-perl/DBD-mysql/files/makemaker.patch: No such file or directory >>> Source unpacked. I will use the following settings for compiling and testing: cflags (mysql_config) = -I'/usr/include/mysql' libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm nocatchstderr (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. WARNING: EXE_FILES takes a array reference not a string/number. Please inform the author. Checking if your kit is complete... Looks good Can't use string ("dbimon pmysql") as an ARRAY ref while "strict refs" in use at /usr/lib/perl5/5.6.1/ExtUtils/MM_Unix.pm line 1417. make: *** No targets specified and no makefile found. Stop.
Still a no-go for moi. Perhaps this is the problem: >>> Unpacking source... >>> Unpacking DBD-mysql-2.1013.tar.gz /usr/sbin/ebuild.sh: /usr/portage/dev-perl/DBD-mysql/files/makemaker.patch: No such file or directory >>> Source unpacked.
the same bug on my system with DBD-mysql-2.1013
It's always a good idea for me to actually include the patch in my commits. You should have a patch file in your portage trees shortly, sorry about that.
Got the patch - works great. Thanks! Marking as fixed.