LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-05-2010, 02:14 PM   #1
evstevemd
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Rep: Reputation: 0
Red face 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:
libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' mandriva
 
Old 02-05-2010, 04:39 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
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 .....
.....

Last edited by knudfl; 02-05-2010 at 04:53 PM.
 
Old 02-06-2010, 06:48 AM   #3
evstevemd
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
I have done as described above and all went well with the configure with gcc 3.xx but running make, I get this:
Quote:
[root@localhost visual-5.22_release]# make
Making all in site-packages/visual
make[1]: Entering directory `/home/stefa/Documents/compiled/visual-5.22_release/site-packages/visual'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/stefa/Documents/compiled/visual-5.22_release/site-packages/visual'
Making all in src
make[1]: Entering directory `/home/stefa/Documents/compiled/visual-5.22_release/src'
This is a quiet Makefile. If make exits with an error, check src/build.log to see the complete error message(s). In the event of an error that you cannot debug, please send a message to visualpython-users@lists.sourceforge.net, including the files config.log and src/build.log, requesting assistance.
Compiling ./core/util/atomic_queue.cpp ...
make[1]: *** [atomic_queue.lo] Error 1
make[1]: Leaving directory `/home/stefa/Documents/compiled/visual-5.22_release/src'
make: *** [all-recursive] Error 1
I have attached the build log

Thanks for replying
 
Old 02-06-2010, 07:30 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
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:
[root@localhost visual-5.22_release]# make
'root' is for administrative tasks only !
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.
.....

Last edited by knudfl; 02-06-2010 at 09:10 AM.
 
Old 02-06-2010, 01:12 PM   #5
evstevemd
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 02-07-2010, 03:29 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
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 ..
Attached Images
File Type: jpg 2010-02-07-09:28:09.jpg (15.4 KB, 3 views)
 
Old 02-07-2010, 09:06 AM   #7
evstevemd
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Here I have attached. I didn't evenknew it wasn't attaching anything.
Thank you!
Attached Files
File Type: txt build.log.txt (9.1 KB, 4 views)
 
Old 02-07-2010, 12:12 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
The numbers are line numbers from your build.log :
Code:
5 warning: boost/thread/mutex.hpp: No such file
6 warning: boost/thread/condition.hpp: No such file 

10 warning: boost/python/detail/wrap_python.hpp: No such file 

58 warning: boost/thread/xtime.hpp: No such file 
59 warning: boost/python/errors.hpp: No such file
All these files are in /usr/include/
.. 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.
.....

Last edited by knudfl; 02-07-2010 at 12:24 PM.
 
Old 02-07-2010, 12:37 PM   #9
evstevemd
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
The numbers are line numbers from your build.log :
Code:
5 warning: boost/thread/mutex.hpp: No such file
6 warning: boost/thread/condition.hpp: No such file 

10 warning: boost/python/detail/wrap_python.hpp: No such file 

58 warning: boost/thread/xtime.hpp: No such file 
59 warning: boost/python/errors.hpp: No such file
All these files are in /usr/include/
.. 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.
.....
I have tried to poke around and for some strange reason it is not installed. I'm installing and will post back result
 
Old 02-07-2010, 01:24 PM   #10
evstevemd
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
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
>>>
 
Old 02-07-2010, 01:41 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
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.
.....

Last edited by knudfl; 02-07-2010 at 01:54 PM.
 
Old 02-08-2010, 08:17 AM   #12
evstevemd
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 02-09-2010, 01:57 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Quote:
Another Question is, where is python installed
The command : rpm -ql python
( 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.
.....

Last edited by knudfl; 02-09-2010 at 01:03 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I updated libtool and not can't compile libraries binarybob0001 Linux - Software 1 03-22-2008 02:59 PM
OMfG TAGGED Lebanese Disease General 2 08-17-2005 04:41 PM
GTK+-2.6.2 compile error: libtool looking in wrong place for libglib-2.0.la Locura Linux - Software 5 02-17-2005 04:51 PM
libtool-1.5.6 doesn't compile, LFS navyblue77 Linux - Software 0 08-09-2004 06:07 PM
aic7xxx tagged queue option. jgmarce Linux - Hardware 2 02-24-2003 10:58 AM


All times are GMT -5. The time now is 01:01 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration