Orange Forum • View topic - Gentoo installation problem

Gentoo installation problem

A place to ask questions about methods in Orange and how they are used and other general support.

Gentoo installation problem

Postby 011q » Tue Jun 19, 2012 16:26

Hello. I have problem with "orangeom.so" library on my Gentoo X64.

I've already tried to install Orange with Python-PIP to main site-packages dir, from snapshot, from source with make. And anytime I have message like:

Code: Select all
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:68: UserWarning: Some features will be disabled due to failing modules
Importing 'data' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:69: UserWarning: Importing 'data.io' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.io")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:70: UserWarning: Importing 'data.sample' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.sample")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:71: UserWarning: Importing 'data.outliers' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.outliers")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:72: UserWarning: Importing 'data.preprocess' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.preprocess")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:73: UserWarning: Importing 'data.preprocess.scaling' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.preprocess.scaling")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:74: UserWarning: Importing 'data.utils' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.utils")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:75: UserWarning: Importing 'data.discretization' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.discretization")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:76: UserWarning: Importing 'data.continuization' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.continuization")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:77: UserWarning: Importing 'data.filter' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.filter")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:78: UserWarning: Importing 'data.imputation' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("data.imputation")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:80: UserWarning: Importing 'feature' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("feature")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:81: UserWarning: Importing 'feature.construction' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("feature.construction")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:82: UserWarning: Importing 'feature.construction.functionDecomposition' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("feature.construction.functionDecomposition")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:83: UserWarning: Importing 'feature.construction.univariate' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("feature.construction.univariate")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:84: UserWarning: Importing 'feature.discretization' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("feature.discretization")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:85: UserWarning: Importing 'feature.imputation' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("feature.imputation")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:86: UserWarning: Importing 'feature.scoring' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("feature.scoring")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:87: UserWarning: Importing 'feature.selection' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("feature.selection")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:89: UserWarning: Importing 'network' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("network")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:93: UserWarning: Importing 'statistics' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("statistics")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:94: UserWarning: Importing 'statistics.estimate' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("statistics.estimate")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:95: UserWarning: Importing 'statistics.contingency' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("statistics.contingency")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:96: UserWarning: Importing 'statistics.distribution' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("statistics.distribution")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:97: UserWarning: Importing 'statistics.basic' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("statistics.basic")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:98: UserWarning: Importing 'statistics.evd' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("statistics.evd")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:100: UserWarning: Importing 'classification' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("classification")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:101: UserWarning: Importing 'classification.tree' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("classification.tree")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:103: UserWarning: Importing 'classification.rules' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("classification.rules")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:105: UserWarning: Importing 'classification.lookup' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("classification.lookup")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:106: UserWarning: Importing 'classification.bayes' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("classification.bayes")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:107: UserWarning: Importing 'classification.svm' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("classification.svm")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:108: UserWarning: Importing 'classification.logreg' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("classification.logreg")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:109: UserWarning: Importing 'classification.knn' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("classification.knn")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:110: UserWarning: Importing 'classification.majority' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("classification.majority")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:112: UserWarning: Importing 'tuning' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("tuning")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:115: UserWarning: Importing 'projection.linear' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("projection.linear")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:116: UserWarning: Importing 'projection.mds' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("projection.mds")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:120: UserWarning: Importing 'ensemble.bagging' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("ensemble.bagging")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:121: UserWarning: Importing 'ensemble.boosting' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("ensemble.boosting")
/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py:122: UserWarning: Importing 'ensemble.forest' failed: /home/neko/.local/lib64/python2.7/site-packages/Orange/orangeom.so: undefined symbol: _ZN7TOrange8afterSetEPKc
  _import("ensemble.forest")
Traceback (most recent call last):
  File "/home/neko/.local/bin/orange-canvas", line 4, in <module>
    import Orange
  File "/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py", line 123, in <module>
    _import("ensemble.stacking")
  File "/home/neko/.local/lib64/python2.7/site-packages/Orange/__init__.py", line 30, in _import
    __import__(name, globals(), locals(), [], -1)
  File "/home/neko/.local/lib64/python2.7/site-packages/Orange/ensemble/stacking.py", line 3, in <module>
    class StackedClassificationLearner(Orange.classification.Learner):
AttributeError: 'module' object has no attribute 'classification'


So, how I can install Orange properly?
Last edited by 011q on Thu Jun 21, 2012 23:39, edited 1 time in total.

Re: Gentoo installation problem

Postby Ales » Wed Jun 20, 2012 9:47

Can you post the compiler output during a clean build, by running
Code: Select all
python setup.py build_ext

Re: Gentoo installation problem

Postby 011q » Thu Jun 21, 2012 13:08

Thanks for your fast answer, there is my module builder output (nothing seems wrong by now, but errors are the same after fresh installation):

http://pastebin.com/85MAde4D

Re: Gentoo installation problem

Postby Ales » Mon Jun 25, 2012 10:01

I installed gentoo in Virtual Box (closely following the official install guide), but Orange compiles fine and is importable.

Can you provide more information about your system (GCC version, your make.conf, ...)

Re: Gentoo installation problem

Postby 011q » Fri Jul 06, 2012 2:29

Now I am installed orange succesfully.

Now I think, that bug was not in Orange, but in some part of the system, because I needed to reinstall the system with the same settings after HDD fault (system settings were restored from another HDD).


Return to Questions & Support



cron