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 )
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.
Vim 7.3 - compiled from source
-
- Ronin
- Posts: 2
- Joined: 18 Aug 2012, 11:16
- Location: /home/
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Vim 7.3 - compiled from source
hello iHaveAnAxe,
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
it's a good idea to provide default slackware config options to the ./configure script (if exist):Here is how I created the module for documentation and also to check if I made any mistakes
Code: Select all
CFLAGS="$SLKCFLAGS" ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --mandir=/usr/man --build=$ARCH-slackware-linux
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.
-
- Ronin
- Posts: 2
- Joined: 18 Aug 2012, 11:16
- Location: /home/
Re: Vim 7.3 - compiled from source
Yeah, I actually read that after I created the module. I will try to create a fresh one tonight.
Thanks
Thanks