Re: [midgard] Preferred way to enable alternate database backend.
Ami Ganguli wrote: Does anybody have a preference as to how an alternate database backend should be selected? I can think of three options: 1. Alter mgd_init to take the name of a dynamic library as a parameter. The library would hold database specific functions. I think this is best but it would require an API change. 2. A compile time option to select one backend only. 3. A totally separate library with separate source tree. The list is roughly in order from best to worst, and most difficult to least difficult IMHO. Let me know what you think. Midgard-dev had serious thread about database driver layer in May, you may look in archives at mar.theaimsgroup.com/?l=midgard-dev or at experimental Bergius' rewrite of the MPRy site http://bergie.greywolves.org:8081/archive/midgard-dev/ -- AB -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
[midgard] HELP mod-midgard compile, redhat linux v6.1
I have compiled and installed successfully midgard-lib and installed midgard data as per the install instructions. While trying to configure mod_midgard I get the following error message checking for mgd_connect in -lmidgard... no I have run ldconfig -p | grep midgard and have the following response libmidgard.so.2 (libc6) = /usr/local/lib/libmidgard.so.2 libmidgard.so (libc6) = /usr/local/lib/libmidgard.so I have tried to run the configure script with the --with-midgard=/usr/local and I have set the LD_LIBRARY_PATH variable to /usr/local/lib but to no avail. can somebody please advise what is happening? Thanks Philip Burness Principal Engineer - Foxboro GB Ltd. Tel +44(0) 1925 837267 Fax +44(0) 1925 831690 email [EMAIL PROTECTED] CONFIDENTIALITY NOTICE - The information contained in this transmittal is confidential. It is intended for the addressee(s) stated above. If you are not an addressee you should not disclose, copy, circulate or in any other way use the information contained in this transmission. Such unauthorised use may be unlawful. If you received this transmission in error, please contact us immediately so that we can arrange for its return. -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
[midgard] question
-- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
RE: [midgard] HELP mod-midgard compile, redhat linux v6.1
From the midgard web page - documentation - FAQ there is a what to do if you get a mdg_* error. I have a feeling it is because the standard redhat rpm distributions of MySQL do not use shared libraries and midgard is expecting them. I have tried to force the use of the static library and this has faile also, so I am now recompiling the MySQL code to enable static libraries and then try again. I will let you know how I get on Phil -Original Message- From: Houben,G.J.J. (Geert) [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 11:09 AM To: '[EMAIL PROTECTED]' Subject: RE: [midgard] HELP mod-midgard compile, redhat linux v6.1 Hello Phil, I have exactely the same problem as youm if I know how to fix it, I will let you know. And if you find out, can you send me an email too? Thanx Geert -Original Message- From: Burness,Phil [SMTP:[EMAIL PROTECTED]] Sent: dinsdag 23 mei 2000 9:56 To: '[EMAIL PROTECTED]' Subject:[midgard] HELP mod-midgard compile, redhat linux v6.1 I have compiled and installed successfully midgard-lib and installed midgard data as per the install instructions. While trying to configure mod_midgard I get the following error message checking for mgd_connect in -lmidgard... no I have run ldconfig -p | grep midgard and have the following response libmidgard.so.2 (libc6) = /usr/local/lib/libmidgard.so.2 libmidgard.so (libc6) = /usr/local/lib/libmidgard.so I have tried to run the configure script with the --with-midgard=/usr/local and I have set the LD_LIBRARY_PATH variable to /usr/local/lib but to no avail. can somebody please advise what is happening? Thanks Philip Burness Principal Engineer - Foxboro GB Ltd. Tel +44(0) 1925 837267 Fax +44(0) 1925 831690 email [EMAIL PROTECTED] CONFIDENTIALITY NOTICE - The information contained in this transmittal is confidential. It is intended for the addressee(s) stated above. If you are not an addressee you should not disclose, copy, circulate or in any other way use the information contained in this transmission. Such unauthorised use may be unlawful. If you received this transmission in error, please contact us immediately so that we can arrange for its return. -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] HELP mod-midgard compile, redhat linux v6.1
Hi, If you get a message saying that libmidgard is not available, it may be that you didn't install properly the MySQL-shared-*.rpm package. The best and easiest way is to install MySQL from RPM. All you have to do after is to configure and install Midgard. Here is how I compile on my RH6.1 box: in lib: ./configure --with-sitegroups then make install then ldconfig in mod: ./configure then make install in php: ./configure --with-apxs --with-apache=/usr/ --with-mysql=/usr/ --with-midgar d then make install then /etc/rc.d/init.d/httpd restart Another thing to know on RH distributions is that apxs contains a bug. you have to change the $CFG_LIBEXECDIR variable (line 81) to : my $CFG_LIBEXECDIR = '/usr/lib/apache'; But after the first install of mod_midgard and midgard-php, you'll have to change the httpd.conf to replace the lines: LoadModule php3_module lib/apache/libphp3.so LoadModule midgard_module lib/apache/mod_midgard.so by the lines: LoadModule php3_module modules/libphp3.so LoadModule midgard_module modules/mod_midgard.so If this did not solve your problem, please send the exact error message. Best regards, David -Original Message- From: Houben,G.J.J. (Geert) [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 11:09 AM To: '[EMAIL PROTECTED]' Subject: RE: [midgard] HELP mod-midgard compile, redhat linux v6.1 Hello Phil, I have exactely the same problem as youm if I know how to fix it, I will let you know. And if you find out, can you send me an email too? Thanx Geert -Original Message- From: Burness,Phil [SMTP:[EMAIL PROTECTED]] Sent: dinsdag 23 mei 2000 9:56 To: '[EMAIL PROTECTED]' Subject: [midgard] HELP mod-midgard compile, redhat linux v6.1 I have compiled and installed successfully midgard-lib and installed midgard data as per the install instructions. While trying to configure mod_midgard I get the following error message checking for mgd_connect in -lmidgard... no I have run ldconfig -p | grep midgard and have the following response libmidgard.so.2 (libc6) = /usr/local/lib/libmidgard.so.2 libmidgard.so (libc6) = /usr/local/lib/libmidgard.so I have tried to run the configure script with the --with-midgard=/usr/local and I have set the LD_LIBRARY_PATH variable to /usr/local/lib but to no avail. can somebody please advise what is happening? Thanks Philip Burness Principal Engineer - Foxboro GB Ltd. Tel +44(0) 1925 837267 Fax +44(0) 1925 831690 email [EMAIL PROTECTED] CONFIDENTIALITY NOTICE - The information contained in this transmittal is confidential. It is intended for the addressee(s) stated above. If you are not an addressee you should not disclose, copy, circulate or in any other way use the information contained in this transmission. Such unauthorised use may be unlawful. If you received this transmission in error, please contact us immediately so that we can arrange for its return. -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
RE: [midgard] HELP mod-midgard compile, redhat linux v6.1
having rebuilt the midgard-lib after installing the mysql shared libs the mod-midgard package configured and installed OK. I am now compiling the php module as per davids email. Thanks for the help david, and good luck geert. Phil -Original Message- From: Burness,Phil [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 11:16 AM To: '[EMAIL PROTECTED]' Subject: RE: [midgard] HELP mod-midgard compile, redhat linux v6.1 From the midgard web page - documentation - FAQ there is a what to do if you get a mdg_* error. I have a feeling it is because the standard redhat rpm distributions of MySQL do not use shared libraries and midgard is expecting them. I have tried to force the use of the static library and this has faile also, so I am now recompiling the MySQL code to enable static libraries and then try again. I will let you know how I get on Phil -Original Message- From: Houben,G.J.J. (Geert) [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 11:09 AM To: '[EMAIL PROTECTED]' Subject:RE: [midgard] HELP mod-midgard compile, redhat linux v6.1 Hello Phil, I have exactely the same problem as youm if I know how to fix it, I will let you know. And if you find out, can you send me an email too? Thanx Geert -Original Message- From: Burness,Phil [SMTP:[EMAIL PROTECTED]] Sent: dinsdag 23 mei 2000 9:56 To: '[EMAIL PROTECTED]' Subject: [midgard] HELP mod-midgard compile, redhat linux v6.1 I have compiled and installed successfully midgard-lib and installed midgard data as per the install instructions. While trying to configure mod_midgard I get the following error message checking for mgd_connect in -lmidgard... no I have run ldconfig -p | grep midgard and have the following response libmidgard.so.2 (libc6) = /usr/local/lib/libmidgard.so.2 libmidgard.so (libc6) = /usr/local/lib/libmidgard.so I have tried to run the configure script with the --with-midgard=/usr/local and I have set the LD_LIBRARY_PATH variable to /usr/local/lib but to no avail. can somebody please advise what is happening? Thanks Philip Burness Principal Engineer - Foxboro GB Ltd. Tel +44(0) 1925 837267 Fax +44(0) 1925 831690 email [EMAIL PROTECTED] CONFIDENTIALITY NOTICE - The information contained in this transmittal is confidential. It is intended for the addressee(s) stated above. If you are not an addressee you should not disclose, copy, circulate or in any other way use the information contained in this transmission. Such unauthorised use may be unlawful. If you received this transmission in error, please contact us immediately so that we can arrange for its return. -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
[midgard] Re: [Re: [midgard] Preferred way to enable alternate database backend.]
Alexander Bokovoy [EMAIL PROTECTED] wrote: Midgard-dev had serious thread about database driver layer in May, you may look in archives at mar.theaimsgroup.com/?l=midgard-dev or at experimental Bergius' rewrite of the MPRy site Thanks. I'll dig through the archive. I can't seem to find the subscribe instructions for midgard-dev on the web site. Am I missing something? ... Ami. -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Re: [Re: [midgard] Preferred way to enable alternate database backend.]
Hello Ami, Tuesday, May 23, 2000, 10:54:41 AM, you wrote: Alexander Bokovoy [EMAIL PROTECTED] wrote: Midgard-dev had serious thread about database driver layer in May, you may look in archives at mar.theaimsgroup.com/?l=midgard-dev or at experimental Bergius' rewrite of the MPRy site Thanks. I'll dig through the archive. I can't seem to find the subscribe instructions for midgard-dev on the web site. Am I missing something? They are the same for 'midgard' list. Send a letter with subscribe in body to [EMAIL PROTECTED] and answer positively to daemon's respond. -- Best regards, Alexandermailto:[EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
[midgard] sql script to rip a site?
Hi Sorry, I can't access the mailing list archive right now (too slow), which has often proved a valuable source for finding answers... What I am after is this: Has anyone written a sql script that creates a _partial_ dump of the midgard database so that all required table entries belonging to a given midgard site can be ripped off and later loaded into another midgard database on another server? I understand that this is a little complicated. Not only should such a script find all styles, sub-pages, page elements, topic trees etc which the root page depends on, it also has to make sure that the stuff can be re-loaded using unique id numbers for all objects, because the ids used at the original server may already be in use at the target server. Currently, I use mysqldump to backup the full midgard database. But what if I want to sites around? Frank -- Dr Frank Boehme | Email: [EMAIL PROTECTED] National University of Ireland, Cork | phone: +353-21-903163 Dept of Computer Science | fax: +353-21-903113 Cork, Ireland| -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Midgard basic site .pdf file mistakes
Some fixes were made to the PDF version of the tutorial. Henri has got the file and I hope it would be placed somewhere on the site. Online version of tutorial will be updated ASAP (this weekend, I think). Regards Dariusz Debowczyk [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] question
Hi, On Tue, 23 May 2000, Verbeek wrote: Hello, I'm developping a portal-like website. I want to use a content management system like application for this. Midgard can do this. Is it possible to run midgart on a Win 98 machine and then ftp the pages to a unix server? Midgard doesn't run on Windows. Although you can administrate Midgard from any computer that runs a browser. I believe you can view an example of the Midgard administration site at http://www.marlowes.com. If that's the wrong location you can search midgard-project.org for the example site. I it isn't does anyone have suggestions for an application? I can't find anything that lets me work on Win 98 and host on unix. You'll have to install Midgard on a Unix, BSD, OS-X, or Linux server. Ron Thank Bart Verbeek -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Outsider's Notes
"Hellekin O. Wolf" wrote: I've been trying in vain to install Midgard for months on a Linux box. This is very sad. Sorry, I didn't have much trouble when I installed from source. But it took me some more time to figure out how to actually use it. You know, to get the basic concepts... I tried the tarballs, src.RPMs, RPMs... I tried to do it on a custom install, on a fresh install, I don't think that midgard is more complicated an application to install than, lets say, a window manager. The thing is, that midgard is closely dependend on well configured other components (apache, mysql and its client lib...), which is anyway common unix philosophy. I don't believe much in rpms or binary stuff, for several reasons. So what exactly went wrong when you tried to compile from scratch? There are some possible pitfalls. From the postings to this list, I gradually know some of them. For instance, certain versions of mysql per default install libmysqlclient to /usr/local/lib/mysql/libmysqlclient.so which is hardly found by another configure script. You may not notice this until you install the first program which requires this lib. Now, when you try to compile mod_midgard, the error message you get makes you think that libmidgard is not found, but the real cause is libmysqlclient. So which error did you get? sorry for your trouble, Frank -- Dr Frank Boehme | Email: [EMAIL PROTECTED] National University of Ireland, Cork | phone: +353-21-903163 Dept of Computer Science | fax: +353-21-903113 Cork, Ireland| -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Outsider's Notes
I totally agree on Mr Wolf statement. I would LOVE to check Migard, in order to include it on an unborn yet portal project, but the install is so painfull ! I will try to continue a little bit, but time is running so fast. Dommage. On 23 May 2000, at 17:24, Hellekin O. Wolf wrote: Hello ppl, I've been trying in vain to install Midgard for months on a Linux box. I tried the tarballs, src.RPMs, RPMs... I tried to do it on a custom install, on a fresh install, following docs, reading FAQs, doing step by step, etc. It never installed in a row. I always had to dig into the configuration and source code to make it work. As a result, I didn't have the opportunity to really use it and that's unfortunate because Midgard seems to be the only appserver in PHP, and a competitor to Zope. As Midgard requires a special Apache+PHP configuration, I would hope that it would be painless to install and run. I hope you can improve the installation part in the future. Note that in version 1.3 there is a mistake in midgard.c, line 613 which prevent it from compiling : one must add a semi-colon ";" at the end of the line. Finally, I decided not to use it until a more mature version appears. I hope to see it soon. The fact is that I won't choose Midgard as a tool of choice for my company's intranet. I'm sorry about that and would like to use it, but... -- _ __ / \_/ \,___ ___ (_) ,___ Hellekin O. Wolf / _._ \ / _ |/ _ \| |/ _ |mailto:[EMAIL PROTECTED] / / \ \| (_| | | | | | (_| |phone:+33 (0)1 53 35 06 84 \_/ DEV \_/ \__,_|_| |_|_|\__,_|http://www.multimania.fr/ -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] Sébastien BERNARD, [EMAIL PROTECTED], http://www.mouzaia.com/ -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Outsider's Notes
Thanks Frank for your proposal ! First question I have to post to the list: May I install midgard on a red hat 6.0 linux ? If yes, then I start again tomorrow. If Not, then I will get a 6.2 Friday morning. Maybe there is a better choice than Red Hat ? Sébastien BERNARD, [EMAIL PROTECTED], http://www.mouzaia.com/ -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
RE: [midgard] question
Midgard doesn't run on Windows. Although you can administrate Midgard from any computer that runs a browser. I believe you can view an example of the Midgard administration site at http://www.marlowes.com. If that's the wrong location you can search midgard-project.org for the example site. To make life easier - http://midgard-demo.marlowes.com Nick -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Outsider's Notes
Sébastien Bernard wrote: First question I have to post to the list: May I install midgard on a red hat 6.0 linux ? If yes, then I start again tomorrow. If Not, then I will get a 6.2 Friday morning. I don't know redhat, but I don't think there is a problem anywhere. If it comes with badly configured packages then you can always de-install apache and mysql from the distribution and start by installing these two from source. There is a nice script out which installs apache+php3+mysql without hassle from source. (search freshmeat). Don't worry about php being overwritten later on by midgard's php, but this way you have automatically mod_php enabled in apache. Maybe there is a better choice than Red Hat ? I have SuSE 6.2. I left its original apache but I installed mysql from source, because the SuSE version was outdated. Frank -- Dr Frank Boehme | Email: [EMAIL PROTECTED] National University of Ireland, Cork | phone: +353-21-903163 Dept of Computer Science | fax: +353-21-903113 Cork, Ireland| -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
RE: [midgard] Outsider's Notes
My experience with installing midgard on RH6.1 was pretty straight forward...I did use the RPMs and ran into a few little things but other than that it was fab...I have been running the server with 1.2.5 since November...no problems...I did uninstall apache and Mysql and start from scratch...( I backed all of the Mysql data up). let me know if I can help kp -Original Message- From: Sebastien Bernard [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 11:02 AM To: [EMAIL PROTECTED] Subject:Re: [midgard] Outsider's Notes Thanks Frank for your proposal ! First question I have to post to the list: May I install midgard on a red hat 6.0 linux ? If yes, then I start again tomorrow. If Not, then I will get a 6.2 Friday morning. Maybe there is a better choice than Red Hat ? Sebastien BERNARD, [EMAIL PROTECTED], http://www.mouzaia.com/ -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Outsider's Notes
Thanks for your help. I will start tonight (or tomorrow), from a clean 6.0 RH. I found this http://freshmeat.net/appindex/2000/01/15/947957015.html, a compile kit, i am not sure it is this one, because you say there is mysql in it, and I dont see, but I am not sure. I will try it asap. On 23 May 2000, at 17:18, Frank Boehme wrote: Sébastien Bernard wrote: First question I have to post to the list: May I install midgard on a red hat 6.0 linux ? If yes, then I start again tomorrow. If Not, then I will get a 6.2 Friday morning. I don't know redhat, but I don't think there is a problem anywhere. If it comes with badly configured packages then you can always de-install apache and mysql from the distribution and start by installing these two from source. There is a nice script out which installs apache+php3+mysql without hassle from source. (search freshmeat). Don't worry about php being overwritten later on by midgard's php, but this way you have automatically mod_php enabled in apache. Maybe there is a better choice than Red Hat ? I have SuSE 6.2. I left its original apache but I installed mysql from source, because the SuSE version was outdated. Frank -- Dr Frank Boehme | Email: [EMAIL PROTECTED] National University of Ireland, Cork | phone: +353-21-903163 Dept of Computer Science | fax: +353-21-903113 Cork, Ireland| -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] Sébastien BERNARD, [EMAIL PROTECTED], http://www.mouzaia.com/ -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]