Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 07:03
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to install Midnight Commander?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
divisionmd


Joined: 14 Jul 2007
Posts: 606

PostPosted: Sun 15 Jul 2007, 07:29    Post_subject:  How to install Midnight Commander?  

Hello,

I want to install midnight commander in Puppy.

Can anyone give me a simple step by step how to on how to do this?

im trying to download midnight commander from: http://www.ibiblio.org/mc/

Read something about that first need to also install GLIB? dont even know what it is.

Best regards,
Johan
Back to top
View user's profile Send_private_message MSNM 
divisionmd


Joined: 14 Jul 2007
Posts: 606

PostPosted: Sun 15 Jul 2007, 07:41    Post_subject: update  

Just an update to my question above, i have now found an installation guide and done this:

tar -xvzf mc-4.6.1.tar.tar

and the file extracts a folder.

i then change to that folder and run this:

./configure

then i get this error message "error: no acceptable C compiler found in $path"

what do i need to do..
Back to top
View user's profile Send_private_message MSNM 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 15 Jul 2007, 08:29    Post_subject:  

http://dotpups.de/dotpups/File_Managers/Midnight.Commander.Plus.pup

Mark
Back to top
View user's profile Send_private_message Visit_website 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Sun 15 Jul 2007, 08:38    Post_subject:  

you need to download the development environment for whatever puppyversion you have. e.g. if you've got puppyversion2.16, then the gcc compiler is contained in devx_216.sfs. you can get it from here:

http://distro.ibiblio.org/pub/linux/distributions/puppylinux/sfs_modules-2/devx_216.sfs

for a cdrom, or frugal install, this file should be placed in /mnt/home, then after rebooting, if you type gcc -v, and it responds with the gcc version, then you have a compiler environment. for a full install, read the notes here:

http://www.puppylinux.com/hard-puppy.htm

or, much simpler, Mu has this one on his website:

http://dotpups.de/dotpups/File_Managers/Midnight.Commander.Plus.pup

just click to install, then type mc in a console.
Back to top
View user's profile Send_private_message 
jonyo

Joined: 28 Dec 2006
Posts: 2727

PostPosted: Sun 15 Jul 2007, 10:14    Post_subject:  

Tried it out. Works beautiful Very Happy Click click boom, good to go. Start icon shows up in ~/my-roxapps

http://dotpups.de/dotpups/File_Managers/Midnight.Commander.Plus.pup
Back to top
View user's profile Send_private_message 
divisionmd


Joined: 14 Jul 2007
Posts: 606

PostPosted: Sun 15 Jul 2007, 14:42    Post_subject: Thanks
Sub_title: Thanks
 

Thanks everyone i got it working!!

Best regards,
Johan Very Happy
Back to top
View user's profile Send_private_message MSNM 
djringjr

Joined: 14 Jan 2007
Posts: 156

PostPosted: Tue 13 May 2008, 22:48    Post_subject:  

Here is a link you can click for the Midnight Commander Plus download:

http://dotpups.de/dotpups/File_Managers/Midnight.Commander.Plus.pup

There is a problem with the file. It is corrupt because the md5sum is incorrect.

To install the file do this:

Download the file to the /tmp directory.

Open the /tmp directory by using ROX.

Rename the file by changing the file extention from "pup" to "zip".
The icon in ROX will change to an archive file. Double click on the new file and it will open up in "archiver".

Use the button to "Select All" then the button to "Extract" the default location will be "/tmp" which is fine.

When the archiver program says that the files are extracted, quit the program.

Go back into the ROX window of /tmp. Hover the mouse inside the box (window) and right click, select "Window" and then "Terminal Here".
A terminal window will open up.

In the terminal window type the following command (notice the period before the slash).


Code:
./dotpup.sh


The dotpup will now install normally.

Unfortunately because there is a problem with the registration of the program (beyond the scope of this message), the program won't appear on the menu.

No problem we will do this instead:

When the dotpup is installed a ROX window will appear with a blue icon with the name "MC". Drag the MC file to the desktop by dragging with the mouse. It will just copy the file to the desktop.

To run Midnight Commander Plus, just click on the icon on the desktop, or from a terminal inside X type "mc" and press "enter".

Midngith Commander Plus will also run outside X on the command line by typing the command "mc" and pressing enter.

The author might correct this wonderful file, and change the registration so that the desktop file registers under "Utilities" on the Puppy menu.

Have fun!

David
Back to top
View user's profile Send_private_message 
DonShi


Joined: 14 Jun 2008
Posts: 5
Location: New England

PostPosted: Mon 22 Dec 2008, 21:39    Post_subject: How to install Midnight Commander
Sub_title: Attempt to load Midnight Commander in MiPup2
 

Quote:
To run Midnight Commander Plus, just click on the icon on the desktop, or from a terminal inside X type "mc" and press "enter".

Midngith Commander Plus will also run outside X on the command line by typing the command "mc" and pressing enter.


Hi djringjr,

I followed all you instructions and everything went perfectly except the part where you click on the blue MC icon I get the following message: mc: error while loading shared libraries: libgpm.so.1: cannot open shared object file: no such file or directory.

I get the same message when I type mc in a terminal window.

I am doing this in Mipup2 the only change that I made was I downloaded: http://dotpups.de/dotpups/File_Managers/Midnight.Commander.Plus.pup to the desktop folder.

I have no idea what shared object file it apparently needs here. Mipup2 is based on Puppy 4.1.2, I did try to load mc file from PETget and it did not run at all either...I tried to uninstall it but it gave me the first yellow screen then nothing and and mc is still in the install listing in PETget.

I then tried your instructions to see if I could load a .pet version. I am beginning to think perhaps there is a bug or missing file in MiPup2. Perhaps they need a bugreport?

Is there any other alternatives here, perhaps a recent version of a MC file?

Thanks to everyone who helped with these instructions. Is there a newer version of the MC Dotpet I could try, or perhaps there is a bug in Mipup2.
Back to top
View user's profile Send_private_message Visit_website YIM 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 22 Dec 2008, 23:59    Post_subject:  

Can't help with the missing library, however corruptions have been reported

see djringjr post Oct 1/2.15pm

http://www.murga-linux.com/puppy/viewtopic.php?t=24571&start=585&sid=87291c4811cd796cf4c8eef9b903ff5b

Aitch Smile
Back to top
View user's profile Send_private_message 
DonShi


Joined: 14 Jun 2008
Posts: 5
Location: New England

PostPosted: Tue 23 Dec 2008, 02:50    Post_subject: How to install Midnight Commander
Sub_title: Persistence pays off love that Midnight commander
 

Thanks Aitch, I managed to get a working mc.

What I learned:

Persistence pays off when it's matched with careful thought.
I went back into PETget and found that for some reason mc did not actually download, it was still listed in the downloads section of PETget even though it was listed as installed, so I tried it again but this time a chose a different location. I used ibibilo.org the first time and the second time I got mc from nluug.nl and it installed. It could be that the missing library was in that install because it worked, It worked from the blue icon and it worked from the terminal.

Thanks to all of you on the forum for your help.
Back to top
View user's profile Send_private_message Visit_website YIM 
MouseMan

Joined: 09 Dec 2008
Posts: 4

PostPosted: Tue 23 Dec 2008, 11:22    Post_subject: How to install Midnight Commander
Sub_title: Attempt to load Midnight Commander in MiPup2
 

This is my first post in this forum.

First of all I want to thanks Barry Kauler, all the Puppy Linux developers and all of you on the forum. Great job. I love Puppy Linux.

I write here to share my experience with Midnight Commander in Puppy 2xx, 3xx and 4xx.

@ DonShi
Code:
> mc: error while loading shared libraries: libgpm.so.1: cannot open shared object file: no such file or directory

It seems that gpm library is missing, you need to install this official .pet:

pet_packages-3/gpm-1.20.1-1.pet
(It is needed by mc to enable the mouse functions.)

If I remember well, you should install it before the mc official .pet:

pet_packages-3/mc-4.6.1.pet

Code:
> It could be that the missing library was in that install because it worked

Probably you have installed mc from internet and the gpm dependency was resolved automagically.

Imho, you can check it easily in this way:

1) boot Puppy with pfix=ram option
2) install the mc-4.6.1.pet that you've already downloaded from nluug.nl

The gpm error should show again.

1) reboot (without saving the configuration) with pfix=ram option
2) install gpm-1.20.1-1.pet
3) install mc-4.6.1.pet

It should work.

By the way, to check dependencies there's a useful command: "ldd". F.i. the dependencies of my working mc installation on Puppy 4.12 are:

Code:
# ldd /usr/local/bin/mc
        linux-gate.so.1 =>  (0xffffe000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7ecd000)
        libgpm.so.1 => /lib/libgpm.so.1 (0xb7ec8000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7e90000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7e7d000)
        libc.so.6 => /lib/libc.so.6 (0xb7d82000)
        libm.so.6 => /lib/libm.so.6 (0xb7d5f000)
        /lib/ld-linux.so.2 (0xb7f5b000)

---

I added to mc 2 simple configurations, may be useful to other mc users (consider all following texts wo "" obviously):

1) Added missing keyboard bindings:

choose "learn Keys..." from "Option" menu, select, e.g., "[End key ]" with the mouse and follow the instructions. May be useful to add "[Home key ]" too.

2) To view .pdf docs with epdfview:

- choose "Edit extension file" from "Command menu":
- Select "[ User ]"
- Press the F7 (search) and type in "PDF" and add this line:
"Open=(epdfview %f &)"
- Comment with "#" the viewer you don't need.
- Double click a .pdf doc or press enter while highlighting a .pdf to view it

Excerpt from mine /root/.mc/bindings:
Code:
# PDF
type/^PDF
   #Open=(xpdf %f &)
   #Open=(acroread %f &)
   #Open=(ghostview %f &)
   Open=(epdfview %f &)
   View=%view{ascii} pdftotext %f -


Hope it helps.

Regards,
Bob
Back to top
View user's profile Send_private_message 
Bruce B


Joined: 18 May 2005
Posts: 11088
Location: The Peoples Republic of California

PostPosted: Tue 23 Dec 2008, 14:19    Post_subject:  

I love AlienX Midnight Commander Plus

It was written for 1.xx and as usual without possibility of knowing what Puppy will do in the future.

In the case of Midnight Commander Plus, while there was not a screw up at all then, there is now, albeit modest.

mc is not a binary file, it is a script. It does something you don't want to do, it deletes a file in /bin each time it runs.

In versions 1.xx that's what you had to do and wanted to do. In 2,3, and 4 one deletion will suffice.

Worse, is the reason for the deletion, 1.xx had an inferior file, which by deleting, it gets surpassed by a superior file included in the package.

This is no longer the case, you don't even want to delete the file in /bin

Sorry I don't remember the file name. But what I do is install midnight commander plus

Then delete mc

Rename the binary file to mc

Replace two symlinks; mcedit and mcview to point to mc

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send_private_message 
Bruce B


Joined: 18 May 2005
Posts: 11088
Location: The Peoples Republic of California

PostPosted: Tue 23 Dec 2008, 14:30    Post_subject: Re: How to install Midnight Commander
Sub_title: Attempt to load Midnight Commander in MiPup2
 

Hi Bob,

Welcome to the forum and thanks caring.

It is almost a joke to me. Community edition 215CE included the midnight commander, it didn't work. Who cares? Who even bothered to type mc on the command line?

If the 'official Midnight Commander' ever worked, I don't know for whom.

Does it matter? Does anyone care?

Then on your first post, you cared, I don't know what to do. Install it, work off your work and post a howto get something that someone should have tested working.

Just exactly how hard is it to type 'mc' on the command line, then hit enter? Who would bother?

Thanks for your post and caring! I'll do some R&D based on your work and get back.

Bruce

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send_private_message 
Bruce B


Joined: 18 May 2005
Posts: 11088
Location: The Peoples Republic of California

PostPosted: Tue 23 Dec 2008, 15:07    Post_subject:  

Bob (MouseMan)

Well done, that's all it takes. Verified.

Bruce

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send_private_message 
DonShi


Joined: 14 Jun 2008
Posts: 5
Location: New England

PostPosted: Wed 24 Dec 2008, 05:22    Post_subject: How to install Midnight Commander?
Sub_title: Mouse support in MiPup2 Midnight Commander
 

Thanks so much for your post MouseMan Bob I appreciate you taking the time to write a detailed explanation on the situation at hand. I am very interested in Puppy and I have a basic knowledge of Linux from the old days. Much has changed since then and my mind is rusty so, I'm getting back into Linux and discovered Puppy Linux. I am interested in learning to make packages and the basic idea of programming as it relates to compiling source code, my interest goes only as far as a hobbyist though. I read you post very carefully and I'll go through your instructions as there is much there that is helpful. I remember midnight commander from the old days of Red Hat v5 and V6.

Thanks for your post as well Bruce B., This is only my second post to the forum but I have been reading and trying different Puppies and reading Berry Kauler's developers page as listed at www.puppylinux.com abut developer's news. I'm going to backtrack to the mc project as you all have been very helpful and there is much I can learn from the experience of following your careful instructions. I had forgotten that mc came with mouse support. Seems like when I first started trying to learn Linux mc had only F key commands but now that you mentioned it in de tale I think Red Hat V6 may have had mouse support in mc.

This MiPup2 is quite interesting to learn on too because it has enough frills to be interesting but needs stuff like Pidgin 2.5.2 I'm trying to figure that out too. I tried converting a slackware package to a DotPup but lots of libraries were left out. Now it's back to MC. I am also learning to make post in these forums. There is a fare amount to learn about that too.

Thanks again MouseMan and Bruce B. for your reply.

Don s. (GochiMan)
Back to top
View user's profile Send_private_message Visit_website YIM 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1010s ][ Queries: 12 (0.0042s) ][ GZIP on ]