Compilation fails in Ubuntu Hardy

Asked by Jamie Stevens

After reading the INSTALL file in the 0.2 version tarball, I used the aptitude command you recommended to install the dependencies required for igotu2gpx.

I then followed the compile instructions. The qmake command returns the following output:
clebs.pri:13: Unknown test function: defineTest
clebs.pri:37: Unknown test function: defineTest
clebs.pri:54: Unknown test function: defineTest
clebs.pri:61: Unknown test function: defineTest
clebs.pri:68: Unknown test function: defineTest
clebs.pri:76: Unknown test function: defineTest
clebs.pri:88: Unknown test function: defineTest
clebs.pri:97: Unknown test function: defineTest
clebs.pri:105: Unknown test function: defineTest
clebs.pri:119: Unknown test function: defineTest
clebs.pri:133: Unknown test function: defineTest
clebs.pri:161: Unknown test function: CONFIG
clebs.pri:234: Unknown test function: for
clebs.pri:260: Unknown test function: clebsVerbose
clebs.pri:268: Unknown test function: clebsVerbose
clebs.pri:281: Unknown test function: clebsVerbose
clebs.pri:286: Unknown test function: clebsVerbose
igotu.pro:10: Unknown test function: clebsDirs
igotu.pro:11: Unknown test function: clebsDirs

The make command then returns immediately with:
make: Nothing to be done for `first'.

Am I doing something wrong? What is qmake supposed to do?

cheers
Jamie

Question information

Language:
English Edit question
Status:
Solved
For:
igotu2gpx Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Hofmann (mh21) said :
#1

Seems like you also have the qt3 devel packages, and qmake uses these. Instead of "qmake", do "qmake-qt4" and it should work.

Revision history for this message
Jamie Stevens (jamie-stevens) said :
#2

Hi Michael,

Yes, that worked perfectly. Thanks!

cheers
Jamie

Michael Hofmann wrote:
> Your question #67222 on igotu2gpx changed:
> https://answers.edge.launchpad.net/igotu2gpx/+question/67222
>
> Status: Open => Answered
>
> Michael Hofmann proposed the following answer:
> Seems like you also have the qt3 devel packages, and qmake uses these.
> Instead of "qmake", do "qmake-qt4" and it should work.
>

Revision history for this message
Michael Hofmann (mh21) said :
#3

Problem solved :-).

Revision history for this message
Sciamano (sciamano72+launchpad) said :
#4

Hi,
I'm having a similar problem, and I can't seem to solve it.
I've installed the QT package from http://www.qtsoftware.com/, and now I have version 4.5.2 installed on my Hardy.
qmake seems to go ok, but when I send the make command, here it what comes up:

cd src/igotu/ && make -f Makefile
make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotu'
echo !_TAG_FILE_FORMAT 2 dummy > /home/luca/Sources/igotu2gpx-0.2.3/tags; echo !_TAG_FILE_SORTED 1 dummy >> /home/luca/Sources/igotu2gpx-0.2.3/tags; sed -i 's/ /\t/g' /home/luca/Sources/igotu2gpx-0.2.3/tags; cd /home/luca/Sources/igotu2gpx-0.2.3 && ctags -R --c++-kinds=+p-n --fields=+iaS --extra=+fq --exclude=.build -f - src | sed 's/igotu:://g;s/\tnamespace:igotu//g' | LC_ALL=C sort >> tags || cd .
/bin/sh: ctags: not found
make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotu'
cd src/igotu2gpx/ && make -f Makefile
make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotu2gpx'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotu2gpx'
cd src/igotugui/ && make -f Makefile
make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotugui'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotugui'
cd data/ && make -f Makefile
make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/data'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/data'
cd contrib/tango/ && make -f Makefile
make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/contrib/tango'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/contrib/tango'

Any suggestion?
Thanks!

Revision history for this message
Michael Hofmann (mh21) said :
#5

> cd src/igotu/ && make -f Makefile
> make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotu'
> echo !_TAG_FILE_FORMAT 2 dummy > /home/luca/Sources/igotu2gpx-0.2.3/tags; echo !_TAG_FILE_SORTED 1 dummy >> /home/luca/Sources/igotu2gpx-0.2.3/tags; sed -i 's/ /\t/g' /home/luca/Sources/igotu2gpx-0.2.3/tags; cd /home/luca/Sources/igotu2gpx-0.2.3 && ctags -R --c++-kinds=+p-n --fields=+iaS --extra=+fq --exclude=.build -f - src | sed 's/igotu:://g;s/\tnamespace:igotu//g' | LC_ALL=C sort >> tags || cd .
> /bin/sh: ctags: not found
> make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotu'
> cd src/igotu2gpx/ && make -f Makefile
> make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotu2gpx'
> make[1]: Nothing to be done for `first'.
> make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotu2gpx'
> cd src/igotugui/ && make -f Makefile
> make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotugui'
> make[1]: Nothing to be done for `first'.
> make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/src/igotugui'
> cd data/ && make -f Makefile
> make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/data'
> make[1]: Nothing to be done for `first'.
> make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/data'
> cd contrib/tango/ && make -f Makefile
> make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.3/contrib/tango'
> make[1]: Nothing to be done for `first'.
> make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.3/contrib/tango'

Freom what I see from the compile log, the make worked perfectly. You
should have binaries in bin/debug.

Michael