Git Product home page Git Product logo

Comments (8)

u8sand avatar u8sand commented on May 29, 2024

Sorry this is due to a bad assumption that distros w/ qmake version 5 would have qmake-qt5.

use: QMAKE=qmake ./make.sh or get the qmake branch which should fix everything (and will be merged soon)

from baka-mplayer.

mc4man avatar mc4man commented on May 29, 2024

Thanks -
My bad for not seeing this was in 2 commits, I should have been able to figure out..
For launchpad though had to revert 2 parts - remove this
if [ "$QMAKE" == "" ]; then
QMAKE=qmake-qt5
fi
And then change the 2 instances of $QMAKE to qmake. Otherwise would still get - 3: [: unexpected operator, ect.
With that all is well & packages are built. For info sake in Ubuntu qmake-qt5 installs as -
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake

from baka-mplayer.

mc4man avatar mc4man commented on May 29, 2024

If I make it a bash script or remove a = (if [ "$QMAKE" = "" ];) then the unexpected operator goes away but it then fails on name
(qmake-qt5: command not found) or with QMAKE=qmake on location
(- /usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
So I guess I could give it the location. Seems simpler to just remove & change as noted in last post. (that is for launchpad builds

from baka-mplayer.

u8sand avatar u8sand commented on May 29, 2024

@mc4man could you try and make sure the qmake branch works?

git fetch
git checkout qmake
sh configure.sh
make -j`grep -c ^processor /proc/cpuinfo`

(to revert)

git checkout master

from baka-mplayer.

mc4man avatar mc4man commented on May 29, 2024

I get this -
configure.sh: 29: configure.sh: Syntax error: "(" unexpected (expecting "then")

from baka-mplayer.

mc4man avatar mc4man commented on May 29, 2024

Just to note & probably irrelevant overall-
qt4-qmake does install a symlink in /usr/bin - qmake-qt4
but qt5-qmake does not
however there is a package "qt5-default" that installs a symlink, /usr/bin/qmake that links to qtchooser which by default points to actual location .

So if using the current git it works with QMAKE=qmake if qt5-default package is installed
(but the == still is a no go with sh, = is ok
Seems a convoluted 'mess' to me though I guess there is a reason not to have /usr/bin/qmake-qt5 link??

from baka-mplayer.

u8sand avatar u8sand commented on May 29, 2024

I see, the nice thing is this bash script looks for qmake and/or qmake-qt5 (checking the version either way)

Perhaps because it has bash-specific functionality, I'll see if I can make it sh compatible or I'll specify a bash hash-bang.

from baka-mplayer.

u8sand avatar u8sand commented on May 29, 2024

This should take care of problems you were having:
59366de

from baka-mplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.