Slackware :: Compiling And Installing The Packages?
Jan 24, 2010
I am in need of some more clear information about compiling and installing various applications in Slackware. I mean, i am not that new in Linux world, but i am not used to having to check for dependencies on my own and making Slackware packages myself. Things i would like to know more about and would be these:
a) is there some magical way you use to find out what dependencies a package has? I would appreciate as much information in this field as much as i can get. As now if i download source of some application i have completely no idea about what it needs from my system to function properly or where to look for this information. I think there should be more "correct way" than goggling for it...
b) I know about nice site SlackBuilds.org that it is, but lets say i want to install application A, and there is written, that application A requires application B, which requires application C, and this one needs application D. So now i have to spend good half of a day getting and compiling dependencies for one application, i mean common there has to be a quicker way to do this... at least some tool that would let me build some kind of ques that would be processed automatically or some kind of trick... So if you know some focuses under your sleeve, then please oh please do share
c) I would also like to know more about optimizing Slackware for boot time and general performance (but it's not that important, there are a lot of walls of text about this in Google world).
View 9 Replies
ADVERTISEMENT
May 4, 2010
I'm compiling the BlueZ packages on Slackware64-13.0 and bluez.Slackbuild failed to run. I added
Code:
mkdir -p $PKG/lib/udev
immediately before
Code:
cp -a scripts/bluetooth_serial $PKG/lib/udev/bluetooth_serial || exit 1
and now the script runs.I don't know why the /lib/udev directory isn't created earlier in the build process for me, but now it builds cleanly.
View 5 Replies
View Related
Apr 3, 2010
Can someone please tell me what packages are required for compiling source on Slack 13? Something is missing in my box and I get errors, I can't figure out what it is.
View 11 Replies
View Related
May 13, 2010
I installed Slackware 13 last night and have been trying to get bittornado to properly work. Some background info, I have my partitions set up as follows:
Partition 1: /
Partition 2: /usr/local
Partition 3: /home
Partition 4: swap
I unzipped the tar.gz file and made a package using makepkg, and then installed it. Afterwords, trying to run "btlaunchmanycurses" or "btlaunchmanycurses.py" doesn't do anything. Further examining shows me that it installed the package to my / directory. Shouldn't packages be installed somewhere in my /usr dir? I'm new to linux, I spent some time with it a couple years ago but haven't done anything since.
View 14 Replies
View Related
Mar 2, 2010
if I wanted to install all the packages from the slackware cd in the extra dirctory do I have to install them one by one or is there a way to install them all at once?
View 1 Replies
View Related
Mar 15, 2011
At work / home / laptops I have about 5 slackware machines. I have always tended to install new packages on each machine from source, generally using slackbuilds when available. I thought I would try 'libreoffice' and reading alien-bobs blog I deduced that a full from source install might be pretty difficult, so I followed his advice and just took the package (.txz file) and used installpkg. To my slight surprise this installed and ran perfectly.
Now I'm wondering if someone would clarify under what circumstances you can just take the slackware package from one machine to another and install. More generally I guess what are the main advantages of building from source. Is it mainly about availability of all the required dependencies?
View 9 Replies
View Related
May 24, 2011
A friend is running Ubuntu 10.04 on a laptop that uses the Ralink RT5390 chip for wifi which requires compiling and adding a module. My plan is to...
1. download on my 10.04 laptop whatever .dpkg packages are needed to compile a new module,
2. meet at a location that has a good wifi (just in case),
3. connect the two laptops with a cross-over Ethernet cable,
4. download and install the compiling tools + module source on her laptop, I need to know three things:
1. Which Ubuntu packages must I download to be able to compile a new module? Is "build-essential" enough?
2. Where can I find those packages as .dpkg, so I can install from those offline files instead of fetching them from the Net?
3. To get an Ethernet connection going between the two laptops, do I need to do anything extra on her laptop besides assigning it an IP manually that is in the same range as my laptop?
View 1 Replies
View Related
Apr 8, 2015
I am working on a project which targets both 32 and 64 bit architectures at the moment. My system is amd64. I added i386 architecture using this guide. However, my problem is
Code: Select allapt-get install package-name:i386
prompts the removal of currently installed packages (amd64 arch.) which is the problem.
Code: Select allReading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libportaudio0:i386
[Code] ...
Some of the packages I am talking about are
-libegl1-mesa-dev:i386
-libportaudio-dev:i386
Now, as of now, I want to carry out the compilation using 32 bit libraries, however, I really don't want to install 64bit version of all prerequisites each time I switch the compilation from 32 bit to 64. Is there any way to have both architectures at the same time?
View 1 Replies
View Related
May 24, 2011
A friend is running Ubuntu 10.04 on a laptop that uses the Ralink RT5390 chip for wifi which requires compiling and adding a module. My plan is to...
1. download on my 10.04 laptop whatever .dpkg packages are needed to compile a new module,
2. meet at a location that has a good wifi (just in case),
3. connect the two laptops with a cross-over Ethernet cable,
4. download and install the compiling tools + module source on her laptop, and
5. cross my fingers.
So I need to know three things:
1. Which Ubuntu packages must I download to be able to compile a new module? Is "build-essential" enough?
2. Where can I find those packages as .dpkg, so I can install from those offline files instead of fetching them from the Net?
3. To get an Ethernet connection going between the two laptops, do I need to do anything extra on her laptop besides assigning it an IP manually that is in the same range as my laptop?
View 1 Replies
View Related
Aug 12, 2010
I noticed that the official Slackware packages don't contain static libraries. The SlackBuild scripts from slackbuilds.org or from Slackware DVD usually contain --disable-static option to prevent building the .a file. And if configure script doesn't allow such option, the .a file is deleted before the package is created.I am wondering what is the reason for that? Is it just the matter of conserving disk space? Are there also other reasons?
View 11 Replies
View Related
May 29, 2011
i downloaded the latest stable release of the linux kernel 2.6.39 and i did the following ran the command
Code:
make xconfig
and there were no errors so far so good
then i ran
Code:
make in the mix of all the command line and characters one of the lines said
Code:
stack protector enabled but no compiler support because of this the rest of the installation process is not going well i am unable to install the new linux kernel successfully. the kernel shows up on the grub boot menu but goes into a kernel panic when i try to boot it. how do i compile the new kernel in debian squeeze
View 9 Replies
View Related
Apr 13, 2010
I have downloaded the newest most stable Linux kernel, 2.6.33.2. I thought I would test this using VirtualBox. So I create a dynamically sized hard disk of 4 GB. And installed CentOS 5.3 with just the minimum packages, just the development libs and development tools. I unzipped in the /usr/src directory. I setup the make menuconfig with just the default settings.
After that I ran make and got the following error:
Code:
net/bluetooth/hci_sysfs.o: final close failed: No space left on device
make[2]: *** [net/bluetooth/hci_sysfs.o] Error 1
make[1]: *** [net/bluetooth] Error 2
make: *** [net] Error 2
The amount of space I have left is after it give that error is:
Code:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3.3G 3.3G 0 100% /
/dev/hda1 99M 12M 82M 13% /boot
tmpfs 125M 0 125M 0% /dev/shm
So my virtual harddisk size is 4gb and the actual size if 3.5gb. So what happened to the other 500mb? How much size should I give when compiling and installing a Linux kernel? Are there any guidelines to follow when doing this? This is my first time, so just experimenting with this.
View 1 Replies
View Related
May 27, 2010
I am running Ubuntu 9.04 and I would like to update the jfstools to 1.1.4. Apt-get tells me that 1.1.2 is the latest available, but there is 1.1.4 code HERE.I am not overly comfortable compiling and installing, although I have done that many times. This time, I am unsure about the installation path:Quote:
Installation Names
By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving
[code]....
View 2 Replies
View Related
May 19, 2010
I have a need to recompile mesa. The --enable-32-bit option falls over every header and basic 32 bit lib, and won't compile. But if I try to install 32 bit packages, I could slap a 32 bit binary straight on top of my 64 bit one. What's the accepted way of doing this? I can't seem to find a package in Slackware 13.0
View 9 Replies
View Related
Jun 20, 2011
i try to compile freej on slackware 13.1 the problem is with ffmpeg >= 0.6 i have this error
Quote:
In file included from /usr/include/libavutil/avutil.h:81,
from /usr/include/ffmpeg/avcodec.h:30,
from ../src/include/video_layer.h:22,
from ../src/include/impl_layers.h:48,
[code]....
View 14 Replies
View Related
Apr 29, 2010
I've installed glibc and downloaded 2.6.33.3 tar ball from kernel.org.
I created a symlink /usr/src/linux -> /drive/linux-2.6.33.3
But there's something missing because when I run
make mrproper
make config
I get errors about not finding headers:
asm/socket.h
It seems like I am missing some other symlink, I've tried creating other links, like /usr/include/asm -> /drive/linux-2.6.33.3/arch/x86/asm
View 5 Replies
View Related
Jul 1, 2010
I'm running 13.1 64bit with alienbob's multilib extension and want to add openmotif. I used Eric's Slackbuild from [URL] applying it to openmotif-2.3.3 and succeeded in compiling the 64bit-version.Next I tried to compile in 32bit-mode, following alienbob instructions:
move lib64 to lib in openmotif.Slackbuild
export ARCH=x86_64
. /etc/profile.d/32dev.sh
./openmotif.Slackbuild
linking stops with error-message
Quote:
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../lib/crt1.o: In function `_start':
/glibc-tmp-88b9835d8519e3638ef4d116a6932cb2/glibc-2.11.1/csu/../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status
Specifically, where does /usr/lib64/gcc/ come from?
View 14 Replies
View Related
May 30, 2010
Having trouble compiling the regular par2cmdline-0.4, I stumbled upon [URL] modified version of par2cmdline-0.4 with tbb which allows for concurrent processing of files. I have tried compiling this with no luck on my system and was wondering if anyone has had any luck. The ./configure goes through fine, and tbb is detected and used however it craps out just moments after issuing the make command. I have tried both tbb 2.2 and 3.0, but to no avail.
View 6 Replies
View Related
May 28, 2010
Code:
putty-0.60/unix$ make -f Makefile.gtk
cc -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/ -I../macosx/ `gtk-config --cflags` -D _FILE_OFFSET_BITS=64 -c ../be_all_s.c
cc -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/ -I../macosx/ `gtk-config --cflags` -D _FILE_OFFSET_BITS=64 -c ../cmdline.c
[code]....
View 2 Replies
View Related
Jun 25, 2010
I am trying to install a software but I get error as under -
[Code]...
View 9 Replies
View Related
Apr 14, 2010
I have a virtual box running CentOS 5.3. I am experimenting with compiling and installing a kernel 2.6.33 on this.
However, the kernel compiled ok, but when I did the install it gave me these warning, not sure if they are important or not.
The steps I did was:
Code:
Code:
In my grub.conf I have the following:
Code:
When I try and boot I get the following problem:
Code:
View 11 Replies
View Related
Jan 24, 2010
I tried to build several packages designed for slackware 13 at slackbuilds. Those was a simple apps like ardour, audacity for example.
[Code]...
My CPU is AMD Phenom 9550 Quad core. It supports 64 bit. My os is slackware 13_64. What do I need to change in slackbuild to create a txz package for those apps?
View 14 Replies
View Related
Oct 2, 2010
Im trying to recompile glibc from a working slackware-current system using source from a slackware mirror. I'm doing it for testing purpose only. Never done that before, so i'm not sure if i'm doing it right. I get the following error:
Code:
make[2]: Entering directory `/glibc-tmp-a44be92860d34519b0c9a4500878e2e6/glibc-2.11.1/iconvdata'
../Makeconfig:85: ../i486/config.make: No such file or directory
/bin/sh: line 0: cd: ../i486: No such file or directory
The GNU C library has not been configured.
[code].....
View 14 Replies
View Related
Oct 22, 2010
I'm trying to compile imlib against libpng 1.4. I am using the slack sources from slackware64 13.1, and a SlackBuild file modified with the extra configure parameter "--with-png=/usr/lib64/libpng.so.14"
The final crashing portion of my output is as follows:
Code:
/bin/sh ../libtool --mode=install /usr/bin/ginstall -c libimlib-jpeg.la /tmp/package-imlib/usr/lib64/libimlib-jpeg.la
libtool: install: warning: relinking `libimlib-jpeg.la'
(cd /tmp/imlib-1.9.15/gdk_imlib; /bin/sh ../libtool --mode=relink gcc -O2 -fPIC -fPIC -o libimlib-jpeg.la -rpath /usr/lib64 -avoid-version -module io-jpeg.lo -ljpeg libgdk_imlib.la -inst-prefix-dir /tmp/package-imlib)
[Code]....
View 2 Replies
View Related
Jan 27, 2011
I'm trying to build some boot and kernel images for my WD Mybook world edition, which uses an arm processor on my x86_64 host box. Ultimately i'd like to install slackarm. Lilo doesn't work on arm so you have to compile your own kernel and have the bootloader statically linked to kernel inorder to boot the OS. So i'm using my slackware install to cross compile the boot loaders (u-boot) and kernel image (uImage).
I've successfully compiled the buildroot environment which has generated the arm-linux-* binaries, eg, gcc 3.4.2 for arm.
Code:
These are in a build folder (shortened in text below), which i add to my PATH
Code:
I then move to the directory where i want to build the stage1 boot loader, which is supplied in the GPL code from WD.
Code:
However the build fails with a segfault, which looks to be caused by the incorrect libraries and compiler being used:
Code:
It seems to be using my x86_64 libs and gcc 4.4.4 which is the host compiler not the target.
I've tried setting ARCH=arm but got the same results.
Do i need to export some additional variables or unset some to prevent the host files being used instead of the targets?
View 3 Replies
View Related
Mar 26, 2011
I em trying to compile fop-1.0 on Slackware64 13.1. I have ant 1.8.1 Slackware package.
Here is the output of ant build:
Code:
View 2 Replies
View Related
Mar 27, 2011
I'm trying to install squidGuard-1.4, I have a minimal install. I have installed squid-3.2.0.5 without any problems, but squidGuard is driving me crazy
I can run the ./configure with no problems but when I run make, or make install I keep getting this error:
Code:
make: *** [y.tab.c] Error 141
And that is is all, no more verbosity or anything else.
Error suggests that YACC is missing but bison is present, also db4 (tried with db44 and db3, same story).
Just in case you can see anything I cannot I've attached the config.log
View 2 Replies
View Related
Mar 12, 2010
I'm tryin to run this script to make me a aufs/squashfs/lzma patched kernel and I keep getting this
Code:
root@slackware:/usr/src# ./build.kernel
* Unpacking archives
aufs
lzma457
squashfs3.4
[Code]...
View 1 Replies
View Related
Jan 3, 2011
I'm doing a group project using some UML stuff. I tried install graphiz and it installed find but apparently it keeps telling me I'm missing dot when compiling the UML (tells me dot should be at /usr/bin/dot which it is, but it can't find it). I also tried a command "java -jar plantuml.jar -testdot" (which was suggested where the UML should have been) and the jar file couldn't be found.
View 11 Replies
View Related
Feb 6, 2011
I haven't used slackware for many years. There used to be a sticky thread with a great kernel compiling guide for slackware. It feels somewhat unnatural to me to use slackware without a shiny new kernel. Does that guide still exist? I'm working from memory right now.
View 3 Replies
View Related