Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
so...zlib isn't there...and I can't do much
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
stefenis
n00b
n00b


Joined: 25 May 2006
Posts: 5

PostPosted: Wed Sep 06, 2006 6:31 pm    Post subject: so...zlib isn't there...and I can't do much Reply with quote

I get this wierd error...
Checking for shared library support...
No shared library support; try without defining CC and CFLAGS
Building static library libz.a version 1.2.3 with x86_64-pc-linux-gnu-gcc.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
Checking for snprintf() in stdio.h... No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()... No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
Checking for errno.h... No.
Checking for mmap support... No.
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o example.o example.c
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o adler32.o adler32.c
gcc-config error: Could not run/locate "x86_64-pc-linux-gnu-gcc"
make: *** [adler32.o] Error 1
make: *** Waiting for unfinished jobs....
gcc-config error: Could not run/locate "x86_64-pc-linux-gnu-gcc"
make: *** [example.o] Error 1

!!! ERROR: sys-libs/zlib-1.2.3 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
zlib-1.2.3.ebuild, line 43: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


and I have no clue how to fix it... I can't update, although I can start my sshd. please help.
Back to top
View user's profile Send private message
stefenis
n00b
n00b


Joined: 25 May 2006
Posts: 5

PostPosted: Wed Sep 06, 2006 6:33 pm    Post subject: Reply with quote

can't emerge anything else either...

emerge nvidia-kernel nvidia-glx
Calculating dependencies... done!
>>> Emerging (1 of 2) media-video/nvidia-kernel-1.0.8756-r1 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking NVIDIA-Linux-x86_64-1.0-8756-pkg2.run ;-)
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not find a Makefile in the kernel source directory.
* Please ensure that /usr/src/linux points to a complete set of Linux sources

!!! ERROR: media-video/nvidia-kernel-1.0.8756-r1 failed.
Call stack:
ebuild.sh, line 1555: Called dyn_setup
ebuild.sh, line 668: Called pkg_setup
nvidia-kernel-1.0.8756-r1.ebuild, line 58: Called linux-mod_pkg_setup
linux-mod.eclass, line 419: Called linux-info_pkg_setup
linux-info.eclass, line 554: Called die

!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, and the call stack if relevant.
Back to top
View user's profile Send private message
stefenis
n00b
n00b


Joined: 25 May 2006
Posts: 5

PostPosted: Wed Sep 06, 2006 7:05 pm    Post subject: Reply with quote

this is the line 1500 something



dyn_compile() {
#trap "abort_compile" SIGINT SIGQUIT

[ "$(type -t pre_src_compile)" == "function" ] && pre_src_compile

[ "${CFLAGS-unset}" != "unset" ] && export CFLAGS
[ "${CXXFLAGS-unset}" != "unset" ] && export CXXFLAGS
[ "${LIBCFLAGS-unset}" != "unset" ] && export LIBCFLAGS
[ "${LIBCXXFLAGS-unset}" != "unset" ] && export LIBCXXFLAGS
[ "${LDFLAGS-unset}" != "unset" ] && export LDFLAGS
[ "${ASFLAGS-unset}" != "unset" ] && export ASFLAGS

[ "${CCACHE_DIR-unset}" != "unset" ] && export CCACHE_DIR
[ "${CCACHE_SIZE-unset}" != "unset" ] && export CCACHE_SIZE

[ "${DISTCC_DIR-unset}" == "unset" ] && export DISTCC_DIR="${PORTAGE_T$
[ ! -z "${DISTCC_DIR}" ] && addwrite "${DISTCC_DIR}"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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