Results 1 to 4 of 4
I have the following problem while installing the TARGUSInfo API for C, C++
I have downloaded the C, C++ API to access the database of TARGUSInfo,
and i tried the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-22-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Bangalore
- Posts
- 4
C, C++ API Installation Problem
I have the following problem while installing the TARGUSInfo API for C, C++
I have downloaded the C, C++ API to access the database of TARGUSInfo,
and i tried the following steps to Install the API's in the Linux Terminal.
$ gunzip TARGUSapi-1.5.02.35-Linux-2.4.18-3.tar.gz
$ tar -xvf TARGUSapi-1.5.02.35-Linux-2.4.18-3.tar
The TARGUSapi-1.5.02.35 directory has created, It contains the following subdirectories and respective files.
bin
config
inc
lib
They have given some sample codes to test.
But once if i execute the make file in the example directory it gives the following error message.
[siva@Siva example2]$ make OS_NAME='Linux -s'
g -L/home/siva/TARGUSInfo/TARGUSapi-1.5.02.35//lib -o example2 ../common/ApplicationController.o ../common/CallContext.o ../common/ApplicationDispatch.o ../common/CallContextManager.o ../common/Launcher.o Example2Launcher.o Example2Dispatch.o example2.o -lTARGUSapi
make: g: Command not found
make: [example2] Error 127 (ignored)
I feel this error is something related to Linux
Linux and gcc Versions are following
==============================
Linux version 2.4.21-4.EL (bhcompile@daffy.perf.redhat.com)
(gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)).
If some one knows how to solve this problem please help me to sort it out.
Thanks,
- 01-22-2005 #2Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
Most likely, the exec file 'g' is located in the /bin directory that Targus created, but your path doen't point there. Try this before you execute make:
In other words, add the /bin directory to your path before you run make.Code:PATH=$PATH:/location/of/bin/directory
Let us know if that works.
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 01-24-2005 #3Just Joined!
- Join Date
- Jan 2005
- Location
- Bangalore
- Posts
- 4
I set the bin directory path as you mentioned, but still I am getting the same error.
Namasivayam
- 01-24-2005 #4Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
I'm not too sure what the command g is, that's why I was thinking it might be in that bin directory. I assume that if you try to run the command g that you'll get an error? I can't really tell you what package to install to get the command...make: g: Command not found
Anyone else know what the g command is?
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude


Reply With Quote
