Re: [Kontor-user] Installation Kontor
Brought to you by:
rtfm
|
From: Ingo F. <fer...@co...> - 2004-05-26 09:21:03
|
On Tue, 25 May 2004 14:20:20 +1200 Christopher Sawtell <csa...@pa...> wrote: > On Tue, 25 May 2004 04:29, Marco Huber wrote: > > Hi all, > > > > I'll try to install the Linux-Kontor. > > > > I don't know if the community of this project is allready alive (there is > > not much activity). > > I think it has, in effect, died. Yours is the first e-mail on the list since I > re-joined at the beginning of April 2004. It seems that the project has been > abandoned to SourceForge to find its own way in the world. I agree. I took two weeks until it works. I was intresting on the data-structure of the sql-database. My idea ist to use kontor and write missing parts with GNUe-komponents. Unfortunately, GNUe is under heavy development and we have to wait at least a year. :-( I had to make a lot changes in kontor. I can't imagine that it worked "out of the box" on a machnine somewhere. Here my experiences: 0. Download my kontor-source from www.olvenstedt.de/kontor_20040525.tgz . Note that source has a lot of changes. Use it only for experimental! I have never printed something or stored some articles. It is verry, verry probably that some errors occur. I got a lot SQL-errors (missing fields and other simple things). Everytime it occour, i had to fix sql-installation script. More later. Extract it for the first time the source on the same place like on my machine. If everything is running you can change it. Extract to /source /ext /kontor /IoS /CVS /htdocs ...etc. 1. I uses JDK 1.4 (j2sdk-1_4_2-nb-3_5_1-bin-linux.bin downloaded from SUN) Installed in the default /opt/j2sdk_nb/j2sdk1.4.2/. There is a class Iterator in kontor and Sun impemented a interface Iterator, starting from version 1.4. I had to rewrite the code to full qualify all occurence of Iterator. (Iterator => de.ios.framework.basic.Iterator) 2. Download from postgresql.org the fitting "postgresql.jar". The name is slightliy different. In my case pg74.213.jdbc3.jar. Move/rename it to /usr/share/java/postgresql.jar. 3. I use debian. I had to install (apt-get install package) - postgresql - postgresql-contrib (this includes the used refint.so) 4. - create a user "postgres" with password "post" as (system-account? - i am not sure) _and_ postgresql-user ("createuser postgres -P") - "createuser kontor -P" mit password kontor - cd /source/ext/kontor/IoS/kontor/bin/tools - "createdb iosdb" - "./createDB.sh postgres post" - if you see an error: read carfully the message, "dropdb iosdb", and start again on "createdb iosdb" - cd .. - ./kontor.server - now the server should run - cd /source/ext/kontor/IoS/kontor/bin/tools - "./createMenu.sh etc/kontor.en" - "./kontor.menu" Now, the client should run, login as admin mit password admin Additional hints: A central point of the installation is /source/ext/kontor/IoS/kontor/sql/PostgreSQL/kontor.create.sql. I had the most problem here. I had the feeling, that Adabas is case sensitive and postgre is case intensive. So i removed any CamelCase. One nessesary change in java was: sTableName to sTableName.toLowerCase() !! I compiled the project with a "make" from kontor/IoS/framework/java _and_ kontor/IoS/kontor/java (the tgz-file, mentioned above, is alread compiled) But i needed some *.class they not exists as *.java! ./IoS/framework/classes/de/ios/framework/db2/DBObjectHashCode.class ./IoS/kontor/classes/de/ios/kontor/cl/main/StammdatenP.class ./IoS/kontor/classes/de/ios/kontor/cl/main/BuchhaltungP.class ./IoS/kontor/classes/de/ios/kontor/cl/main/FinanzP.class ./IoS/kontor/classes/de/ios/kontor/cl/main/MainP.class ./IoS/kontor/classes/de/ios/kontor/cl/main/VerkaufP.class ./IoS/kontor/classes/de/ios/kontor/cl/main/LagerP.class ./IoS/framework/classes/de/ios/framework/gui/VLP.class ./IoS/kontor/classes/de/ios/kontor/cl/main/StammdatenP.class ./IoS/kontor/classes/de/ios/kontor/cl/main/BuchhaltungP.class ./IoS/kontor/classes/de/ios/kontor/cl/main/FinanzP.class ./IoS/kontor/classes/de/ios/kontor/cl/main/AuswertungP.class I simple moved it from the bin-distribution. All classes end with a P. Perhaps there is a way to create the classes? Any Idea? Look also in the outdated installation-pdf on kontor-homepage. Also download the old homepage. There are some hints too. Thank you also to http://www.bytesitter.de/modules.php?op=modload&name=Sections&file=index&req=listarticles&secid=1 Unfortunately, your installation-script does not work for me, but some good hints i got. Regards Ingo Ferchland > > > I'll try to install it on Suse 9.0 with Postgre 7.4.x > > Because I have allready installed the jdk 2 from Sun I try to get the old > > 1.1.8 (How the "Howto" describe) > > > > But it doesn't work (It want to link to my java2 path). Has anyone and idea > > or experience with installing Kontor? > > iirc, Several years ago, I got it to at least install shortly after the > project was launched, but at that stage in the Kontor development, most of > the documentation and screen annotations were in German, so this poor > mono-lingual Englishman was totaly lost. It looked so good, and it was a > great disappointment to find that I could not make use of it without > considerable effort and expense. > > -- > Sincerely etc. > Christopher Sawtell > > NB. This PC runs Linux. If you find a virus apparently from me, > it has forged the e-mail headers on someone else's machine. > Please do not notify me when this occurs. Thanks. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Kontor-user mailing list > Kon...@li... > https://lists.sourceforge.net/lists/listinfo/kontor-user > > |