I'm installing ver. 4.4.8 on Cent OS 5. I've got Python 2.3 and 2.4 installed. Ice is ver 3.3 I've nicely downloaded all the Ice site packages and everything went just fine EXCEPT that it all installed in the Python 2.3 directories. ...not the 2.4 directory. Hmm.
Quenstion 1 a) When I go to configure omero ---
bin/omero config set omero.db.name 'omero'
All afternoon I got this message about how it can't find Ice. OK, so I looked over my PYTHONPATH and lo and behold it refers umpty-ump times to paths that include python 2.4, not 2.3 where all my site directories are. So I did this, just like it says in the CentOS installation guide:
export PYTHONPATH=$PYTHONPATH:/usr/lib64/python2.3/site-packages/Ice
and even PYTHONPATH=${PYTHONPATH}:/usr/lib64/python2.3/site-packages/Ice
just like it says to do in the nifty CentOS instructions guide I downloaded and it seems fine. When I go look ...
echo $PYTHONPATH
my export command hasn't appended the python 2.3 directories to the path. GRRRRR. Of course I still can't figure omero because it can't find ICE. I know stuff I write with the export command will go away after I log out, but it wasn't written AT ALL. What's wrong?
Question 1 b. In frustration, I finally edited my ~/.bash_profile ( as root) and put in
export PYTHONPATH=${PYTHONPATH}:/usr/lib64/python2.3/site-packages/Ice/
actually I did this for both root and "omerouser", and now it can find ICE, but is this going to work for all my various users when they log in with their own accounts via omero.insight etc?
Question 2
I've unzipped the OMERO.server-4.4.8-ice33-b256.zip file. I've renamed the directory that it created "OMERO". Ok, it's wonky, there's an OMERO directory inside the /etc/OMERO directory but it should still be fine. Now when I try to run
bin/omero config set omero.db.name 'omero'
it's telling me that it can't find '/OMERO/OMERO/etc/grid/config.xml'
...and in fact that file isn't there. Also, there is no omero_dist directory to be found. I'm sure I'm doing something dumb, like unzipping the Omero download, but not installing or something, but what is the dumb thing I'm doing?