gnue-dev
[Top][All Lists]
Advanced

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

[Gnue-dev] Re: Gnue forms on DarwinX


From: Neil Tiffin
Subject: [Gnue-dev] Re: Gnue forms on DarwinX
Date: Wed, 1 Jan 2003 14:29:21 -0500

Jesse,

I had the same type problems until I erased my hard drive and started over. Clean install of OS X then install everything with Fink. I would highly recommend only installing packages using Fink. I had all kinds of problems when I tried installing stuff myself directly from the individual projects. Not being an expert the only thing I could figure out was that installing without Fink all of the packages were written to the OS X hard drive in the standard Linux directories (/etc /usr /bin /sbin /lib etc). This caused me conflicts in many cases. With Fink everything is installed in /sw. No conflicts and people smarter than I made the Fink packages work.

Now there are a couple of packages that are not in Fink. With these packages I was able to force them to install in /sw. In most cases the packages figured this out (IIRC).

I would ask for help from the wxMac/Machopython group if you are going this direction. I have never installed this stuff and don't know how it might conflict.

Sorry I could not help more. If you do get it working please send your comments to the project so we can put them in the documentation.

Neil
address@hidden



Neil,

I have fought with this for almost 2 solid days to get it to work. Sourceforge does not seem to have wxpython-wxgtk package anymore. Maybe it is no longer supported? I have tried to install wxPython for GTK myself....of course I have had to try to hack the setup.py so it stops trying to setup stuff for wxMac. Right now, it seems terribly hard to setup wxGtk/python etc. and easier to setup wxMac/Machopython. Only then, I cannot interact with the forms.

Do you know how I might be able to get the fink package or some other solution to get wxpython/wxgtk working?

thanks,
jesse

On Wednesday, December 4, 2002, at 07:40  AM, Neil Tiffin wrote:

Some answers

1. Darwin is the open source underpinnings of OS X. If you Installed using OS X then you are using OS X (and also have Darwin). This is different from only installing the open source Darwin as not everything gets put in the open source packages. My question was probably a little confusing now that I read it again. Since you mention 10.2 you are using OS X (with Darwin). Darwin standalone is version 6.0.1.

See http://developer.apple.com/darwin/

Sorry for the confusion.

2. Regarding wxMac, I was never able to get it to work. That was a year ago and it has been improved so your mileage may be better.

If you want to get GNUe working ASAP I would recommend using Fink and wxGTK. I also never got the binary distribution of xFree86 to work. Once I switched everything using Fink it all worked.

http://fink.sourceforge.net/

I would also highly recommend reading the news section on fink. It contains really good pointers to current issues.

http://fink.sourceforge.net/news/index.php


Fink is a set of Perl scripts that download and compile source (and binary, which i dont use) tarballs. You will want to configure fink to use the unstable tree and make sure you have apple dev tools installed. Progress on wxgtk and wxpython is still very rapid and if you don't use unstable you will have problems. I use unstable all of the time and have not had any negative side effects. Of course your experience may vary so you should be cautious.

Fink also has a GUI version.  See http://finkcommander.sourceforge.net/

After fink is installed you would enter the following from the terminal (I don't use the gui version).

fink install xfree86-rootless
(wait a day while it compiles from source)
fink install wxgtk
fink install python22
fink install postgresql-ssl-python
fink install wxpython-wxgtk

Some notes: it is important to use fink python and not the python that comes with OS X. It is brain dead (not all libraries are installed)

I posted a list of fink packages that I have installed at

http://www.gnuenterprise.org/~neilt/FinkPackages.txt

This also lists all packages available for Mac OS X as of December 4, 2002 so if you are having a problem someone on IRC may be able to direct you to which one to install.

Also, all of these installations will go into /sw by default (except xfree86) and will not interfere with any other installations (you probably do not want to change this). So you will have to monkey with GNUe a bit to make sure it finds everything. The fink structure is pretty straight forward /sw/etc, /sw/lib, /sw/bin, /sw/var, /sw/share, /sw/src, /sw/include, etc. So depending on what you are missing when you try to run gnue you can find it in a standard place if everything is installed using Fink. (For those reading this with Linux background Fink is a front-end to apt-get that converts standard Linux tarballs to peculiar Mac OS X needs.)

For each of these installs you might be asked to install other dependencies, just say "y".

Also, I use KDE and so I also have it installed.

3. Once you get everything working with xfree86 and wxgtk then I would try to wxMac working.

4. You need to make sure that postgresql is working before you attempt to work on forms. You should have it running an be able to connect with psql, create tables etc.

5. Then you need to make sure that you can connect to postgresql from within python command line. I don't have the correct syntax with me as I am traveling right now. But someone on IRC can help.

Hope this gets you started.

I will be out of reach (for the most part) until Saturday.

Neil
address@hidden



Thank you for responding to me. I will try to answer you questions as best as I can.


On Tuesday, December 3, 2002, at 06:20  AM, Neil Tiffin wrote:

Jesse,

I don't have a current version working. But it has worked in the past so lets start with a few basics.

1. I have only had it working on OS X not Darwin. Are you really using Darwin or are you using OS X. Also, which version.

I'm not sure of the distinction here. Darwin is the unix flavor underlying the OSX 10.2 operating system, isn't it?

2. How did you install the various dependencies? I used fink except for a couple of packages that were not available in fink.

I compiled wxWindows (wxMac...not GTK) and I used the binary distro of wxPython. I have compiled Fink, but I still do not really understand Fink.

3. What database did you use?  I hope it was postgresql.

Yes, I have postgresql installed. But at this point I can't even interact with a non-database driven form, like intro.gfd.

4. Can you read and write to the database using python?

I have not tried reading or writing to Postgresql yet through Python.
5. What version of python are you using?

Version 2.2
6. Are you using CVS or tarball version of GNUe?

Tarball
Lets see where that takes us.


Thank you for your help.
Jesse

Neil
address@hidden

Hello...I understand from the IRC that you have GNUe-Forms working under Darwin.

Can you help me to get it working?  I cannot interact with forms.


Thanks,
Jesse




reply via email to

[Prev in Thread] Current Thread [Next in Thread]