|
Bugzilla – Bug 383 |
fiji fails to start when isntalled from experimental repository |
Last modified: 2011-11-30 18:33:28 CST |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
| fiji fails to start when isntalled from experimental repository | |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
Thank you for fixing , I had to add jsch.jar to classpath to build packages from the git repository after built I could run fiji without problem . so here is the patch : diff --git a/fiji.c b/fiji.c index 8906226..5237bc3 100644 --- a/fiji.c +++ b/fiji.c @@ -2458,6 +2458,8 @@ static void parse_command_line(void) skip_build_classpath = 1; string_append_path_list(class_path, fiji_path("plugins/Fiji_Updater.jar")); string_append_path_list(class_path, fiji_path("jars/jsch-0.1.44.jar")); + //Debian + string_append_path_list(class_path, "/usr/share/java/jsch.jar"); main_class = "fiji.updater.Main"; } else if (handle_one_option(&i, "--class-path", arg) || Thank you , AlexAlex, The problem you're seeing there is because the Debian packages aren't built directly from the git repository - there are scripts that rewrite various build files to produce the Debian source package. If you just want to build the Debian packages yourself, you can do: apt-get build-dep fiji apt-get source fiji ... then: cd fiji-[whatever] dpkg-buildpackage -rfakeroot -us -uc If you're interested in how the Debian source files are generated from the standard Fiji source tree, you can look at: http://fiji.sc/cgi-bin/gitweb.cgi?p=fiji.git;a=blob;f=debian/complete-build;hb=refs/heads/master ... but I honestly don't recommend that, it's pretty horrible. regards, mark