« Return to Thread: Petit problème a la compilation avec gb.qt4

Re: Petit problème a la compilation avec gb.qt4

by Bugzilla from gambas@users.sourceforge.net :: Rate this Message:

Reply to Author | View in Thread

On samedi 24 mai 2008, Fabien Bodard wrote:

> en complément le problème se pose avec gb.form a prori
>
> fabien@fabien:~/gambas/comp$ sudo gdb gbi3
> [sudo] password for fabien:
> GNU gdb 6.8-debian
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html> This is free software: you are free to
> change and redistribute it. There is NO WARRANTY, to the extent permitted
> by law.  Type "show copying" and "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...
> (gdb) run
> Starting program: /usr/local/bin/gbi3
> Executing new program: /usr/local/bin/gbi3
> [Thread debugging using libthread_db enabled]
> gb.pcre
> [New Thread 0xb6ed86c0 (LWP 26305)]
> gb.desktop
> gb.gui
> gb.sdl
> gb.net
> gb.v4l
> gb.xml.xslt
> gb
> gb.option
> gb.image
> gb.qt4.ext
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb6ed86c0 (LWP 26305)]
> 0xb750b197 in ?? () from /lib/tls/i686/cmov/libc.so.6
> (gdb) bt
> #0  0xb750b197 in ?? () from /lib/tls/i686/cmov/libc.so.6
> #1  0x0000007b in ?? ()
> #2  0xb7d5eea6 in QMutex::lock () from /usr/lib/libqt-mt.so.3
> #3  0xb5717d12 in
> QAbstractFileEngineHandler::QAbstractFileEngineHandler () from
> /usr/lib/libQtCore.so.4
> #4  0xb57428e6 in ?? () from /usr/lib/libQtCore.so.4
> #5  0xb574299b in ?? () from /usr/lib/libQtCore.so.4
> #6  0xb57429dd in ?? () from /usr/lib/libQtCore.so.4
> #7  0xb57e96d5 in ?? () from /usr/lib/libQtCore.so.4
> #8  0xb588c6f0 in ?? () from /usr/lib/libQtCore.so.4
> #9  0x0805da68 in ?? ()
> #10 0xbfb80fc8 in ?? ()
> #11 0xb56932cc in _init () from /usr/lib/libQtCore.so.4
> Backtrace stopped: frame did not save the PC
> (gdb)
>
> Le 24 mai 2008 10:19, Fabien Bodard <gambas.fr@...> a écrit :
> > Salut Benoit ..
> >
> > Si tu as une idée pour ça dit le moi...
> >
> >
> > Sinon dit moi comment je peux t'aider a résoudre le problème.
> >
> > Fabien
> >
> > fabien@fabien:~/gambas/gb.qt4$ sudo make install
> > [sudo] password for fabien:
> > Making install in src
> > make[1]: entrant dans le répertoire «
> > /home/fabien/Download/trunk/gb.qt4/src » Making install in ext
> > make[2]: entrant dans le répertoire «
> > /home/fabien/Download/trunk/gb.qt4/src/ext »
> > make[3]: entrant dans le répertoire «
> > /home/fabien/Download/trunk/gb.qt4/src/ext »
> > make[3]: Rien à faire pour « install-exec-am ».
> > test -z "/usr/local/lib/gambas3" || /bin/mkdir -p
> > "/usr/local/lib/gambas3" /usr/bin/install -c -m 644
> > 'gb.qt4.ext.component'
> > '/usr/local/lib/gambas3/gb.qt4.ext.component'
> > test -z "/usr/local/lib/gambas3" || /bin/mkdir -p
> > "/usr/local/lib/gambas3" /usr/bin/install -c -m 644
> > 'gb.qt4.ext.component'
> > '/usr/local/lib/gambas3/gb.qt4.ext.component'
> > test -z "/usr/local/lib/gambas3" || /bin/mkdir -p
> > "/usr/local/lib/gambas3" /bin/bash ../../libtool   --mode=install
> > /usr/bin/install -c
> > 'gb.qt4.ext.la' '/usr/local/lib/gambas3/gb.qt4.ext.la'
> > /usr/bin/install -c .libs/gb.qt4.ext.so.0.0.0
> > /usr/local/lib/gambas3/gb.qt4.ext.so.0.0.0
> > (cd /usr/local/lib/gambas3 && rm -f gb.qt4.ext.so.0 && ln -s
> > gb.qt4.ext.so.0.0.0 gb.qt4.ext.so.0)
> > (cd /usr/local/lib/gambas3 && rm -f gb.qt4.ext.so && ln -s
> > gb.qt4.ext.so.0.0.0 gb.qt4.ext.so)
> > /usr/bin/install -c .libs/gb.qt4.ext.lai
> > /usr/local/lib/gambas3/gb.qt4.ext.la PATH="$PATH:/sbin" ldconfig -n
> > /usr/local/lib/gambas3
> > ----------------------------------------------------------------------
> > Libraries have been installed in:
> >   /usr/local/lib/gambas3
> >
> > If you ever happen to want to link against installed libraries
> > in a given directory, LIBDIR, you must either use libtool, and
> > specify the full pathname of the library, or use the `-LLIBDIR'
> > flag during linking and do at least one of the following:
> >   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
> >     during execution
> >   - add LIBDIR to the `LD_RUN_PATH' environment variable
> >     during linking
> >   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> >   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
> >
> > See any operating system documentation about shared libraries for
> > more information, such as the ld(1) and ld.so(8) manual pages.
> > ----------------------------------------------------------------------
> > make  install-data-hook
> > make[4]: entrant dans le répertoire «
> > /home/fabien/Download/trunk/gb.qt4/src/ext »
> >
> > Creating the information files for gb.qt4.ext component...
> > gb.qt4.ext
> > make[4]: *** [install-data-hook] Erreur de segmentation
> > make[4]: quittant le répertoire «
> > /home/fabien/Download/trunk/gb.qt4/src/ext » make[3]: ***
> > [install-data-am] Erreur 2
> > make[3]: quittant le répertoire «
> > /home/fabien/Download/trunk/gb.qt4/src/ext » make[2]: *** [install-am]
> > Erreur 2
> > make[2]: quittant le répertoire «
> > /home/fabien/Download/trunk/gb.qt4/src/ext » make[1]: ***
> > [install-recursive] Erreur 1
> > make[1]: quittant le répertoire « /home/fabien/Download/trunk/gb.qt4/src
> > » make: *** [install-recursive] Erreur 1
> > fabien@fabien:~/gambas/gb.qt4$
>

Le retour de Fabien... :-)

Peux-tu me rappeler exactement sur quel système tu compiles, dans quel
contexte, etc. ?

--
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

 « Return to Thread: Petit problème a la compilation avec gb.qt4