Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting desperate..
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
guy
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 286
Location: USA

PostPosted: Fri May 16, 2003 5:10 am    Post subject: Getting desperate.. Reply with quote

I am having SEVERAL problems with some ebuilds.. I can't figure any of them out for the life of me. I guess I'll post 2 and see if anyone can help...


The first is modutils. I do the basic
Code:
emerge modutils

and the result is:
Quote:
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/modutils-2.4.25 to /
>>> md5 ;-) modutils-2.4.25.tar.bz2
>>> Unpacking source...
>>> Unpacking modutils-2.4.25.tar.bz2 to /var/tmp/portage/modutils-2.4.25/work
patching file alias.h
>>> Source unpacked.
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for query_module in -lc... yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for wordexp... yes
checking for glob... yes
updating cache ./config.cache
./configure: line 1: tr: command not found
creating ./config.status
creating Makefile
creating Makefile.common
creating depmod/Makefile
creating genksyms/Makefile
creating insmod/Makefile
creating obj/Makefile
creating util/Makefile
creating man/Makefile
make[1]: Entering directory `/var/tmp/portage/modutils-2.4.25/work/modutils-2.4.25/util'
gcc -M -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 xmalloc.c xrealloc.c xstrcat.c xstrdup.c xsystem.c logger.c modstat.c meta_expand.c config.c snap_shot.c arch64.c gzfiles.c sys_nim.c sys_oim.c xftw.c > .depend
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xmalloc.o xmalloc.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xrealloc.o xrealloc.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xstrcat.o xstrcat.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xstrdup.o xstrdup.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xsystem.o xsystem.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o logger.o logger.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o modstat.o modstat.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -DHAVE_WORDEXP=1 -DHAVE_GLOB=1 -c meta_expand.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o config.o config.c
config.c:108: `CONFIG_ROOT_CHECK_OFF' undeclared here (not in a function)
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o snap_shot.o snap_shot.c
make[1]: *** [config.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/modutils-2.4.25/work/modutils-2.4.25/util'
make: *** [all] Error 2

!!! ERROR: sys-apps/modutils-2.4.25 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! emake failed


Another problem is gawk..
Code:
emerge gawk

results in:
Quote:
...
yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration... ./configure: line 1: tr: command not found
...

if test "gawk" = "gettext"; then \
/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /var/tmp/portage/gawk-3.1.2-r3/image//usr/share/gettext/intl; \
.././install-sh -c -m 644 VERSION /var/tmp/portage/gawk-3.1.2-r3/image//usr/share/gettext/intl/VERSION; \
.././install-sh -c -m 644 ChangeLog.inst /var/tmp/portage/gawk-3.1.2-r3/image//usr/share/gettext/intl/ChangeLog; \
dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \
for file in $dists; do \
.././install-sh -c -m 644 ./$file \
/var/tmp/portage/gawk-3.1.2-r3/image//usr/share/gettext/intl/$file; \
done; \
chmod a+x /var/tmp/portage/gawk-3.1.2-r3/image//usr/share/gettext/intl/config.charset; \
dists="plural.c"; \
for file in $dists; do \
if test -f $file; then dir=.; else dir=.; fi; \
.././install-sh -c -m 644 $dir/$file \
/var/tmp/portage/gawk-3.1.2-r3/image//usr/share/gettext/intl/$file; \
done; \
dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \
for file in $dists; do \
rm -f /var/tmp/portage/gawk-3.1.2-r3/image//usr/share/gettext/intl/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory `/var/tmp/portage/gawk-3.1.2-r3/work/gawk-3.1.2/intl'
Making install in .
make[1]: Entering directory `/var/tmp/portage/gawk-3.1.2-r3/work/gawk-3.1.2'
make[2]: Entering directory `/var/tmp/portage/gawk-3.1.2-r3/work/gawk-3.1.2'
/bin/sh ./mkinstalldirs /var/tmp/portage/gawk-3.1.2-r3/image//bin
mkdir -p -- /var/tmp/portage/gawk-3.1.2-r3/image//bin
./install-sh -c gawk /var/tmp/portage/gawk-3.1.2-r3/image//bin/gawk
./install-sh: line 1: basename: command not found
./install-sh: line 1: basename: command not found
mv: `/var/tmp/portage/gawk-3.1.2-r3/image//bin/#inst.5572#' and `/var/tmp/portage/gawk-3.1.2-r3/image//bin/#inst.5572#' are the same file
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/var/tmp/portage/gawk-3.1.2-r3/work/gawk-3.1.2'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/gawk-3.1.2-r3/work/gawk-3.1.2'
make: *** [install-recursive] Error 1

!!! ERROR: sys-apps/gawk-3.1.2-r3 failed.
!!! Function src_install, Line 62, Exitcode 2
!!! (no error message)



Both of these have the same message about missing function tr... but I dont know what this is.

If it helps, my USE flags are:
USE="X -gnome apache2 dvd encode java jpeg mysql png samba avi truetype ssl"
And CFLAGS:
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"



help would be GREATLY appreciated... please make me love gentoo again :roll:


Last edited by guy on Fri May 16, 2003 4:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
smokeslikeapoet
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2003
Posts: 96
Location: Cordova, TN USA

PostPosted: Fri May 16, 2003 6:56 am    Post subject: Reply with quote

Have you tried CFLAGS="-march=athlon-xp -O2 -pipe" or if that doesn't work CFLAGS="-march=athlon-xp" whenever I have ebuilds fail it's usually because my optimizations are too heavy. Reduce them and see if it works.
_________________
-SmokesLikeaPoet

Folding@Home
Back to top
View user's profile Send private message
guy
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 286
Location: USA

PostPosted: Fri May 16, 2003 4:54 pm    Post subject: Reply with quote

whew, solved at least a few of these ebuild problems... I guess I had a nasty fileystem crash... emerging sh-utils and textutils (I think it was) gave me a few commands back that made those 2 compile.
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