[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion client installation error

From: Oftenwrong Soong <oftenwrongsoong_at_yahoo.com>
Date: Mon, 23 Nov 2009 22:39:31 -0800 (PST)

Hi Roy,

In ubuntu you should be able to get svn (and many other programs) by going into the package manager (I believe it's called Synaptic but I'm not sure if 9.04 jaunty still uses Synaptic), selecting svn or subversion from the list, and clicking a button. It will take care of all the dirty work for you and you'll have a fully functional subversion. That is the easiest way to get subversion working.

The only reasons I can think of to compile it yourself are:
- if you want a bleeding edge version of svn that isn't available through Synaptic
- if you want to specify custom compiler options or otherwise control the compilation
- if you are compiling it yourself to have a learning experience

A few things you should know about compiling:

I see that you are attempting to execute the compilation process as the root user. (Because the paths in the output you provided begin with /root/Desktop.) I'm not sure how much you know about Linux at this point but it is a *bad* idea to run most things as root. Generally speaking, what you want to do is create a "standard" user account and run compilations (and just about everything else) from that account. If a command (like "make install") needs root user privileges, you can type "sudo make install" which will make you the superuser just for that command.

I assume you issued "./configure" before issuing "make". If not, then you need to do that. In many, many cases, you can compile things by issuing:

./configure
make
sudo make install

Of course, each step needs to complete successfully before you continue on to the next one.

Sometimes when I have trouble compiling, it's an indication that the ./configure script didn't run all the way through. Sometimes it's hard to tell because a lot of output is spit out to the screen when ./configure runs. Also depending on how you're trying to build subversion and some details of your system, you might need to supply some parameters to ./configure. I haven't compiled subversion in a while so I don't remember off the top of my head.

Also, make sure that the path to the directory in which you're compiling does not contain any spaces. If there is a space in the path, compilations often fail due to various scripts not escaping the space characters properly. It would be okay to compile in /home/roy/Desktop/svn or something of that nature, but not in a directory like /home/roy/Source Code/svn because the directory "Source Code" contains a space and will mess up some scripts.

Hopefully this helps you out. I suggest trying to get svn working the automatic way -- through Ubuntu's package manager. :)

Take it easy,
Soong

----- Original Message ----
From: devroy <dev17.roy_at_gmail.com>
To: users_at_subversion.tigris.org
Sent: Mon, November 23, 2009 10:22:59 PM
Subject: Re: Subversion client installation error

Hi soong,

i am having linux ubuntu 9.04 jaunty in my system.

Thanks
-Dev

Oftenwrong Soong wrote:
>
> Hi Roy,
>
> I see that you're compiling SVN on your own. Which distro of Linux are you
> using?
>
> Thanks,
> Soong
>
>
>
> ----- Original Message ----
> From: devroy <dev17.roy_at_gmail.com>
> To: users_at_subversion.tigris.org
> Sent: Mon, November 23, 2009 10:10:04 PM
> Subject: Subversion client installation error
>
> Hi all,
> I am new to subversion and linux..while installing subversion client i am
> facing the following error..i have the subversion dependency package..
> while running make it is throwing the following error
> /bin/bash /root/Desktop/subversion-1.6.5/libtool --tag=CC --silent
> --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE
> -DNE_LFS -I./subversion/include -I./subversion
> -I/usr/local/apache2/include
> -I/usr/local/apache2/include -I/usr/local/neon/include/neon
> -I/root/Desktop/subversion-1.6.5/sqlite-amalgamation
> -I/usr/local/zlib/include -o subversion/libsvn_delta/cancel.lo -c
> subversion/libsvn_delta/cancel.c
> /root/Desktop/subversion-1.6.5/libtool: line 323: s,^.*/,,g: No such file
> or
> directory
> /root/Desktop/subversion-1.6.5/libtool: line 722: -e: command not found
> : ignoring unknown tag
> /root/Desktop/subversion-1.6.5/libtool: line 722: -e: command not found
> *** Warning: inferring the mode of operation is deprecated.
> *** Future versions of Libtool will require --mode=MODE be specified.
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1033: -e: command not found
> /root/Desktop/subversion-1.6.5/libtool: line 1086: -e: command not found
> : compile: cannot determine name of library object from `'
> make: *** [subversion/libsvn_delta/cancel.lo] Error 1
>
> any idea why this error is comming??
>
> Thanks
> -Dev
>
>
> --
> View this message in context:
> http://old.nabble.com/Subversion-client-installation-error-tp26490928p26490928.html
> Sent from the Subversion Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2423676
>
> Please start new threads on the <users_at_subversion.apache.org> mailing
> list.
> To subscribe to the new list, send an empty e-mail to
> <users-subscribe_at_subversion.apache.org>.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2423678
>
> Please start new threads on the <users_at_subversion.apache.org> mailing
> list.
> To subscribe to the new list, send an empty e-mail to
> <users-subscribe_at_subversion.apache.org>.
>
>

-- 
View this message in context: http://old.nabble.com/Subversion-client-installation-error-tp26490928p26491003.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2423680
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2423683
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-24 07:40:32 CET

This is an archived mail posted to the Subversion Users mailing list.