[Gambas-user] Help compiling gambas3

Dr. Diesel dr.diesel at ...626...
Thu Aug 6 23:51:02 CEST 2009


Many thanks, that got me a munch further!  I am now stuck here, probably a
missing dep but I can't seem to determine which package?  I started with a
fresh svn checkout:

make[5]: Entering directory `/home/andy/trunk/gb.qt.kde/src/html'
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-D_REENTRANT -I/usr/lib/qt-3.3/include    -I/usr/include/kde4/   -pipe -Wall
-fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
-fno-omit-frame-pointer  -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o
main.lo main.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
-I/usr/lib/qt-3.3/include -I/usr/include/kde4/ -pipe -Wall -fno-exceptions
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
-fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp
-fPIC -DPIC -o .libs/main.o
In file included from /usr/lib/qt-3.3/include/qpen.h:47,
                 from /usr/lib/qt-3.3/include/qpainter.h:51,
                 from ../../gb.qt.h:37,
                 from main.h:28,
                 from CWebBrowser.h:31,
                 from main.cpp:26:
/usr/lib/qt-3.3/include/qshared.h:49: error: variable ‘Q_EXPORT QShared’ has
initializer but incomplete type
/usr/lib/qt-3.3/include/qshared.h:49: warning: extended initializer lists
only available with -std=c++0x or -std=gnu++0x
/usr/lib/qt-3.3/include/qshared.h:51: error: expected ‘}’ before ‘:’ token
/usr/lib/qt-3.3/include/qshared.h:51: error: expected ‘,’ or ‘;’ before ‘:’
token
/usr/lib/qt-3.3/include/qshared.h: In function ‘void ref()’:
/usr/lib/qt-3.3/include/qshared.h:52: error: ‘count’ was not declared in
this scope
/usr/lib/qt-3.3/include/qshared.h: In function ‘bool deref()’:
/usr/lib/qt-3.3/include/qshared.h:53: error: ‘count’ was not declared in
this scope
/usr/lib/qt-3.3/include/qshared.h: At global scope:
/usr/lib/qt-3.3/include/qshared.h:55: error: expected declaration before ‘}’
token
make[5]: *** [main.lo] Error 1
make[5]: Leaving directory `/home/andy/trunk/gb.qt.kde/src/html'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/andy/trunk/gb.qt.kde/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/andy/trunk/gb.qt.kde'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/andy/trunk/gb.qt.kde'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andy/trunk'
make: *** [all] Error 2
[andy at ...40... trunk]$


Thanks again



2009/8/6 Benoît Minisini <gambas at ...1...>

> > Hello all!  Having a little trouble with libtool on Fedora 11_x86.  I've
> > downgraded (not easy on F11!) to libtool < 2.0 as suggested on the info
> > page:
> >
> > libtool-1.5.26-4.fc10.i386
> > libtool-ltdl-1.5.26-4.fc10.i386
> >
> > But still receive this error:
> >
> > /bin/sh ../libtool --tag=CC   --mode=link gcc -DGBX_INFO -I../share
> > -D_REENTRANT -I../libltdl  -O0  -module -O1 -z defs  -Lno  -o gb.la-rpath
> > /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo
> > gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo
> > gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo
> > gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo
> > gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm    -ldl -lpthread
> > ../libtool: line 5001: cd: no: No such file or directory
> > libtool: link: cannot determine absolute directory name of `no'
> > make[4]: *** [gb.la] Error 1
> > make[4]: Leaving directory `/home/andy/trunk/trunk/main/gbx'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/andy/trunk/trunk/main'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/home/andy/trunk/trunk/main'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/andy/trunk/trunk'
> > make: *** [all] Error 2
> > [andy at ...40... trunk]$
> >
> > Any suggestions?  Many thanks.
>
> Sorry for that, but since a few days libtool must not be downgraded
> anymore.
> You must use libtool 2. Please upgrade, and tell me if everything works.
> Don't
> forget to do a ./reconf before reconfiguring! If you are not sure, just
> start
> from a fresh checkout.
>
> Regards,
>
> --
> Benoît
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
projecthuh.com
All of my bits are free, are yours?  Fedoraproject.org



More information about the User mailing list