With the current svn sources, the 'perl Makefile.PL'
stage on Win32 produces warnings:

Note (probably harmless):
  No library found for /nologo
Note (probably harmless):
  No library found for /subsystem:windows
Note (probably harmless):
  No library found for /dll
Note (probably harmless):
  No library found for /machine:I386
Note (probably harmless):
  No library found for /nologo
Note (probably harmless):
  No library found for /subsystem:windows
Note (probably harmless):
  No library found for /dll
Note (probably harmless):
  No library found for /machine:I386

This I believe is due to revision 387662 in
lib/Apache2/Build.pm, which involved adding
--ldflags to a link command - Windows is interpreting
these flags as libraries to add. This patch:

=======================================================
Index: Build.pm
===================================================================
--- Build.pm    (revision 390692)
+++ Build.pm    (working copy)
@@ -1117,7 +1117,9 @@
# first use apu_config_path and then apr_config_path in order to
     # resolve the symbols right during linking
     for ($self->apu_config_path, $self->apr_config_path) {
- if (my $link = $_ && -x $_ && qx{$_ --link-ld --ldflags --libs}) {
+        my $flags = '--link-ld --libs';
+        $flags .= ' --ldflags' unless (WIN32);
+        if (my $link = $_ && -x $_ && qx{$_ $flags}) {
             chomp $link;

# Change '/path/to/libanything.la' to '-L/path/to -lanything'

===================================================================

fixes this for me.

--
best regards,
Randy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to