unable to install xvkbd and vkeybd via slapt-src[ SOLVED]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
hrtrivedi
Posts: 4
Joined: 2. Feb 2013, 16:20

unable to install xvkbd and vkeybd via slapt-src[ SOLVED]

Post by hrtrivedi »

I am a new user of Salix, this is my first Slackware based distro hence I am new to the ways and means of Salix. I have a wireless keyboard that might run out of battery at anytime leaving me without keyboard hence here I need virtual on screen keyboard. I searched in gslapt but did not find any on screen keyboard , Sourcery has a couple of apps xvkbd and vkeybd but Sorcery failed to build them. Following is the the output of terminal while trying to install xvkbd and vkeybd via slapt-src

Code: Select all

root[hr]# slapt-src -i xvkbd
The following packages will be installed:
 xvkbd 
Do you want to continue? [y/N] y
Fetching README...Done
Fetching slack-desc...Done
Fetching xvkbd.SlackBuild...Done
Fetching xvkbd.info...Done
xvkbd-3.3/
xvkbd-3.3/findwidget.c
xvkbd-3.3/XVkbd-korean.ad
xvkbd-3.3/XVkbd-french.ad
xvkbd-3.3/XVkbd-turkish.ad
xvkbd-3.3/XVkbd-danish.ad
xvkbd-3.3/XVkbd-small.ad
xvkbd-3.3/XVkbd-german.ad
xvkbd-3.3/XVkbd-italian.ad
xvkbd-3.3/XVkbd-norwegian.ad
xvkbd-3.3/XVkbd-latin1.ad
xvkbd-3.3/xvkbd_iconmask.xbm
xvkbd-3.3/README
xvkbd-3.3/XVkbd-hebrew.ad
xvkbd-3.3/xvkbd.c
xvkbd-3.3/XVkbd-fitaly.ad
xvkbd-3.3/XVkbd.ad
xvkbd-3.3/XVkbd-jisx6002.ad
xvkbd-3.3/xvkbd.man
xvkbd-3.3/XVkbd-swedish.ad
xvkbd-3.3/XVkbd-strip.ad
xvkbd-3.3/XVkbd-icelandic.ad
xvkbd-3.3/xvkbd.xbm
xvkbd-3.3/XVkbd-jisx6004.ad
xvkbd-3.3/XVkbd-common.ad
xvkbd-3.3/xvkbd_icon.xbm
xvkbd-3.3/XVkbd-swissgerman.ad
xvkbd-3.3/XVkbd-belgian.ad
xvkbd-3.3/XVkbd-slovene.ad
xvkbd-3.3/XVkbd-french2.ad
xvkbd-3.3/XVkbd-greek.ad
xvkbd-3.3/XVkbd-portuguese.ad
xvkbd-3.3/XVkbd-common.h
xvkbd-3.3/XVkbd-uk.ad
xvkbd-3.3/XVkbd-russian.ad
xvkbd-3.3/XVkbd-spanish.ad
xvkbd-3.3/Imakefile
xvkbd-3.3/iconify.xbm
xvkbd-3.3/resources.h
imake -DUseInstalled -I/usr/lib/X11/config
rm -f xvkbd.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   				  -DFUNCPROTO=15 -DNARROWPROTO   -DXAW3D -DUSE_XTEST -DUSE_I18N    xvkbd.c
xvkbd.c: In function ‘main’:
xvkbd.c:3692:25: warning: assignment from incompatible pointer type [enabled by default]
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   				  -DFUNCPROTO=15 -DNARROWPROTO   -DXAW3D -DUSE_XTEST -DUSE_I18N    -c -o findwidget.o findwidget.c
rm -f xvkbd
gcc -m32 -o xvkbd -O2 -fno-strength-reduce -fno-strict-aliasing      -L/usr/lib   xvkbd.o findwidget.o    -lXaw3d -lXmu -lXt -lSM -lICE -lXpm  -lXext -lX11 -lXtst   
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: cannot find -lXaw3d
collect2: error: ld returned 1 exit status
make: *** [xvkbd] Error 1
fakeroot -- sh xvkbd.SlackBuild Failed

root[hr]# slapt-src -i vkeybd
The following packages will be installed:
 vkeybd 
Do you want to continue? [y/N] y
Fetching README...Done
Fetching doinst.sh...Done
Fetching slack-desc...Done
Fetching vkeybd.SlackBuild...Done
Fetching vkeybd.info...Done
vkeybd/
vkeybd/util.h
vkeybd/vkb.h
vkeybd/fskip.c
vkeybd/malloc.c
vkeybd/pixmaps/
vkeybd/pixmaps/vkeybd_32x32.png
vkeybd/pixmaps/vkeybd_16x16.png
vkeybd/pixmaps/vkeybd_48x48.png
vkeybd/vkb.c
vkeybd/vkeybdmap-de
vkeybd/ChangeLog
vkeybd/Makefile
vkeybd/vkeybdmap-es
vkeybd/vkeybdmap-fr
vkeybd/vkeybd.desktop
vkeybd/vkeybd.tcl
vkeybd/vkeybd.spec
vkeybd/vkeybdmap
vkeybd/oper_alsa.c
vkeybd/vkeybd.man
vkeybd/README
vkeybd/sffile.h
vkeybd/sffile.c
vkeybd/awe_voice.h
vkeybd/oper_awe.c
vkeybd/sftovkb.c
vkeybd/itypes.h
vkeybd/vkb_device.c
vkeybd/vkeybd.list
vkeybd/oper_midi.c
cc -O2 -march=i486 -mtune=i686 -DVKB_TCLFILE=\"/usr/share/vkeybd/vkeybd.tcl\" -DVKBLIB_DIR=\"/usr/share/vkeybd\" -DVERSION_STR=\"0.1.18d\" -DVKB_USE_AWE -DVKB_USE_MIDI -DVKB_USE_ALSA -I/usr/X11R6/include      -c -o vkb.o vkb.c
In file included from vkb.c:23:0:
vkb.h:24:17: fatal error: tcl.h: No such file or directory
compilation terminated.
make: *** [vkb.o] Error 1
fakeroot -- sh vkeybd.SlackBuild Failed
I can not make a head or tail of this as I am really new to Salix ,I also was not able to install Chromium via Sourcery but that is another story. Any help will be appreciated,Thanks.
Last edited by hrtrivedi on 6. Feb 2013, 04:33, edited 2 times in total.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: unable to install xvkbd and vkeybd via slapt-src

Post by mimosa »

Looks like you may need to install tcl. Unlike slapt-get and Gslapt, the cli and gui respectively for Salix's own repos, Sourcery and slapt-src have only limited dependency checking. If you have trouble, it's also always worth looking up the application you're trying to install at slackbuilds.org (which is a web interface to the scripts and info).

Welcome to Salix!
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: unable to install xvkbd and vkeybd via slapt-src

Post by laprjns »

For xvkbd you need to install libXaw3d which you can install via gslapt or slapt-get. As mimosa said it looks like you need tcl for vkeybd which is also available through gslapt or slpat-get
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: unable to install xvkbd and vkeybd via slapt-src

Post by mimosa »

Also, I forgot to mention - the Salix User Guide (link on home page) may be worth a look to help you find your feet.
hrtrivedi
Posts: 4
Joined: 2. Feb 2013, 16:20

Re: unable to install xvkbd and vkeybd via slapt-src

Post by hrtrivedi »

mimosa wrote:Looks like you may need to install tcl. Unlike slapt-get and Gslapt, the cli and gui respectively for Salix's own repos, Sourcery and slapt-src have only limited dependency checking. If you have trouble, it's also always worth looking up the application you're trying to install at slackbuilds.org (which is a web interface to the scripts and info).

Welcome to Salix!
Dear Mr.Mimosa and laprjns , THANKS for the guidance , following your instructions - - Now I got xvkbd...... virtual keyboad , ofcouse ,
by writing xvkbd in terminal . Now I am looking for ' How to bring xvkbd shortcut on desktop ?'. Please if possible help me here too. Here I too got vkeybd ---music related instrument keyboard. Thanks.
hrtrivedi.
hrtrivedi
Posts: 4
Joined: 2. Feb 2013, 16:20

Re: unable to install xvkbd and vkeybd via slapt-src

Post by hrtrivedi »

Dear Mr.Mimosa and laprjns , THANKS for the guidance , following your instructions - - Now I got xvkbd...... virtual keyboad , ofcouse ,
by writing xvkbd in terminal . Now I am looking for ' How to bring xvkbd shortcut on desktop ?'. Please if possible help me here too. Here I too got vkeybd ---music related instrument keyboard. Thanks.
hrtrivedi.

hrtrivedi

Posts: 2
Joined: 2. Feb 2013, 21:50
laprjns wrote:For xvkbd you need to install libXaw3d which you can install via gslapt or slapt-get. As mimosa said it looks like you need tcl for vkeybd which is also available through gslapt or slpat-get
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: unable to install xvkbd and vkeybd via slapt-src

Post by mimosa »

Are you using xfce? I don't, and can't remember how to make such a shortcut, but I think it is either by right-clicking on the desktop, or else there is an item somewhere on the menu to create a desktop shortcut.

You might actually want to create a panel applet for this, though, and I'm really not sure about that. It may be equally straightforward (try right-clicking on the panel as a first guess).

If that doesn't help, try searching for "create XFCE desktop shortcut" (or "panel") with your favourite search engine.
hrtrivedi
Posts: 4
Joined: 2. Feb 2013, 16:20

Re: unable to install xvkbd and vkeybd via slapt-src

Post by hrtrivedi »

Thanks Mimosa,a Friend helped me make a desktop file of xvkbd and I saved this file to /usr/share/applications and this created an entry in xfce menu.Thanks for your very quick reply.I was a bit apprehensive about posting what may seem like a trivial problem to an expert and experienced slackware users like you.But I am pleasantly surprised by helpful nature of Salix Forum Members.
mimosa wrote:Are you using xfce? I don't, and can't remember how to make such a shortcut, but I think it is either by right-clicking on the desktop, or else there is an item somewhere on the menu to create a desktop shortcut.

You might actually want to create a panel applet for this, though, and I'm really not sure about that. It may be equally straightforward (try right-clicking on the panel as a first guess).

If that doesn't help, try searching for "create XFCE desktop shortcut" (or "panel") with your favourite search engine.
Post Reply