LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-25-2010, 11:56 PM   #1
Mortis1369
Member
 
Registered: Feb 2010
Location: Denver, CO
Distribution: Fedora 12, Ubuntu 10.10, Linux Mint 10
Posts: 47

Rep: Reputation: 2
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!
 
Old 03-25-2010, 11:58 PM   #2
Mortis1369
Member
 
Registered: Feb 2010
Location: Denver, CO
Distribution: Fedora 12, Ubuntu 10.10, Linux Mint 10
Posts: 47

Original Poster
Rep: Reputation: 2
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
 
Old 03-26-2010, 03:54 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
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. .. .. ..

Last edited by knudfl; 03-26-2010 at 04:59 AM.
 
Old 03-26-2010, 04:30 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
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
.....

Last edited by knudfl; 03-27-2010 at 04:33 AM.
 
Old 04-01-2010, 02:46 AM   #5
Mortis1369
Member
 
Registered: Feb 2010
Location: Denver, CO
Distribution: Fedora 12, Ubuntu 10.10, Linux Mint 10
Posts: 47

Original Poster
Rep: Reputation: 2
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
 
Old 04-02-2010, 02:12 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
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.
.....

Last edited by knudfl; 04-02-2010 at 02:22 AM.
 
  


Reply

Tags
installing, tarball


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with the installation of OpenSUSE 11.0 Live/CD installation Clived Suse/Novell 7 09-29-2008 02:04 AM
Dom U Installation Problems on RHEL5+ Xen (installation exits abnormally) dmpatra Red Hat 1 07-24-2007 05:46 PM
Many problems with Mandriva 07 x86_64, on installation, and post installation kd5eax Mandriva 5 02-09-2007 10:17 PM


All times are GMT -5. The time now is 07:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration