Page 1 of 1

Doubt on compiling software from source

Posted: 03 Mar 2015, 18:09
by Michele13
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?

Re: Doubt on compiling software from source

Posted: 03 Mar 2015, 18:37
by francois
@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.

Re: Doubt on compiling software from source

Posted: 03 Mar 2015, 20:40
by Bogomips
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

Re: Doubt on compiling software from source

Posted: 04 Mar 2015, 12:59
by Michele13
I'm trying to build bullet now but it does not have make files NOR con figure. What should I do?

Re: Doubt on compiling software from source

Posted: 04 Mar 2015, 15:36
by francois
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).