Re: wip/qtcreator package
Florian Walpen <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.review |
|---|---|
| Message-ID | <[email protected]> |
Hi Aleksey On Tuesday 18 August 2009 22:25:02 Aleksey Cheusov wrote: > wip/qtcreator fails to build on Linux due to broken x11/qt4-tools. Ok, this fails earlier than i expected... :-) > > Build logs are here > > http://mova.org/~cheusov/pub/pkgsrc-distbb/Linux/current/logs//20090814.154 >0/x11_qt4-tools_qt4-tools-4.5.2nb1/stage_build.html > > qt4-tools is broken for more than year. > See > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=37688 > > If you have any clue, let me know. Well the culprit is already pointed out in the PR: On Linux dynamically loaded libraries (say plugins) need to be linked against the dl library, thus the patch there adds "-ldl" to the linker flags. On BSD the dl library is part of the libc, so the flag is not needed. The question as to why this has not been fixed yet should probably be addressed to the maintainer (adam) and pkgsrc lists. According to pkgsrc guide a "LIBS.Linux += -ldl" in one of the qt4 Makefiles would be the correct solution (http://www.netbsd.org/docs/pkgsrc/fixes.html#undefined-reference). I will look further into this tomorrow. Regards Florian Walpen ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july