Hi, 
finally, after loading the Midgard CVS on David's recommendation, I've 
got Midgard to compile, but still not to WORK.

- I installed /lib /mod/ /php4 and /data from the CVS snapshot dd. 
yesterday. All packages compiled without problems on suse 7.1, kernel 
2.2.18.
- I have libphp4.so midgard-root.php and midgard.so in usr/lib/apache
- the midgard database ist installed; on /dbinstall I selected 
"ASGARDSITE"
- Startup of apache is without probs, so I assume that the modules and 
libraries from midgard load as they should.
- I needed to put the /usr/lib/apache/ path (where midgard.so resides) 
into /etc/ld.so.conf. Otherwise I got "Cannot get midgard module 
descriptor in Unknown on line 0" from the php preparser when executing 
other .php3 projects and those projects were blocked - even when 
"extension = " was defined WITH the path included. Maybe this should be 
recommended more intensively to installers in the future.

I still can't get more than the plain source text from any *.mdg files. 
The midgard-data.conf states:

--------------------------------
MidgardDatabase midgard midgard midgard
 
## Uncomment these if you want to use filetemplates
# MidgardTemplate phpelements.xml
# AddType application/x-httpd-php-midgard .mgd
 
## Uncomment this for PHP3,
## MidgardRootFile "/usr/lib/apache/midgard-root.php3"
## or this for PHP4
MidgardRootFile "/usr/lib/apache/midgard-root.php"
 
NameVirtualHost 192.168.0.1:80
<VirtualHost 192.168.0.1:80>
    MidgardEngine On
    ServerName locutus.netzwissen.de
    Port 80
 
    # Switch off magic quotes - it is required with Midgard
    php_value magic_quotes_gpc off
    php_value magic_quotes_runtime off
 
    # Configure text parser:
    # Change to 'russian' for Russian Midgard
    MidgardParser latin1
    MidgardBlobDir "/var/www/blobs"
 
    # Configuration for Russian Midgard:
    <IfModule mod_charset.c>
     # default charset for real or virtual server (selected
     # selections methods fails)
     CharsetDefault koi8-r
     # Default source (on-disk) charset (we keep all content     # 
encoding). If you want different encoding, please re-     # before 
inserting it into DB too.
     CharsetSourceEnc koi8-r
     # Force mod_charset to do its work
     CharsetDisable Off
    </IfModule>
</VirtualHost>
--------------------------------

The dbinstall replies during install were ok, except:
" REPLIGARD/READ-Message: ERROR OPENING FILE Asgard-1.4.1.xml.gz
gzip: Asgard-1.4.1.xml.gz: Datei oder Verzeichnis nicht gefunden"

There is no such file in the CVS. I grabbed it from the /data tarballs 
and re-started dbinstall which imported something. At the end of 
dbinstall I was asked to connect Midgard through [servername]/admin/. 
But there was no such directory created, so I assume this info is wrong.

I copied example/ and midgard/ from the snapshot/data/images path (this 
was mentioned in INSTALL). Both contain no code except pics. I also 
copied the data/filetemplates/ft-en branch into DOC-ROOT/midgard2. I 
accessed DOCROOT/midgard2/index.mdg but only get the source code back.

I am still not clear about the last steps: Why do I need the admin and 
example files? They contain no source/code data. And where is the real 
code stuff then? Is everythig grabbed from the Midgard database? And 
why then do I not have any connects there? 

>From my point of view, the INSTALL description contains a number of 
uncertainties, not all information is really clear. The subsequent 
steps to get a running install should be completely reworked - only 
"code-nerds" will understand it right now. Some kind of "block scheme" 
would be helpful too. I am still confused about how all these things go 
together ... 

And finally: I've put more then 2 workdays into all my attempts, with 
NO result. For admins with less patience, this alone would  be a "nail 
in the coffin" against using Midgard ;-(.

Thomas

-- 
-------------------------------------------------------
Thomas M. ROTHER - "netzwissen" - D-73728 Esslingen
F.R. Germany/EU
 - http://www.netzwissen.de (Updated!)
Public PGP Key available from http://www.keyserver.net
-------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to