#QGIS IRC Log - 2009-06-16

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
00:00:16 macho: timlinux!
00:00:38 macho: http://www.qgis.org/wiki/2._QGIS_Hackfest_in_Vienna_2009
00:00:39 sigq: Title: 2. QGIS Hackfest in Vienna 2009 - Quantum GIS Wiki ( at www.qgis.org )
00:00:40 macho: are you attending?
00:06:27 doktoreas: hello folks
00:06:35 doktoreas: just svn updated and got this thing:
00:06:42 doktoreas: CMake Error: Error in cmake code at
00:06:42 doktoreas: /usr/src/qgis_unstable/src/plugins/grass/CMakeLists.txt:7:
00:06:42 doktoreas: Parse error. Function missing ending " )". Instead found left paren with text "( ".
00:06:55 macho: comment out line 7-9
00:07:44 doktoreas: are you changing on the svn?
00:07:52 macho: no - its just a workaround
00:07:53 doktoreas: don't wanna touch the code by my own :D
00:07:53 macho: :D
00:22:26 timlinux: hi macho
00:22:46 timlinux: macho, assuming I can get my travel costs covered, for sure I'll be there
00:23:14 timlinux: doktoreas, I just built a few mins ago with no probs
00:23:35 doktoreas: ok timlinux
00:24:02 macho: timlinux: we dicussed that error yesterday but 3 ppl did not find a solution other than commenting out line 7-9
00:28:15 timlinux: did you guys try out the new editing changes?
00:28:21 timlinux: for me its a little wonky
00:28:35 timlinux: like the move vertex moves the whole feature
00:28:39 : * macho did not try it until now
00:29:21 timlinux: ah the reason it built for me is that I am building without grass
00:29:26 timlinux: on this computer
00:32:05 macho: yeah - it has something to do with where grass lies .. but i cant find any typo in that notet area line 7
00:32:58 timlinux: macho been looking too seems ok
00:33:13 timlinux: trying to tell cmake to use grass then I can investigate better
00:33:42 timlinux: macho, what is your grass prefix in ccmake?
00:34:00 macho: cgs_bob posted the error yesterday
00:34:02 macho: http://osgeo.pastebin.com/d6c71ae22
00:34:03 sigq: Title: osgeo private pastebin - collaborative debugging tool ( at osgeo.pastebin.com )
00:34:40 macho: my grass prefix is aiming to my self compiled grass64-svn in /opt/grass/grass64-svn.....
00:35:04 macho: because new qgis trunk wont work with grass62 coming with debian
00:35:14 : * timlinux chucks away his build dir and reconfigures
00:37:01 timlinux: hmmm cmake no longer seems to pick up my ubuntu grass install
00:37:23 timlinux: macho, I sent a message to the list about that yesterday - they said they fixed it
00:38:18 : * macho has not tried the latest trunk from today
00:38:26 : * macho is currently @work
00:38:28 macho: : )
00:41:42 jef: timlinux: that should be fixed
00:49:30 macho: what was the mistake?
00:51:13 timlinux: jef, Hi yes I can see the conditional for grass in the CMakeLists
00:51:28 timlinux: basically it falls back to 6.3 modules list if version is older
00:51:36 timlinux: er falls forward I guess
00:56:07 jef: macho: so you exchanges one breakage with another? grass 6.2 should be fine now. did LD_LIBRARY_PATH help?
00:56:29 jef: s/exchanges/exchanged/
00:57:57 timlinux: http://linfiniti.com/dla/ <-- some qgis goodies for all to enjoy
00:57:58 sigq: Title: Introduction to GIS ( at linfiniti.com )
01:03:51 doktoreas: timlinux, that is great!
01:29:54 macho: LD_LIBRARY_PATH helped
01:30:33 macho: jef: but the error from cgs_bob still persists
01:30:39 macho: but i havent tried since yesterday evening
01:46:32 timlinux: jef, I cant get it to pick up grass at all
01:46:38 timlinux: I do a clean run like
01:46:54 timlinux: rm build; mkdir build; cd build; cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=True -DCMAKE_INSTALL_PREFIX=/home/timlinux/apps/qgis_trunk/ -DGRASS_PREFIX=/usr
01:47:21 : * jef does dpkg-buildpackage
01:49:54 : * timlinux pokes around in the FindGRASS script
01:50:50 timlinux: jef, are you building with grass 6.4 from ubuntu gis repo?
01:51:02 timlinux: ii grass 6.4.0~rc4-3jaunty1 Geographic Resources Analysis Support System
01:51:02 timlinux: ii grass-dev 6.4.0~rc4-3jaunty1 GRASS GIS development files
01:51:07 timlinux: those are what I have installed
01:51:30 jef: timlinux: no. didn't you say you were using debian and grass 6.2?
01:51:38 macho: jef: that was me
01:51:52 macho: but i changed to 6.4svn yesterday
01:51:55 macho: selfcompiled
01:52:34 jef: well, nm. unstable is at 6.4.0~rc5-1
01:52:48 : * jef obviously doesn't care much about grass
01:53:25 : * macho does only want to enable the plugin
01:57:34 timlinux: ah ok Im using the wrong grass prefix
01:57:44 timlinux: cd ..; rm -rf build; mkdir build; cd build; cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=True -DCMAKE_INSTALL_PREFIX=/home/timlinux/apps/qgis_trunk/ -DGRASS_PREFIX=/usr/lib/grass64; ls src/plugins/
01:57:57 timlinux: replicates the parenthesis error mentioned above
02:02:26 doktoreas: folks I have noticed that also if cmake find my grass installation, the plugin is not available
02:02:32 doktoreas: using grass 6.4.0svn
02:02:47 macho: doktoreas: same problem i had
02:02:58 doktoreas: ah ok
02:02:59 macho: you got to add the lib dir of your grass installation added to /etc/so.conf
02:03:07 macho: that solved it for me
02:03:18 timlinux: I fixed it here
02:05:31 doktoreas: timlinux, same solution?
02:05:52 timlinux: doktoreas, commit coming in...
02:05:57 timlinux: test to see if it works for you
02:06:07 timlinux: doktoreas, how is the planet integration going?
02:06:51 CIA-65: timlinux * r10937 /trunk/qgis/src/plugins/grass/CMakeLists.txt: Fix Parse error. Function missing ending ). Instead found left paren with text ( . on line 7. Did this by separating logic for 'directory present' and 'is a directory' checks
02:07:18 doktoreas: timlinux, not my project
02:07:22 doktoreas: Working on wps plugin
02:07:30 timlinux: ah
02:13:02 : * doktoreas building
02:22:26 doktoreas: timlinux, but the tip form macho is still mandatory?
02:32:49 timlinux: doktoreas, what was his tip?
02:33:31 doktoreas: you got to add the lib dir of your grass installation added to /etc/so.conf
02:33:49 timlinux: I think you will need to do that too
02:34:16 timlinux: not having that will be a compile or run time error, not a makefile generation error
02:35:42 macho: timlinux: without adding the library path it compiles without any error - but the pugin just sont appear in qgis
02:36:50 timlinux: right I would expect that
02:37:29 doktoreas: timlinux, no errors during the make
02:37:39 doktoreas: yep
02:37:44 doktoreas: ok not doing this
02:37:47 doktoreas: *now
02:42:03 doktoreas: working fine, thx :D
03:24:20 mmarc__: hi! I'm sorry, maybe oftp, could you please suggest a channel to discuss netCDF format internals, if there is one. Thanks!
04:10:11 timlinux: mmarc__, try #gdal
04:11:22 mmarc__: timlinux: hi, thanks, I asked there too, no answers at the moment.
04:53:52 mmarc__: solved, thank you!
06:05:03 CIA-65: kyngchaos * r10938 /trunk/qgis/mac/xcode/Qgis.xcodeproj/project.pbxproj: GRASS qgc update ( r10930 ); optimize GRASS module install
06:06:26 sigq: tracfeed: Changeset [10938]: GRASS qgc update ( r10930 ); optimize GRASS module install <https://trac.osgeo.org/qgis/changeset/10938>
07:28:29 cgs_bob: timlinux: hi there! And thanks for the grass cmake fix. btw, there is still the problem of grass 6.5.svn users not being able compile qgis due to a lack of a modules-6.5 directory. I was able to create a symlink between modules-6.4 and modules-6.5 and all works for me.
07:31:14 timlinux: hi cgs_bob
07:31:57 timlinux: cgs_bob, yeah Im not convinced if that modules dirs approach is the best way to go but I dont have a better suggestion at this stage either
07:40:35 cgs_bob: timlinux: I like the old approach because you can find problems faster. Anyways...I checked all the grass commands and found no problems bring up the forms ( except for 2 which was addressed in changeset 10936 ). So, I think it is safe to create a modules-6.5 directory
07:53:20 cgs_bob: I say faster because devs won't be aware of new changes in grass 6.5.svn : )
07:53:20 cgs_bob: anyways...I got to get. bbiab
08:23:35 il_rugginoso: jef: are you here?
08:23:57 jef: ack
08:24:04 il_rugginoso: hi :D
08:24:21 il_rugginoso: i'm trying qgis trunk on windows
08:24:47 il_rugginoso: when I try to start the grass shell it says that it don't find rxvt.exe
08:25:11 il_rugginoso: wait, i'll write you some other details
08:29:56 il_rugginoso: the file not found is: C:\OSGeo4W\apps\qgis-dev\bin\msys\bin\rxvt.exe
08:31:13 il_rugginoso: jef: it's my fault? :P
08:34:03 jef: il_rugginoso: did you change %COMSPEC%
08:34:04 jef: ?
08:35:16 il_rugginoso: qgis was installed by pcav
08:35:19 il_rugginoso: uhm
08:35:39 il_rugginoso: he says he didn't change anything
08:37:02 jef: il_rugginoso: so what does echo %COMSPEC% give?
08:38:48 il_rugginoso: C:\WINDOWS\System32\cmd.exe
08:42:16 jef: il_rugginoso: hm, works here.
08:42:24 il_rugginoso: uh ok
08:42:37 il_rugginoso: maybe a bad installation...
08:42:49 il_rugginoso: i'll try to install qgis on a vm by myself
08:43:42 il_rugginoso: I have to confirm/close the tickets about the grass shell
09:04:05 darkblue_B: timlinux: hello
10:15:31 macho: jef: available?
10:15:47 jef: macho: kind of
10:16:19 macho: newly svn co -> same buildfile but -- Could not find GRASS
10:16:52 macho: i've only set cmake -Wno-dev -D GRASS_INCLUDE_DIR=.....
10:17:00 macho: anything else i should set in the script?
10:18:46 jef: macho: check out CMAKE_OPTS in debian/rules
10:20:21 macho: ACK
10:23:48 macho: its been GRASS_PREFIX .. but why did it work without before?
10:25:04 jef: macho: you grass was in /usr/lib/grass
10:25:11 jef: +r
10:26:42 macho: the debian one i deinstalled ..
10:26:46 macho: now it is in /opt/grass64/grass-6.4.0svn
10:27:08 macho: but yesterday it worked with /opt/grass64/grass-6.4.0svn also
10:29:35 macho: and without setting GRASS_PREFIX
10:31:44 jef: macho: well, then I don't know.
10:34:09 macho: doesnt matter as long as it works again now : )
10:44:41 darkblue_B: timlinux: you there?