扫描二维码关注官方公众号
返回列表 发布新帖

[求助/问答] 黑群如何安装redmine

3151 4
发表于 2014-6-4 14:38:15 | 显示全部楼层 阅读模式

来吧兄弟,一起玩一起讨论!

您需要 登录 才可以下载或查看,没有账号?注册

×
最近因xen服务器出现故障,特组了一台黑群
配置:g1820 + h87i-plus + 4G内存 + 6*3T硬盘(黑群软raid1)

发觉NAS服务器使用中,有点浪费,并且黑群拥有SVN,感觉不错,故很想把平时的项目转移到里面来,但是我安装redmine的时候,却死活安装不上。
在编译ruby的时候,出现错误:
compiling file.c
file.c: In function 'rb_file_readable_p':
file.c:1308: warning: implicit declaration of function 'eaccess'
file.c: In function 'utime_internal':
file.c:2276: warning: implicit declaration of function 'utimensat'
file.c:2276: error: 'AT_FDCWD' undeclared (first use in this function)
file.c:2276: error: (Each undeclared identifier is reported only once
file.c:2276: error: for each function it appears in.)
make: *** [file.o] Error 1

请问,这个如何解决啊。
或者有哪位高人能发布一下在黑群上面安装redmine+svn的详细配置啊。

评论4

堕落的人生楼主Lv.2 发表于 2014-6-4 14:39:04 | 显示全部楼层
1、cd /volume1/@tmp
2、wget http://ipkg.nslu2-linux.org/feed ... trap_1.2-7_i686.xsh
3、chmod +x syno-i686-bootstrap_1.2-7_i686.xsh
4、sh syno-i686-bootstrap_1.2-7_i686.xsh
5、vi /root/.profile
6、
原来的:
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin

增加修改为:
PATH=/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin

7、ipkg install make
8、ipkg install libstdc++


mkdir /opt/i686-linux-gnu/lib_disabled
mv /opt/i686-linux-gnue/lib/libpthread* /opt/i686-linux-gnu/lib_disabled
cp /lib/libpthread.so.0 /opt/i686-linux-gnu/lib/
cd /opt/i686-linux-gnu/lib/
ln -s libpthread.so.0 libpthread.so
ln -s libpthread.so.0 libpthread-2.5.so
sudo ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so


9、cd /volume1/@tmp
10、wget -c http://ftp.ruby-lang.org/pub/ruby/ruby-2.1.2.tar.gz
11、tar zxvf ruby-2.1.2.tar.gz
12、cd ruby-2.1.2/
13、./configure --prefix=/opt --disable-install-doc --with-opt-dir=/opt/lib

回复 点赞

使用道具 举报

堕落的人生楼主Lv.2 发表于 2014-6-4 14:41:02 | 显示全部楼层
本帖最后由 堕落的人生 于 2014-6-4 14:44 编辑

因为U是G1820,但是我没有找到相应的ipkg,不知道是不是这个原因。

后面发现ipkg里面有一个ruby,还有gem,但是不知道要怎么安装,我习惯使用编译,希望有高手进行回复,谢谢。

在网上搜的屁都搜出来了,有二篇文章可以参考,如果打不开,需要VPN
http://forum.qnapclub.de/viewtopic.php?f=33&t=23888
http://planet.nccucs.org/2009/12/22/15793/
回复 点赞

使用道具 举报

goldbyteLv.6 发表于 2014-6-4 18:45:07 | 显示全部楼层
高人,打酱油的路过...........
回复 点赞

使用道具 举报

堕落的人生楼主Lv.2 发表于 2014-6-5 19:15:39 | 显示全部楼层
没有人么?
回复 点赞

使用道具 举报

回复

懒得打字嘛,点击右侧快捷回复 【本站酷狼4T,750元】
您需要登录后才可以回帖 登录 | 注册

本版积分规则

投诉/建议联系

support@gebi1.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2024 隔壁网 版权所有 All Rights Reserved. 粤ICP备14056481号-1
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表