Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: dev-db/mysql-5.0.60-r1 failed.[more info given]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4144
Location: india

PostPosted: Sat Jun 07, 2008 1:46 pm    Post subject: ERROR: dev-db/mysql-5.0.60-r1 failed.[more info given] Reply with quote

Code:
Messages for package dev-db/mysql-5.0.60-r1:

 *
 * ERROR: dev-db/mysql-5.0.60-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *               ebuild.sh, line 1263:  Called mysql_pkg_setup
 *            mysql.eclass, line  481:  Called die
 * The specific snippet of code:
 *      [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
 *  The die message:
 *   Your machine must NOT be named localhost
 *
 * 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/dev-db/mysql-5.0.60-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.60-r1/temp/die.env'.
 *



what are errors coming up.

tux it changed to localhost
now what i should use?
where is the file we dit hostname now?
anybody got this error?
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)


Last edited by padoor on Sun Jun 08, 2008 4:20 am; edited 1 time in total
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4144
Location: india

PostPosted: Sun Jun 08, 2008 4:12 am    Post subject: Reply with quote

Code:
/bin/rm -f example1.r
/bin/sed -e 's!\\!\\\\!g' example1.c > example1.r
/bin/rm -f example2.r
/bin/sed -e 's!\\!\\\\!g' example2.c > example2.r
/bin/rm -f example3.r
/bin/sed -e 's!\\!\\\\!g' example3.c > example3.r
/bin/rm -f main.r
/bin/sed -e 's!\\!\\\\!g' main.c > main.r
/bin/rm -f factorial.r
/bin/sed -e 's!\\!\\\\!g' factorial.c > factorial.r
./factorial 1 2 3 4 5 | cat > output1.r
./factorial -\#t:o 2 3 | cat >output2.r
./factorial -\#d:t:o 3 | cat >output3.r
./factorial -\#d,result:o 4 | cat >output4.r
./factorial -\#d:f,factorial:F:L:o 3 | cat >output5.r
nroff -mm user.r > user.t
user.r:204: warning: can't find font `C'
user.r:751: warning [p 15, 7.8i]: can't break line
user.r:761: warning [p 15, 10.0i]: can't break line
user.r:771: warning [p 16, 2.7i]: can't break line
user.r:811: warning [p 16, 9.3i]: can't break line
user.r:813: warning [p 16, 9.5i]: cannot adjust line
user.r:1111: warning: indent cannot be negative
groff -mm user.r > user.ps
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/dbug'
Making all in extra
make[2]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/extra'
make  all-recursive
make[3]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/extra'
make[4]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/extra'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT replace.o -MD -MP -MF .deps/replace.Tpo -c -o replace.o replace.c
mv -f .deps/replace.Tpo .deps/replace.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o replace replace.o -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
mkdir .libs
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o replace replace.o  -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT comp_err.o -MD -MP -MF .deps/comp_err.Tpo -c -o comp_err.o comp_err.c
mv -f .deps/comp_err.Tpo .deps/comp_err.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o comp_err comp_err.o -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o comp_err comp_err.o  -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT perror.o -MD -MP -MF .deps/perror.Tpo -c -o perror.o perror.c
mv -f .deps/perror.Tpo .deps/perror.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o perror perror.o -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o perror perror.o  -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT resolveip.o -MD -MP -MF .deps/resolveip.Tpo -c -o resolveip.o resolveip.c
mv -f .deps/resolveip.Tpo .deps/resolveip.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o resolveip resolveip.o -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o resolveip resolveip.o  -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT my_print_defaults.o -MD -MP -MF .deps/my_print_defaults.Tpo -c -o my_print_defaults.o my_print_defaults.c
mv -f .deps/my_print_defaults.Tpo .deps/my_print_defaults.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o my_print_defaults my_print_defaults.o -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o my_print_defaults my_print_defaults.o  -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT resolve_stack_dump.o -MD -MP -MF .deps/resolve_stack_dump.Tpo -c -o resolve_stack_dump.o resolve_stack_dump.c
mv -f .deps/resolve_stack_dump.Tpo .deps/resolve_stack_dump.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o resolve_stack_dump resolve_stack_dump.o -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o resolve_stack_dump resolve_stack_dump.o  -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT mysql_waitpid.o -MD -MP -MF .deps/mysql_waitpid.Tpo -c -o mysql_waitpid.o mysql_waitpid.c
mv -f .deps/mysql_waitpid.Tpo .deps/mysql_waitpid.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o mysql_waitpid mysql_waitpid.o -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o mysql_waitpid mysql_waitpid.o  -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT innochecksum.o -MD -MP -MF .deps/innochecksum.Tpo -c -o innochecksum.o innochecksum.c
mv -f .deps/innochecksum.Tpo .deps/innochecksum.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o innochecksum innochecksum.o -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o innochecksum innochecksum.o  -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT charset2html.o -MD -MP -MF .deps/charset2html.Tpo -c -o charset2html.o charset2html.c
mv -f .deps/charset2html.Tpo .deps/charset2html.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o charset2html charset2html.o -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o charset2html charset2html.o  -lstdc++ ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/extra'
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/extra'
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/extra'
Making all in regex
make[2]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/regex'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT regerror.o -MD -MP -MF .deps/regerror.Tpo -c -o regerror.o regerror.c
mv -f .deps/regerror.Tpo .deps/regerror.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT regcomp.o -MD -MP -MF .deps/regcomp.Tpo -c -o regcomp.o regcomp.c
mv -f .deps/regcomp.Tpo .deps/regcomp.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT regexec.o -MD -MP -MF .deps/regexec.Tpo -c -o regexec.o regexec.c
regexec.c: In function 'my_regexec':
regexec.c:136: warning: passing argument 3 of 'smatcher' discards qualifiers from pointer target type
regexec.c:138: warning: passing argument 3 of 'lmatcher' discards qualifiers from pointer target type
mv -f .deps/regexec.Tpo .deps/regexec.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT regfree.o -MD -MP -MF .deps/regfree.Tpo -c -o regfree.o regfree.c
mv -f .deps/regfree.Tpo .deps/regfree.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT reginit.o -MD -MP -MF .deps/reginit.Tpo -c -o reginit.o reginit.c
mv -f .deps/reginit.Tpo .deps/reginit.Po
rm -f libregex.a
i686-pc-linux-gnu-ar cru libregex.a regerror.o regcomp.o regexec.o regfree.o reginit.o
i686-pc-linux-gnu-ranlib libregex.a
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT split.o -MD -MP -MF .deps/split.Tpo -c -o split.o split.c
mv -f .deps/split.Tpo .deps/split.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.c
mv -f .deps/debug.Tpo .deps/debug.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include    -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   -static -rdynamic  -o re split.o debug.o main.o libregex.a ../strings/libmystrings.a -lpthread -lcrypt -lnsl -lm  -lpthread
mkdir .libs
i686-pc-linux-gnu-gcc -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o re split.o debug.o main.o  libregex.a ../strings/libmystrings.a -lpthread -lcrypt -lnsl -lm -lpthread
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/regex'
Making all in ./bdb
make[2]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/bdb'
cd build_unix && make all
make[3]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/bdb/build_unix'
/bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -c -I. -I../../././bdb/dist/.. -I../../././bdb/dist/../dbinc  -D_GNU_SOURCE -D_REENTRANT  -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1   ../../././bdb/dist/../mutex/mut_pthread.c
 i686-pc-linux-gnu-gcc -c -I. -I../../././bdb/dist/.. -I../../././bdb/dist/../dbinc -D_GNU_SOURCE -D_REENTRANT -DDBUG_OFF -O2 -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 ../../././bdb/dist/../mutex/mut_pthread.c -o mut_pthread.o
../../././bdb/dist/../mutex/mut_pthread.c:8:23: error: db_config.h: No such file or directory
../../././bdb/dist/../mutex/mut_pthread.c:21:20: error: db_int.h: No such file or directory
../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_init':
../../././bdb/dist/../mutex/mut_pthread.c:66: error: expected declaration specifiers before 'DB_ENV'
../../././bdb/dist/../mutex/mut_pthread.c:67: error: expected declaration specifiers before 'DB_MUTEX'
../../././bdb/dist/../mutex/mut_pthread.c:82: error: 'MUTEX_MPOOL' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:82: error: (Each undeclared identifier is reported only once
../../././bdb/dist/../mutex/mut_pthread.c:82: error: for each function it appears in.)
../../././bdb/dist/../mutex/mut_pthread.c:83: error: invalid type argument of 'unary *'
../../././bdb/dist/../mutex/mut_pthread.c:83: warning: passing argument 1 of 'memset' makes pointer from integer without a cast
../../././bdb/dist/../mutex/mut_pthread.c:94: error: 'MUTEX_THREAD' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:94: error: 'DB_ENV_PRIVATE' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:95: error: 'DB_ENV_THREAD' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:96: error: 'MUTEX_IGNORE' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:187: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:192: error: 'MUTEX_INITED' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_lock':
../../././bdb/dist/../mutex/mut_pthread.c:208: error: expected declaration specifiers before 'DB_ENV'
../../././bdb/dist/../mutex/mut_pthread.c:209: error: expected declaration specifiers before 'DB_MUTEX'
../../././bdb/dist/../mutex/mut_pthread.c:214: error: 'DB_ENV_NOLOCKING' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:214: error: 'MUTEX_IGNORE' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:218: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:219: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:222: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:225: error: 'MUTEX_SELF_BLOCK' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:226: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:227: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:227: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:238: error: 'EINTR' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:242: error: 'ETIMEDOUT' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:243: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:249: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:251: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:256: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:269: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:270: error: 'EFAULT' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:274: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:275: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:277: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:278: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:278: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:280: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:290: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_unlock':
../../././bdb/dist/../mutex/mut_pthread.c:307: error: expected declaration specifiers before 'DB_ENV'
../../././bdb/dist/../mutex/mut_pthread.c:308: error: expected declaration specifiers before 'DB_MUTEX'
../../././bdb/dist/../mutex/mut_pthread.c:312: error: 'DB_ENV_NOLOCKING' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:312: error: 'MUTEX_IGNORE' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:320: error: 'MUTEX_SELF_BLOCK' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:321: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:324: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:326: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:330: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:335: error: invalid type argument of '->'
../../././bdb/dist/../mutex/mut_pthread.c:336: error: 'EFAULT' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_destroy':
../../././bdb/dist/../mutex/mut_pthread.c:351: error: expected declaration specifiers before 'DB_MUTEX'
../../././bdb/dist/../mutex/mut_pthread.c:355: error: 'MUTEX_IGNORE' undeclared (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:358: error: invalid type argument of '->'
make[3]: *** [mut_pthread.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/bdb/build_unix'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql'
make: *** [all] Error 2
 *
 * ERROR: dev-db/mysql-5.0.60-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3552:  Called mysql_src_compile
 *             environment, line 3156:  Called die
 * The specific snippet of code:
 *       emake || 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/dev-db/mysql-5.0.60-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.60-r1/temp/environment'.
 *

 * Messages for package x11-drivers/xf86-input-evdev-1.99.2:

 * If your XKB (keyboard settings) stopped working,
 * you may uninstall this driver or move your XKB configuration.
 * Download an example from http://dev.gentoo.org/~compnerd/temp/hal-config-examples/
 * (these will be installed with sys-apps/hal soon),
 * and drop it into /etc/hal/fdi/policy/

 * Messages for package dev-db/mysql-5.0.60-r1:

 * Berkeley DB support is deprecated and will be removed in future versions!
 * MySQL MY_DATADIR is /var/lib/mysql
 *
 * ERROR: dev-db/mysql-5.0.60-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3552:  Called mysql_src_compile
 *             environment, line 3156:  Called die
 * The specific snippet of code:
 *       emake || 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/dev-db/mysql-5.0.60-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.60-r1/temp/environment'.
 *

 * GNU info directory index is up-to-date.
padoor ~ #




this is error coming after i changed the host name to padoor from local host.
what should be done to emerge sql correctly?
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Simba7
l33t
l33t


Joined: 22 Jan 2007
Posts: 693
Location: Billings, MT, USA

PostPosted: Sun Jun 08, 2008 4:19 am    Post subject: Reply with quote

You know, there is a post that remedies this problem..

You have to use -berkdb in order to compile it.
_________________
Router(Nokia IP390,2GB RAM,40GB HDD,4xGE/4xFE ports,Gentoo) | MyDT(Xeon X3470@3.4GHz,32GB RAM,6x2TB R5,GTX560Ti,LG BD-RE,Win7)
MyLT(Asus G53SX,32GB RAM,2x2TB HDDs,BD-RE,Intel 6230,Win7) | Wife(PnmIIX3@3.3GHz,8GB RAM,1TB HDD,DVDRW,Win7)
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4144
Location: india

PostPosted: Sun Jun 08, 2008 4:28 am    Post subject: Reply with quote

Code:
padoor hda9 # emerge -pv dev-db/mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-db/mysql-5.0.60-r1 [5.0.56] USE="[b]berkdb perl ssl [/b]-big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
padoor hda9 #                                       


shown bold flags are in red
do i have to specifically say -berkdb?
i will try that.
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 8290

PostPosted: Sun Jun 08, 2008 8:06 am    Post subject: Reply with quote

padoor wrote:
do i have to specifically say -berkdb?
Yes, but only if that is the solution you choose.

Moved from Portage & Programming to Duplicate Threads, refer to topic "mysql-5.0.60-r1 failed" and bug 217976.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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