You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel F Garcia <dg...@kobold.com.au> on 2004/04/01 07:24:18 UTC

How do you compile subversion in windows ?

 
Environment

*	

	Windows XP
*	

	Visual Studio .Net 2003

Problem description
 
I have been trying for week now and am running out of ideas.
 
During my last attempt I did the following....

*	Downloaded and unzipped the 1.0.1 tarball into subversion 1.0.1 (new
folder for this project) 

*	Downloaded (using cvs) latest version of apr-util into into
subversion 1.0.1/apr-util 

*	Downloaded (using cvs) latest version of apr-iconv into into
subversion 1.0.1/apr-iconv 

*	Downloaded Berkley DB 4.2.52 from subversion site into subversion
1.0.1/db4-win32 

*	Did nothing with apr and neon as the folders were already in the
tarball 

*	got into a command prompt, change into my subversion folder and
executed the following command 


*	c:\python23\python gen-make.py -t vcproj (Command ran successfully)

*	Open subversion_vcnet.sln in VS .net 2003 

*	Build solution.

Build Errors
 
apriconv_ccs_modules warning LNK4044: unrecognized option '/WARN:0'; ignored
apriconv_ccs_modules fatal error LNK1181: cannot open input file
'..\LibD\apriconv-1.lib'
apriconv_ccs_modules fatal error U1077: 'cl' : return code '0x2'
apriconv_ccs_modules error PRJ0019: A tool returned an error code from
"Performing Makefile project actions"
apriconv_ces_modules warning LNK4044: unrecognized option '/WARN:0'; ignored
apriconv_ces_modules fatal error LNK1181: cannot open input file
'..\LibD\apriconv-1.lib'
apriconv_ces_modules fatal error U1077: 'cl' : return code '0x2'
apriconv_ces_modules error PRJ0019: A tool returned an error code from
"Performing Makefile project actions"
c:\Documents and Settings\dgarcia.KOBOLD\My Documents\Visual Studio
Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\buckets\apr_buckets_mmap.c(120): error
C2198: 'apr_mmap_dup' : too few arguments for call through
pointer-to-function
swig_python_runtime error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
svnadmin fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
svndumpfilter fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
svnlook fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
svnserve fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
C:\Documents and Settings\dgarcia.KOBOLD\My Documents\Visual Studio
Projects\SubVersion
1.0.1\subversion-1.0.1\subversion\bindings\swig\swigutil_java.c(20): fatal
error C1083: Cannot open include file: 'jni.h': No such file or directory
C:\Documents and Settings\dgarcia.KOBOLD\My Documents\Visual Studio
Projects\SubVersion
1.0.1\subversion-1.0.1\subversion\bindings\swig\swigutil_pl.c(19): fatal
error C1083: Cannot open include file: 'EXTERN.h': No such file or directory
C:\Documents and Settings\dgarcia.KOBOLD\My Documents\Visual Studio
Projects\SubVersion
1.0.1\subversion-1.0.1\subversion\bindings\swig\swigutil_py.c(20): fatal
error C1083: Cannot open include file: 'Python.h': No such file or directory
swig_perl_runtime error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
svnversion fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
svn fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
swig_perl_core error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_perl_client error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
test_path fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
swig_perl_delta error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
md5args fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
swig_perl_fs error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_perl_ra error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_perl_repos error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
swig_perl_wc error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_python_client error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
swig_python_core error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
swig_python_delta error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
swig_python_fs error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_python_ra error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_python_repos error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
swig_python_wc error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
test_random fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_repos fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_skel fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_stream fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_key fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
swig_java_wc error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_java_repos error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
swig_java_ra error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_java_fs error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_java_delta error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
swig_java_core error PRJ0019: A tool returned an error code from "Performing
Custom Build Step"
swig_java_client error PRJ0019: A tool returned an error code from
"Performing Custom Build Step"
test_hashdump fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_string fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_fs fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_diff4 fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_diff3 fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_diff fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_diff_diff3 fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_config fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_changes fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_strings_reps fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_vdelta fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_svndiff fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_target fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_time fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_translate fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
svn_push fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_ra_local fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'
test_utf fatal error LNK1104: cannot open file '\Documents and
Settings\dgarcia.KOBOLD\My Documents\Visual Studio Projects\SubVersion
1.0.1\subversion-1.0.1\apr-util\LibD\aprutil.lib'

Daniel F Garcia
Project manager

  <http://www.kobold.com.au/ksys-ani.gif> 
Mobile: 0438 670 947
Phone: 07 5461 1120
Email: dgarcia@kobold.com.au
Address: 4 Lloyd George Street, Eastern Heights QLD 4305
 

Re: How do you compile subversion in windows ?

Posted by Martin Tomes <li...@tomes.org>.
Daniel F Garcia wrote:

>  
> Environment
> 

The gen-make.py bit doesn't work, you have to copy your built apr stuff 
from httpd into the subversion tree. And don't forget to install a 
recent Windows SDK and point to it from Visual Studio.

-- 
Martin Tomes
echo 'Martin x Tomes at controls x eurotherm x co x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: How do you compile subversion in windows ?

Posted by Sander Striker <st...@apache.org>.
> From: Daniel F Garcia [mailto:dgarcia@kobold.com.au]
> Sent: Thursday, April 01, 2004 9:24 AM


> Environment
> Windows XP
> Visual Studio .Net 2003

What about the Platform SDK?


> Problem description
>
> I have been trying for week now and am running out of ideas.

Have you followed the instructions in INSTALL?

> During my last attempt I did the following....
> Downloaded and unzipped the 1.0.1 tarball into subversion 1.0.1 (new folder for this project) 
> Downloaded (using cvs) latest version of apr-util into into subversion 1.0.1/apr-util 
> Downloaded (using cvs) latest version of apr-iconv into into subversion 1.0.1/apr-iconv 

Should fetch APU_0_9_BRANCH and API_0_9_BRANCH respectfully.

> Downloaded Berkley DB 4.2.52 from subversion site into subversion 1.0.1/db4-win32 
> Did nothing with apr and neon as the folders were already in the tarball 

You mean apr-util wasn't in the tarball, but apr was? (sounds like an error on our
part if that is true).

> got into a command prompt, change into my subversion folder and executed the following command 
> c:\python23\python gen-make.py -t vcproj (Command ran successfully)
> Open subversion_vcnet.sln in VS .net 2003 
> Build solution.
[...]


Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org