Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[XFCE/FORTUNE-MOD] -lcompat, cannot find
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
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Wed Sep 03, 2008 1:32 pm    Post subject: [XFCE/FORTUNE-MOD] -lcompat, cannot find Reply with quote

Hi, I have a problem with compile fortune-mod which is need from xfce4.4. it's the error
Code:

Calculating dependencies   ... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 3) games-misc/fortune-mod-1.99.1-r2
 * fortune-mod-1.99.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...             [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking fortune-mod-1.99.1.tar.gz to /var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work
 * Applying fortune-mod-1.99.1-gentoo.patch ...
  [ ok ]
 * Applying 01_all_fortune_all-fix.patch ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1 ...
cd fortune && make CC='x86_64-pc-linux-gnu-gcc' \
          CFLAGS='-march=core2 -O2 -pipe -fomit-frame-pointer -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char -DHAVE_REGEX_H -DBSD_REGEX -DHAVE_STDBOOL -I../util'   \
          LDFLAGS='' LIBS='-lcompat -lrecode'
cd util && make CC='x86_64-pc-linux-gnu-gcc' CFLAGS='-march=core2 -O2 -pipe -fomit-frame-pointer -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char'   \
          LDFLAGS=''
make[1]: Entering directory `/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1/fortune'
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -fomit-frame-pointer -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char -DHAVE_REGEX_H -DBSD_REGEX -DHAVE_STDBOOL -I../util   -c -o fortune.o fortune.c
Building fortune/fortune.man ... make[1]: Entering directory `/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1/util'
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -fomit-frame-pointer -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char   -c -o strfile.o strfile.c
done.
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -fomit-frame-pointer -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char   -c -o unstr.o unstr.c
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -fomit-frame-pointer -DFORTDIR="\"/usr/share/fortune\"" -DOFFDIR="\"/usr/share/fortune/off\"" -DLOCFORTDIR="\"/usr/local/share/fortune\"" -DLOCOFFDIR="\"/usr/local/share/fortune/off\"" -fsigned-char   -c -o rot.o rot.c
x86_64-pc-linux-gnu-gcc  -o unstr unstr.o
x86_64-pc-linux-gnu-gcc -fsigned-char  -o rot rot.o
x86_64-pc-linux-gnu-gcc  -o strfile strfile.o
make[1]: Leaving directory `/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1/util'
cd datfiles && make COOKIEDIR=/usr/share/fortune \
          OCOOKIEDIR=/usr/share/fortune/off WCOOKIEDIR=/usr/share/fortune/html \
          OFFENSIVE=0 WEB=0
make[1]: Entering directory `/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1/datfiles'
rm -f *.dat
if [ 0 = 1 ] ; then \
       cd off && make OCOOKIEDIR=/usr/share/fortune/off ; fi
if [ 0 = 1 ] ; then \
       cd html && make WCOOKIEDIR=/usr/share/fortune/html; fi
for i in art ascii-art computers cookie definitions drugs education ethnic food fortunes goedel humorists kids law linuxcookie literature love magic medicine men-women miscellaneous news people pets platitudes politics riddles science songs-poems sports startrek translate-me wisdom work linux perl knghtbrd paradoxum zippy debian ; \
       do \
           if [ ! -f $i.old ] ; then \
              cp $i $i.old; \
      fi; \
           recode latin1..u8 $i ; \
      ../util/strfile $i ; \
      ln -s $i $i.u8 || exit  ; \
       done
"art.dat" created
There were 460 strings
Longest string: 1553 bytes
Shortest string: 16 bytes
"ascii-art.dat" created
There were 10 strings
Longest string: 1103 bytes
Shortest string: 106 bytes
"computers.dat" created
There were 1026 strings
Longest string: 1779 bytes
Shortest string: 1 byte
"cookie.dat" created
There were 1138 strings
Longest string: 1790 bytes
Shortest string: 9 bytes
"definitions.dat" created
There were 1187 strings
Longest string: 2146 bytes
Shortest string: 10 bytes
"drugs.dat" created
There were 208 strings
Longest string: 1341 bytes
Shortest string: 23 bytes
x86_64-pc-linux-gnu-gcc  -o fortune fortune.o -lcompat -lrecode
"education.dat" created
There were 203 strings
Longest string: 1323 bytes
Shortest string: 21 bytes
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
make[1]: *** [fortune] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1/fortune'
make: *** [fortune-bin] Error 2
make: *** Waiting for unfinished jobs....
"ethnic.dat" created
There were 162 strings
Longest string: 1322 bytes
Shortest string: 21 bytes
"food.dat" created
There were 198 strings
Longest string: 1054 bytes
Shortest string: 22 bytes
"fortunes.dat" created
There were 431 strings
Longest string: 187 bytes
Shortest string: 15 bytes
"goedel.dat" created
There were 54 strings
Longest string: 999 bytes
Shortest string: 6 bytes
"humorists.dat" created
There were 197 strings
Longest string: 1336 bytes
Shortest string: 24 bytes
"kids.dat" created
There were 150 strings
Longest string: 1487 bytes
Shortest string: 28 bytes
"law.dat" created
There were 201 strings
Longest string: 1690 bytes
Shortest string: 43 bytes
"linuxcookie.dat" created
There were 104 strings
Longest string: 1158 bytes
Shortest string: 37 bytes
"literature.dat" created
There were 261 strings
Longest string: 2436 bytes
Shortest string: 26 bytes
"love.dat" created
There were 150 strings
Longest string: 843 bytes
Shortest string: 26 bytes
"magic.dat" created
There were 30 strings
Longest string: 1216 bytes
Shortest string: 47 bytes
"medicine.dat" created
There were 74 strings
Longest string: 1144 bytes
Shortest string: 22 bytes
"men-women.dat" created
There were 582 strings
Longest string: 1487 bytes
Shortest string: 28 bytes
"miscellaneous.dat" created
There were 649 strings
Longest string: 997 bytes
Shortest string: 5 bytes
"news.dat" created
There were 53 strings
Longest string: 983 bytes
Shortest string: 49 bytes
"people.dat" created
There were 1243 strings
Longest string: 1208 bytes
Shortest string: 23 bytes
"pets.dat" created
There were 51 strings
Longest string: 826 bytes
Shortest string: 15 bytes
"platitudes.dat" created
There were 500 strings
Longest string: 694 bytes
Shortest string: 3 bytes
"politics.dat" created
There were 700 strings
Longest string: 1720 bytes
Shortest string: 10 bytes
"riddles.dat" created
There were 132 strings
Longest string: 2034 bytes
Shortest string: 36 bytes
"science.dat" created
There were 624 strings
Longest string: 1532 bytes
Shortest string: 14 bytes
"songs-poems.dat" created
There were 720 strings
Longest string: 1653 bytes
Shortest string: 29 bytes
"sports.dat" created
There were 147 strings
Longest string: 1525 bytes
Shortest string: 5 bytes
"startrek.dat" created
There were 227 strings
Longest string: 1024 bytes
Shortest string: 17 bytes
"translate-me.dat" created
There were 12 strings
Longest string: 1186 bytes
Shortest string: 19 bytes
"wisdom.dat" created
There were 420 strings
Longest string: 1819 bytes
Shortest string: 17 bytes
"work.dat" created
There were 630 strings
Longest string: 1446 bytes
Shortest string: 15 bytes
"linux.dat" created
There were 393 strings
Longest string: 1176 bytes
Shortest string: 38 bytes
"perl.dat" created
There were 273 strings
Longest string: 412 bytes
Shortest string: 60 bytes
"knghtbrd.dat" created
There were 554 strings
Longest string: 871 bytes
Shortest string: 19 bytes
"paradoxum.dat" created
There were 72 strings
Longest string: 688 bytes
Shortest string: 22 bytes
"zippy.dat" created
There were 548 strings
Longest string: 486 bytes
Shortest string: 5 bytes
"debian.dat" created
There were 16 strings
Longest string: 546 bytes
Shortest string: 1 byte
touch cookies-stamp
make[1]: Leaving directory `/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/work/fortune-mod-1.99.1/datfiles'
 *
 * ERROR: games-misc/fortune-mod-1.99.1-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2077:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-misc/fortune-mod-1.99.1-r2/temp/environment'.

I've installed emul-linux-x86-lib-compat, I have libstdc++v3, but it doesn't solve my problem.
do you know what's wrong?
(ACCEPT_KEYWORDS=~amd64)

cheers
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Wed Sep 03, 2008 10:06 pm    Post subject: Reply with quote

I've removed from deps from xfce4-session fortune-mod, but it doesn't solve my problem, because I'm sure that bug will be so quickly on another package, so if you have any ideas, it's time for you :)

cheers
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
wackman2k1
n00b
n00b


Joined: 22 Sep 2003
Posts: 45

PostPosted: Thu Sep 25, 2008 9:53 pm    Post subject: same problem - fixed it for me Reply with quote

Hey,

I'm just now reinstalling gentoo (2008.0) after a long hiatus and ran into the same problem (it didn't say anything about lcompat for me, but same weird fail at the end). The only thing that worked for me was to do

Code:
USE="elibc_glibc" emerge fortune-mod


Once I did that, it complied fine. *shrug*

Wackman
_________________
As of October 2009:

Athlon II X4 920 (a quad core for $99!)
4GB DDR2 RAM (2 gigs of 667 on one channel - 2 gigs of 800 on another)
Asus M4A78-E
AMD 790GX chipset
ATI Radeon 4850 512 MB
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