{"id":1555,"date":"2006-11-29T16:25:00","date_gmt":"2006-11-29T16:25:00","guid":{"rendered":"http:\/\/gleamynode.net\/articles\/1555\/installing-subversion-14-in-ubuntu-edgy-eft-610"},"modified":"2022-12-28T01:46:47","modified_gmt":"2022-12-27T16:46:47","slug":"installing-subversion-1-4-in-ubuntu-edgy-eft-6-10","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/1555\/installing-subversion-1-4-in-ubuntu-edgy-eft-6-10\/","title":{"rendered":"Installing Subversion 1.4 in Ubuntu Edgy Eft (6.10)"},"content":{"rendered":"
Ubuntu Edgy Eft (6.10)\uc5d0\uc11c Subversion 1.4 \uc0ac\uc6a9\ud558\uae30<\/p>\n
I’ve been using Subversive<\/a> for a while because one of my colleagues told me it’s better than Subclipse<\/a>, but I didn’t see any advantage from it, uninstalled it, and installed the latest version of Subclipse.<\/p>\n Subversive<\/a>\uac00 \uc88b\ub2e4\ub294 \uc774\uc57c\uae30\uac00 \uc788\uc5b4 \uc0ac\uc6a9\ud558\ub2e4\uac00 \uadf8\ub2e4\uc9c0 \uc88b\uc740 \uc810\uc744 \ub290\ub07c\uc9c0\ub3c4 \ubabb\ud588\uace0 UI\uac00 \ubd88\ud544\uc694\ud558\uac8c \ubcf5\uc7a1\ud558\ub2e4\ub294 \uc0dd\uac01\uc774 \ub4e4\uc5b4 \uc124\uce58 \uc81c\uac70\ud55c \ub4a4 Subclipse<\/a> \ucd5c\uc2e0 \ubc84\uc804\uc744 \uc124\uce58\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n Duh! I didn’t know JavaHL shared object (DLL) is not provided for Linux. I had to configure Subclipse to use SVNKit<\/a> instead of JavaHL, and I got another problem! The latest version of Subclipse was using the latest version of SVNKit which is using Subversion 1.4 working copy format and therefore not compatible with Subversion 1.3. Ubuntu Edgy Eft provides only Subversion 1.3, so my working copies didn’t work anymore with the command line Subversion client because SVNKit has upgraded the version of all my working copies to 1.4. svn up<\/tt> fails gracefully saying that I have to upgrade to 1.4.<\/p>\n \uadf8\ub7f0\ub370 Subclipse\ub97c \ucd5c\uadfc\uc5d0\ub294 \uc708\ub3c4\uc6b0\uc988\uc5d0\uc11c\ub9cc \uc0ac\uc6a9\ud574 \uc654\ub358\uc9c0\ub77c \ub9ac\ub205\uc2a4\uc5d0\uc11c\ub294 JavaHL \uacf5\uc720 \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \uc788\uc5b4\uc57c \uc81c\ub300\ub85c \ub3d9\uc791\ud55c\ub2e4\ub294 \uc0ac\uc2e4\uc744 \uae4c\ub9e3\uac8c \uc78a\uace0 \uc788\uc5c8\uc9c0 \ubb61\ub2c8\uae4c. \uc5b4\uca54 \uc218 \uc5c6\uc774 JavaSVN<\/a>\uc744 \uc0ac\uc6a9\ud558\ub3c4\ub85d \uc635\uc158\uc744 \uc124\uc815\ud588\ub294\ub370, \uc5ec\uae30\uc11c \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ucd5c\uc2e0 \ubc84\uc804\uc758 Subclipse\uac00 \ucd5c\uc2e0 \ubc84\uc804\uc758 JavaSVN\uc744 \uc0ac\uc6a9\ud558\uace0 \uc788\uc5b4\uc11c Ubuntu Edgy Eft\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 Subversion 1.3\uacfc \ud638\ud658\ub418\uc9c0 \uc54a\ub294 Subversion 1.4\uc6a9 working copy\ub85c \uc81c \ub85c\uceec \uce74\ud53c\ub97c \ubcc0\ud658\ud574 \ubc84\ub9b0 \uac83\uc774\uc8e0. \ub355\ud0dd\uc5d0 \uba85\ub839\ud589\uc5d0\uc11c svn up<\/tt>\ud558\ub2c8 \uc81c\ub300\ub85c \ub418\uc9c0\ub97c \uc54a\ub124\uc694.<\/p>\n I could just check my stuff out again and revert back to Subversive, but I chose to install Subversion 1.4 because people are saying there are several performance improvements. The following is the installation procedure I stepped on.<\/p>\n \uc800\uc7a5\uc18c\uc5d0\uc11c \ub2e4\uc2dc \uccb4\ud06c\uc544\uc6c3\ud558\uace0 Subversive\ub85c \ubcf5\uad6c\ud558\uba74 \ub418\ub294 \ubb38\uc81c\uc600\uc9c0\ub9cc Subversion 1.4\uc5d0\uc11c \ub9ce\uc740 \uc131\ub2a5 \ud5a5\uc0c1\uc774 \uc788\uc5c8\ub2e4\uace0 \ud558\uc5ec Subversion 1.4\ub97c \uc124\uce58\ud558\uae30\ub85c \ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc124\uce58 \uacfc\uc815\uc785\ub2c8\ub2e4.<\/p>\n \nEverything has been installed, so I tried to switch to JavaHL, but there was another problem; JVM bombs out because of a bug of libapr0<\/a>. We can fix this problem by building apache2 manually.<\/p>\n \ubaa8\ub450 \uc81c\ub300\ub85c \uc124\uce58\uac00 \ub418\uc5b4 Subclipse\uac00 JavaHL\uc744 \uc0ac\uc6a9\ud558\ub3c4\ub85d \ud558\ub824\uace0 \ud558\ub2c8, libapr0\uc758 \ubc84\uadf8<\/a>\ub85c \uc778\ud574 JVM\uc774 \uc8fd\uc5b4\ubc84\ub9ac\ub294 \ubb38\uc81c\uac00 \uc788\ub124\uc694. \uc774 \ubb38\uc81c\ub294 apache2\ub97c \ub2e4\uc2dc \ube4c\ub4dc\ud558\uc5ec \ud574\uacb0\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n \nLooking into rules<\/tt> file, there’s a sentence that sets AP2_CONFFLAGS<\/tt> variable. Add the following line next to the sentence and save the file.<\/p>\n rules<\/tt> \ud30c\uc77c \uc548\uc744 \ubcf4\uba74 AP2_CONFLAGS<\/tt> \ubcc0\uc218\ub97c \uc124\uc815\ud558\ub294 \ubd80\ubd84\uc774 \uc788\uc2b5\ub2c8\ub2e4. \ubc14\ub85c \uc544\ub798\uc5d0 \ub2e4\uc74c \ub77c\uc778\uc744 \ucd94\uac00\ud558\uace0 \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/p>\n \nNow, let’s build the new deb<\/tt> package and install it.<\/p>\n \uc774\uc81c \uc0c8 deb<\/tt> \ud328\ud0a4\uc9c0\ub97c \ube4c\ub4dc\ud574 \uc124\uce58\ud569\ub2c8\ub2e4.<\/p>\n \nNOTE: If you encountered a dependency error while you run dpkg --install<\/tt>, you will also have to install the related packages whose name starts with apache2<\/tt>.<\/p>\n \ub9cc\uc57d dpkg --install<\/tt> \uc2e4\ud589 \uc911 \uc758\uc874\uc131 \uc5d0\ub7ec\uac00 \ub098\uba74 apache2<\/tt>\ub85c \uc2dc\uc791\ud558\ub294 \uc774\ub984\uc758 \uad00\ub828 \ud328\ud0a4\uc9c0\ub4e4\ub3c4 \uc124\uce58\ud574\uc57c \ud558\ub2c8 \uc8fc\uc758\ud558\uc138\uc694.<\/p>\n At last, adding -vmargs -Djava.library.path=\/usr\/local\/lib<\/tt> option in your Eclipse command, JVM doesn’t bomb out anymore when Subclipse is reconfigured.<\/p>\n \ub9c8\uc9c0\ub9c9\uc73c\ub85c Eclipse \uc2e4\ud589 \uc635\uc158\uc5d0 -vmargs -Djava.library.path=\/usr\/local\/lib<\/tt>\ub97c \ucd94\uac00\ud558\uba74 \uc774\uc81c Subclipse \uc124\uc815\uc744 \ubc14\uafd4\ub3c4 JVM\uc774 \uc8fd\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":" Ubuntu Edgy Eft (6.10)\uc5d0\uc11c Subversion 1.4 \uc0ac\uc6a9\ud558\uae30 I’ve been using Subversive for a while because one of my colleagues told me it’s better than Subclipse, but I didn’t see any advantage from it, uninstalled it, and installed the latest version of Subclipse. Subversive\uac00 \uc88b\ub2e4\ub294 \uc774\uc57c\uae30\uac00 \uc788\uc5b4 \uc0ac\uc6a9\ud558\ub2e4\uac00 \uadf8\ub2e4\uc9c0 \uc88b\uc740 \uc810\uc744 \ub290\ub07c\uc9c0\ub3c4 \ubabb\ud588\uace0 UI\uac00 \ubd88\ud544\uc694\ud558\uac8c \ubcf5\uc7a1\ud558\ub2e4\ub294… Continue reading \n
$ sudo apt-get install gcc g++ libc6-dev libapr0-dev libneon25-dev
\n$ tar jxvf subversion-1.4.x.tar.bz
\n$ cd subversion-1.4.x
\n$ .\/configure --enable-dso --enable-javahl --with-ssl
\n --with-jdk=\/usr\/lib\/j2sdk1.5-sun --without-jikes
\n$ make
\n$ make javahl
\n$ sudo make install
\n$ sudo make install-javahl<\/pre>\n<\/blockquote>\n\n
$ sudo apt-get install dpkg-dev devscripts fakeroot
\n$ sudo apt-get source apache2
\n$ cd apache2-2.0.xx\/debian
\n$ vi rules<\/pre>\n<\/blockquote>\n\n
AP2_CONFLAGS += -D_XOPEN_SOURCE=500<\/pre>\n<\/blockquote>\n
\n
$ cd ..
\n$ sudo apt-get build-dep apache2
\n$ debchange -n # vi \ub728\uba74 \uc800\uc7a5
\n$ dpkg-buildpackage -rfakeroot -b
\n$ cd ..
\n$ sudo dpkg --install libapr0*.deb
\n<\/pre>\n<\/blockquote>\n