انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


ارائه ۲۴٫۱۰ اوبونتو منتشر شد 🎉

نویسنده موضوع: اشكال در نصب ابزار galaxy-tools  (دفعات بازدید: 1975 بار)

0 کاربر و 1 مهمان درحال مشاهده موضوع.

آفلاین Babak Aghaei

  • Newbie
  • *
  • ارسال: 1
اشكال در نصب ابزار galaxy-tools
« : 19 دی 1394، 04:55 ب‌ظ »
با سلام
هنگام نصب ابزار Galaxy-Tools در مرحله make با خطايي روبرو شدم كه فكر مي كنم مربوط به بسته گرافيكي cgragh  و gvc باشه. لطفن منو راهنمايي كنيد. مراحل نصبش هم از روي pdf  به آدرس زير انجام ميشه:
http://apt.cs.manchester.ac.uk/projects/asipide/manual/galaxy-tools-manual-12Dec2010.pdf
هدف نهایی من نصب ابزار Xpipes از مجموعه ابزار Galaxy هستش
از لطفتون ممنونم
خطا:
In file included from /usr/include/graphviz/gvc.h:20:0,
                 from graph_view.cpp:46:
/usr/include/graphviz/types.h:19:0: warning: "WITH_CGRAPH" redefined [enabled by default]
 #define WITH_CGRAPH 1
 ^
In file included from graph_view.cpp:46:0:
/usr/include/graphviz/gvc.h:14:0: note: this is the location of the previous definition
  #define WITH_CGRAPH
 ^
graph_view.cpp: In member function ‘void galaxy::graph_view::on_layout_component()’:
graph_view.cpp:3523:39: error: ‘AGDIGRAPH’ was not declared in this scope
     Agraph_t *g = agopen ((char*)"G", AGDIGRAPH);
                                       ^
graph_view.cpp:3526:45: error: ‘agraphattr’ was not declared in this scope
     agraphattr (g, (char*)"dpi", (char*)"72");
                                             ^
graph_view.cpp:3527:41: error: ‘agnodeattr’ was not declared in this scope
     agnodeattr (g, (char*)"shape", shape);
                                         ^
graph_view.cpp:3543:41: error: too few arguments to function ‘Agnode_t* agnode(Agraph_t*, char*, int)’
         Agnode_t* node = agnode (g, name);
                                         ^
In file included from /usr/include/graphviz/types.h:40:0,
                 from /usr/include/graphviz/gvc.h:20,
                 from graph_view.cpp:46:
/usr/include/graphviz/cgraph.h:275:18: note: declared here
 extern Agnode_t *agnode(Agraph_t * g, char *name, int createflag);
                  ^
graph_view.cpp:3567:47: error: too few arguments to function ‘Agedge_t* agedge(Agraph_t*, Agnode_t*, Agnode_t*, char*, int)’
         Agedge_t* edge = agedge (g, head, tail);
                                               ^
In file included from /usr/include/graphviz/types.h:40:0,
                 from /usr/include/graphviz/gvc.h:20,
                 from graph_view.cpp:46:
/usr/include/graphviz/cgraph.h:286:18: note: declared here
 extern Agedge_t *agedge(Agraph_t * g, Agnode_t * t, Agnode_t * h,
                  ^
graph_view.cpp:3594:41: error: too few arguments to function ‘Agnode_t* agnode(Agraph_t*, char*, int)’
         Agnode_t *node = agnode (g, name);
                                         ^
In file included from /usr/include/graphviz/types.h:40:0,
                 from /usr/include/graphviz/gvc.h:20,
                 from graph_view.cpp:46:
/usr/include/graphviz/cgraph.h:275:18: note: declared here
 extern Agnode_t *agnode(Agraph_t * g, char *name, int createflag);
                  ^
graph_view.cpp:3596:33: error: ‘Agnode_t’ has no member named ‘u’
         double middle_x = node->u.coord.x;
                                 ^
graph_view.cpp:3597:33: error: ‘Agnode_t’ has no member named ‘u’
         double middle_y = node->u.coord.y;
                                 ^
graph_view.cpp:3598:30: error: ‘Agnode_t’ has no member named ‘u’
         double width = node->u.width * DPI;
                              ^
graph_view.cpp:3599:31: error: ‘Agnode_t’ has no member named ‘u’
         double height = node->u.height * DPI;
                               ^
make[3]: *** [graph_view.o] Error 1
make[3]: Leaving directory `/home/babak/galaxy-tools-1.0/src/galaxy-ide'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/babak/galaxy-tools-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/babak/galaxy-tools-1.0'
make: *** [all] Error 2

آفلاین علی ۵۰۰

  • Hero Member
  • *
  • ارسال: 775
  • جنسیت : پسر
پاسخ : اشكال در نصب ابزار galaxy-tools
« پاسخ #1 : 21 دی 1394، 06:14 ب‌ظ »
سلام
کدهاتون رو توی تگ کد قرار دادم تا بچه‌ها راحت‌تر بتونن کمک کنن.
In file included from /usr/include/graphviz/gvc.h:20:0,
                 from graph_view.cpp:46:
/usr/include/graphviz/types.h:19:0: warning: "WITH_CGRAPH" redefined [enabled by default]
 #define WITH_CGRAPH 1
 ^
In file included from graph_view.cpp:46:0:
/usr/include/graphviz/gvc.h:14:0: note: this is the location of the previous definition
  #define WITH_CGRAPH
 ^
graph_view.cpp: In member function ‘void galaxy::graph_view::on_layout_component()’:
graph_view.cpp:3523:39: error: ‘AGDIGRAPH’ was not declared in this scope
     Agraph_t *g = agopen ((char*)"G", AGDIGRAPH);
                                       ^
graph_view.cpp:3526:45: error: ‘agraphattr’ was not declared in this scope
     agraphattr (g, (char*)"dpi", (char*)"72");
                                             ^
graph_view.cpp:3527:41: error: ‘agnodeattr’ was not declared in this scope
     agnodeattr (g, (char*)"shape", shape);
                                         ^
graph_view.cpp:3543:41: error: too few arguments to function ‘Agnode_t* agnode(Agraph_t*, char*, int)’
         Agnode_t* node = agnode (g, name);
                                         ^
In file included from /usr/include/graphviz/types.h:40:0,
                 from /usr/include/graphviz/gvc.h:20,
                 from graph_view.cpp:46:
/usr/include/graphviz/cgraph.h:275:18: note: declared here
 extern Agnode_t *agnode(Agraph_t * g, char *name, int createflag);
                  ^
graph_view.cpp:3567:47: error: too few arguments to function ‘Agedge_t* agedge(Agraph_t*, Agnode_t*, Agnode_t*, char*, int)’
         Agedge_t* edge = agedge (g, head, tail);
                                               ^
In file included from /usr/include/graphviz/types.h:40:0,
                 from /usr/include/graphviz/gvc.h:20,
                 from graph_view.cpp:46:
/usr/include/graphviz/cgraph.h:286:18: note: declared here
 extern Agedge_t *agedge(Agraph_t * g, Agnode_t * t, Agnode_t * h,
                  ^
graph_view.cpp:3594:41: error: too few arguments to function ‘Agnode_t* agnode(Agraph_t*, char*, int)’
         Agnode_t *node = agnode (g, name);
                                         ^
In file included from /usr/include/graphviz/types.h:40:0,
                 from /usr/include/graphviz/gvc.h:20,
                 from graph_view.cpp:46:
/usr/include/graphviz/cgraph.h:275:18: note: declared here
 extern Agnode_t *agnode(Agraph_t * g, char *name, int createflag);
                  ^
graph_view.cpp:3596:33: error: ‘Agnode_t’ has no member named ‘u’
         double middle_x = node->u.coord.x;
                                 ^
graph_view.cpp:3597:33: error: ‘Agnode_t’ has no member named ‘u’
         double middle_y = node->u.coord.y;
                                 ^
graph_view.cpp:3598:30: error: ‘Agnode_t’ has no member named ‘u’
         double width = node->u.width * DPI;
                              ^
graph_view.cpp:3599:31: error: ‘Agnode_t’ has no member named ‘u’
         double height = node->u.height * DPI;
                               ^
make[3]: *** [graph_view.o] Error 1
make[3]: Leaving directory `/home/babak/galaxy-tools-1.0/src/galaxy-ide'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/babak/galaxy-tools-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/babak/galaxy-tools-1.0'
make: *** [all] Error 2
« آخرین ویرایش: 21 دی 1394، 06:17 ب‌ظ توسط علی ۵۰۰ »