| View previous topic :: View next topic |
| Author |
Message |
fumoffu Apprentice


Joined: 25 Dec 2005 Posts: 179 Location: Somewhere between heaven and hell...
|
Posted: Thu Oct 25, 2007 9:15 pm Post subject: [SOLVED] mysql-gui-tools fails to compile |
|
|
Hello everyone,
today I tried to update mysql-gui-tools. Unfortunately compiling the program fails on my AMD64-Box (compiled fine on my X86-Notebook though):
| Code: | if /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -march=nocona -O2 -pipe -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_library.lo -MD -MP -MF ".deps/myx_library.Tpo" -c -o myx_library.lo myx_library.c; \
then mv -f ".deps/myx_library.Tpo" ".deps/myx_library.Plo"; else rm -f ".deps/myx_library.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -march=nocona -O2 -pipe -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_library.lo -MD -MP -MF .deps/myx_library.Tpo -c myx_library.c -fPIC -DPIC -o .libs/myx_library.o
In file included from /usr/include/mysql/my_global.h:83,
from myx_library.c:35:
/usr/include/mysql/my_config.h:986:1: warning: "PACKAGE" redefined
In file included from myx_library.c:28:
../../../config.h:68:1: warning: this is the location of the previous definition
In file included from /usr/include/mysql/my_global.h:83,
from myx_library.c:35:
/usr/include/mysql/my_config.h:992:1: warning: "PACKAGE_NAME" redefined
In file included from myx_library.c:28:
../../../config.h:74:1: warning: this is the location of the previous definition
In file included from /usr/include/mysql/my_global.h:83,
from myx_library.c:35:
/usr/include/mysql/my_config.h:995:1: warning: "PACKAGE_STRING" redefined
In file included from myx_library.c:28:
../../../config.h:77:1: warning: this is the location of the previous definition
In file included from /usr/include/mysql/my_global.h:83,
from myx_library.c:35:
/usr/include/mysql/my_config.h:998:1: warning: "PACKAGE_TARNAME" redefined
In file included from myx_library.c:28:
../../../config.h:80:1: warning: this is the location of the previous definition
In file included from /usr/include/mysql/my_global.h:83,
from myx_library.c:35:
/usr/include/mysql/my_config.h:1001:1: warning: "PACKAGE_VERSION" redefined
In file included from myx_library.c:28:
../../../config.h:83:1: warning: this is the location of the previous definition
In file included from /usr/include/mysql/my_global.h:83,
from myx_library.c:35:
/usr/include/mysql/my_config.h:1120:1: warning: "VERSION" redefined
In file included from myx_library.c:28:
../../../config.h:89:1: warning: this is the location of the previous definition
In file included from myx_library.c:35:
/usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory
make[4]: *** [myx_library.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r1/work/mysql-gui-tools-5.0r12/mysql-gui-common/library/base-library/source'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r1/work/mysql-gui-tools-5.0r12/mysql-gui-common/library/base-library'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r1/work/mysql-gui-tools-5.0r12/mysql-gui-common/library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r1/work/mysql-gui-tools-5.0r12/mysql-gui-common'
make: *** [all] Error 2
*
* ERROR: dev-db/mysql-gui-tools-5.0_p12-r1 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* mysql-gui-tools-5.0_p12-r1.ebuild, line 85: Called gnome2_src_compile '--disable-java-modules' '--disable-grt' '--disable-canvas' '--enable-i18n'
* gnome2.eclass, line 71: Called die
*
* compile failure
* 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-gui-tools-5.0_p12-r1/temp/build.log'. |
Any ideas or anyone experiencing similar issues?
| Code: | emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Timestamp of tree: Thu, 25 Oct 2007 20:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://gentoo.intergenia.de "
LANG="c"
LC_ALL="C"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/berkano"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi administrator alias alsa amd64 apache2 arts atm berkdb bitmap-fonts branding bzip2 cairo cddb cdinstall chardet clamav cli connectionstatus contactnotes cpudetection cracklib crypt css cups dbus dhcp dvd dvdr dvdread eap-tls encode fat ffmpeg firefox foomaticdb fortran ftp gdbm gif gimpprint glitz gpm hal history iconv icq ieee1394 imagemagick isdnlog java javascript joystick jpeg kde kdexdeltas libcaca lm_sensors mad matroska midi mikmod mmx mono mp3 mpeg mplayer mudflap mysql mysqli ncurses net nls nowlistening nptl nptlonly nsplugin ntfs openal opengl openmp pam pch pcre pdf perl png ppds python qt3 qt3support qt4 query-browser quicktime rar readline reflection samba scanner sdl session spell spl srt sse sse2 ssl ssse3 subtitles svg swat tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vcd videos vorbis webpresence wifi wma wmf wxwindows x264 xine xinetd xml xorg xv xvid" ALSA_CARDS="emu10k1 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Thanks in advance :-)
fumoffu _________________ "People said I should accept the world. Bullshit! I don't accept the world!"
- Richard Stallman
http://www.lastfm.de/user/penguin-guy
Last edited by fumoffu on Sat Oct 27, 2007 12:10 pm; edited 1 time in total |
|
| Back to top |
|
 |
bluescream? n00b


Joined: 26 Nov 2002 Posts: 27 Location: Germany
|
Posted: Fri Oct 26, 2007 9:52 pm Post subject: |
|
|
Same error here...
Trying to emerge mysql-gui-tools-5.0_p12-r1 _________________ Roses are grey, violets are grey, I'm dead and colorblind. |
|
| Back to top |
|
 |
bluescream? n00b


Joined: 26 Nov 2002 Posts: 27 Location: Germany
|
Posted: Fri Oct 26, 2007 10:40 pm Post subject: |
|
|
file /usr/include/mysql/my_global.h line 361
| Code: | | #include <asm/atomic.h> |
Change this line to
| Code: | | /* #include <asm/atomic.h> */ |
And try to emerge again. This worked for me. _________________ Roses are grey, violets are grey, I'm dead and colorblind. |
|
| Back to top |
|
 |
bluescream? n00b


Joined: 26 Nov 2002 Posts: 27 Location: Germany
|
Posted: Fri Oct 26, 2007 11:15 pm Post subject: |
|
|
Well,
I additionally tried this:
| Code: |
# wipe mysql from harddisk
emerge -C mysql
# verify that /usr/include/mysql/ is empty
ls -l /usr/include/mysql
# the directory was empty, so reinstall mysql
emerge -vu mysql
|
I checked that /usr/include/mysql/my_global.h and found the same entry at line 361 as before:
| Quote: | | #include <asm/atomic.h> |
Curiously I tried to re-emerge mysql-gui-tools and now it worked. I don't know what changed now, but now it also compiled fine (without having commented that line 361)... _________________ Roses are grey, violets are grey, I'm dead and colorblind. |
|
| Back to top |
|
 |
fumoffu Apprentice


Joined: 25 Dec 2005 Posts: 179 Location: Somewhere between heaven and hell...
|
Posted: Sat Oct 27, 2007 12:10 pm Post subject: |
|
|
Unmerging and re-emerging mysql did the trick, although I manually had to take care of an unsolved dependency (libgnomeprint was not installed on my system). Thanks! _________________ "People said I should accept the world. Bullshit! I don't accept the world!"
- Richard Stallman
http://www.lastfm.de/user/penguin-guy |
|
| Back to top |
|
 |
|
|
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
|
|