Re: "make install" Installation problem

From: Liangping Ma (lma@mail.eecis.udel.edu)
Date: 11/29/01

  • Next message: Mariana Aņez: "tcptrace questions"

    Date: Thu, 29 Nov 2001 21:35:50 -0500 (EST)
    From: Liangping Ma <lma@mail.eecis.udel.edu>
    Subject: Re: "make install" Installation problem 
    Message-ID: <Pine.GSO.4.33.0111292112080.9964-100000@wiggum.ece.udel.edu>
    
    

    >
    > Well, your system is installed incorrectly somehow. It doesn't
    > matter. All "make install" does is:
    >
    > cp tcptrace /usr/local/bin
    >
    > which you can easily do by hand (as root).
    >

    I have some further questions about the installation.

    1) I don't need to install libpcap if I just want to install tcpdump? Does
    this mean I do not need to run "make install" for libpcap?

    2) Does "make install" always mean : cp sth /usr/local/bin ? That is, when
    you install libpcap, it means "cp libpcap /usr/local/bin"; when you
    install tcpdump , it means "cp tcpdump /usr/local/bin"? Unfortunately, the
    computer tells me "libcap cannot be accessed" when I install libcap under
    su.

    3)As for tcptrace, when I use "make", I get the following message:

      ld: fatal : symbol 'main' is multiply defined:
                  (file tcpdump.o and file tcptrace.o);
      ld: fatal : File processing errors. No output written to tcptrace
      collect2: ld returned 1 exit status
      *** Error code 1
      make: Fatal error: Command failed for target 'tcptrace'

    Since I could not pass 'make' for tcptrace, I could not run "cp tcptrace
    /usr/local/bin" yet.

    4) When compiling libpcap and tcpdump, I can use "make distclean" to
    delete some files before I use "./configure" again. Should I do the same
    thing to tcptrace? But when I use this command the computer does not know.
    Other commands?

    Many thanks in advance!

    Liangping Ma

    >
    >> I put three directories tcpdump-3.6.2, libpcap-0.6.2 and
    > >> tcptrace-6.0.0.b4 under the same parent directory. Then I try to compile
    > >> them on my Solaries machine, where I am a root.
    > >> For pcap, no problem with the first two commands "./configuration" and
    > >> "make". Then I su and type the command "make install" and get an error
    > >> message:
    > >> make: Command not found
    > >> Then I put a path for "make", that is, and type "/usr/ccs/bin/make
    > >> install". I get another error message:
    > >> *** Error code 1
    > >> make: Fatal error : Command failed for target 'install'
    > >>
    > >> The same situation happens to tcpdump.
    > >>
    > >> I am wondering if I just need to type "make install", or to specify
    > >> the path. And what's the path? Or am I doing something else wrong?
    > >>
    > >> Thanks in advance!
    > >>
    > >> Sincerely yours,
    > >> Liangping Ma
    > >>
    > >> ----------------------------------------------------------------------------
    > >> To unsubscribe, send a message with body containing "unsubscribe tcptrace" t
    > >> o
    > >> majordomo@tcptrace.org.
    >

    ----------------------------------------------------------------------------
    To unsubscribe, send a message with body containing "unsubscribe tcptrace" to
    majordomo@tcptrace.org.



    This archive was generated by hypermail 2b30 : 11/30/01 EST