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 tried to install Wireshark (downloaded from SlackBuilds), but failed with following error message (when building the package):
Code:
wireshark-1.2.1/wsutil/Makefile.common
wireshark-1.2.1/wsutil/Makefile.in
wireshark-1.2.1/wsutil/Makefile.nmake
wireshark-1.2.1/wsutil/file_util.c
wireshark-1.2.1/wsutil/file_util.h
wireshark-1.2.1/wsutil/libwsutil.def
wireshark-1.2.1/wsutil/mpeg-audio.c
wireshark-1.2.1/wsutil/mpeg-audio.h
wireshark-1.2.1/wsutil/privileges.c
wireshark-1.2.1/wsutil/privileges.h
wireshark-1.2.1/wsutil/str_util.c
wireshark-1.2.1/wsutil/str_util.h
wireshark-1.2.1/wsutil/type_util.c
wireshark-1.2.1/wsutil/type_util.h
wireshark-1.2.1/wsutil/unicode-utils.c
wireshark-1.2.1/wsutil/unicode-utils.h
wireshark-1.2.1/ylwrap
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
Could anyone tell me how to build a 32bit package to use under Slackware64?
A silly thing but did you set your ARCH variable prior to running it - some builds fail because they default to 32 bit but would work if told to build for ARCH=x86_64
Very few tools really are 32 bit only, especially something like wireshark I suspect works as 64 perhaps? Worth a try
Setting ARCH=x86_64 will certainly help. Wireshark comes as source code, and can be compiled effortlessly into 64bit binaries. Why would you want to build Wireshark as 32bit binaries on Slackware64?
A silly thing but did you set your ARCH variable prior to running it - some builds fail because they default to 32 bit but would work if told to build for ARCH=x86_64
Very few tools really are 32 bit only, especially something like wireshark I suspect works as 64 perhaps? Worth a try
Hi, thank you for your information.
I changed the ARCH in the slackbuild script and I managed to build the 64bit wireshark now. :-)
Setting ARCH=x86_64 will certainly help. Wireshark comes as source code, and can be compiled effortlessly into 64bit binaries. Why would you want to build Wireshark as 32bit binaries on Slackware64?
Eric
Hi Alien Bob,
Ya... it really help. :-)
I never know (or never realize) that I can change the ARCH in the script.
True, what the hell to I need to run a 32 bit binary on a 64 bit Slackware... damn me. hahaha.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.