Doubt on compiling software from source

Non release banter
Post Reply
Michele13
Black ninja
Black ninja
Posts: 56
Joined: 18 Aug 2013, 10:23
Distribution: Based on Debian and Slackware
Location: Italy

Doubt on compiling software from source

Post#1 by Michele13 » 03 Mar 2015, 18:09

Hi guys, I'm trying to build e17 from source to make a module (if I will ever complete my attempt I will release the first build). I made about 2 packages from source using this tutorial here: http://www.slackwiki.com/Building_A_Package (I use the good and decent way)
The problem is that I installed the man pages in /usr/share/man instead of /usr/man. Should I rebuild the packages from scratch?

User avatar
francois
Contributor
Contributor
Posts: 4990
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Doubt on compiling software from source

Post#2 by francois » 03 Mar 2015, 18:37

@michele:
As porteus strives for portability and smallness, info and manuals are usually left out. See porteus compiling a package:
http://www.porteus.org/component/conten ... ource.html

Good courage.
Voltaire: Le mieux est l'ennemi du bien.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2560
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Doubt on compiling software from source

Post#3 by Bogomips » 03 Mar 2015, 20:40

If the .txz packages are still available, just create a directory, change to this directory, explodepkg /<Path to package>/<pkg>.txz, adjust the man directories, then run installpkg.

Or with module (following precise instructions of brokenman)

# Unpack the module
mkdir /tmp/unpacked
xzm2dir /<Path to>/<module>.xzm /tmp/unpacked

# Adjust the man directories in /tmp/unpacked

# Repack the module
dir2xzm /tmp/unpacked /<Path to>/<module..xzm

# Cleanup
rm -rf /tmp/unapacked
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Michele13
Black ninja
Black ninja
Posts: 56
Joined: 18 Aug 2013, 10:23
Distribution: Based on Debian and Slackware
Location: Italy

Re: Doubt on compiling software from source

Post#4 by Michele13 » 04 Mar 2015, 12:59

I'm trying to build bullet now but it does not have make files NOR con figure. What should I do?

User avatar
francois
Contributor
Contributor
Posts: 4990
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Doubt on compiling software from source

Post#5 by francois » 04 Mar 2015, 15:36

Bullet slackbuild:
http://slackbuilds.org/repository/14.1/ ... es/bullet/

Try with usm and have a look at the output if it does not work (in fact it works without error on my linux box):

Code: Select all

root@porteus:~# usm sbo -b bullet
...
...
Slackware package /tmp/bullet-2.82-x86_64-1_SBo.tgz created.
In addition to the readme file, there is the install file. But try usm first. If it works there is no reason to bother yourself with the readme and install files.

I imagine that you have the devel.xzm package in you setup (in the /porteus/modules folder).
Voltaire: Le mieux est l'ennemi du bien.

Post Reply