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.
yes, that happens because it has been updated on SBo and now the patch for gcc >= 10.x is most probably not necessary anymore...
thanks for the report!
GraphicsMagic does not build. It is a very strange compilation error:
Code:
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lGraphicsMagick
Generating a Unix-style Makefile
Writing Makefile for Graphics::Magick
Writing MYMETA.yml and MYMETA.json
cp Magick.pm blib/lib/Graphics/Magick.pm
AutoSplitting blib/lib/Graphics/Magick.pm (blib/lib/auto/Graphics/Magick)
Running Mkbootstrap for Magick ()
chmod 644 "Magick.bs"
"/usr/bin/perl5.32.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magick.bs blib/arch/auto/Graphics/Magick/Magick.bs 644
"/usr/bin/perl5.32.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/tmp/SBo/GraphicsMagick-1.3.35/PerlMagick/typemap' Magick.xs > Magick.xsc
mv Magick.xsc Magick.c
gcc -c -I../ -I.. -I/usr/include/freetype2 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fopenmp -O2 -fPIC -Wall -pthread -O2 -fPIC -DVERSION=\"1.3.35\" -DXS_VERSION=\"1.3.35\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
In file included from Magick.xs:57:
/usr/lib64/perl5/CORE/perl.h:1363:12: fatal error: netdb.h: No such file or directory
1363 | # include <netdb.h>
| ^~~~~~~~~
compilation terminated.
When I tried to follow this, netdb.h is a part of glibc and perl.h is coming from the perl 5.32.0 package. I'm not sure how to fix this! Any help would be appreciated.
GraphicsMagic does not build. It is a very strange compilation error:
Code:
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lGraphicsMagick
Generating a Unix-style Makefile
Writing Makefile for Graphics::Magick
Writing MYMETA.yml and MYMETA.json
cp Magick.pm blib/lib/Graphics/Magick.pm
AutoSplitting blib/lib/Graphics/Magick.pm (blib/lib/auto/Graphics/Magick)
Running Mkbootstrap for Magick ()
chmod 644 "Magick.bs"
"/usr/bin/perl5.32.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magick.bs blib/arch/auto/Graphics/Magick/Magick.bs 644
"/usr/bin/perl5.32.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/tmp/SBo/GraphicsMagick-1.3.35/PerlMagick/typemap' Magick.xs > Magick.xsc
mv Magick.xsc Magick.c
gcc -c -I../ -I.. -I/usr/include/freetype2 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fopenmp -O2 -fPIC -Wall -pthread -O2 -fPIC -DVERSION=\"1.3.35\" -DXS_VERSION=\"1.3.35\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
In file included from Magick.xs:57:
/usr/lib64/perl5/CORE/perl.h:1363:12: fatal error: netdb.h: No such file or directory
1363 | # include <netdb.h>
| ^~~~~~~~~
compilation terminated.
When I tried to follow this, netdb.h is a part of glibc and perl.h is coming from the perl 5.32.0 package. I'm not sure how to fix this! Any help would be appreciated.
Hi Dan,
I just tested building GraphicsMagick on a clean and full installation of the latest Slackware current and everything went fine: if I were you I would try reinstalling glibc but if this won't solve please open a dedicated topic for this issue.
I just tested building GraphicsMagick on a clean and full installation of the latest Slackware current and everything went fine: if I were you I would try reinstalling glibc but if this won't solve please open a dedicated topic for this issue.
I noticed that glibc has gone from version 2.30 in what I downloaded on 1-2-21 to 2.32 as of 1-18-21. Can I just upgrade this package or do I have to treat this as a complete upgrade (as outlined in UPGRADE.TXT). Just trying to figure out the level of work that I'll have to redo.
I noticed that glibc has gone from version 2.30 in what I downloaded on 1-2-21 to 2.32 as of 1-18-21. Can I just upgrade this package or do I have to treat this as a complete upgrade (as outlined in UPGRADE.TXT). Just trying to figure out the level of work that I'll have to redo.
if you are tracking current you have to upgrade everything, you cannot upgrade just single packages and this is even more recommended in case of glibc that is part of the system's toolchain.
another consequence of tracking current is that, occasionally, you have to rebuild some packages from the third party repositories (like this one) when their dependencies are upgraded in current.
you can also decide to not upgrade anything installing current at a specific moment and forget any upgrade but, besides security problems and bugs that a system installed at a specific moment and not upgraded may have, also third party repositories that instead keep tracking current may become soon incompatible with your system.
Indeed, but isn't Slackware's principle "keep it as close to the origin as possible"? At least, if things go wrong, chances are they are going to go wrong identically on 14.2 and on current.
Installing the nagios SlackBuild errors out with this:
Code:
/usr/bin/ld: xstatusdata-cgi.o:(.bss+0xd0): multiple definition of `daemon_mode'; ../common/shared.o:(.bss+0x38): first defined here
/usr/bin/ld: xstatusdata-cgi.o:(.bss+0x94): multiple definition of `nagios_pid'; ../common/shared.o:(.bss+0x3c): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:177: archivejson.cgi] Error 1
make[1]: Leaving directory '/tmp/SBo/nagios-4.3.4/cgi'
make: *** [Makefile:74: all] Error 2
Installing the nagios SlackBuild errors out with this:
Code:
/usr/bin/ld: xstatusdata-cgi.o:(.bss+0xd0): multiple definition of `daemon_mode'; ../common/shared.o:(.bss+0x38): first defined here
/usr/bin/ld: xstatusdata-cgi.o:(.bss+0x94): multiple definition of `nagios_pid'; ../common/shared.o:(.bss+0x3c): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:177: archivejson.cgi] Error 1
make[1]: Leaving directory '/tmp/SBo/nagios-4.3.4/cgi'
make: *** [Makefile:74: all] Error 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.