Re: [Planner Dev] Success! -> Planner on Darwin/FreeBSD/OSX



Patrick:

A month ago I tried to compile planner on my Mac. I began to realize that I am in way over my head. Today I tried again and found your posting on gmane.os.apple.fink.beginners. I had already done the cvs update from :pserver:anonymous anoncvs gnome org:/cvs/gnome (the cvs in your message did not work for me.)

Apparently I had already updated my libtool and based on your advice, I updated gettext.

When I ran autogen.sh I got some warnings like:

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /sw/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.

And the last error it displayed was:

config.status: error: cannot find input file: tests/Makefile.in

Sure enough, the tests directory is empty.

This makes me think that maybe I was using the wrong CVS. But this is the one that Richard Hult at imendio pointed me to.

In summary, thanks to your posting, I am much farther than I have been. But I don't know what to do next. I am just beginning to use fink and open source code and I definitely don't understand the .m4 files and how CVS works and what autogen does. If I am "almost there," I would ask you to help me. But it may be that there is another 20 hours to get a compile. I just don't know.

Would you be willing to help a fellow Dallas person figure this out.

Fred Leason



P.A.A. wrote:
Excellent!

Thanks Richard & all at imendio for your help, Planner works wonderfully.

To help others, here's how I installed Planner on my Powerbook G5, OSX/FreeBSD/Darwin (some easy parts, some tricky parts):

0. Open a new shell/Terminal window. , make sure you are root by typing "sudo -s" and entering your password 1. Download & install the latest libraries (I used Fink -- best way I found on a Mac). This could take a couple of days. 2-3. The latest version of gettext I had to install manually in /usr/local/* for the make to work (for newbies just download it from gnu.org, become root, cd to the gettext directory, type "./configure ; make ; make install"
4.  Now set the environment as follows:
type: setenv PKG_CONFIG_PATH "/usr/local/lib/pkgconfig:/sw/lib/pkgconfig" ; setenv ACLOCAL_PATH "/usr/local/share/aclocal:/sw/share/aclocal ; setenv CVSROOT ":pserver:anonymous anoncvs gnome org:/cvs/gnome"
5. type "cd ~ ; cvs login" , press return when asked for a password
6. type cvs co planner
7. type cd planner
9. next tricky part: try typing "./autogen.sh --enable-python=no" , if it works, great, if you get a libtool requirement not met then you will need to install the latest version of libtool but first make a backup copy of your current /usr/bin/libtool. After running autogen as above then copy the backup back to /usr/bin/libtool, before typing make, otherwise strange errors happen. 10. type make, if you get an error in the file mrp-parser.c, edit the file and change the gsize above the line on which the error occurs to gint (see Richard's post). 11. type "make ; make install" , should work fine. make sure X or X11 is running and type /usr/local/bin/planner , and let the good work begin :)

For those using fink I'm now working to make a planer package for fink (if someone could do it faster than I that would be great :).

Cheers,
Patrick

Alessandra & Assoc. Intl.
Dallas * Ft. Worth, Texas  U.S.A.
(214) 335-0278




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]