I have problem configuring (i guess) IT++. I used to use it very nicely in my college server (red hat Linux) but when tried to install it in my home computer, its really interesting as follows:
bash: it-config: command not found
bash: it-config: command not found
ML_SU_VSER3.cpp:3:20: itcomm.h: No such file or directory
ML_SU_VSER3.cpp:6: error: std::endl' has not been declared
ML_SU_VSER3.cpp:7: error:std::cout' has not been declared
this amazes me because i did the same in other computer and i could use several SSH windows and compile several programs at once but here i am puzzled to compile 2 programs in 2 shells.
Any suggestions ?? I use Madrake 10.1 official Linux .
Any help would be appreciated very much.
thanks
For the first use i can use compile using "it-config" file and g++ but when i open the second shell i can not compile the any program. I tried by exporting the path again and again and compile again but it always says it-config not found or not a valid command.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, I have no answer for your question, but actually; I use MandrakeLinux 1.01 and I do not have this behavior. But, I get ( when compiling my first programme) ' \user\bin\ld: do not find -lg2c'
My Distro has just been installed, I think I have the same compilers than you g++..., and I made exactly the process explained ( download it++, and external.a, put external.a into it++/lib, ./configure, make....
and for the programme:
g++ it-config --flags -o first first.cpp it-config --libs
if you get an idea of what lg2c is, please explain it to me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have problem configuring (i guess) IT++. I used to use it very nicely in my college server (red hat Linux) but when tried to install it in my home computer, its really interesting as follows:
Followed the instructions on http://itpp.sourceforge.net/latest/linking.html
and used
export PATH=<Path to your IT++ directory>/bin:$PATH
and then
g++
it-config --flags-o my_prog my_prog.cppit-config --libsbut it says
bash: it-config: command not found
bash: it-config: command not found
ML_SU_VSER3.cpp:3:20: itcomm.h: No such file or directory
ML_SU_VSER3.cpp:6: error:
std::endl' has not been declared ML_SU_VSER3.cpp:7: error:std::cout' has not been declaredthis amazes me because i did the same in other computer and i could use several SSH windows and compile several programs at once but here i am puzzled to compile 2 programs in 2 shells.
Any suggestions ?? I use Madrake 10.1 official Linux .
Any help would be appreciated very much.
thanks
For the first use i can use compile using "it-config" file and g++ but when i open the second shell i can not compile the any program. I tried by exporting the path again and again and compile again but it always says it-config not found or not a valid command.
shreeram,
Does
./it-config --flags
work?
Your might want to try
echo $PATH
to see what is visible to the bash shell
Sorry, I have no answer for your question, but actually; I use MandrakeLinux 1.01 and I do not have this behavior. But, I get ( when compiling my first programme) ' \user\bin\ld: do not find -lg2c'
My Distro has just been installed, I think I have the same compilers than you g++..., and I made exactly the process explained ( download it++, and external.a, put external.a into it++/lib, ./configure, make....
and for the programme:
g++
it-config --flags-o first first.cppit-config --libsif you get an idea of what lg2c is, please explain it to me.
this kind of error can arise when you don't have the g2c library installed. so urpmi g2c or urpmi lg2c might work in MDK!