Difficulty re-building qgis after -current64 update
QGIS failed to run after the latest "near-beta" updates on -current64 due to a library incompatibility. No great surprise there - I assumed that a re-build using the slackbuild would fix it. I used the awesome sqg queue file generator which resulted in a queue of 13 packages. All of them build fine except gdal and packages that require gdal (qgis itself and postgis). The gdal build fails after a good deal of compilation with the following error messages:
../GDALmake.opt:565: recipe for target 'gdalserver.lo' failed make[1]: *** [gdalserver.lo] Error 1 make[1]: Leaving directory '/tmp/SBo/gdal-1.11.2/apps' GNUmakefile:69: recipe for target 'apps-target' failed make: *** [apps-target] Error 2 Not sure how to try and fix this. Any ideas welcome. |
I would first try contacting the upstream developers to see if they have any noted problems with the latest gcc, glibc, make, and other compile-time packages.
Usually when I've had those recipe errors it's a problem with something related to GCC or glibc. And usually only a patch is the only help. Start with upstream and even check other distributions like Arch and Gentoo yo see if they have patches. |
That definitely looks like a gdal build problem. It would be helpful if you could find the actual error message instead of just where it crapped out. The number of packages failing to build with -current since the 29 October update is into the hundreds. I started a build of the whole repo yesterday; it'll be on gis/ maybe Wednesday, and finish possibly Thursday or Friday. I've also got a day job, and this is radio show week, so it'll maybe be as late as the weekend -- sorry. Your existing packages should still run ok afaik.
|
gdal issue solved and all other packages now build correctly including qgis itself.
The issue seems to be that as I was using ponce's unofficial -current repository as the source of packages for sbopkg, I got gdal version 1.11.2 and this version would not build with errors as reported in my original post. However when I checked on slackbuilds.org I found that they were providing gdal version 1.11.3 as the Slackware 14.1 package. I downloaded this and it built with no problems, after which postgis and qgis were also built fine. Thanks to those who offered help. Hope this solution helps others. |
hi bogzab,
I think you most probably have an old version of my repository as I pushed the new gdal build script just hours after it has been merged on SBo on sep 26th: to verify which version of my repo you got, just check the output of Code:
cd /var/lib/sbopkg/SBo-git/ if you have problem downloading the new version use this procedure Code:
rm -fR /var/lib/sbopkg/SBo-git |
Excellent, thanks for solving this on your own!
The gdal branch was removed from ponce's repo when I pushed the 1.11.3 update. You can keep your copy of ponce's repo up to date like this: Code:
git checkout -f master |
Many thanks, ponce, for the additional advice.
For some reason (maybe the "this can confuse git a little" issue which you mention here ) my re-syncing in sbopkg was clearly not working. I followed your advice and deleted the local copy completely and the re-sync then worked fine and I have an SBo-current repository which contains gdal version 1.11.3. |
All times are GMT -5. The time now is 03:45 PM. |