apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: Makefile.win install target does not install all necessary headers
Date Mon, 27 Feb 2012 15:34:23 GMT
On Mon, Feb 27, 2012 at 9:13 AM, Mat Booth <mat.booth@wandisco.com> wrote:
> Hi all,
>
> When using the install target of Makefile.win on Windows, I noticed
> that it does not install all the headers necessary for using the
> platform specific features of APR. Please see the patch to fix it
> below.

These aren't APIs so they're not supposed to be installed.  (Using
httpd on Windows with out of tree apr by any chance?)

>
>
> --- Makefile.win.orig   2012-02-27 13:54:16.500000000 +0000
> +++ Makefile.win        2012-02-27 13:56:07.906250000 +0000
> @@ -161,11 +161,15 @@
>        @if NOT EXIST "$(PREFIX)\."             mkdir "$(PREFIX)"
>        @if NOT EXIST "$(PREFIX)\bin\."         mkdir "$(PREFIX)\bin"
>        @if NOT EXIST "$(PREFIX)\include\."     mkdir "$(PREFIX)\include"
> +       @if NOT EXIST "$(PREFIX)\include\arch\."        mkdir "$(PREFIX)\include\arch"
> +       @if NOT EXIST "$(PREFIX)\include\arch\win32\."  mkdir
> "$(PREFIX)\include\arch\win32"
>        @if NOT EXIST "$(PREFIX)\lib\."         mkdir "$(PREFIX)\lib"
>        copy CHANGES "$(PREFIX)\APR-CHANGES.txt" <.y
>        copy LICENSE "$(PREFIX)\APR-LICENSE.txt" <.y
>        copy NOTICE  "$(PREFIX)\APR-NOTICE.txt"  <.y
>        xcopy include\*.h               "$(PREFIX)\include\" /d < .a
> +       xcopy include\arch\*.h          "$(PREFIX)\include\arch\" /d < .a
> +       xcopy include\arch\win32\*.h    "$(PREFIX)\include\arch\win32\" /d <
.a
>        copy $(LIBSOSPATH)\apr-1.lib            "$(PREFIX)\lib\" <.y
>        copy $(LIBSOSPATH)\apr-1.pdb            "$(PREFIX)\lib\" <.y
>        copy $(LIBSOSPATH)\aprapp-1.lib         "$(PREFIX)\lib\" <.y
>
>
>
> Best regards,
> Mat
>
> --
> Mat Booth
> Software Engineer
> WANdisco, Inc.
> http://www.wandisco.com



-- 
Born in Roswell... married an alien...

Mime
View raw message