[clug] Latest version of VICI
Bob Edwards
bob at cs.anu.edu.au
Tue May 1 23:39:44 UTC 2018
On 01/05/18 19:43, Mike Carden wrote:
> Sorry to (slightly) hijack this thread, but...
>
> Bob, why did you add the pipe to grep to your find? You ran:
Hi Mike,
Ummmm... TIMTOWTDI?
I'm surprised you aren't offering a Python one-liner, then it would only
be a single process... oh wait: https://xkcd.com/1987/
So, Andrew Janke's first option is closest, followed by Andrew
Donnellans...
Forgive the added bandwidth, but here is the actual sequence of commands
I ran:
root at vici:~# dpkg --get-selections | grep libqt5
(see that libqt5core5a is installed)
root at vici:~# dpkg -L libqt5core5a
(see that the libQt5 files are in /usr/lib/x86_64-linux-gnu)
root at vici:~# ls /usr/lib/x86_64-linux-gnu/libQt5*
(way too much output to cut-paste to a mailing list...)
root at vici:~# ls -l /usr/lib/x86_64-linux-gnu/libQt5* | grep -v ^l
(still too much...)
root at vici:~# find /usr/lib/x86_64-linux-gnu -type f | grep libQt5
(still too much...)
root at vici:~# cd /usr/lib/x86_64-linux-gnu/
root at vici:~# find . -type f | grep libQt5
(still too much...)
root at vici:~# find . -type f | grep libQt5 | wc
so, 14 processes were run... I'm such a bad boy.
cheers,
Bob Edwards.
>
> find . -type f | grep libQt5 | wc
>
> rather than:
>
> find . -type f -name 'libQt5*' | wc
>
> It *feels* like the grep creates one more process than is needed, but
> I'm interested to understand any benefit that I haven't noticed.
>
> --
> MC
>
>
>
>
>
> On Tue, May 1, 2018 at 6:16 PM, Bob Edwards via linux
> <linux at lists.samba.org <mailto:linux at lists.samba.org>> wrote:
>
> On 01/05/18 17:28, Brenton Ross via linux wrote:
>
> On Tue, 2018-05-01 at 16:45 +1000, Bob Edwards via linux wrote:
>
> On 30/04/18 15:17, Brenton Ross via linux wrote:
>
> On Sun, 2018-04-29 at 18:05 +1000, Brenton Ross via
> linux wrote:
>
> On Thu, 2018-04-26 at 22:19 +1000, Brenton Ross via
> linux wrote:
>
> Hi,
>
> For those that are interested, today I have
> placed the latest version of
> VICI onto SourceForge:
> https://sourceforge.net/projects/ocratato-vici/
> <https://sourceforge.net/projects/ocratato-vici/>
>
> Brenton
>
>
> OK, Take 2.
>
> I have modified the way the build looks for Qt files
> so that there is
> now a better chance of it building on various
> distributions.
>
> Thanks very much to those that tried and failed on
> the previous version
> - it provided useful information.
>
> Brenton
>
>
> Hmm, apparently that also has a problem. Thanks to Owen
> for testing and
> reporting the problem.
> I have uploaded a fixed version vici-0.10.682
>
> Brenton
>
>
> Hi Brenton,
>
> I have finally gotten around to looking at VICI (again - I
> last had
> a look around 3 or 4 years ago...).
>
> I am building it in a Debian Stretch container, following
> much of your
> README (from vici-0.10.682).
>
> My command is:
> bob at vici:~/vici-0.10/build$ ../configure --prefix=$VICI
> -with-lua-pkg=lua53
> ...
> checking does moc work?... yes
> checking can I compile moc_myqt.cpp?... yes
> checking can I compile myqt.cpp?... yes
> checking can I link against QT?... configure: error:
> couldn't link
> configure: error: ../../../src/gth/configure failed for src/gth
> bob at vici:~/vici-0.10/build$
>
> Looks like it can't find QT, but I am not sure what part of
> QT it is
> looking for (ie. can it tell me what test actually failed?).
>
> Any tips?
>
> cheers,
>
> Bob Edwards.
>
>
> Bob,
>
> thanks for trying.
> You seem to have run into the same problem Owen has.
>
> It appears that Debian based systems have the Qt libraries
> installed in
> the standard location for most libraries which means the -L option
> should not be required, but for some reason the linker cannot
> find them.
>
> The actual error will be reported in $VICI/build/src/gth/config.log
>
> Cheers
> Brenton
>
>
> Hi Brenton,
>
> Any idea which one I should be looking for? Looks like I have 31 Qt5
> libs installed:
>
> bob at vici:~$ cd /usr/lib/x86_64-linux-gnu
> bob at vici:/usr/lib/x86_64-linux-gnu$ find . -type f | grep libQt5 | wc
> 31 31 719
>
> (I _think_ they all came from:
> bob at vici:~$ sudo apt-get install qt5-default )
>
> cheers,
>
> Bob Edwards.
>
>
> --
> linux mailing list
> linux at lists.samba.org <mailto:linux at lists.samba.org>
> https://lists.samba.org/mailman/listinfo/linux
> <https://lists.samba.org/mailman/listinfo/linux>
>
>
More information about the linux
mailing list