Find the answer to your Linux question:
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.
  1. #1
    Just 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,

  2. #2
    Linux 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:

    Code:
    PATH=$PATH:/location/of/bin/directory
    In other words, add the /bin directory to your path before you run make.
    Let us know if that works.
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  3. #3
    Just 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

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    make: g: Command not found
    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...

    Anyone else know what the g command is?

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •