Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Midnight Commander 4.5.52

Midnight Commander 4.5.52
Thread Tools
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Edmonton, Alberta CANADA
Status: Offline
Reply With Quote
Mar 28, 2001, 10:26 PM
 
Has anyone had success in compiling, what I consider, _the_ most useful command line utility?

I've tried several times, and it does require a few dependancy libraries.. most notibily glib-1.2.8, which happens to require libiconv-1.6.1. *laughs*

Anyways, I've been able to compile and install libiconv, however I haven't had luck with glib yet. The configure script seems to run through fine, but when I make it, I get the error:

..
giounix.c:1301: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[2]: *** [giounix.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
..

Incase anyone reading this thread doesn't know what Midnight Commander (mc) is, if you've ever used Norton Commander in DOS, this is the same thing but for unix. It's the ultimate in dealing with file management and simplies dealing with files whether they be in a tarball, on a remote FTP/SAMBA/NFS server and other excellent features to numerous to list.


Any help or suggestions?


Thanks.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Mar 29, 2001, 12:58 AM
 
setenv CPPFLAGS -traditional-cpp
./configure
make

That tells it to use the standard C preprocessor, not the Apple one, which has bugs in it. See the OS X newbies thread thing on here for links to more porting tips.
     
GrBear  (op)
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Edmonton, Alberta CANADA
Status: Offline
Reply With Quote
Mar 29, 2001, 07:43 AM
 
That appears to have corrected the compilation of glib.. thank you very much, and I'll look for that message you mentioned.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Apr 2, 2001, 03:28 PM
 
Just noticed that there's actually a patch in fink for it. It compiled fine here, running it on XonX
     
GrBear  (op)
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Edmonton, Alberta CANADA
Status: Offline
Reply With Quote
Apr 2, 2001, 04:16 PM
 
Ooooo.. light at the end of the tunnel.. so to speak.

I don't suppose I could convince you to make a package of it, huh?

I'll have to check out fink I suppose, I want Midnight Commander to be compiled with SMB support so I can access windows shares as conviniently as though they were just another directory on my hard drive.

Thanks for the info.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:52 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2