apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben" <b...@qqmail.nl>
Subject RE: minor APR 1.5.2 build error on Windows
Date Mon, 22 Jun 2015 17:06:09 GMT


> -----Original Message-----
> From: Stefan Hett [mailto:stefan@egosoft.com]
> Sent: maandag 22 juni 2015 11:49
> To: dev@apr.apache.org
> Subject: minor APR 1.5.2 build error on Windows
> 
> Hi,
> 
> I just tested building APR 1.5.2 from source on windows, following the
> instructions from the readme file.
> 
> compiling (aka: nmake -f Makefile.win) succeeded without problems, but
> the following install command (aka: nmake -f Makefile.win PREFIX=FOO
> install) failed with return code 0x1:
> 
> copy Release/libapr-1.pdb "..\apr-dist\bin\" <.y
> The system cannot find the file specified.
> NMAKE : fatal error U1077: 'copy' : return code '0x1'
> Stop.
> 
> Without looking at the build script I assume that the PDB is not created
> for Release builds and therefore the file is missing.
> 
> Maybe worth either adjusting the linker/compiler settings so the PDB is
> also generated in Release builds or adding a file-existence-check prior
> to the copy operation, so building doesn't issue that error?
> 
> For me that's not a problem here. Just thought might be good to raise
> that point so that user experience with APR could be improved.

I would recommend looking at the cmake buildscripts for building APR on Windows. This provides
more options and supports more modern toolchains without somebody having to maintain the makefiles
manually. They might still be experimental, but they work great for me.

	Bert


Mime
View raw message