PDA

View Full Version : Qwt on FreeBSD/ beginner installation question



timeout
24th August 2011, 11:06
Hello everyone,

Qwt 5.2.1 is part of FreeBSD but I can't find the examples. (It's also hard to find an introductory tutorial on-line. If anyone has a good link, I would appreciate it.)

So, I was wondering, should I just download the latest version and install it in my home directory? But I'm not sure how to do this? I'm not sure how to install it to my home directory and I'm also not sure about how to configure the linker, so that the libraries would be found.

Thanks!

timeout
24th August 2011, 19:02
Follow up question ;)

I checked out the svn directory and attempted to Install.
First I had to set the QMAKESPEC, which I set as freebsd-g++

than qmake && make...

===========
cd src && qmake src.pro -o Makefile
src.pro:17: Unknown replace function: qtLibraryTarget
src.pro:225: Unknown test function: CONFIG
cd src && make -f Makefile
qmake -o Makefile src.pro
Error processing project file: /home/joe/qwt-6.0/src/obj/src.pro
*** Error code 2

Stop in /home/joe/qwt-6.0/src.
*** Error code 1

Stop in /home/joe/qwt-6.0.
==========


Any clues? Thanks!

Uwe
25th August 2011, 09:39
Incomplete or outdated Qt version ?

Uwe

timeout
25th August 2011, 10:09
Thank you for the reply Uwe,
the problem was that I was using the BSD version of make. What works for FreeBSD is:
$ qmake-qt4
$ gmake
$ gmake install

ademgedik
21st November 2011, 09:12
Hi,

After 1 week working, I find this thread and solve my qwt compiling problem using "gmake" instead of "make"

Many thanks...