Port update failure -- How do I fix?
Tim Hogan
tim at hoganzoo.com
Sat Jul 9 13:36:11 GMT 2005
So the bottom line is that I love the ports because I am by no means a
programer. As long as I can type make install I am good to go. The
problem is that I just tried to do an upgrade on some ports that were
out of date and I am now getting the error below. A previous version
was installed but now the new version will not install. How do I fix
this? Thanks ahead of time for any help you can provide...
Tim
--- begin install output ---
# /usr/ports/databases/p5-DBD-mysql
$ make
===> Vulnerability check disabled, database not found
=> DBD-mysql-3.0001.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/DBD/.
DBD-mysql-3.0001.tar.gz 100% of 126 kB 67 kBps
===> Extracting for p5-DBD-mysql-3.0001
=> Checksum OK for DBD-mysql-3.0001.tar.gz.
===> p5-DBD-mysql-3.0001 depends on file: /usr/local/bin/perl5.8.7 - found
===> Patching for p5-DBD-mysql-3.0001
===> p5-DBD-mysql-3.0001 depends on file: /usr/local/bin/perl5.8.7 - found
===> p5-DBD-mysql-3.0001 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/mach/DBI.pm - found
===> p5-DBD-mysql-3.0001 depends on file: /usr/local/bin/perl5.8.7 - found
===> p5-DBD-mysql-3.0001 depends on shared library: mysqlclient.12 - found
===> Configuring for p5-DBD-mysql-3.0001
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/local/include/mysql -O -pipe
embedded (mysql_config) =
libs (mysql_config) = -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -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'.
Checking if your kit is complete...
Looks good
Using DBI 1.48 (for perl 5.008007 on i386-freebsd-64int) installed in /usr/local/lib/perl5/site_perl/5.8.7/mach/auto/DBI/
Writing Makefile for DBD::mysql
===> Building for p5-DBD-mysql-3.0001
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/usr/local/lib/perl5/site_perl/5.8.7/mach/auto/DBI/ -I/usr/local/include/mysql -O -pipe -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -O -pipe -O -pipe -DVERSION=\"3.0001\" -DXS_VERSION=\"3.0001\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.7/mach/CORE" dbdimp.c
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:2035: warning: cast from pointer to integer of different size
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:2775: error: `MYSQL_BIND' undeclared (first use in this function)
dbdimp.c:2775: error: (Each undeclared identifier is reported only once
dbdimp.c:2775: error: for each function it appears in.)
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:3416: warning: cast from pointer to integer of different size
*** Error code 1
Stop in /usr/ports/databases/p5-DBD-mysql/work/DBD-mysql-3.0001.
*** Error code 1
Stop in /usr/ports/databases/p5-DBD-mysql.
--- end install output ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3166 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050709/54f3263d/smime.bin
More information about the freebsd-questions
mailing list