Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

perl-5.11.1 and borland free compiler.

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


sisyphus1 at optusnet

Nov 6, 2009, 10:09 PM

Post #1 of 3 (256 views)
Permalink
perl-5.11.1 and borland free compiler.

Hi,

Trying to build perl-5.11.1 using the free borland compiler (Borland C++
5.5.1)

But very early on the 'dmake -f makefile.mk' process dies with:

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'ODBCCP32.LIB'
dmake: Error code 130, while making '..\generate_uudmap.exe'

Indeed, the makefile.mk lists odbccp32.lib in LIBFILES, but that library is
not present with this compiler.

I was wanting to check that the changes I've been testing in order to get a
64-bit mingw build don't break Borland ... but if Borland is already broken,
then I'm not all that keen to go to the trouble.

Or is there some config option in the makefile.mk (or some documentation
about this) that I've missed ?

(For the moment, I'll just delete the odbccp32.lib entry from the
makefile.mk and see where that leads.)

Cheers,
Rob


jand at activestate

Nov 6, 2009, 10:20 PM

Post #2 of 3 (243 views)
Permalink
RE: perl-5.11.1 and borland free compiler. [In reply to]

On Fri, 06 Nov 2009, Sisyphus wrote:
> Trying to build perl-5.11.1 using the free borland compiler
> (Borland C++ 5.5.1)
>
> But very early on the 'dmake -f makefile.mk' process dies with:
>
> Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Fatal:
> Unable to open file 'ODBCCP32.LIB' dmake: Error code 130, while making
> '..\generate_uudmap.exe'
>
> Indeed, the makefile.mk lists odbccp32.lib in LIBFILES, but that
> library is not present with this compiler.

You can easily create the library yourself using implib.exe; do a
Google search for "borland odbccp32.dll" and you should find plenty
of examples.

I don't think it is needed for core Perl though; you should only
need that import library for Win32::ODBC, which isn't part of the
core.

The reason to list the complete set of import libs in the Makefile.mk
is that they will then automatically be included via MakeMaker for
any extension that you build later.

Cheers,
-Jan


sisyphus1 at optusnet

Nov 6, 2009, 11:08 PM

Post #3 of 3 (244 views)
Permalink
Re: perl-5.11.1 and borland free compiler. [In reply to]

----- Original Message -----
From: "Jan Dubois" <jand [at] activestate>

>> Indeed, the makefile.mk lists odbccp32.lib in LIBFILES, but that
>> library is not present with this compiler.
>
> You can easily create the library yourself using implib.exe; do a
> Google search for "borland odbccp32.dll" and you should find plenty
> of examples.

Heh ... the makefile.mk actually does that for me ... but it doesn't do it
early enough to avoid the error I got.
Having built perl (by removing the reference to odbccp32.lib), the
odbccp32.lib now exists. So I should be able to revert the makefile.mk to
its original state and never be bothered by this particular error again.

(Apart from that little hiccup it built fine, btw.)

> The reason to list the complete set of import libs in the Makefile.mk
> is that they will then automatically be included via MakeMaker for
> any extension that you build later.

Thanks for elaborating.

Cheers,
Rob

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.