[Click] Re: Click Installation failed! Please help - URGENT

Eddie Kohler kohler at CS.UCLA.EDU
Fri Jun 17 10:35:20 EDT 2005


If you want to install under /usr/local you need to be root.
If you do not want to install under /usr/local you need to supply './ 
configure' with a '--prefix' argument, such as '--prefix=$HOME'.

On Jun 16, 2005, at 10:40 PM, Raja Sombhotla wrote:

> Dear Mr. Kohler,
>
> First of all thanks for your reply. I have tried the CVS version of  
> click too, but there also i have encountered a problem. I was  
> trying to installl the GNU autoconf and i had the following error:
>
> make[2]: Entering directory `/home/manish/autoconf-2.54/bin'
> /bin/sh ../config/mkinstalldirs /usr/local/bin
>  /usr/bin/install -c autom4te /usr/local/bin/autom4te
> /usr/bin/install: cannot create regular file `/usr/local/bin/ 
> autom4te': Permission denied
>  /usr/bin/install -c autoconf /usr/local/bin/autoconf
> /usr/bin/install: cannot create regular file `/usr/local/bin/ 
> autoconf': Permission denied
>  /usr/bin/install -c autoheader /usr/local/bin/autoheader
> /usr/bin/install: cannot create regular file `/usr/local/bin/ 
> autoheader': Permission denied
>  /usr/bin/install -c autoreconf /usr/local/bin/autoreconf
> /usr/bin/install: cannot create regular file `/usr/local/bin/ 
> autoreconf': Permission denied
>  /usr/bin/install -c ifnames /usr/local/bin/ifnames
> /usr/bin/install: cannot create regular file `/usr/local/bin/ 
> ifnames': Permission denied
>  /usr/bin/install -c autoscan /usr/local/bin/autoscan
> /usr/bin/install: cannot create regular file `/usr/local/bin/ 
> autoscan': Permission denied
>  /usr/bin/install -c autoupdate /usr/local/bin/autoupdate
> /usr/bin/install: cannot create regular file `/usr/local/bin/ 
> autoupdate': Permission denied
> make[2]: *** [install-binSCRIPTS] Error 1
> make[2]: Leaving directory `/home/manish/autoconf-2.54/bin'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/home/manish/autoconf-2.54/bin'
> make: *** [install-recursive] Error 1
> Please help me in this regard. Thanks in advance.
>
> Regards,
> Raj.
>
> Eddie Kohler <kohler at cs.ucla.edu> wrote:
> Raj
>
> Have you tried the CVS version of Click
>
> Eddie
>
>
> Raja Sombhotla wrote:
> > Hi all,
> >
> > I am using the latest release of click click1.4.3.tar.gz,
> > libnet-1.0.2a.tar.gz,
> > ns-allinone-2.26.tar.gz, and the nsclick-2.26.patch. I proceeded
> > according to the nsclickmanual from the Michael Neuenfeld (June 10,
> > 2003).
> >
> > What am I missing ?
> >
> > Actually, i have searched for this error on the web and found this
> > answer from Mr. eddie Kohler :
> > This is my fault -- I changed the prototype of  
> click_export_elements()
> > but
> > forgot to update nsclick.cc. Please update Click and let me know  
> if it
> > works.
> > But i am not sure what to do exactly, because i already got the  
> latest
> > version/release of click. I got the following error actually. Please
> > ; help me to get this installed. Thanks in advance.
> > Regards,
> > Raj.
> >
> > /home/manish/ns-allinone-2.26/lib/libtcl8.3.a(tclUnixPipe.o)(.text 
> +0x117):
> > In function `TclpCreateTempFile':
> > : warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> > common/rawpacket.o(.text+0x1a2): In function `RawAgent::command(int,
> > char const* const*)':
> > : undefined reference to `libnet_name_resolve'
> > common/rawpacket.o(.text+0x227): In function `RawAgent::command(int,
> > char const* const*)':
> > : undefined reference to `libnet_name_resolve'
> > common/rawpacket.o(.text+0x2be): In function `RawAgent::command(int,
> > char const* const*)':
> > : undefined reference to `libnet_name_resolve'
> > common/rawpacket.o(.text+0x2ed): In function `RawAgent::command(int,
> > char const* const*)':
> > : undefined reference to `libnet_name_resolve'
> > common/rawpacket.o(.text+0x57b): In function
> &g t; `RawAgent::send_udp(unsigned long, unsigned short, unsigned  
> long,
> > unsigned short, char const*,
> > int)':
> > : undefined reference to `libnet_build_ip'
> > common/rawpacket.o(.text+0x5a7): In function
> > `RawAgent::send_udp(unsigned long, unsigned short, unsigned long,
> > unsigned short, char const*,
> > int)':
> > : undefined reference to `libnet_build_udp'
> > common/rawpacket.o(.text+0x5c4): In function
> > `RawAgent::send_udp(unsigned long, unsigned short, unsigned long,
> > unsigned short, char const*,
> > int)':
> > : undefined reference to `libnet_do_checksum'
> > common/rawpacket.o(.text+0x5df): In function
> > `RawAgent::send_udp(unsigned long, unsigned short, unsigned long,
> > unsigned short, char const*,
> > int)':
> > : undefined reference to `libnet_do_checksum'
> > classifier/classifier-click.o(.text+0x2e): In function
> > `ClickEventHandler::handle(Event*)':
> > : u ndefined reference to `simclick_click_run'
> > classifier/classifier-click.o(.text+0x2f4): In function
> > `ClickClassifier::command(int, char const* const*)':
> > : undefined reference to `simclick_click_run'
> > classifier/classifier-click.o(.text+0x368): In function
> > `ClickClassifier::command(int, char const* const*)':
> > : undefined reference to `simclick_click_create'
> > classifier/classifier-click.o(.text+0x380): In function
> > `ClickClassifier::command(int, char const* const*)':
> > : undefined reference to `simclick_click_run'
> > classifier/classifier-click.o(.text+0x888): In function
> > `ClickClassifier::command(int, char const* const*)':
> > : undefined reference to `simclick_click_read_handler'
> > classifier/classifier-click.o(.text+0x932): In function
> > `ClickClassifier::command(int, char const* const*)':
> > : undefined reference to `simclick_click_write_handler'
> > classifier/classifier-click.o(.text+0xdbe): In function
> > `ClickClassifier::route(Packet*)':
> > : undefined reference to `simclick_click_send'
> > classifier/classifier-click.o(.text+0x155d): In function
> > `ClickClassifier::LinkLayerFailed(Packet*)':
> > : undefined reference to `simclick_click_send'
> > common/agent.o(.text+0x93a): In function `Agent::command(int, char
> > const* const*)':
> > : undefined reference to `libnet_name_resolve'
> > common/agent.o(.text+0x9bf): In function `Agent::command(int, char
> > const* const*)':
> > : undefined reference to `libnet_name_resolve'
> > common/agent.o(.text+0x1506): In function `Agent::toraw(Packet*)':
> > : undefined reference to `libnet_build_ip'
> > common/agent.o(.text+0x1570): In function `Agent::toraw(Packet*)':
> > : undefined reference to `libnet_build_tcp'
> > common/agent.o(.text+0x158a): In function `Agent::toraw(Packet*)':
> > : undefined refe rence to `libnet_do_checksum'
> > common/agent.o(.text+0x15a5): In function `Agent::toraw(Packet*)':
> > : undefined reference to `libnet_do_checksum'
> > common/agent.o(.text+0x1658): In function `Agent::toraw(Packet*)':
> > : undefined reference to `libnet_build_ip'
> > common/agent.o(.text+0x168a): In function `Agent::toraw(Packet*)':
> > : undefined reference to `libnet_build_udp'
> > common/agent.o(.text+0x16a4): In function `Agent::toraw(Packet*)':
> > : undefined reference to `libnet_do_checksum'
> > common/agent.o(.text+0x16bf): In function `Agent::toraw(Packet*)':
> > : undefined reference to `libnet_do_checksum'
> > queue/clickqueue.o(.text+0x53f): In function
> > `ClickQueue::on_unblock()':
> > : undefined reference to `simclick_click_run'
> > collect2: ld returned 1 exit status
> > make: *** [ns] Error 1
> > Ns make failed!
> > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
> >
> >  
> ---------------------------------------------------------------------- 
> --
> > Discover Yahoo!
> > Find restaurants, movies, travel & more fun for the weekend.  
> Check it
> > out!
> >
>
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy Football



More information about the click mailing list