Ok, in order to this I had to install Postgresql.

I didn't want to install this on my main development machine so I  
choose to install it on a powerpc iMac I have for testing.

I used MacPorts and did the postgresql and postgresql-server  
installation


sudo port install \
postgresql83 \
postgresql83-server

I then created a default database, check the output of the port  
install to confirm these copied values are correct.
sudo mkdir -p /opt/local/var/db/postgresql83/defaultdb
sudo chown postgres:postgres /opt/local/var/db/postgresql83/defaultdb
sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/ 
local/var/db/postgresql83/defaultdb'

I then had to edit
pg_hba.conf
to allow for local subnet access, and edit
postgresql.conf
to allow for listening on all network interfaces.
I also had to alter the admin user 'postgresql' to have a password.
The http://www.pgadmin.org/download/macosx.php  admin config app was  
helpful in all this, well
I did do the edit of /opt/local/var/db/postgresql83/defaultdb files  
via sudo vi  because it's rwx user postgresql only....

This then let me run the 21 tests to completion from my development  
MacIntel machine.
I then copied the 4.0.1b1 VM and the image/changes to the PowerPC imac  
and ran the tests again
They all ran.

So this points to either a problem unique to hosting postgresql on an  
MacIntel machine and running the tests on the same machine, or there  
is some other problem.
It would be helpful if someone else could confirm or deny the problem  
using such a configuration (local db, local pharo app


Note the postgresql log spews, I would think the tests should be nicer?
ERROR: table "testcopyinouttable" does not exist STATEMENT: DROP TABLE  
TestCopyInOutTable ERROR: table "products" does not exist STATEMENT:  
DROP TABLE products ERROR: table "testfieldconvertertable" does not  
exist STATEMENT: DROP TABLE TestFieldConverterTable ERROR: extra data  
after last expected column CONTEXT: COPY products, line 1: "77  abcde    
123.456 999.999" STATEMENT: copy products from stdin FATAL: invalid  
frontend message type 92 ERROR: extra data after last expected column  
CONTEXT: COPY products, line 1: "77     abcde   123.456 999.999" STATEMENT:  
copy products from stdin FATAL: invalid frontend message type 92

On 19-Apr-09, at 12:14 AM, MichaelA wrote:

>
> John,
>  I have loaded the files to
>
> http://idisk.mac.com/michaelatkisson1-Public?view=web
>
> Thanks for your help!
>

--
= 
= 
= 
========================================================================
John M. McIntosh <[email protected]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================




_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to