Hi I've successfully compiled ciao on a MacBook Pro by making minor changes to the install scripts.
In the file $(CIAO_SRC_DIR)/etc/ciao_get_arch
under the line reading Darwin,"Power Macintosh" ) CIAOARCH=DARWINppc ;; #JFMC
add the line Darwin,"i386" ) CIAOARCH=DARWINi386
Then in the directory $(CIAO_SRC_DIR)/makefile-sysdep
Copy mkf-DARWINppc
To mkf-DARWINi386
Then edit mkf-DARWINi386
Change the line reading ARCHNAME=ppc
To ARCHNAME=i386
Then make install
That's it.
On the first pass the compile couldn't find the mysqlclient dynamic library because I'd installed the standard binary version which doesn't come with the dynamic libraries. But the make script pushed on through and completed the build and installed ciao without mysql support. After downloading the mysql source distribution and making it just to obtain mysqlclient.15.0.0.dylib, the rebuild of ciao went without a hitch.
I haven't tested the system extensively, but I have written a few simple programs and they seem to run fine. One thing I'm having a problem with is persistence using mysql. Can anyone point me to a few example code which illustrates how to use the persistent database interface?
-edj
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------
Hi Edward,
thanks very much for the patches --I am sure they will be useful for others too. We are planning on releasing a 1.10 patch with Mac/Intel support by early next week (the problem has been that in August we are either on vacation or very busy with the start of projects and classes...). Also watch out for 1.14 beta which is almost ready now and will include lots of new goodies!
Cheers,
One thing I'm having a problem with is persistence using mysql. Can anyone point me to a few example code which illustrates how to use the persistent database interface?
There are some examples in library/persdb_mysql/examples which should work (look at the README for details). Please let us know if they do not work!
Hi I've successfully compiled ciao on a MacBook Pro by making minor changes to the install scripts.
Thanks for the patches. Your contribution is very welcome! As a note for the list subscribers: the patches Edward proposes are similar to those posted to the list on 08/14/06.
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------