LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2011, 02:01 AM   #1
nirmal r
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Question hai


im nirmal r ..i have installed ns2 in redhat 5.i have added an cc file to an tcl script and while compiling the make in terminal it shows me like this..(i have tried to enable the propertise but i con't)

[nalina@localhost ns-2.34]$ make
g++ -c -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/root/ns-allinone-2.34/tclcl-1.19 -I/root/ns-allinone-2.34/otcl-1.13 -I/root/ns-allinone-2.34/include -I/root/ns-allinone-2.34/include -I/root/ns-allinone-2.34/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/net-ip.o emulate/net-ip.cc
cc1plus: error: /root/ns-allinone-2.34/tclcl-1.19: Permission denied
cc1plus: error: /root/ns-allinone-2.34/otcl-1.13: Permission denied
cc1plus: error: /root/ns-allinone-2.34/include: Permission denied
cc1plus: error: /root/ns-allinone-2.34/include: Permission denied
cc1plus: error: /root/ns-allinone-2.34/include: Permission denied
make: *** [emulate/net-ip.o] Error 1

i need solution for the problem.....

regards
nirmal r
 
Old 02-11-2011, 02:14 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
Hello and welcome to LinuxQuestions,

As the error states:
Code:
cc1plus: error: /root/ns-allinone-2.34/tclcl-1.19: Permission denied
Try using sudo with your command:
Code:
sudo make
and see where that gets you. If you get an error that your user is not in the sudoers list, then you need to add it as root with visudo.

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
hai raulapati Linux - Newbie 1 07-03-2010 04:55 PM
Hai Aape LinuxQuestions.org Member Intro 1 08-07-2008 01:24 PM
hai to all phani.85 LinuxQuestions.org Member Intro 1 12-17-2007 06:07 AM
hai,all TonyMiao LinuxQuestions.org Member Intro 1 12-04-2007 12:58 AM
Hai.... joelarkin22 Linux - Newbie 1 10-18-2007 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 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