View previous topic :: View next topic |
Author |
Message |
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Sun Nov 10, 2002 6:41 am Post subject: net-im/sim compilation |
|
|
Code: |
* net-im/sim
Latest version available: 0.8
Latest version installed: [ Not Installed ]
Homepage: http://sim.shutoff.spb.ru/
Description: An ICQ v8 Client. Supports File Transfer, Chat, Server-Side Contactlist, ...
|
Code: |
* x11-libs/qt
Latest version available: 3.1.0_pre20021104
Latest version installed: 3.1.0_pre20021104
Homepage: http://www.trolltech.com/
Description: QT: a snapshot of the qt-copy module distributed with KDE 3.1_rc2
|
Hello, I tried to emerge this application samed "sim" using kde3.1_rc2 but no success
[code]
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I.. -DPIC -fPIC -DQT_THREAD_SUPPORT -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -c -o buffer.o `test -f buffer.cpp || echo './'`buffer.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I.. -DPIC -fPIC -DQT_THREAD_SUPPORT -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -c -o buddy.o `test -f buddy.cpp || echo './'`buddy.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I.. -DPIC -fPIC -DQT_THREAD_SUPPORT -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -c -o bos.o `test -f bos.cpp || echo './'`bos.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I.. -DPIC -fPIC -DQT_THREAD_SUPPORT -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -c -o genrtf.o `test -f genrtf.cc || echo './'`genrtf.cc
lex.yy.c: In function `int genrtflex()':
lex.yy.c:1042: invalid conversion from `void*' to `yy_state_type*'
lex.yy.c: In function `int genrtflex_destroy()':
lex.yy.c:2114: `yy_start_stack' undeclared (first use this function)
lex.yy.c:2114: (Each undeclared identifier is reported only once for each
function it appears in.)
make[3]: *** [genrtf.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/sim-0.8/work/sim-0.8/sim/libicq'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sim-0.8/work/sim-0.8/sim'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sim-0.8/work/sim-0.8'
make: *** [all] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)
[code]
Any clue?
Thanks _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
BlackPhoenix Tux's lil' helper
Joined: 01 Oct 2002 Posts: 124
|
Posted: Sun Nov 10, 2002 8:15 am Post subject: |
|
|
what are your CFLAGS? Last time I emerged SIM, it was insanely picky about them and wouldnt compile until I removed almost everything save for the omitframepointer one, more or less... |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Sun Nov 10, 2002 8:31 am Post subject: |
|
|
BlackPhoenix wrote: | what are your CFLAGS? Last time I emerged SIM, it was insanely picky about them and wouldnt compile until I removed almost everything save for the omitframepointer one, more or less... |
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}" _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sun Nov 10, 2002 3:52 pm Post subject: |
|
|
I emerged sim before updating KDE from beta2 to rc2 and now I cannot emerge it anymore.
Looks like it has problems with some library. I am trying again and I'll post my errors later.
EDIT: here it is
Code: |
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/inc
lude -I/usr/qt/3/include -I/usr/X11R6/include -I.. -I../libicq -DPIC -fPIC -DQT_THREAD_SUP
PORT -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -march=pentium3 -mmmxe -mfpmath=sse -O2 -pipe -fno-exceptions -fno-check-new -c -o network.o `test -f netwop || echo './'`network.cpp
xosdsetup.cpp: In member function `void XOSDSetup::apply(ICQUser*)':
xosdsetup.cpp:70: ambiguous overload for `ConfigString& = QString' operator
../libicq/cfg.h:86: candidates are: std::string&
ConfigString::operator=(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)
../libicq/cfg.h:88: const char* ConfigString::operator=(const
char*)
make[3]: *** [xosdsetup.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/sim-0.7/work/sim-0.7/sim/ui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sim-0.7/work/sim-0.7/sim'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sim-0.7/work/sim-0.7'
make: *** [all] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -636, Exitcode 2
!!! (no error message)
|
|
|
Back to top |
|
|
joshyc n00b
Joined: 31 Oct 2002 Posts: 12
|
Posted: Mon Nov 11, 2002 5:13 am Post subject: try sim cvs |
|
|
I think it has something to do with changes in kdelibs or qt since beta2. If you try to compile sim from cvs yourself it works. |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Mon Nov 11, 2002 5:41 am Post subject: Re: try sim cvs |
|
|
joshyc wrote: | I think it has something to do with changes in kdelibs or qt since beta2. If you try to compile sim from cvs yourself it works. |
Have no idea to use the cvs... _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Mon Nov 11, 2002 1:12 pm Post subject: Re: try sim cvs |
|
|
joshyc wrote: | I think it has something to do with changes in kdelibs or qt since beta2. If you try to compile sim from cvs yourself it works. |
Ok, used cvs and got the following:
Code: |
# gmake
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
gmake all-recursive
gmake[1]: Entering directory `/tmp/sim'
Making all in sim
gmake[2]: Entering directory `/tmp/sim/sim'
Making all in libicq
gmake[3]: Entering directory `/tmp/sim/sim/libicq'
source='genrtf.cc' object='genrtf.o' libtool=no \
depfile='.deps/genrtf.Po' tmpdepfile='.deps/genrtf.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I.. -DPIC -fPIC -DQT_THREAD_SUPPORT -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c -o genrtf.o `test -f genrtf.cc || echo './'`genrtf.cc
lex.yy.c: In function `int genrtflex()':
lex.yy.c:1043: invalid conversion from `void*' to `yy_state_type*'
lex.yy.c: In function `int genrtflex_destroy()':
lex.yy.c:2115: `yy_start_stack' undeclared (first use this function)
lex.yy.c:2115: (Each undeclared identifier is reported only once for each
function it appears in.)
gmake[3]: *** [genrtf.o] Error 1
gmake[3]: Leaving directory `/tmp/sim/sim/libicq'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/sim/sim'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/sim'
gmake: *** [all] Error 2
|
Any clue? _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Mon Nov 11, 2002 3:03 pm Post subject: |
|
|
It just compiled for me (the cvs version). Verify if your libs are updated.
Qt: 3.1.0_pre20021104
KDE: 3.0.98 (KDE 3.1 RC2)
SIM: 0.8.1
yacc:1.9.1-r1
flex:2.5.4a-r5 |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Mon Nov 11, 2002 3:12 pm Post subject: |
|
|
Bloody Bastard wrote: | It just compiled for me (the cvs version). Verify if your libs are updated.
Qt: 3.1.0_pre20021104
KDE: 3.0.98 (KDE 3.1 RC2)
SIM: 0.8.1
yacc:1.9.1-r1
flex:2.5.4a-r5 |
Code: |
x11-libs/qt
Latest version available: 3.0.5-r2
Latest version installed: 3.1.0_pre20021104
Homepage: http://www.trolltech.com/
Description: QT version 3.0.5
kde-base/kdelibs
Latest version available: 3.0.4
Latest version installed: 3.1_rc2
Homepage: http//www.kde.org/
Description: KDE 3.0.4 - base libraries needed by all kde programs
net-im/sim
Latest version available: 0.8
Latest version installed: [ Not Installed ]
Homepage: http://sim.shutoff.spb.ru/
Description: An ICQ v8 Client. Supports File Transfer, Chat, Server-Side Contactlist, ...
dev-util/yacc
Latest version available: 1.9.1-r1
Latest version installed: 1.9.1-r1
Homepage: http://dinosaur.compilertools.net/#yacc
Description: Yacc
sys-devel/flex
Latest version available: 2.5.22
Latest version installed: 2.5.22
Homepage: http://www.gnu.org/software/flex/flex.html
Description: GNU lexical analyser generator
|
Well this is my configuration _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Mon Nov 11, 2002 3:32 pm Post subject: |
|
|
The only difference I can see is in flex. I'd suggest you to try emerging the same version I have. |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Mon Nov 11, 2002 3:44 pm Post subject: |
|
|
Bloody Bastard wrote: | The only difference I can see is in flex. I'd suggest you to try emerging the same version I have. |
It seems to be ok now.
Thanks _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
joshyc n00b
Joined: 31 Oct 2002 Posts: 12
|
Posted: Tue Nov 12, 2002 2:42 am Post subject: cvs |
|
|
After checking out sim from cvs you need to do this:
export WANT_AUTOCONF_2_5=1
make -f Makefile.dist
Then you can run configure and it should compile |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Tue Nov 12, 2002 6:15 am Post subject: Re: cvs |
|
|
joshyc wrote: | After checking out sim from cvs you need to do this:
export WANT_AUTOCONF_2_5=1
make -f Makefile.dist
Then you can run configure and it should compile |
This wasn't my problem at all, check below _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Tue Nov 12, 2002 8:01 am Post subject: |
|
|
did anyone file a bugreport on this one ? |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Tue Nov 12, 2002 8:06 am Post subject: |
|
|
mglauche wrote: | did anyone file a bugreport on this one ? |
not me ...
But this is very strange, emerge sim should take care of the right versions of all dependencies...like "flex:2.5.4a-r5".... _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
|