trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

workaround - Re: [trinity-users] arts build - uic-tqt ... not found (I've packaged and installed tqtinterface, but uic-tqt got missed?)

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 01 Feb 2011 10:54:12 -0600
On 02/01/2011 08:22 AM, David C. Rankin wrote:
> On 02/01/2011 01:44 AM, Jay wrote:
>> Did you patch your qt-3.3.8?
>>
>> When i first compiled i create a symlink called uic-tqt pointing at uic. This
>> got me passed the error. Not sure if it is the right way to go about it ... but
>> i am writing this from trinity running on Slack current.
> 
> Thanks Jay,
> 
> 	Yes, Qt3 is patched for 3.3.8c. Here is the relevant tqtinterface build output:
> 
> Checked out revision 1217590.
> ==> SVN checkout done or server timeout
> ==> Starting cmake...
> <snip>
> -- checking for 'Qt'
> -- Performing Test HAVE_PATCHED_QT3
> -- Performing Test HAVE_PATCHED_QT3 - Success
> -- found patched Qt, version 3.3.8
> <snip>
> -- Configuring done
> 
> 	Looking closer at uic-tqt, it's just a simple bash script that backup up the
> files passed as arguments, runs tqt-replace on the file, the puts the backup
> back in place and deletes the backup copy.
> 
> 	Where should this go? I could soft link it to anywhere in the path and I guess
> it would work, but since I'm trying to create and 'Arch Linux Package' I need to
> get it in the right place. Any thoughts?
> 

I don't know what the deal is here. The Makefile.am correctly specifies that
uic-tqt should be installed:

install-exec-local:
        test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
        cp -Rp "$(srcdir)/tqt-replace" "$(DESTDIR)$(bindir)/"
        cp -Rp "$(srcdir)/tqt-replace-stream" "$(DESTDIR)$(bindir)/"
        cp -Rp "$(srcdir)/moc-tqt" "$(DESTDIR)$(bindir)/"
        cp -Rp "$(srcdir)/uic-tqt" "$(DESTDIR)$(bindir)/"
<snip>

but for some strange reason, uic-tqt is not installed with 'make install'. All
other files specified in 'install-exec-local:' get installed just fine, but not
uic-tqt.

I don't know when the uic-tqt script is created during the build processes, but
is it possible it gets created too late to be seen by the 'make install'?

As a workaround for the arch package, I have just manually included it to be
installed in /usr/bin (which from the Makefile.am looks correct)

After the workaround and install of the new tqtinterface package, arts
configures fine:

<snip>
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-xinerama

Good - your configure finished. Start make now

If Jay is seeing this behavior with uic-tqt on Slackware and I'm seeing it on
Arch, maybe the really smart devs can take a peek and see if a reason for this
behavior can be seen.

Also, let me know if this is something you want me to open a bug on. I'm happy
to do it, but I don't want to clutter the bug tracker if this isn't something
that needs to be there. Thanks.

-- 
David C. Rankin, J.D.,P.E.