commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r4692 - in gnuradio/trunk: config gr-qtgui


From: n4hy
Subject: [Commit-gnuradio] r4692 - in gnuradio/trunk: config gr-qtgui
Date: Fri, 2 Mar 2007 14:55:22 -0700 (MST)

Author: n4hy
Date: 2007-03-02 14:55:22 -0700 (Fri, 02 Mar 2007)
New Revision: 4692

Modified:
   gnuradio/trunk/config/grc_gr_qtgui.m4
   gnuradio/trunk/gr-qtgui/README
Log:
Modified grc_gr_qtgui.m4 AND the README in gr-qtgui to enable gr-qtgui to build 
from source

Modified: gnuradio/trunk/config/grc_gr_qtgui.m4
===================================================================
--- gnuradio/trunk/config/grc_gr_qtgui.m4       2007-03-02 19:29:01 UTC (rev 
4691)
+++ gnuradio/trunk/config/grc_gr_qtgui.m4       2007-03-02 21:55:22 UTC (rev 
4692)
@@ -36,8 +36,8 @@
        [passed=no;AC_MSG_RESULT([gr-qtgui requires qt, not found. Checking for 
qt-mt])])
     fi
 
-    PKG_CHECK_MODULES(QWT, qwt >= 5.0.0, [],
-    [passed=no;AC_MSG_RESULT([gr-qtgui requires qwt, not found.])])
+    AC_HAVE_LIBRARY(qwt, [],
+       [passed=no;AC_MSG_RESULT([gr-qtgui requires qwt, not found.])])
 
     
     GRC_BUILD_CONDITIONAL([gr-qtgui], [

Modified: gnuradio/trunk/gr-qtgui/README
===================================================================
--- gnuradio/trunk/gr-qtgui/README      2007-03-02 19:29:01 UTC (rev 4691)
+++ gnuradio/trunk/gr-qtgui/README      2007-03-02 21:55:22 UTC (rev 4692)
@@ -5,13 +5,10 @@
 
 For Linux, this may be obtained from:
 
-  http://n4hy.org/Qwt/qwt.spec
-  http://n4hy.org/Qwt/qwt.pc
   http://n4hy.org/Qwt/qwt-5.0.0.tar.bz2
-  http://n4hy.org/Qwt/qwt-5.0.0-1.src.rpm
 
 On NetBSD or other pkgsrc systems, pkgsrc/x11/qwt exists and seems to
-be a much older version linked against qt2.
+be a much older version linked against qt2.  You need qt3!
 
 
 QTDIR is an environment variable that must be set for
@@ -26,12 +23,31 @@
 
 /usr/lib/qt-3.3
 
-by Qt install
+by Qt install from the Fedora Core software setup.
 
-Qwt probably needs to be built and installed for now using
+If you are building from source from n4hy.org, the untar the bz2 ball,
+cd into the qwt-5.0.0 directory and run
 
-rpmbuild --rebuild qwt-5.0.0-1.src.rpm
+qmake
 
+Now edit the file  qwtconfig.pri
+
+and make the INSTALLBASE = /usr/local
+
+
+run 
+
+make
+sudo make install
+
+and qwt will be loaded into /usr/local/lib and the includes will be in
+/usr/local/include
+
+gr-qtgui will now make.
+
+
+
+
 which must be run as root (as in sudo) so that files are
 installed in the proper place for the gnuradio build
 (such as qwt.pc).  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]