Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please try to be more descriptive with your titles in future!
Tell us, in detail, which distro you're using and what the specs of your computer are.
Also, what exactly is leach? What do you need it for? I can't find anything by that name in the Debian repositories and a Web search doesn't bring up anything meaningful.
Please use a descriptive title for your thread excluding words like 'urgent' or 'help'. Using a proper title makes it easier for members to help you. This thread has been reported for title modification. Please do not add replies that address the thread title.
Hello knudfl
sir i get these errors while installing gcc and g++ for ubuntu 12.04
abhinaya@abhinaya:~/leachfiles$ sudo dpkg -i compat-gcc34-3.4.6-ubuntu1204-1_amd64.deb compat-gcc-34-c++_3.4.6-20_amd64.deb
dpkg: error processing compat-gcc34-3.4.6-ubuntu1204-1_amd64.deb (--install):
package architecture (amd64) does not match system (i386)
dpkg: error processing compat-gcc-34-c++_3.4.6-20_amd64.deb (--install):
package architecture (amd64) does not match system (i386)
Errors were encountered while processing:
compat-gcc34-3.4.6-ubuntu1204-1_amd64.deb
compat-gcc-34-c++_3.4.6-20_amd64.deb
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 6 .
*amd64.deb packages are for a 64bits OS. Which is not recommended.
When you have the recommended 32bits (i686) OS :
Please use the *i386.deb packages. For Ubuntu 12.04, they are :
gcc41-compat-4.1.2.ubu1204_i386.deb and g++41-compat-4.1.2_i386.deb .
Please read post #18 here .. http://www.linuxquestions.org/questi...022/page2.html
hello knudfl sir
thank you for your post.i successfully installed but i got these errors in leach.err kindly help me to rectify
leach.err
invalid command name "Resource/Energy"
while executing
"Resource/Energy instproc setParams {args} {
$self instvar energyLevel_ alarmLevel_
set energyLevel_ [lindex $args 0]
set alarmLevel_ [lind..."
(file "/home/abhinaya/Desktop/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl" line 11)
invoked from within
"source.orig /home/abhinaya/Desktop/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /home/abhinaya/Desktop/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl"
(file "mit/uAMPS/sims/uamps.tcl" line 24)
invoked from within
"source.orig mit/uAMPS/sims/uamps.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source mit/uAMPS/sims/uamps.tcl"
(file "tcl/mobility/leach.tcl" line 18)
invoked from within
"source.orig tcl/mobility/leach.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source tcl/mobility/$opt(rp).tcl"
(file "tcl/ex/wireless.tcl" line 187)
Please reread #3 http://www.linuxquestions.org/questi...-4175493139/#3
I.e. ""The latest patch is exidus-pegasis-leach-ns234-patch.2.tar.gz ,
.. which is the proof way of running leach in a contemporary Linux OS.""
hello knudfl sir i had started from scartch of installing ns2 but i got these new errors when installing gcc 3.4 please help me to rectify it.
dharani@dharani:~/Documents/leachfiles$ sudo dpkg -i compact-gcc34-3.4.6-ubuntu1204-1_amd.deb compact-gcc-34-c++_3.4.6-20_amd64.deb
[sudo] password for dharani:
dpkg: error processing compact-gcc34-3.4.6-ubuntu1204-1_amd.deb (--install):
cannot access archive: No such file or directory
dpkg: error processing compact-gcc-34-c++_3.4.6-20_amd64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
compact-gcc34-3.4.6-ubuntu1204-1_amd.deb
compact-gcc-34-c++_3.4.6-20_amd64.deb
There are no packages with those file names.
Please don't try typing long file names. Use copy/past instead.
( It's "compat" (like compatible), not "compact".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.