LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-08-2011, 08:49 PM   #1
ghantauke
Member
 
Registered: Nov 2010
Posts: 114

Rep: Reputation: 6
Problem installing tgrep


I'm trying to install tgrep using the INSTALL file but I'm gettin errors. The following messages speaks for itself.

Code:
denish@ubuntu:~/tgrep$ ./INSTALL
 
****************************************************************
	      THIS IS THE CONFIGURATION SCRIPT FOR TGREP
 
	   Please answer all questions with full pathnames
****************************************************************
 
I cannot determine the gcc include path on your system.
  Please enter the gcc include path if it is available: /usr/include
 
/usr/src/linux/include was not found on your system.
  Please enter a substitute include path if it is available: /usr/src/linux-headers-2.6.35-24-generic
 
/usr/X11R6/include was not found on your system.
  Please enter a substitute include path if it is available: 
 
/usr/X11R6/lib was not found on your system.
  Please enter a substitute include path if it is available: 
 
Warning: /Xm was not found.  The X progress display will
not be available.
 
 
****************************************************************
The perl command is   :: /usr/bin/perl
The bison command is  :: /usr/bin/bison
The flex command is   :: /usr/bin/flex
The imake command is  :: /usr/bin/imake
gcc include path is   :: /usr/include
linux include path is :: /usr/src/linux-headers-2.6.35-24-generic
standard include path :: /usr/include
standard library path :: /usr/lib
 
Are these parameters correct? [y/n/q] y
continuing with configuration
 
Enter the directory where you wish to install the tgrep executables: 
  [the default is /home/denish/tgrep/bin : return = default] 
  :  
 
Enter the directory where you wish to install the tgrep corpora: 
  [the default is /home/denish/tgrep/data : return = default] 
  : 
 
The tgrep man pages are for the first section of the manual.
  Enter the directory where you wish to install
  the tgrep man pages (i.e. /usr/local/man/man1): 
  [the default is /home/denish/tgrep/doc/man1 : return = default ]
  : 
 
****************************************************************
install executables in      :: /home/denish/tgrep/bin
install corpora in        :: /home/denish/tgrep/data
install man pages in        :: /home/denish/tgrep/doc/man1
 
Are these parameters correct? [y/n/q] y
continuing with configuration
***** MAKING MAKEFILE IN DIRECTORY src/tools
***** MAKING MAKEFILE IN DIRECTORY src/environ
***** MAKING MAKEFILE IN DIRECTORY src/tgrep
***** MAKING MAKEFILE IN DIRECTORY bin
***** MAKING MAKEFILE IN DIRECTORY doc
***** MAKING MAKEFILE IN DIRECTORY data
***** MAKING MAKEFILE IN DIRECTORY /home/denish/tgrep/config
 
 
 
*********************************************************
 
THE CONFIGURATION STAGE OF THE BUILD PROCESS IS COMPLETE
 
If you experience trouble beyond this point you don't
need to run INSTALL again, you can just run 'make'
to make everything or 'make install' to make everything
and install everything. 
If need be, you should run make from the directory /home/denish/tgrep
 
*********************************************************
 
 
 
***** MAKING AND INSTALLING FROM DIRECTORY src/tools
make[1]: Entering directory `/home/denish/tgrep/src/tools'
gcc -c -o ArgPack.o ArgPack.c -g -I/usr/include -I/usr/src/1-headers-2.6.35-24-generic -I -I/usr/include -I. -Dconst= -DMEMDEBUG=0   -Wall -m486 -O4 
cdenish@ubuntu:~/tgrep$ ./INSTALL
 
****************************************************************
	      THIS IS THE CONFIGURATION SCRIPT FOR TGREP
 
	   Please answer all questions with full pathnames
****************************************************************
 
I cannot determine the gcc include path on your system.
  Please enter the gcc include path if it is available: /usr/include
 
/usr/src/linux/include was not found on your system.
  Please enter a substitute include path if it is available: /usr/src/linux-headers-2.6.35-24-generic
 
/usr/X11R6/include was not found on your system.
  Please enter a substitute include path if it is available: 
 
/usr/X11R6/lib was not found on your system.
  Please enter a substitute include path if it is available: 
 
Warning: /Xm was not found.  The X progress display will
not be available.
 
 
****************************************************************
The perl command is   :: /usr/bin/perl
The bison command is  :: /usr/bin/bison
The flex command is   :: /usr/bin/flex
The imake command is  :: /usr/bin/imake
gcc include path is   :: /usr/include
linux include path is :: /usr/src/linux-headers-2.6.35-24-generic
standard include path :: /usr/include
standard library path :: /usr/lib
 
Are these parameters correct? [y/n/q] y
continuing with configuration
 
Enter the directory where you wish to install the tgrep executables: 
  [the default is /home/denish/tgrep/bin : return = default] 
  :  
 
Enter the directory where you wish to install the tgrep corpora: 
  [the default is /home/denish/tgrep/data : return = default] 
  : 
 
The tgrep man pages are for the first section of the manual.
  Enter the directory where you wish to install
  the tgrep man pages (i.e. /usr/local/man/man1): 
  [the default is /home/denish/tgrep/doc/man1 : return = default ]
  : 
 
****************************************************************
install executables in      :: /home/denish/tgrep/bin
install corpora in        :: /home/denish/tgrep/data
install man pages in        :: /home/denish/tgrep/doc/man1
 
Are these parameters correct? [y/n/q] y
continuing with configuration
***** MAKING MAKEFILE IN DIRECTORY src/tools
***** MAKING MAKEFILE IN DIRECTORY src/environ
***** MAKING MAKEFILE IN DIRECTORY src/tgrep
***** MAKING MAKEFILE IN DIRECTORY bin
***** MAKING MAKEFILE IN DIRECTORY doc
***** MAKING MAKEFILE IN DIRECTORY data
***** MAKING MAKEFILE IN DIRECTORY /home/denish/tgrep/config
 
 
 
*********************************************************
 
THE CONFIGURATION STAGE OF THE BUILD PROCESS IS COMPLETE
 
If you experience trouble beyond this point you don't
need to run INSTALL again, you can just run 'make'
to make everything or 'make install' to make everything
and install everything. 
If need be, you should run make from the directory /home/denish/tgrep
 
*********************************************************
 
 
 
***** MAKING AND INSTALLING FROM DIRECTORY src/tools
make[1]: Entering directory `/home/denish/tgrep/src/tools'
gcc -c -o ArgPack.o ArgPack.c -g -I/usr/include -I/usr/src/1-headers-2.6.35-24-generic -I -I/usr/include -I. -Dconst= -DMEMDEBUG=0   -Wall -m486 -O4 
cc1: error: unrecognized command line option "-m486"
make[1]: *** [ArgPack.o] Error 1
make[1]: Leaving directory `/home/denish/tgrep/src/tools'
exit: 1: Illegal number: -1
make: *** [install] Error 2
 
************************************************************
 It seems that the build process did not go smoothly
 If you cannot diagnos and fix the problem yourself
 send email to tgrep-support@linc.cis.upenn.edu
 containing a copy of all the output from this failed
 installation process.
************************************************************
c1: error: unrecognized command line option "-m486"
make[1]: *** [ArgPack.o] Error 1
make[1]: Leaving directory `/home/denish/tgrep/src/tools'
exit: 1: Illegal number: -1
make: *** [install] Error 2
 
************************************************************
 It seems that the build process did not go smoothly
 If you cannot diagnos and fix the problem yourself
 send email to tgrep-support@linc.cis.upenn.edu
 containing a copy of all the output from this failed
 installation process.
************************************************************
I downloaded the tgrep package from ftp://ftp.crl.ucsd.edu/pub/tgrep/tgrep.tar.gz and I'm using ubuntu.
 
Old 03-09-2011, 11:23 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You marked the thread as solved but you didn't share your solution. That information could help others who want to do the same thing.
 
Old 03-09-2011, 12:22 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The solution is probably one of the other tgrep threads by the OP.

(Total = four concurrent tgrep threads)

http://www.linuxquestions.org/questi...e-file-866671/

http://www.linuxquestions.org/questi...-found-866639/

http://www.linuxquestions.org/questi...e-path-867326/
 
  


Reply

Tags
tgrep



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] tgrep command not found ghantauke Linux - Newbie 7 03-09-2011 12:32 AM
Installing Simplescalar: Problem installing simpleutils yy_current_buffer’ undeclared niteshg Linux - Software 1 07-03-2009 04:09 PM
Problem Installing Limewire - Received Errors While Installing taurusx5 Linux - Software 2 08-05-2008 02:39 AM
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
Installing Red5 - Problem @ Installing fedora-rpmdevtools Aziz Linux - Software 2 11-04-2006 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:51 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
Open Source Consulting | Domain Registration