problem with migard 1.8alpha1

View: New views
9 Messages — Rating Filter:   Alert me  

problem with migard 1.8alpha1

by Uung H.R Bhuwono :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Just try midgard 1.8alpha1 on my suse 10 box and got error when starting apache

"PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/midgard.so' - libglib-2.0.so.0: cannot open shared
object file: No such file or directory in Unknown on line 0"

I compile it from the source, why it still asking for libglib-2.0.so.0.
Anyone can help me to solve this.

Thanks


--
Uung H.R Bhuwono

Hail The Revolution...!!!!


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: problem with migard 1.8alpha1

by Eero af Heurlin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Uung H.R Bhuwono wrote:

> Hi,
>
> Just try midgard 1.8alpha1 on my suse 10 box and got error when starting apache
>
> "PHP Warning:  Unknown(): Unable to load dynamic library
> '/usr/lib/php/extensions/midgard.so' - libglib-2.0.so.0: cannot open shared
> object file: No such file or directory in Unknown on line 0"
>
> I compile it from the source, why it still asking for libglib-2.0.so.0.
> Anyone can help me to solve this.
>

I suppose you compiled it on the same machine so glib2 and glib2-dev
should be installed, can ld locate the file (see that ld.so.conf
contains the path of the directory where the file is, then run ldconfig) ?

In fact the configure script of 1.8a misses some dependencies, but the
actual make should fail in that case.

/Rambo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


New Blog and and 1 question

by med-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

For all those out there who still have sites running the "old-aegir"-way, i have put up a few notes in my blog...
It features a few "bugfixes" and short tutorials about issues in Aegir 1.0.3 i came across lately...
The blog can be found at http://privat.galak.dyndns.org/blog/
(you may want to filter by category midgard)
Some of this is in german, but I'll give my best to add some comments in english as well...
(PS: sorry if this is slow, but the server is located in my kitchen - only 128kb upstream via DSL...)

Now for the question:
I'd like to set up a multi-language site without midcom using old-aegir style
(well actually it's about adding english translation-articles to a german site)
, but midgard-api-reference about the language section is a bit behind of normal "completeness"...
Has anyone done something like that and can give some usefull tips/tutorials to that?
(Currently i just don't think i am up to porting the whole thing to midcom without loosing some major functionality within the requested time...)

As always, any help or hints appreciated!

Alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFD1Trm6ByBlKPys/0RAsJ3AKC+4GiCObBv/lRwJl0IHubTkEeDPwCdHgka
QQxq4Z0oQj7wQy7S6pc6WLY=
=zdFz
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Parent Message unknown Re: problem with migard 1.8alpha1

by Uung H.R Bhuwono :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
Hi  
 
Turn out I make symbolic link when I compile that. I only have  
libglib-2.0.so.0.800.1  
My glib2 dan glib2-dev is 2.8.1-3  
Do I have correct glib2 version or I have to change glib to get what the  
compiler ask  
 
thanks,  
 
 
 
On Tuesday 24 January 2006 03:11, Eero af Heurlin wrote:  
> Uung H.R Bhuwono wrote:  
> > Hi,  
> >  
> > Just try midgard 1.8alpha1 on my suse 10 box and got error when  
starting  

> > apache  
> >  
> > "PHP Warning:  Unknown(): Unable to load dynamic library  
> > '/usr/lib/php/extensions/midgard.so' - libglib-2.0.so.0: cannot open  
> > shared object file: No such file or directory in Unknown on line 0"  
> >  
> > I compile it from the source, why it still asking for libglib-2.0.so.0.  
> > Anyone can help me to solve this.  
>  
> I suppose you compiled it on the same machine so glib2 and glib2-dev  
> should be installed, can ld locate the file (see that ld.so.conf  
> contains the path of the directory where the file is, then run  
ldconfig) ?  
>  
> In fact the configure script of 1.8a misses some dependencies, but the  
> actual make should fail in that case.  
>  
> /Rambo  
>  
> ---------------------------------------------------------------------  
> To unsubscribe, e-mail: user-unsubscribe@...  
> For additional commands, e-mail: user-help@...  
 
--  
____________________________________________________  
 
Uung H.R Bhuwono  
 
+++++++++++++++++++++++++++++++++++++++++++++  
Personal Blog  
http://g33kgnu3r.blogspot.com/ 
____________________________________________________  
 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: problem with migard 1.8alpha1

by Piotras :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Uung H.R Bhuwono" <avenpace@...> wrote:

> Turn out I make symbolic link when I compile that. I only have  
> libglib-2.0.so.0.800.1  
> My glib2 dan glib2-dev is 2.8.1-3  
> Do I have correct glib2 version or I have to change glib to get what the  
> compiler ask  

GLib version is correct. We expect >= 2.4.
Can you run:

1. `midgard-config --report`
2. ldconfig -v | grep libglib

and send the output?

Piotras

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Parent Message unknown Re: problem with migard 1.8alpha1

by Uung H.R Bhuwono :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Piotras,
 
the output is
 
1.  
"version          : 1.8alpha1
sitegroups       : filetemplates    : pagelinks        : 0
multilang        : 1
vc               : 1
quota            : 1
prefix           : /usr/local
host             : i686-pc-linux-gnu
exec-prefix      : /usr/local
cppflags         : -I/usr/include/libxml2 -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include   -I/usr/include/mysql -march=i586
-mcpu=i686 -fmessage-length=0 -g -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS
-fno-strict-aliasing -I/usr/local/include
libs             : -lm -lz -lcrypt  -L/opt/gnome/lib -lgobject-2.0
-lglib-2.0 -lxml2 -lz -lm   -L/usr/lib/mysql -lmysqlclient -lz -lcrypt
-lnsl -lm -L/usr/local/lib -lmidgard"
 
2.
/sbin/ldconfig: Can't stat /usr/X11R6/lib/Xaw95: No such file or directory
/sbin/ldconfig: Can't stat /usr/X11R6/lib/Xaw3d: No such file or directory
/sbin/ldconfig: Can't stat /usr/i486-linux/lib: No such file or directory
/sbin/ldconfig: Can't stat /usr/i486-linux-libc5/lib: No such file or
directory
/sbin/ldconfig: Can't stat /usr/i486-linux-libc6/lib: No such file or
directory
/sbin/ldconfig: Can't stat /usr/i486-linuxaout/lib: No such file or
directory
/sbin/ldconfig: Can't stat /usr/i386-suse-linux/lib: No such file or
directory
/sbin/ldconfig: Can't stat /usr/openwin/lib: No such file or directory
/sbin/ldconfig: Can't stat /opt/kde/lib: No such file or directory
/sbin/ldconfig: Can't stat /opt/kde2/lib: No such file or directory
/sbin/ldconfig: Can't stat /opt/gnome2/lib: No such file or directory
/sbin/ldconfig: /usr/local/lib/libgobject-2.0.so.0 is not a symbolic link
 
/sbin/ldconfig: Cannot stat /opt/kde3/lib/libgmcop.so: No such file or
directory
        libglibmm-2.0.so.1 -> libglibmm-2.0.so.1.5.11
        libglibmm_generate_extra_defs-2.4.so.1 ->
libglibmm_generate_extra_defs-2.4.so.1.0.16
        libglibmm-2.4.so.1 -> libglibmm-2.4.so.1.0.16
        libglib-1.2.so.0 -> libglib.so
        libglib-2.0.so.0 -> libglib-2.0.so.0.800.1
        libglibsharpglue-2.so -> libglibsharpglue-2.so
        libglibsharpglue.so -> libglibsharpglue.so
 
Thanks,
 
On Tuesday 24 January 2006 16:19, Piotras wrote:
> "Uung H.R Bhuwono" <avenpace@...> wrote:
> > Turn out I make symbolic link when I compile that. I only have
> > libglib-2.0.so.0.800.1
> > My glib2 dan glib2-dev is 2.8.1-3
> > Do I have correct glib2 version or I have to change glib to get what
the

> > compiler ask
>
> GLib version is correct. We expect >= 2.4.
> Can you run:
>
> 1. `midgard-config --report`
> 2. ldconfig -v | grep libglib
>
> and send the output?
>
> Piotras
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
 
--  
____________________________________________________
 
Uung H.R Bhuwono
 
+++++++++++++++++++++++++++++++++++++++++++++
Personal Blog
http://g33kgnu3r.blogspot.com/ 
____________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: New Blog and and 1 question

by Piotras :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"med" <med-men@...> wrote:

> Now for the question:
> I'd like to set up a multi-language site without midcom using old-aegir style
> (well actually it's about adding english translation-articles to a german site)
> , but midgard-api-reference about the language section is a bit behind of normal "completeness"...
> Has anyone done something like that and can give some usefull tips/tutorials to that?

All you have to do is to call mgd_set_lang($int lang).
When article is created set lang to de and call update method.
This will create german translation of Your article.

<?php
$art = new midgard_article();
$art->get_by_id($id);

mgd_set_lang($de_lang_id);

$art->content = "german content";
$art->update();

mgd_set_lang(0);
?>

Of course you must set and define lang somehow. It may be passed
in url , set from browser, etc.

Set lang again to get article with correct translation.

<?php

/* some code which gets current lang */

mgd_set_lang($lang_id);

$art = new midgard_article();
$art->get_by_id($id);

?>
&(art.content);


Piotras

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: New Blog and and 1 question

by Henri Bergius :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings!

On Mon, January 23, 2006 10:21 pm, med wrote:
> The blog can be found at http://privat.galak.dyndns.org/blog/
> (you may want to filter by category midgard)
> Some of this is in german, but I'll give my best to add some comments in
> english as well...
> (PS: sorry if this is slow, but the server is located in my kitchen - only
> 128kb upstream via DSL...)

Ok, great! I'll be more than happy to add this to Planet Midgard if the
server proves to be fast enough (currently P-M downloads the feeds when
users request the page, and slow feed slows the whole planet).

/Henri

--
Henri Bergius
Consultant Partner, Nemein
henri.bergius@...

Midgard CMS
www.midgard-project.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Midcom permission struggle

by med-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have an interesting setting forced upon me by our new provider STRATO (major one in Germany)
Looks like they use su_php for enforcing their access-policy and
Probably that is also the problem i am struggeling with...

I can get "Normal" Aegir clients up in no time, just have to make sure the lines like
- --- snip ---
php_admin_value open_basedir /users_public_html_base_dir/cache:\
/usr/local/lib/php:\
/tmp:\
/usr/lib/apache2:\
/var/lib/aegir/cvs:\
/var/local/lib/midgard/blobs/midgard:\
/var/www/blobs
- --- snap ---

Are set in my Vhost.conf

Now with midCom this seems to pose a bit of a problem...

Just adding
/usr/local/share/midgard/midcom/midcom-static:\
/usr/local/share/midgard/midcom/midcom:\

To that value didnt work, so i am unable to access the flatfile-cached php-scripts...

Oh by the way, this is an a SuSE 9.3 machine.
I did find a php4-dba rpm that installed without errors by using yast, but it is not "exactly" the same version.
Maybe the problems come from this????
Are there any official php4-dba RPMs out there fitting a "normal" SuSE 9.3
- - m-p.org didnt list any sources on that...

As always, thankful for any help,

Alex aka med-men
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFD2S426ByBlKPys/0RAsawAKCWR9tEgLrCZeLFGroj2EVTX4EvPQCg+XY5
u8TNFdDQHEju3xwLdHDlb+U=
=H2hp
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

LightInTheBox - Buy quality products at wholesale price