Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-im/sim compilation
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Sun Nov 10, 2002 6:41 am    Post subject: net-im/sim compilation Reply with quote

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
View user's profile Send private message
BlackPhoenix
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2002
Posts: 124

PostPosted: Sun Nov 10, 2002 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Sun Nov 10, 2002 8:31 am    Post subject: Reply with quote

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
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sun Nov 10, 2002 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
joshyc
n00b
n00b


Joined: 31 Oct 2002
Posts: 12

PostPosted: Mon Nov 11, 2002 5:13 am    Post subject: try sim cvs Reply with quote

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
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Mon Nov 11, 2002 5:41 am    Post subject: Re: try sim cvs Reply with quote

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
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Mon Nov 11, 2002 1:12 pm    Post subject: Re: try sim cvs Reply with quote

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
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Mon Nov 11, 2002 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Mon Nov 11, 2002 3:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Mon Nov 11, 2002 3:32 pm    Post subject: Reply with quote

The only difference I can see is in flex. I'd suggest you to try emerging the same version I have.
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Mon Nov 11, 2002 3:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
joshyc
n00b
n00b


Joined: 31 Oct 2002
Posts: 12

PostPosted: Tue Nov 12, 2002 2:42 am    Post subject: cvs Reply with quote

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
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Tue Nov 12, 2002 6:15 am    Post subject: Re: cvs Reply with quote

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
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Tue Nov 12, 2002 8:01 am    Post subject: Reply with quote

did anyone file a bugreport on this one ?
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Tue Nov 12, 2002 8:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum