gnome-doc-utils is missing db2omf

2009-02-05 Thread Michael Crawford
I can't build gnucash because gnome-doc-utils won't build. It won't build because db2omf isn't installed, and I can't figure out which port it should be in. I only started using MacPorts just last night, so I am very much a newbie. How can I find out which port has a given file in it? I

Re: gnome-doc-utils is missing db2omf

2009-02-05 Thread Michael Crawford
On Thu, Feb 5, 2009 at 12:59 PM, Michael Crawford mdcrawf...@gmail.com wrote: I can't build gnucash because gnome-doc-utils won't build. It won't build because db2omf isn't installed, and I can't figure out which port it should be in. In hopes that the packages would be the same, I used

Re: gnome-doc-utils is missing db2omf - SOLVED

2009-02-05 Thread Michael Crawford
On Thu, Feb 5, 2009 at 12:59 PM, Michael Crawford mdcrawf...@gmail.com wrote: I can't build gnucash because gnome-doc-utils won't build. It won't build because db2omf isn't installed, and I can't figure out which port it should be in. It turns out I was looking at the wrong error message

Simple SMTP Relay?

2009-02-10 Thread Michael Crawford
Greetings, Fellow Travelers. I don't have an SMTP server to use, so I can only send mail from GMail and not from Thunderbird. Does MacPorts have a simple SMTP server I could run on my Mac, that would look up the recipient's MX record and deliver my outgoing mail directly to the recipient's mail

Re: subversion books ?

2009-03-31 Thread Michael Crawford
On Mar 31, 2009, at 8:13 PM, Ben Greenfield wrote: Plugging books would be right on edge of the line I'm sorry, but I just have to disagree here, and strongly so. I've been a software engineer for twenty-one years. And for all that time, I have always felt that the very-most valuable

Re: Native Quartz version of gnucash

2009-05-20 Thread Michael Crawford
On Tue, May 19, 2009 at 8:46 PM, cory steers madst...@gmail.com wrote:  I noticed that I could get a native Quartz version of gnucash as outlined here:  http://wiki.gnucash.org/wiki/MacOSX/MacPortsDetail#Using_MacPorts_to_install_the_native_Quartz_version_of_GnuCash so I decided to give

Re: Native Quartz version of gnucash

2009-05-21 Thread Michael Crawford
On Wed, May 20, 2009 at 6:18 PM, cory steers madst...@gmail.com wrote: port clean goffice port install goffice let it fail apply patch port install goffice I had overlooked the patch. After I did just the above, my build of gnucash completed successfully. I haven't done much yet, but

Re: How does Macport work?

2009-06-10 Thread Michael Crawford
On Wed, Jun 10, 2009 at 4:06 PM, Fon Vitalefonvit...@gmail.com wrote: Coming back whit the C compiler example, if Macports installs the compiler when I run it what compiler is being running: Macports installed or prior Macports one? That depends on the value of your PATH environment variable.

Re: MacPorts and x86_64?

2009-06-25 Thread Michael Crawford
It's likely that some software either won't build as 64-bit, or if it builds it won't work right. It's not in MacPorts (yet), but ZooLib won't build as 64-bit, because it has a header file that sets up macros to identity the target platform and processor, and we just haven't implemented 64-bit

libcanberra build blocks gnucash-docs install

2009-07-19 Thread Michael Crawford
libcanberra won't build. I got the same result when I try to build it: http://trac.macports.org/ticket/19705 It's a dependency for gnucash-docs. But port install gnucash-docs wants to install a boatload of dependencies, such as libogg and libvorbis, that I suspect I don't really need just to

MariaDB won't start

2014-02-19 Thread Michael Crawford
I can't get online with the machine I'm trying to use MariaDB on, so I won't quote the full text of the messages. But if you need me to I can transfer them on a stick. $ port info mariadb mariadb @5.5.34_1 Mac OS X 10.8.4 on a Retina Display MacBook Pro, Early 2013, Model Identifier

Re: /bin/sh: line 2: `BASH_FUNC_ttr%%': not a valid identifier

2014-10-09 Thread Michael Crawford
GNU Emacs is bundled with Mac OS X, if you need an editor until you can fix whatever is wrong with Vim. If you don't know how to use Emacs, enter Control-H T after giving the command: $ emacs ... in Terminal to get the tutorial. I mostly use Vim too but there _are_ some tasks that are

Re: /bin/sh: line 2: `BASH_FUNC_ttr%%': not a valid identifier

2014-10-09 Thread Michael Crawford
Try commenting off portions of your .bashrc by inserting # with Emacs to see if you can make the complaint go away. Alternatively, save a copy of your file as a backup, then just delete portions to see if you can eliminate the complaint. When the complaint goes away, try putting in just half of

Re: /bin/sh: line 2: `BASH_FUNC_ttr%%': not a valid identifier

2014-10-09 Thread Michael Crawford
On Thu, Oct 9, 2014 at 12:51 PM, Barrie Stott zen146...@zen.co.uk wrote: GNU Emacs is bundled with Mac OS X, if you need an editor until you can fix whatever is wrong with Vim. Thank you for that. I was wondering how I could proceed if no one had met my error message before. Kids these

Why I Run Old System Software

2014-10-10 Thread Michael Crawford
(On the thread about the bash function problem, someone asked why the fellow runs such an old version of OS X.) I myself generally delay upgrading the system software on any platform I am developing for, so as to ensure that the code I write runs well on old systems. This so I won't be requiring

Re: Why I Run Old System Software

2014-10-10 Thread Michael Crawford
I found quite a serious security problem on Mom's Tiger G4 iMac, something I cannot fix myself because I can't get the source and Apple hasn't updated Tiger in years. My memory is hazy but I think it was a problem in Safari. I will look it up I posted it online somewhere. My plan is to upgrade

Re: Why I Run Old System Software

2014-10-10 Thread Michael Crawford
I installed Mavericks just a few days ago because Xcode 6.0.1 requires it. I installed Xcode 6.0.1 because I need to know how to work with it, as well as to develop for iOS, just to get a job as an iOS App developer. I don't have a problem with learning to use the latest tools. What I don't

Re: Problem with $DISPLAY

2014-10-13 Thread Michael Crawford
X11 goes back to way before Mac OS X, as well as long before Linux. I first built X11 on SunOS (not Solaris) in 1989, on a workstation that was running Sunview. I still own a copy of Mac X (or some such) that ran on System 7. I've never read the X11 spec but my understanding is that it only

Re: Problem with $DISPLAY

2014-10-16 Thread Michael Crawford
One can choose whether one's new filesystem is case-sensitive when one initializes it with Disk Utility. I don't recall when they added case-sensitivity but it was sometime around tiger or leopard. While the C programming language is defined to be case-sensitive, I don't think UNIX enforces that

Re: The crazy thing I did to fix Yosemite performance

2014-11-02 Thread Michael Crawford
Your user folder from your original installation will include a lot of settings, preferences and the like from applications that were part of your older OS install. Potentially that might not be what you want, I don't really know. Recent versions of OS X hide your ~/Library folder in the Finder,

Re: The crazy thing I did to fix Yosemite performance

2014-11-03 Thread Michael Crawford
There's lots of good stuff for developers. I'm at work so I can't really take the time to look up all the links and titles. The OS X kernel - xnu? - is a massive fork off of *BSD. The two main differences are that it links _statically_ to Mach, not so much for use as a microkernel, but to avail

Re: The crazy thing I did to fix Yosemite performance

2014-11-03 Thread Michael Crawford
to the UNIX folk. Michael David Crawford mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Mon, Nov 3, 2014 at 12:12 PM, Dave Horsfall d...@horsfall.org wrote: On Mon, 3 Nov 2014, Michael Crawford wrote: There's

Re: The crazy thing I did to fix Yosemite performance

2014-11-03 Thread Michael Crawford
the size of truck tires. Jeff On 11/3/14 2:22 PM, Michael Crawford wrote: I'm a frothing Unix geek (for about 40 years) Heh. I'm a frothing VAX/VMS Geek myself. I actually scored a FORTRAN contract in 2006. There _are_ some advantages to OS X over UNIX. One thing that has always

Re: Statically linked binaries killed by signal 9 on Yosemite

2014-11-15 Thread Michael Crawford
Apple has never guaranteed support for fully static binaries, rather it has explicitly discouraged them. The reason is that Apple wants to be free to change the binary interface for system calls. My understanding is that they are, in general, implemented by sending Mach messages from a dylib

Re: Statically linked binaries killed by signal 9 on Yosemite

2014-11-15 Thread Michael Crawford
valgrind has supported OS X for a few years now. If you can't find a prepackaged valgrind build I'd be happy to build it for you then send you the binary. If you don't want to actually install Yosemite on your own Mac, there is a documented procedure for imaging a bootable drive from the OS X

Re: Statically linked binaries killed by signal 9 on Yosemite

2014-11-15 Thread Michael Crawford
valgrind does two main things: it emulates the Instruction Set Architecture of the microprocessor (x86_64 in Yosemite's case), and it also wraps all - or at least most - of the system and library calls with its own. That is, if you call, say, fopen(), when you run your code under valgrind, you'll

Re: Virtual machines and OS X

2014-11-17 Thread Michael Crawford
I don't think shared folders are implemented as network shares, some other method is used. However if you do export a host folder as a share, your guest should be able to mount it. I was about to say that the folder is made to look like a regular disk drive but I'm not so sure, that would

Re: Virtual machines and OS X

2014-11-17 Thread Michael Crawford
17, 2014 at 1:52 PM, René J.V. rjvber...@gmail.com wrote: On Monday November 17 2014 13:33:58 Michael Crawford wrote: I don't think shared folders are implemented as network shares, some other method is used. Not explicitly, but in some implicit sense. I know that shared folders are treated

Re: Odd non-fatal GIMP Behavior

2014-11-18 Thread Michael Crawford
If you select a document in the Finder, then ask that it be opened in an application - or just double-click it - the Finder will launch the application, then shortly after it will send the application an Open Document Apple Event. However, GIMP is a *NIX/X11 application, so it does not natively

Re: Which Xcode?

2014-11-23 Thread Michael Crawford
Xcode doesn't really do anything that you couldn't do with clang, llvm, gnu make and your choice of text editor. The best I've ever been able to say about Xcode is that I found it barely tolerable, now I regard using it as just like pounding nails with my fists. This is not at all to say I don't

Re: Which Xcode?

2014-11-23 Thread Michael Crawford
to do copy/pasting among documents. R On 23 Nov 2014, at 09:44, Michael Crawford mdcrawf...@gmail.com wrote: Xcode doesn't really do anything that you couldn't do with clang, llvm, gnu make and your choice of text editor. The best I've ever been able to say about Xcode is that I found

Re: On reloading MacOS

2015-02-14 Thread Michael Crawford
Make more than one backup. Test them both before you wipe. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Sat, Feb 14, 2015 at 2:34 PM, René J.V.

Re: A question about Localhost with Safari

2015-01-04 Thread Michael Crawford
DNS is a protocol, not an API. To the extent that hosts is used, it's because developer of the software that implements the protocol chooses to use it. It's a PITA if it's not used - I quite commonly set up small networks in my own office, with static IPs hardwired into my hosts files. Michael

Re: A question about Localhost with Safari

2015-01-03 Thread Michael Crawford
HTTP 1.0 used only the IP address; if you wanted a single server to serve multiple domains, it needed to have multiple IP addresses. HTTP 1.1 permits the use of the hostname, and a single IP that multiple hosts all share. However, in general it should work to leave off the hostname. What you'd

Re: Status of gfortran?

2015-03-09 Thread Michael Crawford
ask about in on a high energy physics list, or a HEP google group. particle physicists are heavily into fortran. Speaking as one, we used to use F77, years back, but these days we mostly use C++. Praise the Lord. I dropped out of my UCSC Physics degree in 1987 to work in industry for a few

Re: Status of gfortran?

2015-03-08 Thread Michael Crawford
ask about in on a high energy physics list, or a HEP google group. particle physicists are heavily into fortran. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area.

Re: Install netatalk on OS X 10.8.5 - error (incomplete definition of type 'struct _ipp_s')

2015-03-08 Thread Michael Crawford
Many of the protocols that were once built on top of AppleTalk are now built on top of TCP/IP. I know that was done specifically for AppleShare; I don't know about printing but I expect that Mac OS X now uses something like BSD's print spooler. Mike Michael David Crawford, Consulting Software