Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Installing Anjuta Or Eclipse (c++) Onto Ubuntu
zarniwoop
post Nov 22 2004, 10:24 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 22-November 04
Member No.: 4,210



I want to do some C++ programming on an ubuntu system and I have no idea how to install either of these programs. I can't find any simple binaries though there are some for Anjuta but they aren't designed for Ubuntu(will they work anyway?). I only installed linux a couple of days ago so haven't ever installed a program onto it.
Go to the top of the page
 
+Quote Post
russ_m9
post Nov 24 2004, 05:29 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 18
Joined: 14-November 04
Member No.: 4,170



you can try the binaries they may or may not work as expected, i always like to compile from source code for the platform and distro that i intend to use the program on that way no problems arise from thier useon the system in question.

download the source(s) and extract them to a directory, i always use this: home/<your_name_here>/temp

then open a teminal and type:
cd /home/<your_name_here>/temp 'open directory of source
su 'press enter after
now at the $ prompt enter your root password press enter

now at the root prompt ( "#" ) type ./configure ' press enter

make a note of any warnings or error(s)

now type make ' press enter key
same as above about warnings or error(s)

now type make install ' press enter key
and again the same as above about warnings or error(s)

but in most cases there should not be any problems

now if there are any problems they will most likely be the following:

1.no kernel headers and source installed.
2.libs are out of date
3.make not found by bash
4.M4 is not found

to fix all of these possible problems do the following:

use the Ubantu packmanager system to install the dev files from it's install cd.

after that do the following steps from above to compile it again and that should be all you need to do to compile and install the program from source, but if that fails i cannot tell you what to do other than try and find precompiled binaries as a note of intrest to you Linux programs have always been distributed as source rather than binary just to maintain compatibility between other distros of linux.

I hope this helps

Scincerly
Russell Morton.
Go to the top of the page
 
+Quote Post
zarniwoop
post Nov 24 2004, 07:24 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 22-November 04
Member No.: 4,210



Thanks a lot.

I shall try it and then you will have either more of my thanks, or my contempt for you as a worthless giver of advice.
Go to the top of the page
 
+Quote Post
russ_m9
post Nov 24 2004, 11:31 AM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 18
Joined: 14-November 04
Member No.: 4,170



well i hope it works out for ya, all i can say is in all the time i have been using linux 3 yrs (Mandrake 6.5 and on)and i have used that method with complete success as long as you read the readme files that come with the source distribution you will never fail. but failure to follow simple logic and common sense is a stupidity no linux user can afford.

but either way let me know what happens and provide me the details and more than likely i or someone else will help you find the problem and fix it, but remember diffrent distros do things in diffrent ways but they should all be about the same when compiling programs.


Scincerly
Russell Morton
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th December 2017 - 07:03 AM