Search results

  1. markpatterson

    Next problem getting PostgreSQL to work

    Thanks, I've now got it work. I had a look at Marc Liyange's site. I had a more recent version of PostgreSQL installed anyway, so I tried to work out what was different in his approach. The main that that seemed different is that the apple page says:chown postgres /usr/local/pgsql/data whereas...
  2. markpatterson

    Next problem getting PostgreSQL to work

    I've been following through this page: http://developer.apple.com/internet/opensource/postgres.html to install PostgreSQL on my eMac, but after solving one problem on this forum, I've come encountered another. When I try to execute 2 commands, the results are different from what that page...
  3. markpatterson

    How to add a new user that I can log in as with "su -l"

    OK, that's useful to have cleared up Yes, I agree, that's why I used NetInfo manager rather than System Preferences. I tried that and it worked as well as Viro's sudo su -l Thanks
  4. markpatterson

    How to add a new user that I can log in as with "su -l"

    Hey! That worked: Pattersons-eMac:~ mark$ sudo su -l postgres Password: Pattersons-eMac:~ postgres$ Now, why didn't I think of that? I entered only my password. Thanks
  5. markpatterson

    How to add a new user that I can log in as with "su -l"

    Hi, I'm trying to get into PostgreSQL. I've installed it, following the instructions here: http://developer.apple.com/internet/opensource/postgres.html Where I had to add a user I added it with NetInfo Manager, following the page that postgres site referred to...
  6. markpatterson

    How do I run a Python script?

    If you look at this page: http://python.org/doc/current/tut/node4.html there are 2 different places for python from /usr/bin: "The Python interpreter is usually installed as /usr/local/bin/python ... /usr/local/python is a popular alternative location" Down the page a few paragraphs it gives...
  7. markpatterson

    How do I run a Python script?

    I think I've solved it. I used HexEditor (www.ex-cinder.com), and found that the line breaks were 0D. I changed them to 0A and finally got Pattersons-eMac:~ mark$ hello.py Hello! from #! /usr/bin/env python print "Hello!"
  8. markpatterson

    How do I run a Python script?

    I just copied that from the Apple page. See the link in my first post. That is their way to make it cross-platform, so that it will run on unices with things in different places. I changed the script to: #!/usr/bin/python print "Hello!" which is a link to the real python, and got this...
  9. markpatterson

    How do I run a Python script?

    I would like to get past this hurdle: How do I do hello world in a Python script. I took the advice of http://developer.apple.com/unix/crossplatform.html, where they recommend doing this: #!/usr/bin/env python print "Hello!" I saved that as hello.py, chmod +x'ed it, tried to run it and...
  10. markpatterson

    Mouse over events stop

    This isn't a show stopper, just annoying. Once a week or so on my machine, a 2-month old eMac superdrive with 512 MB, the mouse over events suddenly stop: no more dock magnification, tool tips or menu items going blue under the mouse. If it shows up in my login, the others are affected as...
  11. markpatterson

    How to get unicode into MySQL from Cocoa

    Hi, I am working on an app that would suit the international market. I'm getting into MySQL at present. It seems to be suitable, since it claims to support unicode from 4.1: http://dev.mysql.com/doc/mysql/en/Charset-Unicode.html Since the Cocoa app kit supports unicode, I need to know the...
  12. markpatterson

    How to make iPhoto compose for Thunderbird?

    But it only has a small fixed list. I was hoping someone might be able to explain a way to fiddle that list in some XML file, or at least explain some protocol that email clients need to conform to.
  13. markpatterson

    How to make iPhoto compose for Thunderbird?

    Hi, I often send pictures to our friends and family. But I find that when I send a number of pictures to my mother who uses MS Outlook Express (on Win ME), she can't see more than the first one or so. But if I use Mozilla with a number of attachments she can see them. So I was thinking, is...
  14. markpatterson

    PHP didn't update

    Well, I just gave myself a surpise. php-v says 4.3.2, but my phpinfo page says 4.3.8. So, I'm happier that I was a few minutes ago. Your mention of the location is what the problem was: Pattersons-eMac:/usr/local/bin root# ./php -v PHP 4.3.8 (cli) (built: Aug 2 2004 20:28:15) Copyright (c)...
  15. markpatterson

    PHP didn't update

    Thanks for trying to help Mine too How do I do that? I did sudo bash first, so it was all done as root: configure, make and install. But php -v still gives me Pattersons-eMac:~/Downloads/php-4.3.8 root# php -v PHP 4.3.2 (cli) (built: Feb 16 2004 19:54:11) Any other ideas?
  16. markpatterson

    Getting XP to connect to MySQL database on Mac

    I don't know. I just used the OS X firewall on OS X and sygate personal on XP. I clicked on Allow on Sygate when I tried to access the XP machine from the Mac. Sygate pops up a requester when it detects a new type of access. For OS X, I found out what the port was in Sygate, and added that to...
  17. markpatterson

    Getting XP to connect to MySQL database on Mac

    Hi, I am experimenting with MySQL. I would like to use the Mac as a database server. I have managed to get the mac to look at a test DB on XP, and on the mac I have created a new database. But when I try from XP to connect to the one on the mac, I get the error: Host 10.0.1.2 is not...
  18. markpatterson

    PHP didn't update

    Yes. I tend to think this is the reason. I like Marc's pages. His installers are not for the latest version yet, 4.3.8, they're only for 4.3.6. I'll look into it later. Thanks, Mark
  19. markpatterson

    PHP didn't update

    Hi, I went to the PHP site, and they say you should update PHP to be the latest: 4.3.8. So, I downloaded it, untarred it, did ./configure, make, make install, it seemed to work, but the version that phpinfo tells me, and php -i is still 4.3.2. Any ideas? Regards, Mark
  20. markpatterson

    How to set up a CVS server on my own machine?

    I seem to have got cvs going, reading from here http://www.novajo.ca/cvs.html but I don't know what was wrong with the apple developer page.
Back
Top