共享主机上的 Subversion 核心

发布于 2024-08-27 15:44:11 字数 780 浏览 13 评论 0原文

我已在 bluehost 中注册了共享托管计划,并尝试按照以下说明安装颠覆: bluehost forum svn install script 一开始一切都很顺利,甚至尝试了 svnadmin create project_name 并且成功了,但是当我遍历到 project_name 时我收到此错误“svn: '.'”不是工作副本”当我运行 svn info 时。

我想我可能在编译过程中遇到了错误,记不清了,但我认为当我运行 make && 时,它与“.so”文件有关。 make install 命令,一些关于权限的事情。

更新:

再次重新运行安装并收到此编译错误:

cp .libs/mod_dav_svn.soT /usr/lib64/httpd/modules/mod_dav_svn.so
cp: cannot create regular file `/usr/lib64/httpd/modules/mod_dav_svn.so': Read-only file system
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1

非常感谢任何帮助或建议。谢谢!

I've signed up for a shared hosting plan in bluehost and tried installing a subversion by following this instruction: bluehost forum svn install script all goes well at first even tried svnadmin create project_name and was a success but then when I traverse to project_name I got this error "svn: '.' is not a working copy" when I run svn info.

I think I may have encountered an error on the compilation process, can't remember exactly but i think it has something to do with a ".so" file when I run the make && make install command , something about permission.

UPDATE:

Re-run the install again and received this compile error:

cp .libs/mod_dav_svn.soT /usr/lib64/httpd/modules/mod_dav_svn.so
cp: cannot create regular file `/usr/lib64/httpd/modules/mod_dav_svn.so': Read-only file system
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1

Any help or suggestion is very much appreciated. Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

似狗非友 2024-09-03 15:44:11

当创建文件/用户或执行命令时,请使用 su、sudo 等为您的发行版在 root 下执行此操作。

编辑:此外,大多数共享主机不允许自定义 apache 扩展。

试试这个。

cd ~
mkdir src
cd ~/src
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-util-1.2.12.tar.gz
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-1.2.12.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
wget http://www.webdav.org/neon/neon-0.28.0.tar.gz
tar -xzf apr-util-1.2.12.tar.gz
tar -xzf apr-1.2.12.tar.gz
tar -xzf subversion-1.4.6.tar.gz
tar -xzf neon-0.28.0.tar.gz
cd ~/src/apr-1.2.12
./configure --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/apr-util-1.2.12
./configure --prefix=$HOME --with-apr=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/neon-0.28.0
./configure --enable-shared --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/subversion-1.4.6
./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl LDFLAGS="-L/lib64"
make
make install

Blue Host 论坛的赞扬

when creating files/users or executing commands use su, sudo or the like for your distro to do so ad root.

Edit: Also, most shared host do not allow custom apache extensions.

Try this.

cd ~
mkdir src
cd ~/src
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-util-1.2.12.tar.gz
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-1.2.12.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
wget http://www.webdav.org/neon/neon-0.28.0.tar.gz
tar -xzf apr-util-1.2.12.tar.gz
tar -xzf apr-1.2.12.tar.gz
tar -xzf subversion-1.4.6.tar.gz
tar -xzf neon-0.28.0.tar.gz
cd ~/src/apr-1.2.12
./configure --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/apr-util-1.2.12
./configure --prefix=$HOME --with-apr=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/neon-0.28.0
./configure --enable-shared --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/subversion-1.4.6
./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl LDFLAGS="-L/lib64"
make
make install

Compliments of Blue Host Forum

↙厌世 2024-09-03 15:44:11

终于解决了它:DI使用 –-without-apxs 选项重新运行脚本,

以便从此 找到,这是新脚本:

./configure --prefix=$HOME –-without-apxs --without-berkeley-db --with-ssl LDFLAGS="-L/lib64" make && makeinstall

finally solved it :D I rerun the script with the –-without-apxs option

so to modify it from this find, here's the new script:

./configure --prefix=$HOME –-without-apxs --without-berkeley-db --with-ssl LDFLAGS="-L/lib64" make && makeinstall
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文