Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
01-12-2014, 08:31 PM
|
#1
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Rep:
|
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?
Thanks!
|
|
|
01-12-2014, 09:25 PM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,774
|
slackpkg reinstall slackware64
|
|
|
01-12-2014, 11:01 PM
|
#3
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Original Poster
Rep:
|
Thanks for the tip! Unfortunately the above error persists
Anyone know what package defines uint64_t?
|
|
|
01-13-2014, 01:13 AM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,774
|
|
|
|
01-13-2014, 01:24 AM
|
#5
|
LQ Newbie
Registered: Aug 2012
Distribution: Slackware
Posts: 17
Rep:
|
Hi mattca
uint64_t is an integer type in C, defined in stdint.h, this file comes in glibc package.
In my slackware64 with multilib is in the glibc-x86_64-7alien 2.17_multilib package, in a pure Slackware64, it should be in glibc-2.17-x86_64-7
Maybe not are now installed the development libraries.
http://slackware.cs.utah.edu/pub/sla...slackware64/l/
Try with reinstall this package
slackpkg reinstall glibc
Update:
The link for the patch that Willysr has put in the previous post seems appropriate.
Last edited by dhabyx; 01-13-2014 at 01:31 AM.
|
|
|
01-13-2014, 03:26 PM
|
#6
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Original Poster
Rep:
|
Thanks for the tips...
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;
|
|
|
01-13-2014, 04:00 PM
|
#7
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Original Poster
Rep:
|
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.
And I seem to have that file on my local machine:
Code:
$ find /usr/include/ -name "limits.h"
/usr/include/c++/4.8.2/tr1/limits.h
/usr/include/limits.h
/usr/include/linux/limits.h
but not the linode:
Code:
# find /usr/include/ -name "limits.h"
/usr/include/c++/4.8.2/tr1/limits.h
/usr/include/limits.h
Any idea what package contains it?
|
|
|
01-13-2014, 04:06 PM
|
#8
|
LQ Newbie
Registered: Aug 2012
Distribution: Slackware
Posts: 17
Rep:
|
On my slack:
Code:
$grep linux/limits.h /var/log/packages/*
/var/log/packages/kernel-headers-3.10.17-x86-3:usr/include/linux/limits.h
/var/log/packages/kernel-source-3.10.17-noarch-3:usr/src/linux-3.10.17/include/uapi/linux/limits.h
|
|
1 members found this post helpful.
|
01-13-2014, 04:19 PM
|
#9
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Original Poster
Rep:
|
Yep it was the kernel headers that I needed!
Thanks for the help everyone
|
|
|
01-14-2014, 10:51 AM
|
#10
|
Member
Registered: Jan 2011
Distribution: Slackware
Posts: 128
Rep:
|
Quote:
Originally Posted by mattca
Yep it was the kernel headers that I needed!
Thanks for the help everyone
|
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.
|
|
|
01-14-2014, 01:15 PM
|
#11
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Original Poster
Rep:
|
In case it would be helpful, here's a list of the packages I needed to install:
- gcc-4.8.2-x86_64-1
- gcc-g++-4.8.2-x86_64-1
- glibc-2.17-x86_64-7
- glibc-solibs-2.17-x86_64-7
- libmpc-0.8.2-x86_64-2
- libxml2-2.9.1-x86_64-1
- libxslt-1.1.28-x86_64-1
- kernel-headers-3.10.17-x86-3
These will allow you to install the nginx slackbuild.
|
|
1 members found this post helpful.
|
01-14-2014, 03:19 PM
|
#12
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,303
|
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.
Last edited by ponce; 01-14-2014 at 03:30 PM.
|
|
|
01-14-2014, 04:54 PM
|
#13
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Original Poster
Rep:
|
Quote:
Originally Posted by ponce
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.
|
|
|
01-16-2014, 03:23 AM
|
#14
|
LQ Newbie
Registered: Jun 2011
Distribution: Slackware
Posts: 5
Rep:
|
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.
|
|
|
02-11-2014, 10:57 AM
|
#15
|
LQ Newbie
Registered: Jan 2009
Location: Minneapolis
Distribution: Arch, Slackware
Posts: 7
Rep:
|
As another Linoder trying to set up a Slackware 14.1 server, thanks for the info on additional needed packages.
FYI, see here for usage stats on Linode distros - Arch is at 1.8%, and Slackware doesn't register at all.
|
|
|
All times are GMT -5. The time now is 07:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|