Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems emerging bzip2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Sun Jul 13, 2003 8:21 pm    Post subject: problems emerging bzip2 Reply with quote

i am on a gcc 2.95 system and I'm trying to upgrade bzip2. here is the output.
Code:

root@Penguin-rex var # emerge bzip2
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/bzip2-1.0.2-r2 to /
>>> md5 src_uri ;-) bzip2-1.0.2.tar.gz
>>> Unpacking source...
>>> Unpacking bzip2-1.0.2.tar.gz to /var/tmp/portage/bzip2-1.0.2-r2/work
>>> Source unpacked.
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c blocksort.c
make: fpic: Command not found
make: [blocksort.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c huffman.c
make: fpic: Command not found
make: [huffman.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c crctable.c
make: fpic: Command not found
make: [crctable.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c randtable.c
make: fpic: Command not found
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c compress.c
make: fpic: Command not found
make: [randtable.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c decompress.c
make: fpic: Command not found
make: [compress.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c bzlib.c
make: fpic: Command not found
make: [decompress.o] Error 127 (ignored)
make: [bzlib.o] Error 127 (ignored)
shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
make: shared: Command not found
make: [all] Error 127 (ignored)
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -o bzip2-shared bzip2.c libbz2.so.1.0.2
make: fpic: Command not found
make: [all] Error 127 (ignored)
rm -f libbz2.so.1.0
ln -s libbz2.so.1.0.2 libbz2.so.1.0
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c huffman.c

If compilation produces errors, or a large number of warnings,
please read README.COMPILATION.PROBLEMS -- you might be able to
adjust the flags in this Makefile to improve matters.

Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c blocksort.c
Wall: invalid option -- W
usage: wall [message]
Wall: invalid option -- W
usage: wall [message]
make: [blocksort.o] Error 1 (ignored)
make: [huffman.o] Error 1 (ignored)
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c crctable.c
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c randtable.c
Wall: invalid option -- W
usage: wall [message]
make: [crctable.o] Error 1 (ignored)
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c compress.c
Wall: invalid option -- W
usage: wall [message]
make: [randtable.o] Error 1 (ignored)
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c decompress.c
Wall: invalid option -- W
usage: wall [message]
make: [compress.o] Error 1 (ignored)
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c bzlib.c
Wall: invalid option -- W
usage: wall [message]
make: [decompress.o] Error 1 (ignored)
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c bzip2.c
Wall: invalid option -- W
usage: wall [message]
make: [bzlib.o] Error 1 (ignored)
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c bzip2recover.c
Wall: invalid option -- W
usage: wall [message]
Wall: invalid option -- W
usage: wall [message]
make: [bzip2recover.o] Error 1 (ignored)
make: [bzip2.o] Error 1 (ignored)
rm -f libbz2.a
ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
ar: blocksort.o: No such file or directory
make: *** [libbz2.a] Error 1

!!! ERROR: sys-apps/bzip2-1.0.2-r2 failed.
!!! Function src_compile, Line 5, Exitcode 2
!!! Make failed

does anyone know what to do?
Back to top
View user's profile Send private message
duff
Guru
Guru


Joined: 19 Jun 2002
Posts: 466
Location: Clemson, SC

PostPosted: Sun Jul 13, 2003 8:29 pm    Post subject: Reply with quote

For some odd reason, it's trying to use "fpic" as your compiler. Try this instead:
Code:
# CC=gcc emerge bzip2
Back to top
View user's profile Send private message
870Fragmaster
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 92
Location: Gulfport, Ms

PostPosted: Sun Jul 13, 2003 10:17 pm    Post subject: Reply with quote

wow thanks duff! that did the trick. do you think there is something wrong in my config files somewhere?
Back to top
View user's profile Send private message
duff
Guru
Guru


Joined: 19 Jun 2002
Posts: 466
Location: Clemson, SC

PostPosted: Sun Jul 13, 2003 11:20 pm    Post subject: Reply with quote

Possibly. Try adding this line to your ~/.bashrc file:

Code:
[ -f /etc/profile ] && . /etc/profile


This is were a majority of your environment variables are set.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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