[SOLVED] Dependencies for installing slackbuilds on barebones linode
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Dependencies for installing slackbuilds on barebones linode
Hi all, I'm trying to set up a linode server with Slackware64 14.1, and I'm having trouble installing a slackbuild. If it matters, I'm attempting to install nginx.
First it wasn't finding a C compiler. I figured out what those dependencies were and got them installed via slackpkg. But, now it's failing with this:
Code:
checking for uint64_t ... uint64_t not found u_int64_t not found
./configure: error: can not define uint64_t
I'm guessing I'm just missing another dependency. What's the easiest way to update the system with whatever is needed to install slackbuilds?
I wasn't able to apply the patch, I got "hunk failed" for each of the hunks in the patch. I tried applying it by manually editing the source files, and it looks like the source I have doesn't match up with the patch. This would make sense, as the patch is from (I think) 2010 and nginx 1.4.1 was released in 2013.
I also tried setting CFLAGS="" before running configure without success.
I'm actually a little confused as to why I'd need a patch to start out with, since I was able to install the same slackbuild on 2 different stock Slackware64 systems. They were normal installs though, not the stripped down version you get with Linode. So, I think I'm just missing some dependencies.
I do have glibc installed, but it's still not able to find uint64_t for some reason.
Any ideas how I can get a linode updated with the necessary dependencies?
Actually.... it looks like stdint.h exists on my system, *and* defines uint64_t. Any idea why nginx can't find it?
Code:
# grep "uint64" `find /usr/include/ -name "stdint.h"`
/usr/include/stdint.h:typedef unsigned long int uint64_t;
/usr/include/stdint.h:typedef unsigned long long int uint64_t;
After a closer look at objs/autoconf.err I see that it seems to be missing linux/limits.h:
Code:
checking for uint64_t
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:144,
from /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include-fixed/limits.h:168,
from /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include-fixed/syslimits.h:7,
from /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include-fixed/limits.h:34,
from /usr/include/bits/socket.h:30,
from /usr/include/sys/socket.h:39,
from objs/autotest.c:4:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
I've also just recently set up my Slackware Linode and noticed they leave out a lot of packages. In order to get to a full Slack install I just did
Code:
root@hades:~ # slackpkg install a/*
And so on for every package set (xap, l, n, etc). After doing this, I haven't experienced any problems compiling or running software. My /var/log/packages shows around 620 packages I believe, so that's a good guideline if you want to get up to a full Slackware install.
if you got a slackware64 minimal install and you don't want to get mad with dependencies, maybe the easiest way out is to issue a
Code:
slackpkg install slackware64
to switch to a full install.
Thanks for the tip, ponce! That may help others with the same issue, but I prefer to keep these servers lean since I don't need much software on them and I have limited disk space.
I was also disappointed with the Linode-provided Slackware images - they are just missing too many useful things. Creating a minimal image for server provisioning is on my long list of things to do.
Linode also took too long to release updated images, completely skipping 14.0.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.