List Info

Thread: Building Midgard with DarwinPorts (partial success)




Building Midgard with DarwinPorts (partial success)
user name
2006-02-25 13:10:19
Hi,
I'm building Midgard with DarwinPorts (I know that Midgard package for OS X is available with Fink, but we have  our preferences…).
I am now able to build all parts and run spider-admin and aegir interfaces. However, the midgard-welcome package causes some problems. The first was that cache directory was not available (it was looked for in /var, as it really was in /var/local. This seems to depend on the 'prefix' that is /usr/local for me, if it would be /usr, then it really should be /var?!). At that point I saw a lot of content from the first page, but then I changed the code to get past that and then I got the following:

Fatal error: Call to a member function on a non-object in /usr/local/share/midgard/midcom/lib/midcom/services/cache/backend/dba.php on line 104

What would cause this? Aegir and spider-admin interfaces work, however, so this doesn't seem to be too serious, but something anyhow.

I am now in the process of verifying the build process (delete everything and build anew until everything is ok). Directory permissions were a bit troublesome, but there the documents were helpful.

!

! Jyrki Wahlstedt

! Männikkötie 5 D 19            mob. +358-40-502 0164 skype:jyrkiwahlstedt

! FI-00630 Helsinki

!

! Our life is no dream; but it ought to become one and perhaps will.

! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0  A780 6366 EFD9 139C C386



Building Midgard with DarwinPorts (partial success)
user name
2006-02-26 17:45:03
Hi,
this is what one gets for not being careful enough, i.e. I
just  
checked my PHP (4.4.2) configuration and I did not have dba
there.  
After adding this the welcome page showed in all its
glory
(In  
DarwinPorts PHP there is no way to enable dba nor libxm2
support. I  
have made these changes and reported them, so hopefully
there is an  
update later on)

On 25.2.2006, at 15:10, Jyrki Wahlstedt wrote:

> Hi,
> I'm building Midgard with DarwinPorts (I know that
Midgard package  
> for OS X is available with Fink, but we have  our
preferences…).
> I am now able to build all parts and run spider-admin
and aegir  
> interfaces. However, the midgard-welcome package causes
some  
> problems. The first was that cache directory was not
available (it  
> was looked for in /var, as it really was in /var/local.
This seems  
> to depend on the 'prefix' that is /usr/local for me,
if it would  
> be /usr, then it really should be /var?!). At that
point I saw a  
> lot of content from the first page, but then I changed
the code to  
> get past that and then I got the following:
>
> Fatal error: Call to a member function on a non-object
in /usr/ 
>
local/share/midgard/midcom/lib/midcom/services/cache/backend
/ 
> dba.php on line 104
>
> What would cause this? Aegir and spider-admin
interfaces work,  
> however, so this doesn't seem to be too serious, but
something anyhow.
>
> I am now in the process of verifying the build process
(delete  
> everything and build anew until everything is ok).
Directory  
> permissions were a bit troublesome, but there the
documents were  
> helpful.

!
! Jyrki Wahlstedt
! Männikkötie 5 D 19            mob. +358-40-502 0164  
skype:jyrkiwahlstedt
! FI-00630 Helsinki
!
! Our life is no dream; but it ought to become one and
perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1
89C0  A780  
6366 EFD9 139C C386



------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribemidgard-project.org
For additional commands, e-mail: dev-helpmidgard-project.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )