Re: Probelm when building QGIS
Mark Prins-2 wrote > On 27-07-18 14:03, tao wrote: >> Rashad Kanavath wrote >>> On Thu, Jul 26, 2018 at 12:36 AM tao >> >>> uponmyword@ >> >>> wrote: >>> >>>> Hello, >>>> >>>> I am in OpenBSD6.3. QGIS 2.18.17 in packages can not render style just >>>> like >>>> things in >>>> >>>> http://openbsd-archive.7691.n7.nabble.com/qgis-bug-since-last-security-update-under-stable-td339707.html >>>> >>>> So, I am trying to build QGIS 2.18.17 from source. >>>> Succeeded to ccmake the source. But get error when make. >>>> Here is the message: >>>> >>>> tao$ make >>>> [ 0%] Built target version >>>> make: don't know how to make >>>> /home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea >>>> (prerequisite of: src/core/qgsexpression_texts.cpp) >>>> Stop in . >>>> *** Error 2 in . (CMakeFiles/Makefile2:1165 >>>> 'src/core/CMakeFiles/qgis_core.dir/all') >>>> *** Error 1 in /home/tao/Software/qgis/build-2.18.22 (Makefile:163 >>>> 'all') >>>> >>>> >>>> Tried to find the file mentioned above >>>> "/home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea >>>> ", >>>> but could not find anything. >>>> >>>> Anyone has an idea? >>>> >>> >>> could you try gmake instead of make? >>> make != gmake (unless you simlink or alias it) >> >> Could not find gmake. And also could not use cmake to build it. >> I think make is the right one. >> >> I have to give up ^ \^ > > snapshots already have qgis 3, so you can upgrade to current to get all > the latest. > > since there is a port, you should start from there (eg. upgrade the qgis > source version and start with that) > -m Thanks for your advice. I have a a lot program which are build from source, so it is hard to upgrade to current. So I continued trying to build from source for several weeks. FINDING: Cmake can not treat file names with '(', ')', ' ', '$', so I replace them to '_'. And that made the build continued. 3 trials were made during the several weeks. Trial 1. Build qgis from ports Trial 2. Build qgis 2.18.22 from source file Trial 3. Build qgis 3.2 from source file All these trials failed with the same error: [ 37%] Built target mdalprovider /bin/sh: ../../output/bin/crssync: Permission denied *** Error 1 in . (src/crssync/CMakeFiles/synccrsdb.dir/build.make:57 'src/crssync/CMakeFiles/synccrsdb': cd /home/tao/Software/qgis/build-3) *** Error 2 in . (CMakeFiles/Makefile2:2841 'src/crssync/CMakeFiles/synccrsdb.dir/all') *** Error 2 in /home/tao/Software/qgis/build-3.2.1 (Makefile:163 'all') I totally did this under user mode, and permission right is okay like: tao$ ./crssync ksh: ./crssync: Permission denied tao$ ls -l ./crssync -rwxr-xr-x 1 tao tao 23149 Aug 9 14:18 ./crssync This really beat me. I also post in QGIS forum http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Build-error-output-bin-crssync-Permission-denied-td5373914.html <http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Build-error-output-bin-crssync-Permission-denied-td5373914.html> Anyone can help? Thanks god! -- Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html
Re: Probelm when building QGIS
Rashad Kanavath wrote > On Thu, Jul 26, 2018 at 12:36 AM tao > uponmyword@ > wrote: > >> Hello, >> >> I am in OpenBSD6.3. QGIS 2.18.17 in packages can not render style just >> like >> things in >> >> http://openbsd-archive.7691.n7.nabble.com/qgis-bug-since-last-security-update-under-stable-td339707.html >> >> So, I am trying to build QGIS 2.18.17 from source. >> Succeeded to ccmake the source. But get error when make. >> Here is the message: >> >> tao$ make >> [ 0%] Built target version >> make: don't know how to make >> /home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea >> (prerequisite of: src/core/qgsexpression_texts.cpp) >> Stop in . >> *** Error 2 in . (CMakeFiles/Makefile2:1165 >> 'src/core/CMakeFiles/qgis_core.dir/all') >> *** Error 1 in /home/tao/Software/qgis/build-2.18.22 (Makefile:163 'all') >> >> >> Tried to find the file mentioned above >> "/home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea ", >> but could not find anything. >> >> Anyone has an idea? >> > > could you try gmake instead of make? > make != gmake (unless you simlink or alias it) That sounds make sense, I will check and try that tonight. Report later. Thanks! Tao Rashad Kanavath wrote >> >> >> >> >> -- >> Sent from: >> http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html >> >> > > -- > Regards, >Rashad -- Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html
Re: Probelm when building QGIS
Rashad Kanavath wrote > On Thu, Jul 26, 2018 at 12:36 AM tao > uponmyword@ > wrote: > >> Hello, >> >> I am in OpenBSD6.3. QGIS 2.18.17 in packages can not render style just >> like >> things in >> >> http://openbsd-archive.7691.n7.nabble.com/qgis-bug-since-last-security-update-under-stable-td339707.html >> >> So, I am trying to build QGIS 2.18.17 from source. >> Succeeded to ccmake the source. But get error when make. >> Here is the message: >> >> tao$ make >> [ 0%] Built target version >> make: don't know how to make >> /home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea >> (prerequisite of: src/core/qgsexpression_texts.cpp) >> Stop in . >> *** Error 2 in . (CMakeFiles/Makefile2:1165 >> 'src/core/CMakeFiles/qgis_core.dir/all') >> *** Error 1 in /home/tao/Software/qgis/build-2.18.22 (Makefile:163 'all') >> >> >> Tried to find the file mentioned above >> "/home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea ", >> but could not find anything. >> >> Anyone has an idea? >> > > could you try gmake instead of make? > make != gmake (unless you simlink or alias it) Could not find gmake. And also could not use cmake to build it. I think make is the right one. I have to give up ^ \^ Rashad Kanavath wrote >> >> >> >> >> -- >> Sent from: >> http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html >> >> > > -- > Regards, >Rashad -- Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html
Re: Probelm when building QGIS
If there is any alternatives of QGIS I can use in OpenBSD, please tell me. Thanks in advance. Tao -- Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html
Re: Probelm when building QGIS
Hi, Solene Thank you for your reply. I followed the instructions in QGIS github to build it. https://github.com/qgis/QGIS/blob/master/INSTALL Steps: 1. $ cd $QGIS_SOURCE 2. $ mkdir build 3. $ cd build 4. $ ccmake .. (make WITH_QWTPOLAR=OFF and leave others default) The error mentioned in the earliest post occurred during Step 4. "/home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea " I could not find the above file in source folder or build folder. If I could build from source, I have to find alternatives of QGIS. But there seems no other GIS desktops in OpenBSD packages. PS:I re-posted this message because I forget to quote in my last reply. Forgive my mistake. Solene Rapenne wrote > tao > uponmyword@ > wrote: >> Hello, >> >> I am in OpenBSD6.3. QGIS 2.18.17 in packages can not render style just >> like >> things in >> http://openbsd-archive.7691.n7.nabble.com/qgis-bug-since-last-security-update-under-stable-td339707.html >> >> So, I am trying to build QGIS 2.18.17 from source. >> Succeeded to ccmake the source. But get error when make. >> Here is the message: >> >> tao$ make >> [ 0%] Built target version >> make: don't know how to make >> /home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea >> (prerequisite of: src/core/qgsexpression_texts.cpp) >> Stop in . >> *** Error 2 in . (CMakeFiles/Makefile2:1165 >> 'src/core/CMakeFiles/qgis_core.dir/all') >> *** Error 1 in /home/tao/Software/qgis/build-2.18.22 (Makefile:163 'all') >> >> >> Tried to find the file mentioned above >> "/home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea ", >> but could not find anything. >> >> Anyone has an idea? >> >> >> >> >> -- >> Sent from: >> http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html > > qgis uses cmake -- Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html
Probelm when building QGIS
Hello, I am in OpenBSD6.3. QGIS 2.18.17 in packages can not render style just like things in http://openbsd-archive.7691.n7.nabble.com/qgis-bug-since-last-security-update-under-stable-td339707.html So, I am trying to build QGIS 2.18.17 from source. Succeeded to ccmake the source. But get error when make. Here is the message: tao$ make [ 0%] Built target version make: don't know how to make /home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea (prerequisite of: src/core/qgsexpression_texts.cpp) Stop in . *** Error 2 in . (CMakeFiles/Makefile2:1165 'src/core/CMakeFiles/qgis_core.dir/all') *** Error 1 in /home/tao/Software/qgis/build-2.18.22 (Makefile:163 'all') Tried to find the file mentioned above "/home/tao/Software/qgis/qgis-2.18.22/resources/function_help/json/rea ", but could not find anything. Anyone has an idea? -- Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html
touchpad are not detected? OpenBSD 6.3 [LENOVO YOGA 3 PRO-1370]
hello, I installed OpenBSD 6.3 in my LENOVO YOGA 3 PRO-1370. Left and right button click of touchpad works well. But I don't know how to configure it to twofingerscroll. I searched a lot about this. And found that my touchpad device may not be detected? Here is some information, please help me!!! tao# uname -a >> OpenBSD tao 6.3 GENERIC.MP#107 amd64 tao# dmesg | grep synaptcs >> nothing appears tao# dmesg | grep psm >> nothing appears tao# xinput + Virtual core pointer id=2[master pointer (3)] | + Virtual core XTEST pointerid=4[slave pointer (2)] | + /dev/wsmouse id=7[slave pointer (2)] + Virtual core keyboard id=3[master keyboard (2)] + Virtual core XTEST keyboard id=5[slave keyboard (3)] + /dev/wskbdid=6[slave keyboard (3)] tao# wsconsctl | grep mouse wsconsctl: Use explicit arg to view keyboard.map. mouse.type=usb mouse.rawmode=1 mouse.scale=0,0,0,0,0,0,0 tao# dmesg OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8489857024 (8096MB) avail mem = 8225488896 (7844MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6f70 (65 entries) bios0: vendor LENOVO version "A6CN38WW" date 09/30/2014 bios0: LENOVO 80HE acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI MSDM ASPT DBGP LPIT MCFG SSDT SSDT SSDT SSDT BOOT APIC SSDT SSDT ASF! WDAT UEFI HPET DMAR CSRT FPDT acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) GLAN(S4) EHC1(S4) EHC2(S4) XHC_(S3) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Processor 5Y70 CPU @ 1.10GHz, 1197.41 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache acpitimer0: recalibrated TSC frequency 1296997480 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Processor 5Y70 CPU @ 1.10GHz, 1197.23 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Processor 5Y70 CPU @ 1.10GHz, 1197.23 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Processor 5Y70 CPU @ 1.10GHz, 1197.23 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins acpihpet0 at acpi0: 14318179 Hz acpihpet0: recalibrated TSC frequency 1296979210 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG0) acpiprt2 at acpi0: bus -1 (PEG1) acpiprt3 at acpi0: bus -1 (PEG2) acpiprt4 at acpi0: bus -1 (RP01) acpiprt5 at acpi0: bus -1 (RP02) acpiprt6 at acpi0: bus 1 (RP03) acpiprt7 at acpi0: bus -1 (RP0