close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jul 26, 2010, 3:02:05 PM (14 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v14
|
v15
|
|
78 | 78 | [[Image(http://trac.nchc.org.tw/cloud/raw-attachment/wiki/waue/2010/0707/2010-07-07-180950_397x218_scrot.png)]] |
79 | 79 | |
| 80 | == 3.3 排除 javaHL 錯誤的問題 == |
| 81 | |
| 82 | * 有時候eclipse會報錯,訊息如: |
| 83 | {{{ |
| 84 | #!text |
| 85 | Failed to load JavaHL Library. |
| 86 | These are the errors that were encountered: |
| 87 | no libsvnjavahl-1 in java.library.path |
| 88 | no svnjavahl-1 in java.library.path |
| 89 | /opt/local/lib/libsvnjavahl-1.0.0.0.dylib: no suitable image found. Did find: /opt/local/lib/libsvnjavahl-1.0.0.0.dylib: mach-o, but wrong architecture |
| 90 | }}} |
| 91 | |
| 92 | 解決方法:([http://subclipse.tigris.org/wiki/JavaHL]) |
| 93 | |
| 94 | 1. 安裝 libsvn-java |
| 95 | {{{ |
| 96 | $ apt-get install libsvn-java |
| 97 | }}} |
| 98 | |
| 99 | 2. 增加 eclipse目錄/eclipse.ini |
| 100 | {{{ |
| 101 | -Djava.library.path=/usr/lib/jni |
| 102 | }}} |
| 103 | |
| 104 | 3. 重新啟動 eclipse 就不會出現錯誤訊息了 |
| 105 | |
80 | 106 | = 四、連結 = |
81 | 107 | |