"Kevin Williams" <kevin@bantamtech.com> wrote on 11/12/2004 10:12:10 AM:
> I've had to rebuild my Windows box, so I'm starting the compile process
> from scratch. I followed the INSTALL document where it uses the "
> --enable-bdb-in-apr-util" argument to the gen-make.py script. I'm using
> the BDB package from the Subversion site, and the Windows source for
> Apache 2.0.52. When I try to compile Apache, I get this:
>
>
> apr_dbm_berkeleydb.obj : error LNK2019: unresolved external symbol
> _db_strerror referenced in function _set_error
> apr_dbm_berkeleydb.obj : error LNK2019: unresolved external symbol
> _db_create referenced in function _vt_db_open
>
>
> I've had this problem with for quite a while now. The last successful
> build I had was Subversion 1.0.8 against Apache 2.0.49. I have not been
> able to get Apache 2.0.50+ to compile the apr_util libraries against BDB
> 4.2.52. I'm using VC.NET 2003 on Windows XP SP2.
>
> Apache and Subversion will compile if I don't link apr_util against BDB,
> but then I don't get the Apache modules.
I believe this problem is specific to generating the VC.NET project files.
TortoiseSVN has a workaround for this problem in their build
instructions:
http://svn.collab.net/repos/tortoisesvn/trunk/src/build.txt
Specifically:
"Note: Since the Subversion project builder is broken right now, the build
script
won't work right now (until that gets fixed). A workaround for that is:
- open a DOS box, cd to the Subversion directory.
- type
python gen-make.py -t vcproj --with-openssl=..\Common\openssl
--with-zlib=..\Common\zlib --with-apr=apr --with-apr-util=apr-util
--with-apr-iconv=apr-iconv --enable-nls
to generate the project files
- Open the subversion_vcnet.sln file in VS.NET
- Right click in the solution explorer on the project "libaprutil"
- In the properties dialog, go to Linker/Input and add the string
"..\db4-win32\lib\libdb42.lib" to the "Additional Dependencies" (for all
builds,
release and debug).
- Save the new project settings.
- now you can use TSVN build script."
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 12 16:15:19 2004