Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerge samba i mysql . POMOCY!!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Œwięty
n00b
n00b


Joined: 09 Apr 2005
Posts: 4

PostPosted: Sat Apr 09, 2005 4:00 pm    Post subject: Problem emerge samba i mysql . POMOCY!! Reply with quote

Witam grupowiczow,

Prosze o pomoc , nowo zainstalowany gentoo na komputerku z VIA C3 533 kernel 2.4.28-gentoo-r1 skompilowane pod ten procesor.
Instalka od stage3 i emerge sync , emerge -u system.
Wszystko bylo ok do momentu az zachcialo mi sie zainstalowac sambe i mysql oba pakiety wywalaja sie podczas kompilacji podobnymi bledami.

Troche koncowych linii z kompilacji SAMBY:


checking how to build auth_server... static
checking how to build auth_domain... static
checking how to build auth_builtin... static
checking how to build vfs_recycle... shared
checking how to build vfs_audit... shared
checking how to build vfs_extd_audit... shared
checking how to build vfs_full_audit... shared
checking how to build vfs_netatalk... shared
checking how to build vfs_fake_perms... shared
checking how to build vfs_default_quota... shared
checking how to build vfs_readonly... shared
checking how to build vfs_cap... shared
checking how to build vfs_expand_msdfs... shared
checking how to build vfs_shadow_copy... shared
checking how to build vfs_afsacl... not
Using libraries:
LIBS = -lcrypt -lresolv -lnsl -ldl
AUTH_LIBS = -lcrypt -lpam -lpam
checking configure summary... yes
configure: creating ./config.status
config.status: creating include/stamp-h
config.status: creating Makefile
config.status: creating script/findsmb
config.status: creating smbadduser
config.status: creating script/gen-8bit-gap.sh
config.status: creating include/config.h
config.status: include/config.h is unchanged
* Dir conf:
Samba will be installed into:
basedir: /usr
bindir: /usr/bin
sbindir: /usr/sbin
libdir: /usr/lib/samba
vardir: /var
mandir: /usr/man
privatedir: /var/lib/samba/private
configdir: /etc/samba
lockdir: /var/cache/samba
piddir: /var/run/samba
swatdir: /usr/share/doc/samba-3.0.10/swat
make delheaders; \
make smbd/build_options.c; \
make include/proto.h; \
make include/build_env.h; \
make include/wrepld_proto.h; \
make nsswitch/winbindd_proto.h; \
make web/swat_proto.h; \
make client/client_proto.h; \
make utils/net_proto.h
make[1]: Entering directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
Removing prototype headers
make[1]: Leaving directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
make[1]: Entering directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
Generating smbd/build_options.c
make[1]: Leaving directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
make[1]: Entering directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
Building include/proto.h
creating /var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/include/proto.h
make[1]: Leaving directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
make[1]: Entering directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
Building include/build_env.h
make[1]: Leaving directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
make[1]: Entering directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
Building include/wrepld_proto.h
creating /var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/include/wrepld_proto.h
make[1]: Leaving directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
make[1]: Entering directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
creating /var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/nsswitch/winbindd_proto.h
make[1]: Leaving directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
make[1]: Entering directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
creating /var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/web/swat_proto.h
make[1]: Leaving directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
make[1]: Entering directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
creating /var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/client/client_proto.h
make[1]: Leaving directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
make[1]: Entering directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
creating /var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/utils/net_proto.h
make[1]: Leaving directory `/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source'
* make everything
Using FLAGS = -march=i586 -Os -pipe -fomit-frame-pointer -I/usr/include/libxml2 -Iinclude -I/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/include -I/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/ubiqx -I/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-rpath,/usr/lib
LDFLAGS = -Wl,-rpath,/usr/lib
Compiling dynconfig.c
creating /var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/utils/ntlm_auth_proto.h
Compiling param/loadparm.c
Compiling param/params.c
Compiling smbd/files.c
param/loadparm.c: In function `handle_include':
param/loadparm.c:2802: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.
Compiling smbd/chgpasswd.c
Compiling smbd/connection.c
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [param/loadparm.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-fs/samba-3.0.10 failed.
!!! Function src_compile, Line 215, Exitcode 2
!!! SAMBA make everything error
!!! If you need support, post the topmost build error, NOT this status message.

#####################################################
###### MAKE.CONF

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=c3 -m3dnow -mmmx -Os -pipe -fomit-frame-pointer"
CXXFLAGS="-march=c3 -m3dnow -mmmx -Os -pipe"

AUTOCLEAN="yes"

MAKEOPTS="-j2"
LINGUAS="pl"
LANGUAGE="48"


FEATURES="ccache"
CCACHE_SIZE="1024M"
GENTOO_MIRRORS="http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

CONFIG_PROTECT="/etc/wget /etc/rc.d /etc/fstab /etc/rc.conf /etc/conf.d/net"

probowalem tez z ustawieniami :

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -m3dnow -mmmx -Os -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i686 -m3dnow -mmmx -Os -pipe"

i

CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -m3dnow -mmmx -Os -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i586 -m3dnow -mmmx -Os -pipe"

oraz z i586 ale bez m3dnow immmx

#####################################################
saint root # gcc -v

Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5/specs
Configured with: /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i586-pc-linux-gnu/gcc-bin/3.3.5 --includedir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5/include --datadir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5 --mandir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5/man --infodir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5/info --with-gxx-include-dir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5/include/g++-v3 --host=i586-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)

######################################################
cat /var/cache/edb/virtuals

virtual/gzip app-arch/gzip
virtual/python dev-lang/python
virtual/kernel sys-kernel/linux-headers
sys-apps/console-tools sys-apps/kbd
virtual/editor app-editors/nano
virtual/modutils sys-apps/modutils
virtual/linux-sources sys-kernel/gentoo-sources
virtual/ssh net-misc/openssh
virtual/bootloader sys-boot/grub
virtual/os-headers sys-kernel/linux-headers
virtual/glibc sys-libs/glibc
virtual/blackbox x11-wm/fluxbox
virtual/xft x11-base/xfree
virtual/cron sys-apps/vixie-cron
virtual/glu x11-base/xfree
virtual/inetd sys-apps/xinetd
virtual/x11 x11-base/xfree
virtual/cdrtools app-cdr/cdrtools
virtual/gzip app-arch/gzip
virtual/bootloader sys-boot/grub
virtual/logger app-admin/metalog
virtual/java-scheme dev-java/sun-jre-bin
virtual/aspell-dict app-dicts/aspell-en
virtual/modutils sys-apps/module-init-tools sys-apps/modutils
virtual/opengl media-video/ati-drivers x11-base/xfree
virtual/linux-sources sys-kernel/love-sources
virtual/textbrowser net-www/lynx
virtual/jre dev-java/sun-jre-bin
virtual/glibc sys-libs/glibc
virtual/dhcpc net-misc/dhcpcd
sys-apps/console-tools sys-apps/kbd
virtual/editor app-editors/nano
virtual/lpr net-print/cups
virtual/dev-manager sys-fs/devfsd
virtual/os-headers sys-kernel/linux-headers
virtual/php dev-php/mod_php dev-php/php
virtual/python dev-lang/python
virtual/kernel sys-kernel/linux-headers
virtual/alsa sys-kernel/love-sources
virtual/motif x11-libs/lesstif x11-libs/openmotif
virtual/bittorrent net-p2p/bittorrent
virtual/mpg123 media-sound/mpg123
virtual/ghostscript app-text/ghostscript
virtual/ssh net-misc/openssh
virtual/quicktime media-libs/libquicktime
virtual/glut media-libs/glut
virtual/mta mail-mta/ssmtp
##############################################
cat /etc/portage/package.keywords

pusto

##############################################

skonczyly mi sie pomysly prosze o jakies wskazowki bardziej doswiadczonych.

Pozdrawiam
Œwięty
Back to top
View user's profile Send private message
arsen
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 1803
Location: Tychy, Poland

PostPosted: Sat Apr 09, 2005 4:07 pm    Post subject: Reply with quote

via c3, to troche egzotyczne, spróbuj może zmienić march na i686 zamiast c3,
btw: twój nick jest kodowany w utf-8, i pewnie teraz wszyscy userzy tego forum widzą jeden wielki znak zapytania zamiast "Ś"
W polskim dziale forum obowiązuje kodowanie znaków w standardzie iso-8859-2
Back to top
View user's profile Send private message
Œwięty
n00b
n00b


Joined: 09 Apr 2005
Posts: 4

PostPosted: Sat Apr 09, 2005 4:11 pm    Post subject: Reply with quote

Zmienilem nicka na Saint :) to ze zmeczenie wyniklo.

Jak pisalem juz w poscie probowalem kompilacji i pod c3, i586 oraz i686 .
Moze jakies inne propozycje?
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sat Apr 09, 2005 4:13 pm    Post subject: Reply with quote

�więty wrote:
Zmienilem nicka na Saint :) to ze zmeczenie wyniklo.

Jak pisalem juz w poscie probowalem kompilacji i pod c3, i586 oraz i686 .
Moze jakies inne propozycje?

Sypie sie gcc, wiec jego musisz przekompilowac na i686.
_________________
[color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]

[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166]
Back to top
View user's profile Send private message
arsen
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 1803
Location: Tychy, Poland

PostPosted: Sat Apr 09, 2005 4:22 pm    Post subject: Reply with quote

�więty wrote:
Zmienilem nicka na Saint :) to ze zmeczenie wyniklo....

nie wiem jak ty tego nicka zmieniłeś (bo nie zmieniłeś :)), polecam do zmiany nicka ten wątek
Back to top
View user's profile Send private message
Œwięty
n00b
n00b


Joined: 09 Apr 2005
Posts: 4

PostPosted: Sat Apr 09, 2005 4:24 pm    Post subject: Reply with quote

ok, ustawilem na
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -m3dnow -mmmx -Os -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i686 -m3dnow -mmmx -Os -pipe"

i dalem emerge gcc gcc-config
napisze czy pomoglo.


czy po tej operacji moge wrocic na -march=c3 czy lepij zostac na i686 ?
kompik slabiutki i chcialbym miec w miare dobrze zoptymalizowany system.
Back to top
View user's profile Send private message
arsen
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 1803
Location: Tychy, Poland

PostPosted: Sat Apr 09, 2005 4:26 pm    Post subject: Reply with quote

Myśle że między c3 a i686 nie będzie wielkej różnicy, na razie spróbuj zbudować kompletny system na i686, potem się pobaw c3.
Back to top
View user's profile Send private message
Œwięty
n00b
n00b


Joined: 09 Apr 2005
Posts: 4

PostPosted: Sat Apr 09, 2005 4:45 pm    Post subject: Reply with quote

wynik emerge gcc gcc-config
Code:
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.5-r1/work/build/libiberty/testsuite'
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -march=i686 -pipe -O2 -I. -I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
In file included from /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/include/xregex.h:26,
                 from /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/regex.c:195:
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/regex.c:649:
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/regex.c: In function `byte_compile_range':
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/regex.c:4548: warning: signed and unsigned type in conditional expression
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/regex.c: In function `byte_re_compile_fastmap':
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/regex.c:4918: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
gcc -c -DHAVE_CONFIG_H -march=i686 -pipe -O2 -I. -I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/../include  -W -Wall -Wtraditional -pedantic /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/cplus-dem.c -o cplus-dem.o
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -march=i686 -pipe -O2 -I. -I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/cp-demangle.c -o pic/cp-demangle.o; \
else true; fi
The bug is not reproducible, so it is likely a hardware or OS problem.
make[1]: *** [regex.o] Error 1
make[1]: *** Waiting for unfinished jobs....
gcc -c -DHAVE_CONFIG_H -march=i686 -pipe -O2 -I. -I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/../include  -W -Wall -Wtraditional -pedantic /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/cp-demangle.c -o cp-demangle.o
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.5-r1/work/build/libiberty'
make: *** [all-libiberty] Error 2

!!! ERROR: sys-devel/gcc-3.3.5-r1 failed.
!!! Function gcc_do_make, Line 1133, Exitcode 2
!!! emake failed with bootstrap-lean
!!! If you need support, post the topmost build error, NOT this status message.


czy to oznacza dla mnie instalacje od zera ? ;(
Back to top
View user's profile Send private message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Sat Apr 09, 2005 6:42 pm    Post subject: Reply with quote

sprawdz dokladnie, czy c3 jest kompatybilne z i686 nim na nie przejdziesz - zdaje sie (jak pamietam), ze byly jakies zonki... ale moge sie mylic...

Pozdrawiam,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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