View previous topic :: View next topic |
Author |
Message |
cf25 Apprentice
Joined: 20 Jun 2002 Posts: 158
|
Posted: Thu Sep 19, 2002 6:13 pm Post subject: emerge problems with mysql |
|
|
when i try to emerge this...
dev-db/mysql-3.23.52
it starts up fine and then pukes on me leaving this...
.
.
.
make[3]: *** [mysqld.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/mysql-3.23.52/work/mysql-3.23.52/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mysql-3.23.52/work/mysql-3.23.52/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-3.23.52/work/mysql-3.23.52'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -97, Exitcode 2
!!! compile problem
whats the dealio? i am using gcc3.2 if that helps. |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Thu Sep 19, 2002 6:20 pm Post subject: |
|
|
You need to tell us what happens above the Error 1 line. |
|
Back to top |
|
|
cf25 Apprentice
Joined: 20 Jun 2002 Posts: 158
|
Posted: Fri Sep 20, 2002 6:12 am Post subject: |
|
|
ok. i did it again and here is what i got...
/usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)':
/usr/include/tcpd.h:135: too many arguments to function `void sock_host()'
mysqld.cc:2444: at this point in file
/usr/include/tcpd.h:73: too many arguments to function `int hosts_access()'
mysqld.cc:2445: at this point in file
/usr/include/tcpd.h:128: too many arguments to function `char* eval_client()'
mysqld.cc:2453: at this point in file
make[3]: *** [mysqld.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/mysql-3.23.52/work/mysql-3.23.52/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mysql-3.23.52/work/mysql-3.23.52/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-3.23.52/work/mysql-3.23.52'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -97, Exitcode 2
!!! compile problem |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Sep 20, 2002 6:57 am Post subject: |
|
|
Searching the forums for "tcpd and mysql" finds this thread. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
tsigo Tux's lil' helper
Joined: 09 Jul 2002 Posts: 122
|
Posted: Fri Sep 20, 2002 4:33 pm Post subject: |
|
|
I was having the same problem, so I read that thread.
Unmerged tcp-wrappers, then did emerge mysql. It wants to install tcp-wrappers. So I added -tcpd to the USE flag. emerge mysql again. No go.
Quote: |
checking for C compiler default output... configure: error: C compiler cannot create executables
!!! ERROR: The ebuild did not complete successfully.
!!! Function econf, Line 9, Exitcode 77
!!! econf failed |
Now I get this if I try to build tcp-wrappers
Quote: |
ar rv libwrap.a hosts_access.o options.o shell_cmd.o rfc931.o eval.o hosts_ctl.o refuse.o percent_x.o clean_exit.o fromhost.o fix_options.o socket.o tli.o workarounds.o update.o misc.o diag.o percent_m.o myvsyslog.o
a - hosts_access.o
a - options.o
a - shell_cmd.o
a - rfc931.o
a - eval.o
a - hosts_ctl.o
a - refuse.o
a - percent_x.o
a - clean_exit.o
a - fromhost.o
a - fix_options.o
a - socket.o
a - tli.o
a - workarounds.o
a - update.o
a - misc.o
a - diag.o
a - percent_m.o
a - myvsyslog.o
ranlib libwrap.a
cc -march=i686 -O3 -pipe -pipe -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DSYS_ERRLIST_DEFINED -DINET6=1 -Dss_family=__ss_family -DAPPEND_DOT -o tcpd tcpd.o libwrap.a
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld: unrecognized option '--eh-frame-hdr'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[1]: *** [tcpd] Error 1
make[1]: Leaving directory `/var/tmp/portage/tcp-wrappers-7.6-r3/work/tcp_wrappers_7.6'
make: *** [linux] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 4, Exitcode 2
!!! (no error message) |
1.4rc1
Edit: I started over, this time I'll start with a stage 1 build, see how that goes. |
|
Back to top |
|
|
|