After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 412162 - Can't compile if python plug-in is disabled
Can't compile if python plug-in is disabled
Status: RESOLVED FIXED
Product: gnome-commander
Classification: Other
Component: buildsystem
unspecified
Other Linux
: Normal normal
: 1.2.4
Assigned To: epiotr
epiotr
: 417897 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-02-26 07:44 UTC by Bruno Dusausoy
Modified: 2007-03-16 23:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bruno Dusausoy 2007-02-26 07:44:19 UTC
Even when compiling without python plug-in option (--python-enabled=no within ./configure), the building system includes gnome-cmd-python-plugin.h, but it shouldn't.

The result is an error : 
g++ -g -o .libs/gnome-commander -Wl,--export-dynamic -pthread -pthread cap.o dirlist.o filter.o gnome-cmd-about-plugin.o gnome-cmd-advrename-dialog.o gnome-cmd-advrename-lexer.o gnome-cmd-app.o gnome-cmd-bookmark-dialog.o gnome-cmd-chmod-component.o gnome-cmd-chmod-dialog.o gnome-cmd-chown-component.o gnome-cmd-chown-dialog.o gnome-cmd-clist.o gnome-cmd-cmdline.o gnome-cmd-combo.o gnome-cmd-con-device.o gnome-cmd-con-ftp.o gnome-cmd-con-home.o gnome-cmd-con-list.o gnome-cmd-con-smb.o gnome-cmd-con.o gnome-cmd-data.o gnome-cmd-delete-dialog.o gnome-cmd-dir-indicator.o gnome-cmd-dir-pool.o gnome-cmd-dir.o gnome-cmd-file-collection.o gnome-cmd-file-list.o gnome-cmd-file-popmenu.o gnome-cmd-file-props-dialog.o gnome-cmd-file-selector.o gnome-cmd-file.o gnome-cmd-ftp-dialog.o gnome-cmd-list-popmenu.o gnome-cmd-main-menu.o gnome-cmd-main-win.o gnome-cmd-make-copy-dialog.o gnome-cmd-mkdir-dialog.o gnome-cmd-options-dialog.o gnome-cmd-path.o gnome-cmd-patternsel-dialog.o gnome-cmd-pixmap.o gnome-cmd-plain-path.o gnome-cmd-prepare-copy-dialog.o gnome-cmd-prepare-move-dialog.o gnome-cmd-prepare-xfer-dialog.o gnome-cmd-quicksearch-popup.o gnome-cmd-rename-dialog.o gnome-cmd-search-dialog.o gnome-cmd-smb-auth.o gnome-cmd-smb-net.o gnome-cmd-smb-path.o gnome-cmd-style.o gnome-cmd-xfer-progress-win.o gnome-cmd-xfer.o handle.o history.o imageloader.o ls_colors.o main.o owner.o plugin_manager.o useractions.o utils.o widget-factory.o -Wl,--export-dynamic -pthread -pthread  /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libbonoboui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lX11 /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt -lgsf-1 /usr/lib/libgobject-2.0.so /usr/lib/libxml2.so /usr/lib/libglib-2.0.so ../libgcmd/.libs/libgcmd.so tags/libgcmd-tags.a tags/id3lib/libgcmd-id3lib.a libgviewer/libgviewer.a -Wl,--rpath -Wl,/usr/local/lib/gnome-commander
gnome-cmd-file-popmenu.o: In function `gnome_cmd_file_popmenu_new':
/home/bdusauso/prog/gnome/gcmd-1-3/src/gnome-cmd-file-popmenu.cc:537: undefined reference to `gnome_cmd_python_plugin_get_list'
gnome-cmd-file-popmenu.o: In function `on_execute_py_plugin':
/home/bdusauso/prog/gnome/gcmd-1-3/src/gnome-cmd-file-popmenu.cc:187: undefined reference to `gnome_cmd_python_plugin_execute'
collect2: ld returned 1 exit status
make[3]: *** [gnome-commander] Error 1
make[3]: Leaving directory `/home/bdusauso/prog/gnome/gcmd-1-3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bdusauso/prog/gnome/gcmd-1-3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bdusauso/prog/gnome/gcmd-1-3'
make: *** [all] Error 2
Comment 1 epiotr 2007-03-16 22:59:09 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 2 epiotr 2007-03-16 23:00:03 UTC
*** Bug 417897 has been marked as a duplicate of this bug. ***