All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
Need instruction to build latest SVN from source
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
Need instruction to build latest SVN from source - Jun. 22, '06, 4:49:58 AM
|
|
|
silentstep
Posts: 6
Joined: Jun. 15, '06,
Status: offline
|
I'm not a C/C++ programmer so I'm not familiar with build process. Could any one give me instruction to build it.
I've installed GNU SDK, Interix SDK & set environment variables as suggested in FAQ.
I finished configure part; however, make was failed. Below is the output of make
bash-3.00$ make
------ making all in apr
Making all in strings
/bin/sh /program/subversion-1.3.2/apr/libtool --silent --mode=compile gcc -D_ALL_SOURCE -D_REENTRANT -DHAVE_CONFIG_H -D_ALL_SOURCE -D_REENTRANT -I/usr/local/include -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo
/bin/sh /program/subversion-1.3.2/apr/libtool --silent --mode=compile gcc -D_ALL_SOURCE -D_REENTRANT -DHAVE_CONFIG_H -D_ALL_SOURCE -D_REENTRANT -I/usr/local/include -I../include -I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo
/bin/sh /program/subversion-1.3.2/apr/libtool --silent --mode=compile gcc -D_ALL_SOURCE -D_REENTRANT -DHAVE_CONFIG_H -D_ALL_SOURCE -D_REENTRANT -I/usr/local/include -I../include -I../include/arch/unix -c apr_strnatcmp.c && touch apr_strnatcmp.lo
/bin/sh /program/subversion-1.3.2/apr/libtool --silent --mode=compile gcc -D_ALL_SOURCE -D_REENTRANT -DHAVE_CONFIG_H -D_ALL_SOURCE -D_REENTRANT -I/usr/local/include -I../include -I../include/arch/unix -c apr_strings.c && touch apr_strings.lo
/bin/sh /program/subversion-1.3.2/apr/libtool --silent --mode=compile gcc -D_ALL_SOURCE -D_REENTRANT -DHAVE_CONFIG_H -D_ALL_SOURCE -D_REENTRANT -I/usr/local/include -I../include -I../include/arch/unix -c apr_fnmatch.c && touch apr_fnmatch.lo
/bin/sh /program/subversion-1.3.2/apr/libtool --silent --mode=compile gcc -D_ALL_SOURCE -D_REENTRANT -DHAVE_CONFIG_H -D_ALL_SOURCE -D_REENTRANT -I/usr/local/include -I../include -I../include/arch/unix -c apr_strtok.c && touch apr_strtok.lo
Making all in passwd
/bin/sh /program/subversion-1.3.2/apr/libtool --silent --mode=compile gcc -D_ALL_SOURCE -D_REENTRANT -DHAVE_CONFIG_H -D_ALL_SOURCE -D_REENTRANT -I/usr/local/include -I../include -I../include/arch/unix -c apr_getpass.c && touch apr_getpass.lo
apr_getpass.c:78: warning: static declaration for `getpass' follows non-static
apr_getpass.c: In function `getpass':
apr_getpass.c:81: error: `stderr' undeclared (first use in this function)
apr_getpass.c:81: error: (Each undeclared identifier is reported only once
apr_getpass.c:81: error: for each function it appears in.)
apr_getpass.c:82: error: `stdin' undeclared (first use in this function)
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
I can see definitions for stderr, stdin & stdout in /usr/include/stdio.h. I'd also tried to add
-I/usr/include into the make script but it didn't work.
|
|
|
RE: Need instruction to build latest SVN from source - Jun. 22, '06, 5:01:06 AM
|
|
|
silentstep
Posts: 6
Joined: Jun. 15, '06,
Status: offline
|
The reason why I need to build svn from source is that win32 svn binary does not work with interix ssh. When i turned on the verbose option for ssh, it shown that ssh tried to use password authentication method, but win32 svn did not show anything to prompt for password. I can't even terminate the process.
If there's a way to make win32 svn to work with interix ssh, then I dont need to build svn from source anymore.
Thanks in advanced.
|
|
|
RE: Need instruction to build latest SVN from source - Jun. 22, '06, 5:35:25 AM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
I'll reference the Forum posting from December about subversion:
> http://www.interopsystems.com/tools/tm.aspx?m=7634&mpage=1&key=subversion᷒
The references/errors to stdin/stdout are odd.
The function getpass() is odd too since it's already a library function.
|
|
|
RE: Need instruction to build latest subversion from so... - Jun. 23, '06, 5:16:52 AM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
I just announced that it's an available package.
Give it a whirl. You have to let me know if it works (or doesn't) since
I'm not a user of subversion.
pkg_update -L subversion
|
|
|
RE: Need instruction to build latest subversion from so... - Jun. 23, '06, 5:44:19 AM
|
|
|
silentstep
Posts: 6
Joined: Jun. 15, '06,
Status: offline
|
Yes, it works perfectly for me (even with ssh!!). Thank you very much.
Just 1 problem:
pkg_update -Lvd subversion could not find the package
bash-3.00$ pkg_update -Lvd subversion
adding file list file "/tmp/tmp_AAAAAAAIT"
Starting checks for updates
opening file list file "/tmp/tmp_AAAAAAAIT"
read line: "subversion"
basename: "subversion"
Going to check for available update to "subversion".
getting package by ftp
get ftp info: ftp://ftp.interopsystems.com pkgs/3.5-x86 subversion
package not at ftp site
closing file list file
Done.
I have to download the package manually and install it.
I can use pkg_update -Lvd with other packages without any problem.
Thanks for your help again.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|