Porting Unix Command-Line Tools to Mac OS X
An anonymous reader writes "Over at Apple has posted a technote on porting Unix programs to Mac OS X. Nothing earth-shattering, but nice to see it all collected."
← Back to Stories (view on slashdot.org)
Why don't they just do it their selves and add more value to their "distro"? They could easly take all the popular GNU tools and port them to Darwin. Then we wouldn't need to use fink.
Karma: The shiznight, mostly because I am the Drizzle.
stuffing hot grits down my pants while watching *BSD die.
you're winner!!
its about time. i figured with the BSD core they would be a lot quicker at it than this.
Especially trying to support some new servers
Either way, this may help the adoption of the Apple into the IT industry a little more.
It'll be interesting to see whether or not they're included into the next release of X.
Get paid to code OSS
The hiding of the command line or lack of it has always crippled the Mac OS from day one; there are some operations that are a lot easier and quicker on a command line than on a GUI. This is a good move.
stuffing hot grits down my pants while watching *BSD die.
What is this? Retro-trolling? If you're trying to keep up with the latest trolling trends at least make the hot grits stuff you down its pants or something.
In porting unix command-line or non-command-line tools to OS X?
attract unix users to that sweet os? or make powerful also sweet applications out of these unix tools? do you really think they , mac users , will accustom them to m4 , groff , epn etc or anything built upon them?
I think UNIX and OS?(number,X,whatever) are two fundamentally different ways of doing OSs and so it is with their user group.
KOS-MOS
The reason I use OS X is basicly because I have access to the UNIX command-line tools and I can usually easily port them to OS X. OS X has a nice set of application that are comericalially available Like Photoshop (I know the gimp is close but Photoshop works better for me) so I can do my Unix stuff at the command line and have access to some good comerical software. It is like having the best of both worlds. That and sometimes having the ability to pipe information is really good.
If something is so important that you feel the need to post it on the internet... It probably isn't that important.
Apple should be following their own advice. It seems with every 0.0.x release they break more and more commandline utilities. First some basic ones like tcsh and ls when 10.2.1 was released, now getting sense from route, routed and netstat is well near impossibly without a segfault
Cluebat to apple, some of us do use these utilities regularly, and they're as important as having a pretty mail client or a fancy browser.
It used BSD tools, not GNU tools.
Deal with it.
Well, if your a unix head, using a mac, and have been under a rock for a long time, here ya go
r macosx.html An x11 server that uses quartz extreme (or whatever you want to call it)
http://www.osxgnu.org/ Go here for packages to install.
http://fink.sf.net Wow, apt-get for os x
http://finkcommander.sf.net Wow, a gui for fink
http://www.apple.com/downloads/macosx/apple/x11fo
There are many other things to use, too
Is that all that's required? I tried replacing getopt include with unistd, among other things to try to get http://prdownloads.sourceforge.net/id3v2/id3v2-0.1 .9.tar.gz to compile on OS X, and it still didn't. I don't have a Mac, this was on a friend's machine, so I don't have the error.
BTW, in order to get id3lib to compile (which id3v2 above depends on) I had to use these flags:
DarwinPorts
DarwinPorts FAQ
Interview with Jordan Hubbard on DarwinPorts (Slashdot article)
If you want Unix tools and don't like Apple's, get Yellow Dog Linux and install mac-on-linux. I run my iBook that way and I have instant access to both OS's. No need to reboot to get to the other. OS X runs at near native speeds on top of MOL.
It doesn't seem like such a stretch to assume that other architectures are officially not out of the question, with a hedge statement like this one. Very interesting...
DO NOT LEAVE IT IS NOT REAL
I am a homosexual. I bought an Apple computer because of its well earned reputation for being "the" gay computer. Since I have become an Apple owner, I have been exposed to a whole new world of gay friends. It is really a pleasure to meet and compute with other homos such as myself. I plan on using my new Apple computer as a way to entice and recruit young schoolboys into the homosexual lifestyle; it would be so helpful if you could produce more software which would appeal to young boys. Thanks in advance.
with much gayness,
Father Randy "Pudge" O'Day, S.J.
Thanks for your letter. Being Catholic myself, I know exactly what you're talking about! It has always been our plan here at Apple Computer Inc to revolutionize personal computing with our high-quality and highly gay products.
I'm happy to answer your letter by letting you know that YES we will be releasing an entire hLife ("homo-life") software line. You'll be able to recognize it in stores by the small stylized logo depicting a large cock entering a tight anus with an Apple logo on it. ("Suddenly it all comes together" indeed!).
Anyway, I hope you and other members of our community will join us on our mission, and purchase the exciting new hLife boxed set. Only the boxed set comes with translucent cock rings!
Sincerely,
Harry Rodman
Vice-president
Homosexual Liaison Services
Apple Computer, Inc.
Have you noticed that Apple tends to only include highly-polished software? There's a reason they built their own KHTML based browser, rather than just porting Konqueror. They have really high standards for the usability of their software, so any non-command-line tool would need to be entirely redesigned to fit their standards, which introduces a lot of work.
Even for command-line programs, once Apple releases something themselves, they implicitly take responsibility for it. If they start doing half-assed ports, then their whole "it just worked" thing goes down the tubes because if their stuff doesn't work, people will hold it against them. They'd probably have to carefully QA every port they did in extensive detail, and that would be expensive. Then there's technical support, maintaining the ports, etc.
There's lots of stuff I'd like to see built into darwin, but I can understand why it isn't really their priority. As has been pointed out, most people who need additional command-line tools can get them themselves and I think apple would rather put their energy into making the tools they do have easier to use by building helpful GUI front-ends for those of us who either don't know how to use unix well, or just find it a lot less enjoyable.
I really like running KDE on OSX. They work pretty well together, provided you've got the dock set on "autohide". With fink and KDE, I get everything I could ever want from Linux, everything I need from OSX, nothing runs in emulation, and I only have a single kernel. I think it's a pretty good solution.
Mac OS X is still PPC only, of course.
Not to moderators: It's a Joke. Laugh.
I am TheRaven on Soylent News
BSD: GNU:
"Wise men talk because they have something to say; fools, because they have to say something" - Plato
For school, I have to use sftp and I recently discovered Fugu, which is an open-source frontend for it. It's by far the best ftp program I've ever used. So simple, yet so effective.
Won't it be funny when people try to hang onto 9 instead of moving to X. Hacking things to make it boot on 2005 systems...
upgrade!!!
I use these regularly, both on my main machine and on the router/firewall/server machine with dual ethernet ports and so forth. Never seen a seg fault.
Perhaps you have an UNUSUAL problem and haven't bothered to report it to Apple, and therefore they haven't seen it?
Sheesh.
-fred
Sign #11 of Slashdot overdose: You see the phrase 'moderate Republican' and you wonder if that would be a +1 or a -1.