Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125263 - x11-libs/qt-4.1.1: mysql.cpp:1:19: mysql.h: No such file or directory
Summary: x11-libs/qt-4.1.1: mysql.cpp:1:19: mysql.h: No such file or directory
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 09:49 UTC by Martin Mokrejš
Modified: 2006-03-14 11:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2006-03-06 09:49:07 UTC
It seems the slotted mysql ebuild broke qt ebuild as well:

[...]
g++ -c -o qurl.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/var/tmp/portage/qt-4.1.1/work/qt-x11-opensource-src-4.1.1/src/corelib/arch/generic -I/var/tmp/portage/qt-4.1.1/work/qt-x11-opensource-src-4.1.1/include -I/var/tmp/portage/qt-4.1.1/work/qt-x11-opensource-src-4.1.1/include/QtCore -I/var/tmp/portage/qt-4.1.1/work/qt-x11-opensource-src-4.1.1/include -I/var/tmp/portage/qt-4.1.1/work/qt-x11-opensource-src-4.1.1/include/QtCore -I/var/tmp/portage/qt-4.1.1/work/qt-x11-opensource-src-4.1.1/src/corelib/global -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/var/tmp/portage/qt-4.1.1/work/qt-x11-opensource-src-4.1.1/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  /var/tmp/portage/qt-4.1.1/work/qt-x11-opensource-src-4.1.1/src/corelib/io/qurl.cpp
g++ -o /var/tmp/portage/qt-4.1.1/work/qt-x11-opensource-src-4.1.1/bin/qmake project.o property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o winmakefile.o projectgenerator.o meta.o qtmd5.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o  qchar.o qstring.o qstringmatcher.o qtextstream.o qiodevice.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlistdata.o qfile.o qfsfileengine_unix.o qfsfileengine.o qregexp.o qvector.o qbitarray.o qdir.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qunicodetables.o qmetatype.o qsettings.o qvariant.o qvsnprintf.o qlocale.o qlinkedlist.o qurl.o  
libmng auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
g++ -c -pipe -O2 -mtune=pentium4 -march=pentium4 -pipe -Wall -W   -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I. -o libmng.o libmng.cpp
g++  -o libmng libmng.o     -L/usr/lib/mysql -lmng
libmng enabled.
MySQL (thread-safe) auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
g++ -c -pipe -O2 -mtune=pentium4 -march=pentium4 -pipe -Wall -W   -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I. -o mysql.o ../mysql/mysql.cpp
../mysql/mysql.cpp:1:19: mysql.h: No such file or directory
make: *** [mysql.o] Error 1
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
g++ -c -pipe -O2 -mtune=pentium4 -march=pentium4 -pipe -Wall -W   -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I. -o mysql.o mysql.cpp
mysql.cpp:1:19: mysql.h: No such file or directory
make: *** [mysql.o] Error 1
MySQL (thread-unsafe) disabled.
MySQL support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.

!!! ERROR: x11-libs/qt-4.1.1 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile



# emerge unmerge mysql

*** Deprecated use of action 'unmerge', use '--unmerge' instead

 dev-db/mysql
    selected: 5.0.18-r30
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 

Exiting on signal 2
#
emerge info

*** Deprecated use of action 'info', use '--info' instead
Portage 2.1_pre5-r2 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-rc1 i686)
=================================================================
System uname: 2.6.16-rc1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mmmx -msse -msse2 -O2 -fomit-frame-pointer -mtune=pentium4 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mmmx -msse -msse2 -O2 -fomit-frame-pointer -mtune=pentium4 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.muni.cz/pub/linux/gentoo http://gentoo.mirror.icd.hu/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LINGUAS="cs cz en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d acpi apache2 apm arts ati avi berkdb bitmap-fonts bonobo ccache cdr crypt cscope cups curl dba dga directfb dvb dvd dvdr eds elibc_glibc emacs emacs-w3 emboss encode esd ethereal f77 fam fbcom flac foomaticdb fortran freetype2 fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml icc ifc imagemagick imlib innodb ipv6 ithreads java jpeg kernel_linux lcms leim libg++ libwww linguas_cs linguas_cz linguas_en mad mcal mesa mikmod mmx motif mozilla mp3 mpeg mule myisam mysql ncurses nls nptl ogg oggvorbis opengl oss pam pda pdflib perl plotutils png ppds pthread pthreads python qt quicktime readline samba scanner sdl slp spell sse sse2 ssl stroke tcltk tcpd tetex thread threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU utf8 video_cards_radeon vorbis wmf x86 xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS

#
Comment 1 Patrizio Bassi 2006-03-06 11:33:49 UTC
this bug is invalid...you have not updated you mysql (probably 5.0x) system

do that and re-emerge qt
Comment 2 Martin Mokrejš 2006-03-06 11:40:32 UTC
Sorry, what do you mean? I have upgraded mysql last time on Feb 10.

# ls -la /etc/mysql*
lrwxrwxrwx 1 root root  9 Feb  3 16:58 /etc/mysql -> mysql-500

/etc/mysql-500:
total 24
drwxr-xr-x   2 root root   42 Feb 11 17:36 .
drwxr-xr-x 104 root root 8192 Mar  6 20:01 ..
-rw-r--r--   1 root root 4148 Feb  9 00:10 my.cnf
-rw-r--r--   1 root root 1702 Feb 10 12:36 mysqlaccess.conf
#
Comment 3 Patrizio Bassi 2006-03-06 13:47:34 UTC
ls /usr/include/mysql -l


not the etc configuration directory :)

you can use the eselect mysql module too
Comment 4 Martin Mokrejš 2006-03-14 11:29:54 UTC
As the SLOTTed ebuild are getting deprecated, closing mysqlf. Sorry for noise.