[gentoo-user] QT4 and QGLWidget

2011-05-05 Thread Lorenzo Marussi

Hello,

I use Gentoo/LInux OS, with lastest Qt4.7.2 ebuilds,
and a Nvidia card or intel graphics (and mesa)

when I run qmlviewer with "opengl" params,
or I use QGLwidget viewport in my app,
I get this error:

"qmlviewer[6399]: segfault at 1763 ip b6a73630 sp bfa0ee00 error 4 in
libQtGui.so.4.7.4[b6887000+a1e000]"

I tried also to emerge last qt-*-4.7.999 builds, but no success.

glxgears works and glxinfo reports that I'm using direct rendering

no matter wich .QML I use.
also this one exists with error:

import QtQuick 1.0
Rectangle {
id: mainView
width: 1920
height: 1080
}


Ther's some missing use-flag maybe? Or is something broken on Gentoo

I think is something about gentoo, 'cause I tried to install last Ubuntu 
11.04 and there my apps works nice


Thanks,

Lorenzo



Re: [gentoo-user] QT4 and QGLWidget

2011-05-06 Thread Lorenzo Marussi

Hello,

thank you for your reply,

I check that I didn't mixed QT version,
first I tried with 4.7.2, than I unmerged all qt packages  and I tried 
4.7.3 .

every time after emerging I checked system consistency with revdep-rebuild.

Now I unmerged all, emerged all QT packages (4.72) with "debug" use, but 
I haven't got any other message than:


"qmlviewer[6399]: segfault at 1763 ip b6a73630 sp bfa0ee00 error 4 in
libQtGui.so.4.7.2[b6887000+a1e000]"


May I have to export some variables to have more debug info?


Any other suggestion? Any hint I can try?
In qt-mailing list they said that is for sure something about gentoo..



Il 05/05/2011 21:55, Paul Hartman ha scritto:

On Thu, May 5, 2011 at 4:06 AM, Lorenzo Marussi  wrote:

Hello,

I use Gentoo/LInux OS, with lastest Qt4.7.2 ebuilds,
and a Nvidia card or intel graphics (and mesa)

when I run qmlviewer with "opengl" params,
or I use QGLwidget viewport in my app,
I get this error:

"qmlviewer[6399]: segfault at 1763 ip b6a73630 sp bfa0ee00 error 4 in
libQtGui.so.4.7.4[b6887000+a1e000]"

If you build Qt with debugging symbols enabled then maybe you can see
where exactly the fault is occurring here.

You said you're using 4.7.2 but this error says 4.7.4. Do you have
mixed Qt versions around in your system somewhere? Maybe it's pulling
in the wrong one.






Re: [gentoo-user] sys-fs/device-mapper

2006-11-13 Thread Lorenzo Marussi




Hi

I don't think it's normal.
Maybe there is a loop in compiling. 
Please check, if it's still running, if there is some piece of code that repeats
continuously. 

Post your emerge --info output


Lorenzo Marussi


Il giorno lun, 13/11/2006 alle 10.31 -0500, James Colby ha scritto:


All -

I am trying to emerge sys-fs/device-mapper on an older piece of
hardware (AMD Duron 800, with 512Mb of Ram).  The package has been
compiling for something like 8 hours already.  Is this normal?  It
seems like an awfully long time to me.  As a comparison, I was able to
compile the kernel in about 15 minutes.  If this isn't normal, any
ideas as to what the problem could be.  I didn't see anything on
bugs.gentoo.org.

Thanks,
James


In case it matters my make.conf looks like this:

CFLAGS="-mtune=athlon -O3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-arts -ipv6 apache2 mysql pam ssl xml xml2 -gnome -gtk alsa oss
nvidia -cups mmx -ldap -kde -qt -kde nptl nptlonly"






Re: [gentoo-user] PAM issues

2006-11-13 Thread Lorenzo Marussi




try to make:

    revdep-rebuild -p -i

and post the output.

Lorenzo Marussi

Il giorno lun, 13/11/2006 alle 15.12 +0100, Alexander Skwar ha scritto:


Hi!

Today I updated pam:

[ebuild   R   ] sys-libs/pam-0.99.6.3-r1  USE="nls (-selinux) -vim-syntax" 0 kB

Since then, I get the following errors in syslog:

==> ./cron.log <==
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM unable to dlopen(/lib/security/pam_unix.so)
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM [dlerror: /lib/security/pam_unix.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link 
time reference]
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM adding faulty module: /lib/security/pam_unix.so
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM unable to dlopen(/lib/security/pam_limits.so)
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM [dlerror: /lib/security/pam_limits.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link 
time reference]
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM adding faulty module: /lib/security/pam_limits.so
Nov 13 14:56:01 dewup-ww02 cron[5467]: Module is unknown
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM unable to dlopen(/lib/security/pam_unix.so)
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM [dlerror: /lib/security/pam_unix.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link 
time reference]
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM adding faulty module: /lib/security/pam_unix.so
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM unable to dlopen(/lib/security/pam_limits.so)
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM [dlerror: /lib/security/pam_limits.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link 
time reference]
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM adding faulty module: /lib/security/pam_limits.so
Nov 13 14:56:01 dewup-ww02 cron[5469]: Module is unknown

sudo also doesn't work anymore.

Anyone else experiencing these problems?

FWIW: I reported this also as a bug. See <http://bugs.gentoo.org/show_bug.cgi?id=155014>.

Cheers,
Alexander Skwar
-- 
I tell ya, I was an ugly kid.  I was so ugly that my dad kept the kid's
picture that came with the wallet he bought.
		-- Rodney Dangerfield






Re: [gentoo-user] PAM issues

2006-11-13 Thread Lorenzo Marussi




I didn't see:
I reported this also as a bug. See <http://bugs.gentoo.org/show_bug.cgi?id=155014>.

Sorry

Lorenzo Marussi


Il giorno lun, 13/11/2006 alle 19.15 +0100, Lorenzo Marussi ha scritto:

try to make:

    revdep-rebuild -p -i

and post the output.

    Lorenzo Marussi

Il giorno lun, 13/11/2006 alle 15.12 +0100, Alexander Skwar ha scritto: 


Hi!

Today I updated pam:

[ebuild   R   ] sys-libs/pam-0.99.6.3-r1  USE="nls (-selinux) -vim-syntax" 0 kB

Since then, I get the following errors in syslog:

==> ./cron.log <==
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM unable to dlopen(/lib/security/pam_unix.so)
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM [dlerror: /lib/security/pam_unix.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link 
time reference]
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM adding faulty module: /lib/security/pam_unix.so
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM unable to dlopen(/lib/security/pam_limits.so)
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM [dlerror: /lib/security/pam_limits.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link 
time reference]
Nov 13 14:56:01 dewup-ww02 cron[5467]: PAM adding faulty module: /lib/security/pam_limits.so
Nov 13 14:56:01 dewup-ww02 cron[5467]: Module is unknown
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM unable to dlopen(/lib/security/pam_unix.so)
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM [dlerror: /lib/security/pam_unix.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link 
time reference]
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM adding faulty module: /lib/security/pam_unix.so
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM unable to dlopen(/lib/security/pam_limits.so)
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM [dlerror: /lib/security/pam_limits.so: symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file libpam.so.0 with link 
time reference]
Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM adding faulty module: /lib/security/pam_limits.so
Nov 13 14:56:01 dewup-ww02 cron[5469]: Module is unknown

sudo also doesn't work anymore.

Anyone else experiencing these problems?

FWIW: I reported this also as a bug. See <http://bugs.gentoo.org/show_bug.cgi?id=155014>.

Cheers,
Alexander Skwar
-- 
I tell ya, I was an ugly kid.  I was so ugly that my dad kept the kid's
picture that came with the wallet he bought.
		-- Rodney Dangerfield
















Marussi Lorenzo


Asssistenza tecnica e sviluppo sistemi di storage e server linux.


Email: [EMAIL PROTECTED]




Questo messaggio potrebbe contenere informazioni confidenziali e proprietarie ed e’ destinato esclusivamente alla persona o ente al quale è stato indirizzato; il contenuto potrebbe contenere opinioni personali le quali non costituiscono impegni o posizioni ufficiali se non esplicitamente indicato. Nel rispetto della legge sulla privacy 675/96 e successivo DGLS 196 del 30/06/03 è stato fatto tutto il possibile per limitare la distribuzione di questo messaggio ad una lista di persone che possono trovare la proposta interessante. Il presente messaggio è stato inviato esclusivamente alle e-mail degli utenti di internet che hanno voluto ricevere tale messaggio lasciando proprio indirizzo e generalità su nostro database. Qualora riceviate il presente messaggio per errore, vi preghiamo di voler cortesemente darcene notizia via e-mail. I dati in esso contenuti sono trattati nel rispetto della legge stessa. Il titolare del trattamento e’ AURORA COMPUTERS SRL Via Aquileia 70 34072 Gradisca GO , l’ informativa completa e’ possibile reperirla su www.auroracomputers.it e/o www.aurorashop.it . Qualora non desideriate ricevere in futuro comunicazioni dalla ditta scrivente, potete opporVi inviando un messaggio a [EMAIL PROTECTED] 







Re: [gentoo-user] Re: Re: PAM issues

2006-11-14 Thread Lorenzo Marussi




but, with pam-0.99.6.3-r1, have you tried to make a "revdep-rebuild -p -i" ?

Lorenzo Marussi


Il giorno mar, 14/11/2006 alle 17.40 +0100, Alexander Skwar ha scritto:


· Alan McKinnon <[EMAIL PROTECTED]>:

> On Tuesday 14 November 2006 15:23, Alexander Skwar wrote:
>> > Any clues from revdep-rebuild?
>> > I take it you did log out and in again,
>>
>> Yes.
>>
>> Reboot: No.
> 
> That's worth a try. I know it goes against the grain but at this stage 
> what do you have to lose?

Rebooting is hard. That's a server, after all. And right now, I downgraded
to Pam 78.

> At least you are guaranteed that every unlink  
> really is unlinked. 

Hm. But why should this do something? I mean, I re-compiled
PAM and sudo now several times. 

Alexander Skwar
-- 
Only someone with nothing to be sorry for smiles back at the rear of an
elephant.








Re: [gentoo-user] virtual servers/services: which one?

2006-11-14 Thread Lorenzo Marussi




Have you got an Intel Virtualization Technology (Intel VT) - compatible CPU?

Lorenzo Marussi



Il giorno mar, 14/11/2006 alle 15.44 +0100, [EMAIL PROTECTED] ha scritto:


Hi,

I would like to implement some sort of "virtual servers"
(mail, www, ftp) on my small gentoo server as a way of
increasing security...

Now the only problem is (so typical for linux :-)
which solution to use, because there are many:

Vserver? 
OpenVZ? 
Xen? 
Maybe VMware?
Or something else, supported by Gentoo?

I do not know them and I do not have time to test them
all, so I would be thankful for any opinion, experiences,
comparison, etc...

Jarry
-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!