SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I really don't know how to address that, I have everything up to date.
I think the relevant error is this
Code:
xs/Gtk2.c: loadable library and perl binaries are mismatched (got handshake key 0xce00080, needed 0xcd00080)
mainly it means that you built and installed some perl packages (or something from CPAN) when you have installed a previous version of perl and, after that, you upgraded perl to a version that is binary incompatible with the previous you had installed.
the only practical solution I know for that is uninstall any third-party perl thing you have on your system (the ones shipped with current have been already rebuilt and are okay) and rebuild/reinstall it over the newer perl.
I installed some perl modules though the webmin interface (the suggested ones, I don't remember their names) and they're all up to date.
I solved removing the package perl-gtk2-1.24992-x86_64-1_ponce first.
I was trying to rebuild the last one and perl-pango was a dependency.
always remember what's written in the first post of the thread
Quote:
Originally Posted by ponce
SBo supports building its own scripts on clean slackware full installation: we would go crazy trying to support any setup out there that we have not tested ourself for everyone of our 5000+ scripts.
this policy applies also on this humble, unofficial, attempt to let SBo things build on current.
following this it should be obvious that issues related to custom installs shouldn't belong in this thread: please open another one to discuss such things, also if you are not sure if the error you got is related but you are aware that your setup is a non-standard one.
describe your problem here only if you are absolutely sure that it has nothing to do with your custom setup.
there's nothing to be added in our repository for the benefit of other slackers if someone is missing dependencies from a slackware full installation or has stuff installed in /usr/local or has installed other third party non-SBo stuff that might be incompatible and so on.
there's no need to say it but if someone else don't agree with this policy and wants to support also non-standard setups is free to do it (but in another topic ).
so, what is this thread for?
risking to be repetitive, report issues here only if you have already tried the scripts from our repository and they won't build on a clean and full installation of Slackware current.
if you keep having issues in building stuff on the same installation (that doesn't respect those prerequisites), please open a new topic.
Is there any successful experience installing qgis and its dependent packages?
I tried but got a couple of gdal compilation errors.
The 1st one was about poppler, the current version 0.68 makes compilation stop for a pdfobject.cpp file line 1058.
I removed that package and installed the 14.2 64 version of poppler (v. 0.45) and the error was gone.
Unfortunately gdal didn't compile yet. It stopped because of a missing library lcms2.
I don't know why it wasn't installed, or better, it was removed when I updated to current.
I installed the Slackware64 current version, restarted sbopkg -i qgis but gdal stopped again with the following error:
Code:
/bin/grep: /usr/lib64/liblcms2.la: No such file or directory
/bin/sed: can't read /usr/lib64/liblcms2.la: No such file or directory
libtool: link: `/usr/lib64/liblcms2.la' is not a valid libtool archive
make[1]: *** [GNUmakefile:55: libgdal.la] Error 1
make[1]: Leaving directory '/tmp/SBo/gdal-2.2.4'
What can I do? Can I create a .la file? Or is there some compile option to disable the use of .la file?
Read the changelog entry concerning .la files in current, it should make the solution very clear.
I'm sorry but I don't understand your suggestion.
The changelog suggests to remove any third party .la file but my problem is that a 3rd party program (gdal) is trying to use a removed .la file.
The solution should be a patch to gdal or to gdal.SlackBuild that tells the "compiler" not to use .la files.
Other question:
As I wrote in order to compile gdal I had to remove poppler current packages and install the previous version. Now my system is "tainted" in the sbo-git sense. What should I do?
I'm sorry but I don't understand your suggestion.
The changelog suggests to remove any third party .la file but my problem is that a 3rd party program (gdal) is trying to use a removed .la file.
The solution should be a patch to gdal or to gdal.SlackBuild that tells the "compiler" not to use .la files.
Other question:
As I wrote in order to compile gdal I had to remove poppler current packages and install the previous version. Now my system is "tainted" in the sbo-git sense. What should I do?
your system was actually already tainted regarding the prerequisites asked in the first post: the error you are reporting is relative not to gdal asking for a *.la file but another third party package that you have built in the past (before the date of the removal of the *.la files) that is a dependency of gdal and that linked to liblcms2.la.
you should have no problems building gdal on a clean and full installation of slackware current, I tested it just a few days ago, but you have to use the scripts from this repository (where, for example, gdal is patched for the newer poppler).
your system was actually already tainted regarding the prerequisites asked in the first post: the error you are reporting is relative not to gdal asking for a *.la file but another third party package that you have built in the past (before the date of the removal of the *.la files) that is a dependency of gdal and that linked to liblcms2.la.
you should have no problems building gdal on a clean and full installation of slackware current, I tested it just a few days ago, but you have to use the scripts from this repository (where, for example, gdal is patched for the newer poppler).
I installed slackware current from scratch at the end of september (you answered to a couple of my posts about sbopkg on slacky.eu). I only used sbo-git to install any package.
The only prerequisite I didn't follow is to rsync sbopkg. I kept my system sort of freezed to last september.
Could I be so unlucky that gdal wasn't already compiling at that time?
Anyway, I can rsync sbopkg but if, as you suggest, my system is already tainted, I'd get some other compilation problem.
Do you have any suggestion on how to find the 3rd party package that in your opinion is the cause of the error?
I installed slackware current from scratch at the end of september (you answered to a couple of my posts about sbopkg on slacky.eu). I only used sbo-git to install any package.
if you have stuff still using the *.la files you probably also installed some prebuilt package that still used them, this is my best guess.
Quote:
The only prerequisite I didn't follow is to rsync sbopkg. I kept my system sort of freezed to last september.
Could I be so unlucky that gdal wasn't already compiling at that time?
Anyway, I can rsync sbopkg but if, as you suggest, my system is already tainted, I'd get some other compilation problem.
Do you have any suggestion on how to find the 3rd party package that in your opinion is the cause of the error?
finding the offending package could need a long search: IMHO the best advice, like orbea already suggested, is the one you can find in the ChangeLog
Quote:
IMPORTANT NOTE: If you have any third party or other packages installed on
your system that don't come with Slackware, and those packages have installed
any .la files, it is very likely that they refer to some .la files which we
have just removed, and that trying to compile against these packages will no
longer work. Luckily, the solution is simple: remove them. This command will
remove any stale .la files from the LD_LIBRARY_PATH:
rm /{,usr/}lib{,64}/*.la
finding the offending package could need a long search: IMHO the best advice, like orbea already suggested, is the one you can find in the ChangeLog
Ok, but the changelog suggestion is from april 2018. I installed current in september 2019. I searched /usr/lib64 and there are 1179 .la files.
Why is that?
They don't appear to come from 3rp party packages but from slackware itself: gimp, sane, gtk and so on...
My understanding of the changelog was that current removed .la files. I suppose something went wrong on my system when I updated to current. Or are there any other explanations?
p.s. I found out what 3rd party package could have tainted my system: I had to install Brother printer drivers but I can't find a log file.
Ok, but the changelog suggestion is from april 2018. I installed current in september 2019. I searched /usr/lib64 and there are 1179 .la files.
Why is that?
They don't appear to come from 3rp party packages but from slackware itself: gimp, sane, gtk and so on...
My understanding of the changelog was that current removed .la files. I suppose something went wrong on my system when I updated to current. Or are there any other explanations?
p.s. I found out what 3rd party package could have tainted my system: I had to install Brother printer drivers but I can't find a log file.
first you said you installed current from scratch, just above you say you updated to current...
don't get me wrong, but as your system is clearly not a clean and full install of slackware current as indicated in the first post of the topic can you please open a new one to discuss this?
first you said you installed current from scratch, just above you say you updated to current...
don't get me wrong, but as your system is clearly not a clean and full install of slackware current as indicated in the first post of the topic can you please open a new one to discuss this?
I followed this https://docs.slackware.com/slackware:current
It states "cleanly install or upgrade your installation to the latest stable version first".
So 1st I installed 14.2 and after that I "updated" to current as stated in that page.
But now I fear there are other ways to install current... :-(
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.