# New Ticket Created by  Mark Glines 
# Please include the string:  [perl #42950]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42950 >


Someone in #parrot tried to build parrot today after stripping irrelevant
stuff from his MS Platform SDK installation, only to discover Parrot is
relying on the odbc32 library, which he hadn't installed.

It doesn't look like its actually *used* anywhere, its just included in
the list of libraries, apparently for no reason.

#parrot highlights:

[08:14] < kjs> ah shoot; odbc32.lib missing
[08:14] < kjs> do I need that??
[08:14] < kjs> at least,t hat's what test.ldo is saying
[08:15]  * Infinoid looks for that on his system
[08:16] <@particle> probably in platform sdk
[08:16] < kjs> i probably deselected that one

[08:16] < kjs> figured i didn't need it, and to speed up download...
[08:16] <@Infinoid> oh, in the platform sdk setup?
[08:17] < kjs> yes, i deselected some stuff

[08:18] <@particle> i don't know that we need it
[08:18] <@particle> it might just be cargo-cult

[08:20] <@codermattie> I just grepped the whole tree, that config stuff is the 
only place where odbc was found

I removed it from the linker line, did a configure, build, and smoke.
I detected no ill effects.  (other than an intermittant "three alarms"
thing in t/dynoplibs/myops.t that was there before the change.)  So,
how about removing it?

Mark
=== config/init/hints/mswin32.pm
==================================================================
--- config/init/hints/mswin32.pm	(revision 20357)
+++ config/init/hints/mswin32.pm	(local)
@@ -185,7 +185,7 @@
                 ld      => 'g++',
                 ldflags => '',
                 libs =>
-'-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 ',
+'-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion ',
                 link      => 'gcc',
                 linkflags => '',
                 o         => '.o',

Reply via email to