LinuxQuestions.org
Visit Jeremy's Blog.
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 03-05-2011, 07:16 PM   #1
ghantauke
Member
 
Registered: Nov 2010
Posts: 114

Rep: Reputation: 6
compiling make file


I want my tgrep command to work. I got a tgrep folder with a file called Makefile and various other files. How do i compile the makefile to make the tgrep command work?
 
Old 03-05-2011, 07:22 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
There is probably a file called README or one called INSTALL that should tell you.

It is probably "./configure; make; make install"
 
Old 03-06-2011, 04:56 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Tutorial, Tgrep & TGrep2
http://www.stanford.edu/dept/linguis...tut-tgrep.html
""Tgrep and the improved new version TGrep2 are ... ""

I'd guess, you mean TGrep2. ( There's no Makefile in 'tgrep' ? )

Required for tgrep2 : /home/<user-name>/DRUtils/libdrutils.a
http://tedlab.mit.edu/~dr/DRUtils/drutils.tgz
In /home/<user-name>/, do : tar xvf drutils.tgz && cd DRUtils/ && make

http://tedlab.mit.edu/~dr/Tgrep2/tgrep2.tgz
tar xvf tgrep2.tgz && cd TGrep2/ && ./tgrep2 -h

And if you want a new binary 'tgrep2' : Just run make.
( But the already included binary should be OK.)

..
 
Old 03-09-2011, 09:44 AM   #4
ghantauke
Member
 
Registered: Nov 2010
Posts: 114

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by knudfl View Post
Tutorial, Tgrep & TGrep2
http://www.stanford.edu/dept/linguis...tut-tgrep.html
""Tgrep and the improved new version TGrep2 are ... ""

I'd guess, you mean TGrep2. ( There's no Makefile in 'tgrep' ? )

Required for tgrep2 : /home/<user-name>/DRUtils/libdrutils.a
http://tedlab.mit.edu/~dr/DRUtils/drutils.tgz
In /home/<user-name>/, do : tar xvf drutils.tgz && cd DRUtils/ && make

http://tedlab.mit.edu/~dr/Tgrep2/tgrep2.tgz
tar xvf tgrep2.tgz && cd TGrep2/ && ./tgrep2 -h

And if you want a new binary 'tgrep2' : Just run make.
( But the already included binary should be OK.)

..
Thanks. I installed tgrep2 as u said. It works but I can't create treebank from a plain corpus using tgrep2. I think the command we should use to do that is tprep but when I type tprep in the terminal it says the command cannot be found. The manual only says how to convert a treebank created from tgrep to into tgrep2 supported format. Does tgrep2 include any command to create a treebank from a plain text?
Thanks in advance.
 
  


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
[SOLVED] How to create a MAKE file for compiling? hakeemtunde Linux - Newbie 4 02-24-2011 07:17 AM
make with make file yields error: /usr/bin/javac: cannot execute binary file bweaver Ubuntu 4 11-19-2010 03:58 PM
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 03:13 AM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 01:18 AM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 01:34 AM


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

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