[Qgis-user] QGis Fedora Build Error
Hi, I am trying to build qgis.0.8.0 on Fedora. But I am always getting the following error. creating libqgis_core.la (cd .libs rm -f libqgis_core.la ln -s ../libqgis_core.la libqgis_core.la) make[4]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src/core' make[3]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src/core' Making all in ui make[3]: Entering directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src/ui' make[3]: *** No rule to make target `ui_qgisappbase.h', needed by `all'. Stop. make[3]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src/ui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0' make: *** [all] Error 2 [EMAIL PROTECTED] qgis-0.8.0]# Any help is appreciated. Thanks. Regards, Ela. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.8/797 - Release Date: 5/10/2007 5:10 PM ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] QGis Fedora Build Error
I somehow managed to configure, build and install qgis-0.8.0 WITHOUT Postgres. Hope this post will be useful for someone who'll be facing the same issues. These are the steps I followed: 1. Installed all qgis-0.8.0 dependencies as per the document. In particular installed 'qt-x11-opensource-src-4.2.3' under the location '/usr/local/Trolltech/Qt-4.2.3'. 2. Configured qgis using the the following command: ./configure --with-qtdir=/usr/local/Trolltech/Qt-4.2.3 --prefix=/usr/local/qgis (Note: I didn't mention about other libraries like gdal, geos etc... These are taken automatically as they are usually installed in the default location.) 3. After successful configuration, I issued the command 'make' (this will take some time) and then the command 'sudo make install' 4. 'qgis' execuatble can be foung at '/usr/local/qgis/bin'. 5. In command prompt go to the location '/usr/local/qgis' and issue the command './bin/qgis'. or In a file browser go to the location '/usr/local/qgis/bin' and then open (double click on) 'qgis' executable file. qgis application will be loaded for you. 6. That's all !!!. I'm not sure whether this is the correct way to install qgis but it worked for me. Someone please correct if I'm wrong. Hope you find this post useful. Will try with Postgres and let you asap. Regards, Ela On Fri, 2007-05-11 at 14:26 +0530, Elavazhagan.M wrote: Hi, I am trying to build qgis.0.8.0 on Fedora. But I am always getting the following error. creating libqgis_core.la (cd .libs rm -f libqgis_core.la ln -s ../libqgis_core.la libqgis_core.la) make[4]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src/core' make[3]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src/core' Making all in ui make[3]: Entering directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src/ui' make[3]: *** No rule to make target `ui_qgisappbase.h', needed by `all'. Stop. make[3]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src/ui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/.local/share/Trash/files/qgis-0_7.8.0' make: *** [all] Error 2 [EMAIL PROTECTED] qgis-0.8.0]# Any help is appreciated. Thanks. Regards, Ela. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.8/797 - Release Date: 5/10/2007 5:10 PM ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user -- Thanks. Regards, Elavazhagan.M ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
[Qgis-user] Help Needed - Building qgis with Postgres
Hi, I am trying to configure qgis with PostGreSQL-8.1.9 support using the following command: ./configure \ --with-qtdir=/usr/local/Trolltech/Qt-4.2.3 \ --prefix=/usr/local/qgis \ --with-gdal=/usr/local/bin/gdal-config \ --with-postgresql=/usr/local/pgsql/bin/pg_config \ --with-geos=/usr/local/bin/geos-config \ --with-sqlite3dir=/usr/local \ --with-grass=/usr/local/grass-6.2.1 As mentioned in the above command, I have installed all the required libraries in those locations only. But, the result of the command is like the following with no version information of PostGreSQL. == qgis 0.8.0 -- GDAL/OGR : yes (Version 1.4.1) GEOS : yes (Version 2.2.3) PostgreSQL: yes (Version ) GRASS : yes SPIT : yes Georeferencer : no WFS : no GPS/GPX : yes PROJ4 : yes SQLITE3 : yes Python: no CPPFLAGS : -I/usr/local/include CXXFLAGS : -g -O2 Debug : no Plugin dir: /usr/local/qgis/lib/qgis The binary will be installed in /usr/local/qgis/bin The build is using Qt in /usr/local/Trolltech/Qt-4.2.3 Linking with Qt using -lQtCore -lQt3Support -lQtGui -lQtNetwork -lQtSvg -lQtCore -lQt3Support -lQtGui -lQtNetwork -lQtXml -lQtSvg -lQtTest -lQtDesigner -- Configure finished, type 'make' to build. - After configuring with the above command, when I run 'make' it gives me the following error: -- creating libqgis_core.la (cd .libs rm -f libqgis_core.la ln -s ../libqgis_core.la libqgis_core.la) make[4]: Leaving directory `/root/gis/downloads/qgis/qgis-0.8.0/src/core' make[3]: Leaving directory `/root/gis/downloads/qgis/qgis-0.8.0/src/core' Making all in ui make[3]: Entering directory `/root/gis/downloads/qgis/qgis-0.8.0/src/ui' make[3]: *** No rule to make target `ui_qgisappbase.h', needed by `all'. Stop. make[3]: Leaving directory `/root/gis/downloads/qgis/qgis-0.8.0/src/ui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/gis/downloads/qgis/qgis-0.8.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/gis/downloads/qgis/qgis-0.8.0' make: *** [all] Error 2 - Do anyone know what are the possible causes for this error? (I'm facing this build error only when I include PostGreSQL support.) Kindly help me out to resolve this issue. Thanks. Regards, Ela. ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
[Qgis-user] Problem instantiating QPSQLDriver Object
Hello, I'm trying to connect to Postgres database from my QGis plug-in. Connection to Postgres succeeds with the following code (i.e. PQstatus( postgresPGconn ) returns CONNECTION_OK ) : PGconn *postgresPGconn = PQconnectdb(host=localhost user=postgres port=5432 dbname=test); But, I am not able to instantiate a QPSQLDriver object. As mentioned in the Qt documentation, if I include the file qsql_psql.cpp using #include directive, my plug-in is not getting recognized by the QGis plug-in manager. What might be wrong? Any help on this? Thanks. Regards, Ela. ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
[Qgis-user] Help Needed - QGis Plugin Windows Build
Dear QGis users, I have successfully built my QGis-plugin on Linux. I need to compile the same for Windows. I am following the steps given in 'Building Windows binaries on Linux' blog. I have downloaded svn head and pasted my code under 'src/plugins/My Plugin Directory'. My question is 'What are all changes I need to make to other files so that my plugin is also get compiled'? Any help on this? Thanks in Advance. Regards, Ela. ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user