Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

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
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> Need instruction to build latest SVN from source Page: [1]
Login
Message << Older Topic   Newer Topic >>
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.
Post #: 1
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.

(in reply to silentstep)
Post #: 2
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.

(in reply to silentstep)
Post #: 3
RE: Need instruction to build latest SVN from source - Jun. 22, '06, 5:57:03 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
I almost forgot -- you wrote:
> I've installed GNU SDK, Interix SDK & set environment variables as suggested in FAQ.

Good.

I just downloaded it. Ran configure (gawds that went on for a long time).
Ran make after editing "./apr/include/arch/unix/apr_private.h" to comment out
the HAVE_POLL. Everything built, no errors.

The only thing that I can think of is that I have all of the packages from
/Tools installed. I noticed that the output from configure shows some paths
to /Tools utilities.

To install development packages you can do "pkg_update -D".
It's take a while, but it may help.

(in reply to Rodney)
Post #: 4
RE: Need instruction to build latest SVN from source - Jun. 23, '06, 4:10:59 AM   
silentstep

 

Posts: 6
Joined: Jun. 15, '06,
Status: offline
Things were not better after updating development packages . I even tried to re-install SFU and updated development packages but it didn't let me pass, exactly the same error happened

Anyway, thanks for your help. Hope that we will have pre-built svn package for interix someday.

(in reply to Rodney)
Post #: 5
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

(in reply to silentstep)
Post #: 6
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.

(in reply to Rodney)
Post #: 7
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> Need instruction to build latest SVN from source Page: [1]
Jump to:





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


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047