Vim 7.3 - compiled from source

Post links to your 64bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
Post Reply
iHaveAnAxe
Ronin
Ronin
Posts: 2
Joined: 18 Aug 2012, 11:16
Location: /home/

Vim 7.3 - compiled from source

Post#1 by iHaveAnAxe » 18 Aug 2012, 20:49

Hi,

I just compiled vim from source and created a module. I uploaded the file in http://depositfiles.com/files/0zma7s1ar (file size is 6.66 MB :evil: )

Here is how I created the module for documentation and also to check if I made any mistakes:

1) Downloaded source from vim.org
2) Extracted tar archive
3) cd src
4) make
5) make test (all seemed ok - got test results: ALL DONE http://vimdoc.sourceforge.net/htmldoc/usr_90.html )
6) make install DESTDIR=/tmp/vim/
7) cd /tmp
7) dir2xzm /tmp/vim/ vim-7.3.xzm
8 ) move xzm file to modules folder
9) reboot
10) vim, gvim, vimtutor work fine.

I realized now that I didn't create a desktop file but then I couldn't test it since I only ssh on my porteus machine.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4590
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Vim 7.3 - compiled from source

Post#2 by fanthom » 19 Aug 2012, 15:39

hello iHaveAnAxe,
Here is how I created the module for documentation and also to check if I made any mistakes
it's a good idea to provide default slackware config options to the ./configure script (if exist):

Code: Select all

CFLAGS="$SLKCFLAGS" ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --mandir=/usr/man --build=$ARCH-slackware-linux
where:
SLKCFLAGS=-O2 -march=i486 -mtune=i686 (or "-O2 -fPIC" for 64bits)
LIBDIRSUFFIX="" (or "64" for 64bits)
ARCH=i486 (or "x86_64" for 64bits)

this way your package/module preserves maximum compatibility with slackware (and you wont end up with man pages installed in /usr/share/man or /usr/local/man, etc..)

Cheers
Please add [Solved] to your thread title if the solution was found.

iHaveAnAxe
Ronin
Ronin
Posts: 2
Joined: 18 Aug 2012, 11:16
Location: /home/

Re: Vim 7.3 - compiled from source

Post#3 by iHaveAnAxe » 20 Aug 2012, 09:13

Yeah, I actually read that after I created the module. I will try to create a fresh one tonight.

Thanks

Post Reply