Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30227 - camstream trying to use /usr/local/bin/uic
Summary: camstream trying to use /usr/local/bin/uic
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
Depends on: 31940
  Show dependency tree
Reported: 2003-10-02 21:32 UTC by Chip Marshall
Modified: 2003-11-19 03:21 UTC (History)
1 user (show)

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

emerge log (emerge.log,344.68 KB, text/plain)
2003-10-03 08:16 UTC, Chip Marshall
compile log (camstream.log,6.95 KB, text/plain)
2003-10-03 08:41 UTC, Chip Marshall

Note You need to log in before you can comment on or make changes to this bug.
Description Chip Marshall 2003-10-02 21:32:58 UTC
When attempting to emerge media-video/camstream-0.26.2, I encounter an error where it attempts to call /usr/local/bin/uic, which does not exist. Not even sure what that's supposed to be or do.

make[2]: Entering directory `/var/tmp/portage/camstream-0.26.2/work/camstream-0.26.2/camstream/gui'
/usr/local/bin/uic -o ChannelSelector.h ChannelSelector.ui
make[2]: /usr/local/bin/uic: Command not found
make[2]: *** [ChannelSelector.h] Error 127
make[2]: Leaving directory `/var/tmp/portage/camstream-0.26.2/work/camstream-0.26.2/camstream/gui'
make[1]: *** [gui] Error 2
make[1]: Leaving directory `/var/tmp/portage/camstream-0.26.2/work/camstream-0.26.2/camstream'
make: *** [all] Error 2

!!! ERROR: media-video/camstream-0.26.2 failed.
!!! Function src_compile, Line 377, Exitcode 2
!!! emake failed
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-03 02:16:21 UTC
can you please attach a complete merge log and "emerge info".
Comment 2 Chip Marshall 2003-10-03 08:15:12 UTC
Here's the emerge info:

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) III Mobile CPU  
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
CFLAGS="-mcpu=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops
-frerun-cse-after-loop -frerun-loop-opt -falign-functions=4"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops
-frerun-cse-after-loop -frerun-loop-opt -falign-functions=4"
FEATURES="sandbox autoaddcvs ccache"
USE="encode foomaticdb gif gpm libg++ mad mikmod motif mpeg ncurses nls pdflib
xml2 xmms gdbm berkdb readline tetex svga tcltk java tcpd pam libwww python
imlib qt opengl X gtk gtk2 -apm -arts -kde -gnome alsa -slang acpi avi cdr
crypt cups curl dga dvd esd ethereal gd imap jikes joystick jpeg mmx mozilla
mysql oggvorbis oss pcmcia pda perl png pnp quicktime sdl spell sse ssl truetype
usb wxwindows xinerama xv zlib x86 radeon"
Comment 3 Chip Marshall 2003-10-03 08:16:45 UTC
Created attachment 18669 [details]
emerge log

I hope this is what you meant.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-03 08:33:24 UTC
no, i meant a log of the complete compile process ;)
Comment 5 Chip Marshall 2003-10-03 08:41:25 UTC
Created attachment 18670 [details]
compile log

Okay, this should work better then :)
Comment 6 Jon Hood (RETIRED) gentoo-dev 2003-10-03 12:23:30 UTC
From the camstream website (go there and click "troubleshooting"):

The line highlighted in red means one of two things. Either haven't installed
the Qt library at all (this varies greatly between distro's so I cannot tell
you how), or you have installed the Qt library, but it's not in one of it's
default locations and you haven't set your QTDIR environment variable. You
must locate this directory, then set QTDIR:

export QTDIR=/path/to/qt/library

Alternatively, you can make a symlink in /usr/lib/ or /usr/local/lib (BTW,
uic isn't really installed in /usr/local/bin, but a default choosen by ./configure).

I'm getting a completely different error compiling and am about to file a
bug report with it if I can't clear it up in a few minutes. 
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-03 14:27:21 UTC
that is really strange, it detecs uic in /usr/local/bin although it should
be in /usr/qt/3/bin
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-04 08:45:20 UTC
what qt versions do you have installed? try revdep-rebuild from gentoolkit.
Comment 9 Chip Marshall 2003-10-06 13:45:33 UTC
x11-libs/qt is at 3.1.2-r4
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-11 04:22:26 UTC
did try revdep-rebuild from gentoolkit help?
Comment 11 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-12 07:52:01 UTC
see last comment.
Comment 12 Patrick Kursawe (RETIRED) gentoo-dev 2003-11-10 00:38:58 UTC
Looks similar - I guess $QTDIR is not set correctly?
Comment 13 Patrick Kursawe (RETIRED) gentoo-dev 2003-11-19 03:21:36 UTC
Solved with bug 31940