Had same problem. Checking through 'configure' script I found that all three options:
-with-qt-include, -lib, -bin should be
-with-qt-dir-include, -lib, -bin
./configure then completed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
itjim's solution worked for me as far as specifying a custom location for Qt.
I'm compiling on Ubuntu 10.04 and I built Qt v4.7.1 from source. FYI: I'm building from unixodbc-gui-qt rev. 93. I am installing everything in /opt/local so I used the following configuration:
./configure -prefix=/opt/local -with-x -with-qt-dir-include=/opt/local/include -with-qt-dir-lib=/opt/local/lib -with-qt-dir-bin=/opt/local/bin
Apparently QAssistantClient became obsolete as of Qt 4.6.3. As a result, configure failed while "trying to compile a simple Qt program" because it couldn't find libQAssistantClient. Turns out, that library is not needed (any more?). The solution was to alter the "configure" script, line 17965 (in rev. 93) where it defines "qt_libs" by removing the reference to libQtAssistantClient (-lQtAssistantClient) so that it reads:
qt_libs="-lQtGui -lQtCore -lQtNetwork"
Alternatively, you could fix qt.m4 before you do the
make -f Makefile.svn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm having trouble to configure the latest (see post date) SVN trunk.
ls -la /usr/include/qt4/
ls -la /usr/lib64/qt4/
This is my system:
emerge -info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 27 Jun 2010 10:15:02 +0000
distcc 3.1 x86_64-pc-linux-gnu
ccache version 2.4
app-shells/bash: 4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python: 2.5.4-r4, 2.6.5-r2, 3.1.2-r3
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.4_p6, 1.7.9-r2, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.3.4, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
virtual/os-headers: 2.6.34
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://194.117.143.72/sites/gentoo http://gentoo.gossamerhost.com rsync://212.219.56.133/www.ibiblio.org/gentoo/ http://gentoo.wheel.sk/ ftp://gentoo.wheel.sk/pub/linux/gentoo/"
LANG="it_IT.UTF-8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j7"
PKGDIR="/arc/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="-recursive -links -safe-links -perms -times -compress -force -whole-file -delete -stats -timeout=180 -exclude=/distfiles -exclude=/local -exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/x11 /var/lib/layman/qting-edge /var/lib/layman/kde"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit 16bit-indices 16bittmp 64bit 7zip R X X509 Xaw3d a52 aac aalib accessibility ace acl acpi addbookmarks ads aften akode akonadi alac alisp alsa amarok amd64 ao aotuv apache2 apidocs apm ares arts artswrappersuid aspell aspnet aspnet2 aspnetedit bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdr cgi cli consolekit cpudetection cracklib crypt cups curl curlwrappers cxx dbus doc dri dts dvb dvd dvdr dvdread emboss encode exif fam fame fat fbcon fbdev fbsplash ffmpeg fftw finger firefox flac flash fontconfig force-cgi-redirect fortran ftp fts3 fuse fusion gd gdbm gecko geoip ggi gif git glgd glib gpg gphoto2 gpm grub gs gsm gstreamer gtk gtk+ guidexml gzip h323 hal hardened hddtemp hdri high-ints hpn html http hvm iconv id3 id3tag ieee1394 image imagemagick inkjar int64 iodbc ipv6 jack jadetex java java-external java5 javacomm javascript jpeg jpeg2k kde lame lash lcms ldap libcaca libgcrypt libnotify libsamplerate libssh2 libvisual lirc lm_sensors logitech-mouse logrotate loop-aes lzo lzw mad md5sum mdnsresponder-compat messages metric mikmod mime mixer mjpeg mmap mmkeys mmx mmxext mng modules mp2 mp3 mp3tunes mp4 mp4live mpd mpeg mpeg2 mplayer mtp mudflap multilib multipath multipleip multiprocess musepack musicbrainz mysql ncurses networkmanager nfqueue nfs nls nntp nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc odbc ogg openal opengl openmp openntpd openssh openssl opensslcrypt openvpn pam pango pcre pdf perfprofiling perl phonon player plugins png pnm policykit portage portaudio postgres postproc ppds pppd prelude pvr python q32 q8 qemu qt3support qt4 quicktime quotas radio rar raw rc5 readline realmedia reflection regexp reiserfs resolvconf roundrobin rpm rss samba sasl sdl sdl-image sdl-sound sdlaudio secure-delete semantic-desktop sensord session sftp shorten sift simplexml smp sockets sourceview spell spl sql sqlite srt sse sse2 ssl ssse3 startup-notification stream submenu subtitles subversion svg svgz swat swig sysfs syslog sysvipc szip taglib tagwriting tcl tcp tcpd tcpmd5 tftp tga theora threads threadsafe threadsonly tidy tiff timestats timezone timidity tk tos transcode truetype tunepimp twolame type1 uclibc-compat ui unicode unzip upnp urandom usb uudeview uuencode v4l v4l2 vamp vcd vcdx vdr verse vga video visual visualization vlm vnc vorbis vram vroot wav wavpack webkit wma wmf wmp x264 x86emu xattr xbase xcb xcf xcomposite xen xetex xext xfce xfs xine xinetd xml xmldoclet xmlreader xmlwriter xmp xmpi xorg xpm xrender xulrunner xv xvid xvmc xvnc yaepg yv12 zeroconf zip zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="tda10046lifeview" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="flyvideo" NETBEANS_MODULES="apisupport harness ide j2ee java nb websvccommon xml soa visualweb webcommon groovy gsf cnd dlight enterprise ergonomics identity mobility php profiler ruby" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vga fbdev vesa vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
What could be wrong?
Had same problem. Checking through 'configure' script I found that all three options:
-with-qt-include, -lib, -bin should be
-with-qt-dir-include, -lib, -bin
./configure then completed
itjim's solution worked for me as far as specifying a custom location for Qt.
I'm compiling on Ubuntu 10.04 and I built Qt v4.7.1 from source. FYI: I'm building from unixodbc-gui-qt rev. 93. I am installing everything in /opt/local so I used the following configuration:
./configure -prefix=/opt/local -with-x -with-qt-dir-include=/opt/local/include -with-qt-dir-lib=/opt/local/lib -with-qt-dir-bin=/opt/local/bin
Apparently QAssistantClient became obsolete as of Qt 4.6.3. As a result, configure failed while "trying to compile a simple Qt program" because it couldn't find libQAssistantClient. Turns out, that library is not needed (any more?). The solution was to alter the "configure" script, line 17965 (in rev. 93) where it defines "qt_libs" by removing the reference to libQtAssistantClient (-lQtAssistantClient) so that it reads:
qt_libs="-lQtGui -lQtCore -lQtNetwork"
Alternatively, you could fix qt.m4 before you do the
This is what worked for me on Ubuntu 12.04 Desktop 32-bit