LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VMPK installation problems (https://www.linuxquestions.org/questions/linux-newbie-8/vmpk-installation-problems-797962/)

Mortis1369 03-25-2010 11:56 PM

VMPK installation problems
 
ok... my problem is fairly simple... i want to install a program called VMPK its a virtual keyboard, but through googling i seem to keep running in circles. The program comes as a tarball, which i have no idea how to install (still semi new to Linux... within my first 2 months)... i have read something about compiling it as an RPM but i cant seem to find anything else other than that... this is probably something super simple, but if you could help me out with this it would be great! my platform is Fedora 12 thank you in advance for any help!

Mortis1369 03-25-2010 11:58 PM

on another note, i found lists of commands that i could use through terminal but the ./configure command doesnt work, so if there is a different set of commands to use through terminal, that would be great! although it seems ill advised to install them that way, so i guess i am moreso looking for a way to compile my tarball's files into and RPM

knudfl 03-26-2010 03:54 AM

su
yum install cmake qt-devel alsa-lib-devel gcc-c++
exit
tar xvf vmpk-0.3.1.tar.bz2
cd vmpk-0.3.1/
mkdir build
cd build/
cmake .. ( i.e. cmake <space> period period )
make
su
make install
exit
... And type vmpk to see the piano keyboard.

Good luck. .. .. :) ..

knudfl 03-26-2010 04:30 AM

Building an rpm package.
You will need the rpm-build package installed with yum.

Setting up an unprivileged rpm account in /home/<username>/ :
http://www.linuxquestions.org/questi...5.1-766486/#13
> > post # 13.

Getting the SRC RPM source package (linked on the VMPK site) :
http://download.opensuse.org/reposit...1-5.19.src.rpm
> vmpk-0.3.1-5.19.src.rpm
Install the package to /home/<username>/rpms/ ..
rpm -Uvh vmpk-0.3.1-5.19.src.rpm
cd rpms/SPECS
... and edit the file vmpk.spec : line 16
Edit the word libqt4-devel to qt-devel
Next : rpmbuild -bb vmpk.spec
The package is created to rpms/RPMS/i686/vmpk-0.3.1-5.19.i686.rpm
.....

Mortis1369 04-01-2010 02:46 AM

tried your reccomendation... this is the result... i hope you can help me make heads or tails of it


Code:

[root@localhost build]# make install
[ 87%] Built target vmpk
[ 98%] Built target translations
[ 98%] Generating vmpk.1
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[2]: *** [build/man/vmpk.1] Error 4
make[1]: *** [build/man/CMakeFiles/manpages.dir/all] Error 2
make: *** [all] Error 2


knudfl 04-02-2010 02:12 AM

Well, some xsl, etc. + internet connection is probably required ? ?
The packages, I can think of (and have installed long time ago) are :
sgml-common-0.6.3-31.fc12.noarch
libxslt-1.1.26-1.fc12.i686
docbook-style-xsl-1.75.2-4.fc12.noarch
libxslt-devel-1.1.26-1.fc12.i686
docbook-*

I get this now :
Code:

[root@localhost build]# make install
[ 87%] Built target vmpk
[ 98%] Built target translations
[100%] Built target manpages
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/share/vmpk/.......

Click my name, send an email, and I will attach the
vmpk-0.3.1-5.19fc12.i686.rpm , 304 kB , to a return mail.
.....


All times are GMT -5. The time now is 09:08 AM.