libtool: compile: unable to infer tagged
I try to compile Vpython in mandriva nd I get this error. What should I do? I justed immersed in Linux seriously just recently. So I cannot decipher that Cryptic code. Also is there anyone that have successfully compiled vpython in mandriva?
Thanks -------------- Mandriva 2010 Quote:
|
Vpython .. .. Mandriva 2010
Welcome to LQ. .. .. :) ..
A) visual-5.22_release.tar.bz2 B) VIDLE_files_Linux.zip 1) su 2) urpmi python-numpy-devel libgtkglextmm-devel tkinter \ libglademm2.4-devel libpython2.6-devel gcc3.3 gcc3.3-c++ rpm -Uvh \ libboost1.38.0-1.38.0-2mdv2009.1 libicu40-4.0.1-1mdv2009.1 libicu-devel-4.0.1-1mdv2009.1 libboost-devel-1.38.0-2mdv2009.1 ( downloaded from Mandriva 2009.1 http://ftp.linux.org.tr/mandrake/200.../main/release/ ) ( The default boost-1.39 is not recommended.) 3) cd /usr/include/ 4) ln -s ../lib/python2.6/site-packages/numpy/core/include/numpy ..... cd <path-to-vidle-files> 5) cp -a vidle /usr/lib/python2.6/site-packages/ ( from the VIDLE package VIDLE_files_Linux.zip ). 6) ./VIDLE 7) exit VIDLE is not a must, but is recommended. cd visual-5.22_release/ make distclean ./configure CC=gcc-3.3.6 CXX=g++-3.3.6 make .. and when an error appears : ***[wrap_vector.lo] Error 1 .. please reconfigure with .. ./configure make ( the last two objects will then be made with gcc, g++ = the default version 4.4.1 ). su make install ..... ..... The error "" libtool: compile: specify a tag with `--tag' "" may appear when doing a) ./configure b) make CC=gcc-xx CXX=g++-xx. ..... Good luck ..... :) ..... |
I have done as described above and all went well with the configure with gcc 3.xx but running make, I get this:
Quote:
Thanks for replying |
Please clear your ' build.log '.
Then run 'make' again. This will create a new build.log with less text. And please attach this new version to post # 3, if you still have issues. ..... ..... Quote:
Running make as root is asking for trouble. The default build directory is /home/"user"/<some-folder>/ .. Where all commands can be done as unprivileged user. ..... Suggest : make a new folder for your Vpython, and start allover again. ..... |
I did and It went again wrong
Here is a log again. Anyway why would make under root be a trouble? I have anyway stopped that behaviour |
1 Attachment(s)
Working as root is unsafe :
1) It is not a question of if, but when you trash your OS. And permissions will change, so you no more can work on those files as an unprivileged user. 2) Makes you vulnerable for attacks, and all others too, if you are connected to a network / the internet. Attaching a file : rename to " build.log.txt " Text attachments can only be suffix .txt . Use the "paperclip symbol" , see image please .. |
1 Attachment(s)
Here I have attached. I didn't evenknew it wasn't attaching anything.
Thank you! |
The numbers are line numbers from your build.log :
Code:
5 warning: boost/thread/mutex.hpp: No such file .. with a complete boost install. Forgot to install libboost-devel ? ? ..... And if you did build boost yourself, with 'make && make install', the headers are in a "boost-1_3X/boost/" folder, until linked in place. ..... |
Quote:
|
Now it install correctly except when I type import I get import error
Python 2.6.4 (r264:75706, Jan 8 2010, 18:50:31) [GCC 4.4.1] Type "help", "copyright", "credits" or "license" for more information. >>> import visual Traceback (most recent call last): File "<string>", line 1, in <fragment> ImportError: No module named visual >>> |
This is from PCLinuxOS 2009.2 :
find /usr/lib/python2.5/ -name *visual* /usr/lib/python2.5/site-packages/cvisualmodule.so.3.0.0 /usr/lib/python2.5/site-packages/cvisualmodule.so.3 /usr/lib/python2.5/site-packages/visual /usr/lib/python2.5/site-packages/visual/docs/visual /usr/lib/python2.5/site-packages/cvisualmodule.la /usr/lib/python2.5/site-packages/cvisualmodule.so ..... There actually seems to be no module by name "visual.py" or anything similar. ls <path-to>/python2.6/site-packages/visual/ .. will show what you have. (graph.py ui.py materials.py etc. etc.) Or can it be a path problem ? python >>> import graph.py .. no luck either. But I don't know python that much, and can't help with these issues. ..... |
I also suspect path issue.
I'm working also with VP team especially Bruce and he also suspects the same. Anyway your useful comments might appear on VP wiki or anywhere else as I compiled them and sent them. I don't like Plagiarism so I aknowledged you. How do I solve the problem. Another Question is, where is python installed? |
Quote:
( Or : rpm -ql python | less ) will show all files in the package 'python' : /usr/lib/python2.6/ , etc. ..... ..... P.S. : About the "work arounds" to compile Vpython : The recommended compiler is gcc-3.4 ?, not available for Mandriva 2010. Or INSTALL.txt is outdated ? Therefore a combination of gcc-3.3.6 + gcc-4.4.1 was used. The gcc-3.4 might just have worked ... on another Linux. A genuine bug is : Not finding the numpy files, in /usr/include. ..... |
All times are GMT -5. The time now is 10:11 PM. |