Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71961 - PTLink-services ebuild does not compile against mysql
Summary: PTLink-services ebuild does not compile against mysql
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-21 09:36 UTC by Daniel 'Fremen' Llewellyn
Modified: 2004-11-21 15:22 UTC (History)
0 users

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


Attachments
patch to the ebuild with my fix (ptlink-services-2.25.1.ebuild.patch,90 bytes, patch)
2004-11-21 11:00 UTC, Daniel 'Fremen' Llewellyn
Details | Diff
patch to fix ebuild's configure/mysql and domain.def installation issues (ptlink-services-2.25.1.ebuild.patch,121 bytes, patch)
2004-11-21 12:10 UTC, Daniel 'Fremen' Llewellyn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 'Fremen' Llewellyn 2004-11-21 09:36:24 UTC
The emerge goes through and successfully installs net-irc/ptlink-services. Upon setting the appropriate settings in the configuration file and starting the daemon using the supplied init-script, the log file reports:

[2004 Nov 21 15:07:59 ] MySQLDB is defined but services were compiled without MySQL support

Reproducible: Always
Steps to Reproduce:
1.run ACCEPT_KEYWORDS="~x86" emerge net-irc/ptlink-services
2.setup the configuration for mysql
3.launch the daemon with /etc/init.d/ptlink-services start
Actual Results:  
the log file reports that services were compiled without mysql support 

Expected Results:  
the services should connect to the mysql database using the supplied 
credentials in the configuration file.
Comment 1 Daniel 'Fremen' Llewellyn 2004-11-21 10:54:33 UTC
I fixed this issue by adding to the econf line in src_compile() of the ebuild:

econf $(use_with mysql) || die "econf failed"
Comment 2 Daniel 'Fremen' Llewellyn 2004-11-21 11:00:24 UTC
Created attachment 44423 [details, diff]
patch to the ebuild with my fix
Comment 3 Daniel 'Fremen' Llewellyn 2004-11-21 12:10:02 UTC
Created attachment 44426 [details, diff]
patch to fix ebuild's configure/mysql and domain.def installation issues

This patch fixes the mysql issue (not being configured properly) and also fixes
the lack of domain.def installation into /etc/ptlink-services directory
Comment 4 Sven Wegener gentoo-dev 2004-11-21 15:22:58 UTC
Fixed in CVS. Thanks for reporting!