Re: [gentoo-user] cannot find /usr/lib/libdbug-glib-1.1a

2006-12-28 Thread Rumen Yotov

David Relson написа:

After emerging dbus-1.0.2 on my x86 system, I've run

  "rc-update add dbus default" to make sure dbus will run in the future
  "/etc/init.d/dbus start" to start it
  "/etc/init.d/dbus reload" to be sure it's running
  "revdep-rebuild" - as suggested by the build notes

Now, _every_ emerge dies with:

  libtool: link: cannot find the library `/usr/lib/libdbus-glib-1.la' or
 unhandled argument `/usr/lib/libdbus-glib-1.la'

   ...

   !!! ERROR: ... failed.
   Call stack:
 ebuild.sh, line 1580:   Called dyn_compile
 ebuild.sh, line 945:   Called src_compile
 ebuild.sh, line 1269:   Called gnome2_src_compile
 gnome2.eclass, line 71:   Called die

   !!! compile failure
   !!! If you need support, post the topmost build error, and the call
   stack if relevant.

The actual value of "..." depends on which package failed to emerge.

Undoubtedly the problem is that I've not done something necessary, but
I don't know what.  Any hints?

Regards,

David


Hi,
There were (in my case) many packages which need to be rebuild against 
new dbus library (run revdep-rebuild --ignore -p -vv as root).

In your case try rebuilding 'dbus-glib'.
HTH. Rumen



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] cannot find /usr/lib/libdbug-glib-1.1a

2006-12-28 Thread David Relson

After emerging dbus-1.0.2 on my x86 system, I've run

  "rc-update add dbus default" to make sure dbus will run in the future
  "/etc/init.d/dbus start" to start it
  "/etc/init.d/dbus reload" to be sure it's running
  "revdep-rebuild" - as suggested by the build notes

Now, _every_ emerge dies with:

  libtool: link: cannot find the library `/usr/lib/libdbus-glib-1.la' or
 unhandled argument `/usr/lib/libdbus-glib-1.la'

   ...

   !!! ERROR: ... failed.
   Call stack:
 ebuild.sh, line 1580:   Called dyn_compile
 ebuild.sh, line 945:   Called src_compile
 ebuild.sh, line 1269:   Called gnome2_src_compile
 gnome2.eclass, line 71:   Called die

   !!! compile failure
   !!! If you need support, post the topmost build error, and the call
   stack if relevant.

The actual value of "..." depends on which package failed to emerge.

Undoubtedly the problem is that I've not done something necessary, but
I don't know what.  Any hints?

Regards,

David

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] network configuration problem

2006-12-28 Thread Chuanwen Wu

2006/12/28, Oliver Schmidt <[EMAIL PROTECTED]>:

Hello Chuanwen

You can't ping a host out of you lan because after use ifconfig, no default 
gateway is set.
You can set this using these two lines:

ifconfig eth0 192.168.0.1 up
route add default gw 192.168.0.254

Yeah,I can ping the host out of my Lan now,just like
www.google.com.And now i can do emerge *** .Thank you!!!
But everytime I do
#/etc/init.d/net.eth0 start   or
#/etc/init.d/sshd start
the error is still all the same : MYIP already taken on eth0.
How can I fix the problem,now?


(192.168.0.254 is my default gateway)

Please compile the nic-driver static into the kernel  let me know the 
outcome.


I have compile the driver into the kernel.And the result is just as
what i say above.

best regards
Oliver





--
Best regards,
wcw
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: MPICH2 and errors....

2006-12-28 Thread Marco Calviani

Hi list,
  i would like to report that i've solved this issue by using, as a
compiler for the application, not the standard gcc compiler, but the
MPICH2-created compiler, i.e. mpicc (for c/c++) and mpif90 as the
Fortran 90 compiler.

Cheers,
mc


   i'm compiling a program that uses the MPICH2-provided libraries.
However during installation i'm getting the following error:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libmpich.so:
undefined reference to `aio_read64'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libmpich.so:
undefined reference to `aio_error64'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libmpich.so:
undefined reference to `aio_suspend64'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libmpich.so:
undefined reference to `aio_write64'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libmpich.so:
undefined reference to `aio_return64'


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] large .avi video files, re-encode ?

2006-12-28 Thread Dave S
On Thursday 28 December 2006 17:39, Arturo 'Buanzo' Busleiman wrote:
> Dave S wrote:
> > Hi all,
> >
> > I have a bunch of .avi video files that I use in a openoffice
> > presentation, they are nice and clear but really large files (1 - 2 GB
> > each !).
> >
> > I know nothing of video files, is it possible for me to re-encode them to
> > a more efficient format without loosing quality ?
>
> I use something like this. Adapt for your usage. It takes some parameters,
> but it's mainly used for dvd ripping:
>
> #!/bin/sh
> rm frameno.avi
> echo "DVD TITLE: $1"
> echo "OUTPUTFILE: $2"
> echo "SID: $3"
> echo "AID: $4"
> echo "Is that what you want? Press enter for OK, CTRL+C to cancel."
> read k
> mencoder dvd://$1 -sid $3 -aid $4 -ovc frameno -o frameno.avi -oac mp3lame
> -lameopts mode=1:vbr=2:q=6 -af volnorm -af-adv force=0
> mencoder -oac copy -ovc xvid -xvidencopts
> bitrate=-140:me_quality=6:chroma_opt:vhq=0:pass=1 dvd://$1 -sid $3 -aid
> $4 -o /dev/null
> mencoder -oac copy -ovc xvid -xvidencopts
> bitrate=-140:me_quality=6:chroma_opt:vhq=0:pass=2 dvd://$1 -sid $3 -aid
> $4 -o $2
>
> Check out the bitrate= parameter in the last two commands. The negative
> number tells mencoder to create a 1.4gb file (that's 140kilobytes,
> rounded up, not exact 1.4gb).
>
> --
> Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad
> Informatica ¿No sabés a dónde ir a comer o tomar algo? Visitá
> www.vivamoslavida.com.ar LISTA DE CASAMIENTO: Cualquier Fravega a nombre de
> Busleiman (37520).


1GB file compressed to 5M (OK so there was not too much changing on the 
screen, mainly cursor & some popups) - I call that a success :)

Cheers

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] large .avi video files, re-encode ?

2006-12-28 Thread Dan
On Thu, 28 Dec 2006 18:27:16 +
Dave S <[EMAIL PROTECTED]> wrote:

> On Thursday 28 December 2006 17:40, Strong Cypher wrote:
> > could you give us the original format of your video ?
> 
> The .avi files were directly generated by a screen capture program
> 
> Dave
the avi format is a container format that can work with multiple codecs
(see below).   perhaps you just need to re-encode them so that either
they use a better codec or they are lower qualilty in the same codec
(quality is directly proportional to size). Or use a better file format
alltogether if you wish.  

to do video stream editing i recommend the transcode package, as that's
the only one I know if.  

some quick info on avi's

http://en.wikipedia.org/wiki/Audio_Video_Interleave says:

(quotes)

Audio Video Interleave, known by its acronym AVI, is a multimedia
container format introduced by Microsoft in November 1992 as part of
the Video for Windows technology. AVI files contain both audio and
video data in a standard container that allows simultaneous playback.
Like DVDs, AVI files support multiple audio and video streams, although
these features are rarely used. Most AVI files also use the file format
extensions developed by the Matrox OpenDML group in February 1996.
These files are supported by Microsoft, and are known unofficially as
"AVI 2.0".
...
By way of the RIFF format, the audio/visual data contained in the
"movi" chunk can be encoded or decoded by a software module called a
codec. The codec translates between raw data and the data format inside
the chunk. An AVI file may therefore carry audio/visual data inside the
chunks in almost any compression scheme, including: Full Frames
(Uncompressed), Intel Real Time Video, Indeo, Cinepak, Motion JPEG,
Editable MPEG, VDOWave, ClearVideo / RealVideo, QPEG, MPEG-4 and others.
...
AVI is considered by many to be an outdated container format.There is
significant overhead when used with popular MPEG-4 codecs ...The
container has no native support for those codecs' modern features...
cumbersome hacks (in a programming context) are used,
causing incompatibilities in some players. Hacks are also used to
implement subtitles. The highly efficient H.264 codecs use even more
compression tricks, and thus are even more ill-suited to the format,
particularly Main and High Profile.
(end quotes)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost my window manager

2006-12-28 Thread Dale
Dan wrote:
> I'm not sure if this helps, but I believe all i have to do to get to
> fluxbox (in fact i'm sure of it) is to select fluxbox from the menu in
> gdm.  If you use xdm, .xsession would be the right file (you can select
> that in gdm as "custom").  I dont know for kde.
>
> I always forget about fancy point-&-click smart configurations like
> gdm, so it took me a while for someone on the forums to point out that
> if i just bothered to look in the session chooser dialog i'd have seen
> that my custom setting was right there, waiting to be selected.
>
> On Thu, 28 Dec 2006 08:23:55 +
> Mick <[EMAIL PROTECTED]> wrote:
>
>   

My kdm is the same way too.  I know when I upgrade to a new version I
have to select the new version to log into.

Dale

:-)  :-)

-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost my window manager

2006-12-28 Thread Dan
I'm not sure if this helps, but I believe all i have to do to get to
fluxbox (in fact i'm sure of it) is to select fluxbox from the menu in
gdm.  If you use xdm, .xsession would be the right file (you can select
that in gdm as "custom").  I dont know for kde.

I always forget about fancy point-&-click smart configurations like
gdm, so it took me a while for someone on the forums to point out that
if i just bothered to look in the session chooser dialog i'd have seen
that my custom setting was right there, waiting to be selected.

On Thu, 28 Dec 2006 08:23:55 +
Mick <[EMAIL PROTECTED]> wrote:

> On Thursday 28 December 2006 04:18, Samuel Baldwin wrote:
> > > Try .xsession , add "exec startfluxbox".
> >
> > Excuse me. That should read .xinitrc , and that's in your ~. Light
> > night, my bad. :)
> 
> Under /etc/X11/Sessions I have a file called fluxbox.  In there I
> have: 
> /usr/bin/startfluxbox
> 
> along with a few other apps I need started/stopped with fluxbox, e.g. 
> gpg-agent.
> 
> I believe this file was created automatically when I emerged fluxbox
> (but can't remember for sure).  The same directory has other WM
> startup files too, like Xsession and kde-3.5.  Bear in mind that
> relevant files moved around when xorg was changed to modular.
> 
> HTH.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] large .avi video files, re-encode ?

2006-12-28 Thread Dave S
On Thursday 28 December 2006 17:40, Strong Cypher wrote:
> could you give us the original format of your video ?

The .avi files were directly generated by a screen capture program

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] large .avi video files, re-encode ?

2006-12-28 Thread Dave S
On Thursday 28 December 2006 17:39, Arturo 'Buanzo' Busleiman wrote:
> Dave S wrote:
> > Hi all,
> >
> > I have a bunch of .avi video files that I use in a openoffice
> > presentation, they are nice and clear but really large files (1 - 2 GB
> > each !).
> >
> > I know nothing of video files, is it possible for me to re-encode them to
> > a more efficient format without loosing quality ?
>
> I use something like this. Adapt for your usage. It takes some parameters,
> but it's mainly used for dvd ripping:
>
> #!/bin/sh
> rm frameno.avi
> echo "DVD TITLE: $1"
> echo "OUTPUTFILE: $2"
> echo "SID: $3"
> echo "AID: $4"
> echo "Is that what you want? Press enter for OK, CTRL+C to cancel."
> read k
> mencoder dvd://$1 -sid $3 -aid $4 -ovc frameno -o frameno.avi -oac mp3lame
> -lameopts mode=1:vbr=2:q=6 -af volnorm -af-adv force=0
> mencoder -oac copy -ovc xvid -xvidencopts
> bitrate=-140:me_quality=6:chroma_opt:vhq=0:pass=1 dvd://$1 -sid $3 -aid
> $4 -o /dev/null
> mencoder -oac copy -ovc xvid -xvidencopts
> bitrate=-140:me_quality=6:chroma_opt:vhq=0:pass=2 dvd://$1 -sid $3 -aid
> $4 -o $2
>
> Check out the bitrate= parameter in the last two commands. The negative
> number tells mencoder to create a 1.4gb file (that's 140kilobytes,
> rounded up, not exact 1.4gb).
>
> --
> Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad
> Informatica ¿No sabés a dónde ir a comer o tomar algo? Visitá
> www.vivamoslavida.com.ar LISTA DE CASAMIENTO: Cualquier Fravega a nombre de
> Busleiman (37520).


Thanks for that I will give it a go :)

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] large .avi video files, re-encode ?

2006-12-28 Thread Strong Cypher

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

could you give us the original format of your video ?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - WinPT 1.2.0

iD4DBQFFlAGUEg3iyspSWPARAtxsAJiB/lfH/ObIGkgjJH8I1PwXQ9W4AJ9iViw4
+Bd8C3vHS27yHX7/yyFdZw==
=Jqp4
-END PGP SIGNATURE-


Re: [gentoo-user] large .avi video files, re-encode ?

2006-12-28 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dave S wrote:
> Hi all,
> 
> I have a bunch of .avi video files that I use in a openoffice presentation, 
> they are nice and clear but really large files (1 - 2 GB each !).
> 
> I know nothing of video files, is it possible for me to re-encode them to a 
> more efficient format without loosing quality ?

I use something like this. Adapt for your usage. It takes some parameters, but 
it's mainly used for
dvd ripping:

#!/bin/sh
rm frameno.avi
echo "DVD TITLE: $1"
echo "OUTPUTFILE: $2"
echo "SID: $3"
echo "AID: $4"
echo "Is that what you want? Press enter for OK, CTRL+C to cancel."
read k
mencoder dvd://$1 -sid $3 -aid $4 -ovc frameno -o frameno.avi -oac mp3lame 
-lameopts
mode=1:vbr=2:q=6 -af volnorm -af-adv force=0
mencoder -oac copy -ovc xvid -xvidencopts 
bitrate=-140:me_quality=6:chroma_opt:vhq=0:pass=1
dvd://$1 -sid $3 -aid $4 -o /dev/null
mencoder -oac copy -ovc xvid -xvidencopts 
bitrate=-140:me_quality=6:chroma_opt:vhq=0:pass=2
dvd://$1 -sid $3 -aid $4 -o $2

Check out the bitrate= parameter in the last two commands. The negative number 
tells mencoder to
create a 1.4gb file (that's 140kilobytes, rounded up, not exact 1.4gb).

- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
¿No sabés a dónde ir a comer o tomar algo? Visitá www.vivamoslavida.com.ar
LISTA DE CASAMIENTO: Cualquier Fravega a nombre de Busleiman (37520).
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFlAFoAlpOsGhXcE0RAvgPAJ4t4fDkcj1GPiWOEiKDfqdFu46wFQCfX8XT
FrXJgaKdE35E5dcOOgN1XJY=
=x/vp
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best language for Ajax Web Developping

2006-12-28 Thread Strong Cypher

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In fact, php5 or ruby are great for me

I just need a bit more practisize for ruby, but the main goal of my research
is to find a ready ajax compatible language, to develop a big project,
without any problem to find developpers for helping me.

I don't know ruby stats for moment, I'm really interested on their approach,
I see it's really great like language, but the current core are really bad
... so I'm sad to see that

I have no time to help to develop ruby v2, and so ... I don't know if new
version will be fast and secure ... doesn't any body know that ?

so ... php 5 seems to be good, but I'm afraid that we can find lot's of
people on it who "know" this language, and finally make awfull code ...

python, I don't know it too much, but for web programming ... I don't really
believe that's it's a great language ... but need more feedback on it ...
and so python developper ... it's not too easy to find

I'm actually program in perl, I love, really love this language, but find a
good perl developper are really hard ... that's why for a new project, I
prefer choose the right language ...

have more feed back ?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - WinPT 1.2.0

iD8DBQFFlAD0Eg3iyspSWPARAtIMAJ9sd3pfN95zAgzwnPsdl+9kFcTqAQCfZ3vt
YQ55zax/ub1mMxRcQ/bTy0o=
=U675
-END PGP SIGNATURE-


[gentoo-user] large .avi video files, re-encode ?

2006-12-28 Thread Dave S
Hi all,

I have a bunch of .avi video files that I use in a openoffice presentation, 
they are nice and clear but really large files (1 - 2 GB each !).

I know nothing of video files, is it possible for me to re-encode them to a 
more efficient format without loosing quality ?

Any suggestions ?

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best language for Ajax Web Developping

2006-12-28 Thread A. Khattri
On Thu, 28 Dec 2006, Strong Cypher wrote:

> I'm looking for a language really great for ajax web developping
>
> I really want a list of advantage a disadvantage, like
>
> Developper available who know well the language
> Ajax integration
> Framework object oriented ...
>
> Easy plugins install ...
>
> I'm searching and searching, I found 2 one
>
> Ruby, really beautifull, but lake of developper who know it are really a bad
> pointed, I can do a mistake perhaps
> And so PHP, lot's of people know it, smarty + adodb or pear, and object are
> fine, but does exist an alternative ?

There isn't a language specifically geared to doing AJAX stuff (AJAX is
usually Javascript anyway).

There are a lot of frameworks out there that might make it easier to
_generate_ AJAX code and/or work with specific AJAX libraries like
Prototype, Scriptaculous, Dojo, etc.

Some of the better frameworks:

Ruby on Rails: based on Ruby; comes with Prototype and helpers to work
with it. Ive found the Ruby folks to be very helpful - the Rails list is a
very high volume list! Very nice framework.

Symfony: PHP5 object-based; comes with Prototype and helpers; there is a
Dojo plugin; Yahoo used this framework to develop their new bookmarks
service (http://beta.bookmarks.yahoo.com/); Im using this at work
currently and have found it fairly easy to use.

If you like Python, you might want to check out Django or TurboGears (I
dont know much about them since I dont know Python but they have receieved
a lot of positive press).



-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best language for Ajax Web Developping

2006-12-28 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Strong Cypher wrote:
> And so PHP, lot's of people know it, smarty + adodb or pear, and object
> are fine, but does exist an alternative ?

If you want some of the Ruby on Rails advantages, but with PHP, I'd recommend 
you take a look at
www.cakephp.org - It has lots of ajax helpers, and the userbase is really cool, 
nice people.

- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
¿No sabés a dónde ir a comer o tomar algo? Visitá www.vivamoslavida.com.ar
LISTA DE CASAMIENTO: Cualquier Fravega a nombre de Busleiman (37520).
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFk+OgAlpOsGhXcE0RAsHLAJ0Rr1lm7+val94zSyAmt+3AzGWj+gCff7EA
/uraCwhlAfr+qB7Cw5vXgIc=
=2EYe
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Best language for Ajax Web Developping

2006-12-28 Thread Strong Cypher

Hi,

I'm looking for a language really great for ajax web developping

I really want a list of advantage a disadvantage, like

Developper available who know well the language
Ajax integration
Framework object oriented ...

Easy plugins install ...

I'm searching and searching, I found 2 one

Ruby, really beautifull, but lake of developper who know it are really a bad
pointed, I can do a mistake perhaps
And so PHP, lot's of people know it, smarty + adodb or pear, and object are
fine, but does exist an alternative ?


Re: [gentoo-user] Lost my window manager

2006-12-28 Thread Mick
On Thursday 28 December 2006 04:18, Samuel Baldwin wrote:
> > Try .xsession , add "exec startfluxbox".
>
> Excuse me. That should read .xinitrc , and that's in your ~. Light night,
> my bad. :)

Under /etc/X11/Sessions I have a file called fluxbox.  In there I have:

/usr/bin/startfluxbox

along with a few other apps I need started/stopped with fluxbox, e.g. 
gpg-agent.

I believe this file was created automatically when I emerged fluxbox (but 
can't remember for sure).  The same directory has other WM startup files too, 
like Xsession and kde-3.5.  Bear in mind that relevant files moved around 
when xorg was changed to modular.

HTH.
-- 
Regards,
Mick


pgpCMe8zED0WZ.pgp
Description: PGP signature