Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175678 - DBD-mysql-4.00.4-r1 fails to compile on Gentoo/FreeBSD 6.2
Summary: DBD-mysql-4.00.4-r1 fails to compile on Gentoo/FreeBSD 6.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: Lowest major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-23 10:19 UTC by Bjarke Istrup Pedersen (RETIRED)
Modified: 2007-05-31 23:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge --info (emerge.info,2.20 KB, text/plain)
2007-04-23 10:19 UTC, Bjarke Istrup Pedersen (RETIRED)
Details
Log of emerge DBD-mysql (DBD-mysql-4.00.4-r1.log,26.10 KB, text/plain)
2007-04-23 10:19 UTC, Bjarke Istrup Pedersen (RETIRED)
Details
Output of perl -V (perlinfo,3.00 KB, text/plain)
2007-04-26 16:36 UTC, Bjarke Istrup Pedersen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-04-23 10:19:14 UTC
DBD-mysql-4.00.4-r1 fails to compile on Gentoo/FreeBSD 6.2 .

I have attached a log of the emerge together with my emerge --info.
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-04-23 10:19:26 UTC
Created attachment 117067 [details]
Output of emerge --info
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-04-23 10:19:30 UTC
Created attachment 117069 [details]
Log of emerge DBD-mysql
Comment 3 Christian Hartmann (RETIRED) gentoo-dev 2007-04-26 09:58:09 UTC
Are mysql.h and mysqld_error.h in /usr/include/mysql/? What version of mysql are you using?
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-04-26 11:20:37 UTC
neptune ~ # ls /usr/include/mysql/mysql.h
/usr/include/mysql/mysql.h
neptune ~ # ls /usr/include/mysql/mysqld_error.h
/usr/include/mysql/mysqld_error.h
neptune ~ # emerge mysql -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-db/mysql-5.0.38  USE="berkdb perl ssl -big-tables -cluster 
-debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static"

Yep, they are both there, and using 5.0.38
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2007-04-26 11:48:08 UTC
First, it looks like you're using freebsd's perl, not the one from your gentoo 
overlay. Can you confirm this with the output of perl -V (yes, the whole thing 
:). This will be relevant as perl may be getting confused on your compiler, 
include path, etc., since you're mixing a gentoo built gcc with a freebsd built 
perl. Second question, just for grins, is /usr/include/mysql a directory or a 
symlink? (sometimes apps don't follow symlinks - just trying to tie up loose 
ends on things). TBH, if my suspicion based on what you've pasted is true and 
you're using a freebsd perl, we may have problems being able to help since 
that's at least one factor that could contribute to this that we can't fix for 
you (ie, standard disclaimer :)

~mcummings
Comment 6 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-04-26 16:36:34 UTC
There you go.

Perl compiled with there USE flags:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/perl-5.8.8-r2  USE="berkdb gdbm -build -debug -doc 
-ithreads -perlsuid" 0 kB
[ebuild   R   ] sys-devel/libperl-5.8.8-r1  USE="berkdb gdbm -debug -ithreads" 
0 kB
Comment 7 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-04-26 16:36:38 UTC
Created attachment 117311 [details]
Output of perl -V
Comment 8 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-05-31 23:04:29 UTC
Seems to work now, not sure what caused it, but anyway, it installs now without any problems :-)