UberStudent Forums

Help and Community for Users of Uberstudent
Return to UberStudent Home Page
It is currently Wed Jun 20, 2018 1:24 am

All times are UTC




UberStudent Logo Shirt
Hey! You can wear this UberCool UberStudent Logo Shirt

Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Installing from source
PostPosted: Mon Aug 10, 2015 5:25 am 
Offline
UberStudent Forum Helper

Joined: Wed Feb 25, 2015 7:45 pm
Posts: 57
It seems almost unavoidable that at a certain point, we might need a piece of software that is not available or not up to date in the repository or package manager. What are your recommendations for best practices regarding installing from source (for a complete noob). Is there a particular guide, article, or youtube video you can point me to? I see that this is warned against everywhere, but is it not a skill that one can learn to do safely? I don't want to be dependent on somebody else for my software being up to date.

I am trying to install the latest Emacs 24.5. I'm having trouble and I'm crossing my fingers that I didn't do any damage I can't figure out how to undo.


Top
 Profile  
 

Get an UberCool UberStudent Shirt!

UberStudent Logo Shirt
UberStudent Logo Shirt by uberstudent
See other Uberstudent T-Shirts
PostPosted: Mon Aug 10, 2015 5:32 am 
Offline
UberStudent Forum Helper

Joined: Wed Feb 25, 2015 7:45 pm
Posts: 57
maybe attempting to install first in oracle VM would be a good approach?


Top
 Profile  
 
PostPosted: Mon Aug 10, 2015 2:53 pm 
Offline
UberStudent Staff
User avatar

Joined: Mon Jan 21, 2013 7:18 pm
Posts: 109
Andrew A wrote:
Is there a particular guide, article, or youtube video you can point me to?
I am trying to install the latest Emacs 24.5.

Once you have the source code, the typical commands for installing any GNU.org software from source will be ./configure , make , then sudo make install . Each of those commands do have advanced options, but the unadorned commands usually suffice for a simple installation.

https://www.gnu.org/software/emacs/manual/html_node/efaq/Installing-Emacs.html

_________________
Cybermancy.net - Creativity via code


Top
 Profile  
 
PostPosted: Tue Aug 11, 2015 6:44 am 
Offline
UberStudent Founder and Lead Developer
User avatar

Joined: Sun Nov 11, 2012 8:54 am
Posts: 956
Location: UberStudent Headquarters
One can often find bleeding edge releases by simply tacking on "PPA" to the search string using the program name.

Also see: http://ubuntuhandbook.org/index.php/201 ... ntu-14-04/

_________________
UberStudent Must Become Self-Sustaining. If UberStudent and my dedicated support of it has benefited you, it's important to make a donation. Thanks!

The UberStudent Headquarters:
    * Mobo: MSI 870-G45
    * Processor: AMD Phenom II X4 3.4GHz
    * RAM: G.SKILL 8GB DDR3 1600
    * Graphics: MSI NVIDIA GeForce GTX 750 Ti
    * Drive: OCZ Vertex SSD
    * Case: Rosewill ATX Mid Tower
    * Monitors: 2 x Dell UltraSharp
    * With UberStudent 4.3 Development Build
You should build your own computers, too!


Top
 Profile  
 
PostPosted: Tue Aug 11, 2015 8:21 am 
Offline
UberStudent Staff
User avatar

Joined: Mon Jan 21, 2013 7:18 pm
Posts: 109
Stephen Ewen wrote:

The great part about Stephen's linked article there is the comments discussing using checkinstall instead of make install

_________________
Cybermancy.net - Creativity via code


Top
 Profile  
 
PostPosted: Tue Aug 11, 2015 3:29 pm 
Offline
UberStudent Forum Helper

Joined: Wed Feb 25, 2015 7:45 pm
Posts: 57
That's exactly what I used (substituting 24.4 for 24.5) and got the following warnings after running
Code:
./configure
:

Code:
configure: WARNING: libacl development library was not found or not usable.
configure: WARNING: emacs will be built without ACL support.
configure: WARNING: Your version of Gtk+ will have problems with
closing open displays. This is no problem if you just use
one display, but if you use more than one and close one of them
Emacs may crash.


and this after runnig
Code:
make


Code:
/usr/bin/ld: cannot find -lpng16
collect2: error: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make[1]: Leaving directory `/home/truthling/emacs-24.5/src'
make: *** [src] Error 2


The instructions at http://ubuntuhandbook.org/index.php/201 ... ntu-14-04/ seemed to work just fine for other people I've been chatting with.


Top
 Profile  
 
PostPosted: Wed Aug 12, 2015 5:57 am 
Offline
UberStudent Founder and Lead Developer
User avatar

Joined: Sun Nov 11, 2012 8:54 am
Posts: 956
Location: UberStudent Headquarters
A library appears to not be installed. Is there some docuument inside emacs-24.4.tar.gz that lists dependencies?

_________________
UberStudent Must Become Self-Sustaining. If UberStudent and my dedicated support of it has benefited you, it's important to make a donation. Thanks!

The UberStudent Headquarters:
    * Mobo: MSI 870-G45
    * Processor: AMD Phenom II X4 3.4GHz
    * RAM: G.SKILL 8GB DDR3 1600
    * Graphics: MSI NVIDIA GeForce GTX 750 Ti
    * Drive: OCZ Vertex SSD
    * Case: Rosewill ATX Mid Tower
    * Monitors: 2 x Dell UltraSharp
    * With UberStudent 4.3 Development Build
You should build your own computers, too!


Top
 Profile  
 
PostPosted: Mon Dec 21, 2015 9:25 pm 
Offline
UberStudent Forum Helper

Joined: Wed Feb 25, 2015 7:45 pm
Posts: 57
Damion Lunin wrote:
Stephen Ewen wrote:

The great part about Stephen's linked article there is the comments discussing using checkinstall instead of make install


Stephen Ewen wrote:
A library appears to not be installed. Is there some docuument inside emacs-24.4.tar.gz that lists dependencies?



I was able to install successfully following the instructions here: http://www.linuxfromscratch.org/blfs/vi ... ibpng.html
to download the missing library.

I didn't get any of the above errors this time around.

I do have a question about checkinstall though.

Everything appears to be working fine, but towards the end of the installation I got a message during checkinstall that read:

Code:
Some of the files created by the installation are inside the home directory: /home

You probably don't want them to be included in the package.
Do you want me to list them?  [n]: y


Then I was shown a screen listing two files. I didn't know what to do at this screen, as it didn't give me any further prompts. Hitting Enter did nothing, so I got out by pressing CTRL-D, and was back at a normal prompt truthling@Truthling:~/$

My fear is that checkinstall exited prematurely. Is there a way to verify the checkinstall process completed properly?

I haven't had a chance to poke around in emacs yet, so I suppose time will tell, but I'd rather check now so that I don't run into any surprises.

Thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

Click Here to Get Inexpensive UberStudent Discs


Click here to get UberStudent discs delivered to your mailbox
Delivered Directly to Your Mailbox!



All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group