New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NDBM_File support on Win32 #10035
Comments
From @kmxCreated by @kmxHi, We (=strawberry perl project) want to add NDBM_File support to However we need the following changes in NDBM_File module (we are Inline Patchdiff --git a/ext/NDBM_File/Makefile.PL b/ext/NDBM_File/Makefile.PL
index a8adbf0..08bf93d 100644
--- a/ext/NDBM_File/Makefile.PL
+++ b/ext/NDBM_File/Makefile.PL
@@ -1,7 +1,7 @@
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'NDBM_File',
- LIBS => ["-L/usr/local/lib -lndbm", "-ldbm -lucb"],
+ LIBS => ($^O eq 'MSWin32') ? ["-lgdbm_compat -lgdbm"] :
-- Perl Info
|
From @kmx
as perhaps not only Win32 but also some other platforms can use - LIBS => ["-L/usr/local/lib -lndbm", "-ldbm -lucb"], Or is there any other (better) way of using libgdm library (that comes Thanks for any feedback. -- |
@kmx - Status changed from 'new' to 'open' |
From @kmxThe NDBN_File@MSWin32 issue discussed in this RT could be simply fixed ext/NDBM_File/hints/MSWin32.pl As a bonus - Win32 users can also get ODBM_File if you put exactly the ext/ODBM_File/hints/MSWin32.pl -- |
From @kmx |
From @kmxDo you think that 2 files proposed by this RT can make it to 5.16.0? 1/ ext/NDBM_File/hints/MSWin32.pl -- |
From @rjbsDo any Win32 folks have any input on this? |
From @tonycozOn Mon, Apr 16, 2012 at 07:57:13PM -0700, Ricardo SIGNES via RT wrote:
If it wasn't already being done for several other platforms (linux, Other platforms already supply hints that do the same thing, so I I'd tend to applying it after 5.16, but it's only a slight tendency. Tony |
From @tonycozOn Mon May 09 16:27:32 2011, kmxx wrote:
Thanks, I've applied this as dc12741. What would be really nice would be a patch that updates win32/Makefile, dmake -DHAVE_GDBM Or something similar. Tony |
@tonycoz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#71680 (status was 'resolved')
Searchable as RT71680$
The text was updated successfully, but these errors were encountered: