LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2013, 05:04 PM   #1
Glories
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Rep: Reputation: Disabled
Question Problem in Haizea Verification Step


I have a problem in Haizea installation (in "Verify Installation "), I followed all Installation guides listed here
http://haizea.cs.uchicago.edu/manual/node14.html
Actually I installed it on Home directory. When I am trying to verify my installation by typing
haizea -c $HOME/share/haizea/etc/sample_trace.conf
I received an error such: command not found
So, how I can solve this problem?

I use last version of Ubuntu.

Thanks in advance.
 
Old 04-25-2013, 02:08 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
That looks like a very odd path you've got there. Try this:
From your home directory give this command
Code:
ls -l share/haizea/etc/sample_trace.conf
If you get an error message such as "No such file or directory" then you've got the wrong path.
If that's the case try this using sudo or as root:
Code:
updatedb
Then run (as normal user) this:
Code:
locate sample_trace.conf
That will give you the correct path for your command.
Ciao,
jdk
 
1 members found this post helpful.
Old 04-25-2013, 01:30 PM   #3
Glories
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you jdkaye.
I do exactly what you wrote.
I typed
ls -l share/haizea/etc/sample_trace.conf

I've got "No such file error"
I did extract the correct path and I typed the command again and I got the same error.
Any suggestions?
I appreciate your help
 
Old 04-26-2013, 12:32 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Sorry Glories but you have to put down exactly what you typed or else no one can help you. So what is the path to sample_trace and what exactly did you type.
jdk
 
Old 04-26-2013, 04:02 PM   #5
Glories
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
It's OK
a screen shoot in attachment

hope I can solve the problem
Attached Thumbnails
Click image for larger version

Name:	Screen%20Shot%202013-04-26%20at%2010.50.51%20PM.png
Views:	9
Size:	67.9 KB
ID:	12408  
 
Old 04-27-2013, 12:38 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
There's good news and bad news. The good news is that you have located the sample_trace.conf file. The bad news is you don't have a command called "haizea". Try the command
Code:
which haizea
. I'm guessing the output will be blank. You can use the "locate" command to see if there is an executable file called "haizea".
Can you post your output from your compilation with python. According to the link you posted it's supposed to look like this:
Code:
creating /usr/share/haizea/traces/multi
copying traces/multi/inj1.lwf -> /usr/share/haizea/traces/multi
copying traces/multi/inj2.lwf -> /usr/share/haizea/traces/multi
copying traces/multi/withprematureend.lwf -> /usr/share/haizea/traces/multi
copying traces/multi/withoutprematureend.lwf -> /usr/share/haizea/traces/multi
running install_egg_info
Writing /usr/lib/python2.5/site-packages/haizea-XXX.egg-info
ciao,
jdk
 
Old 04-27-2013, 09:09 AM   #7
Glories
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I think I've found the executable file "haizea"
but I did not understand what do you mean by "post your output from your compilation with python"
So, I created a Hello World program and executed it

the screen shoots in attachments

and thank you so much for your time
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	9
Size:	101.2 KB
ID:	12417   Click image for larger version

Name:	2.png
Views:	8
Size:	18.8 KB
ID:	12418  
 
Old 04-27-2013, 10:12 AM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
I thought you were compiling haizea from source (and it was written in python). If your executable works then you've solved your problem. Please use the Thread Tools located just above your first post to mark this thread as [Solved].
thanks,
jdk
 
Old 04-27-2013, 10:36 AM   #9
Glories
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Sorry I couldn't get your point
haizea command still not working

Anyway, Thank you a lot.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Use Two-step verification for ssh using google-authenticator LXer Syndicated Linux News 0 04-11-2013 01:20 PM
Haizea installation eshan_dinesh Linux - Newbie 1 10-19-2011 04:16 PM
problem in understanding step by step execution of n-code files Najia Iqbal Programming 5 04-06-2006 01:55 AM
rpm gpg verification problem pcwulf Linux - General 3 12-14-2004 01:31 PM


All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration