Could someone help me get started with this?

I’m a bit of a newbie when it comes to building software from scratch.

What I’m trying to do is install pgAgent on a Mac OsX?

This README could be explaining it, but running ‘make’ don’t seem to work?

Could someone help by providing more detailed step-by-step instructions; would be much appreciated.

Software located here: https://github.com/postgres/pgagent

  • What happens if you run make? – Daniel Beck Dec 22 '11 at 5:43
  • I can’t find the makefile, it just says command not found. – Larry Dec 22 '11 at 6:05
  • Well, have you installed cmake on your Mac? – Daniel Beck Dec 22 '11 at 6:06
  • No, how could I get and install this for OSX? – Larry Dec 22 '11 at 6:09
  • Also, according to the README, do I still run ccmake, i.e. steps 3,4,5, or just step 6? – Larry Dec 22 '11 at 6:10

Install the dependencies (cmake at least) using Homebrew, Macports, or Fink. Then try compiling it again.

You will also need to install a C compiler. It is provided e.g. with Apple's developer tools.

If you don't need to compile it yourself, a binary is provided for OS X (Darwin). Just move the included binary to /usr/bin/pgagent and the .sql file to /usr/share/pgagent.sql .

  • Also, could you explain this step: "- A wxWidgets 2.8.x installation, configured per the requirements for pgAdmin: git.postgresql.org/gitweb/…" – Larry Dec 22 '11 at 6:15
  • Ok thanks, but the more detailed instructions are for installing pgAdmin (which I already have), so I’m not sure what I’m missing for installing pgAgent (which is something different). – Larry Dec 22 '11 at 6:22
  • Also, on the download page, am I using Source, or Darwin. (postgresql.org/ftp/pgadmin3/release/pgagent) – Larry Dec 22 '11 at 6:27
  • @Larry Ah well I should have tried reading then :-) You can download darwin, that's the compiled program. It works on OS X, at least to display the usage instructions when started without arguments. – Daniel Beck Dec 22 '11 at 6:31
  • Cool, so I don’t have to compile? So is it a binary? Where do I place it in the system? thanx. – Larry Dec 22 '11 at 6:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.