Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
10-22-2015, 05:57 AM
|
#46
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Installing from the install media was quite common in the early days when some of us had no Internet connection.
Today you can of course use slackpkg.
But for the sake of completion, "install from DVD" is not at all complicated :
$ cd /media/SlackDVD/slackware64/kde
... and there is an install script in slackware64/kde/ to install all packages ..
# sh install-packages
Qt4 : # cd ../l/ && installpkg qt-4.8.5-x86_64-2.txz
-
|
|
|
10-22-2015, 01:53 PM
|
#47
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Quote:
You have already used slackpkg in a previous post, which means it is correctly set up
|
Had that been the case than running the build script to install Simon would of worked.
I had forgetten that slackpkg can be used with 'install'-
|
|
|
10-22-2015, 02:59 PM
|
#48
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Quote:
Originally Posted by knudfl
Installing from the install media was quite common in the early days when some of us had no Internet connection.
Today you can of course use slackpkg.
But for the sake of completion, "install from DVD" is not at all complicated :
$ cd /media/SlackDVD/slackware64/kde
... and there is an install script in slackware64/kde/ to install all packages ..
# sh install-packages
Qt4 : # cd ../l/ && installpkg qt-4.8.5-x86_64-2.txz
-
|
Thanks for including that there is an install script to install all of the pkgs's-
|
|
|
10-22-2015, 03:22 PM
|
#49
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Evidently I will need to install all of the Optional pkgs because Simon will not install.
Code:
Today
bash-4.2$ cd /home/zebracat/simon/simon/
bash-4.2$ su
Password:
bash-4.2# ./build.sh
CMake Error at CMakeLists.txt:4 (cmake_policy):
Policy "CMP0026" is not known to this version of CMake.
-- Found Qt-Version 4.8.7 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found KDE 4.12 include dir: /usr/include
-- Found KDE 4.12 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Qt-Version 4.8.7 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
ldd: ./: not regular file
-- Found Qwt: /usr/lib64/libqwt.so
ldd: ./: not regular file
-- Found libsamplerate: /usr/local/lib/libsamplerate.so
CMake Warning at /usr/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package):
By not providing "FindQAccessibilityClient.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"QAccessibilityClient", but CMake did not find one.
Could not find a package configuration file provided by
"QAccessibilityClient" with any of the following names:
QAccessibilityClientConfig.cmake
qaccessibilityclient-config.cmake
Add the installation prefix of "QAccessibilityClient" to CMAKE_PREFIX_PATH
or set "QAccessibilityClient_DIR" to a directory containing one of the
above files. If "QAccessibilityClient" provides a separate development
package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:68 (macro_optional_find_package)
-- checking for module 'sphinxbase'
-- package 'sphinxbase' not found
-- Found SphinxBase
-- checking for module 'sphinxbase'
-- package 'sphinxbase' not found
-- WARNING: OpenCV was not found. Please specify OpenCV directory using OpenCV_DIR env. variable
-- Could NOT find VRPN (missing: VRPN_LIBRARY VRPN_INCLUDE_DIR)
-- BackendType='both'
-- checking for module 'sphinxbase'
-- package 'sphinxbase' not found
-- checking for module 'sphinxbase'
-- package 'sphinxbase' not found
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* LibSampleRate - Resampling library
* KDE PIM Libs - KDE Libraries for PIM
* Sphinxbase - Open source toolkit for speech recognition
* PocketSphinx - PocketSphinx is a small-footprint continuous speech recognition system
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
* qaccessibilityclient <https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient>
KDE client-side accessibility library
Required to enable ATSPI plugin.
* OpenCV <http://http://opencv.willowgarage.com/>
OpenCV (Open Source Computer Vision) is a library of programming functions for real time computer vision
Required for Simon Vision
* VRPN <http://www.cs.unc.edu/Research/vrpn/index.html>
Virtual-Reality Peripheral Network Connector
Required to build the VRPN command plugin
-----------------------------------------------------------------------------
-- Configuring incomplete, errors occurred!
See also "/home/zebracat/simon/simon/build/CMakeFiles/CMakeOutput.log".
See also "/home/zebracat/simon/simon/build/CMakeFiles/CMakeError.log".
bash-4.2#
I tried several times to install opencv......it returns and error and doesn't install-
I'll go to the websites of the Optional programs and try installing them.
|
|
|
10-22-2015, 03:41 PM
|
#50
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
I won't be installing VRPN because I don't understand the README.compiling file.
I don't have that kind of experience with compiling and building.
Opencv will not install no matter what I try.
Code:
opencv-3.0.0/samples/wp8/OpenCVXaml/OpenCVXaml/Resources/AppResources.resx
opencv-3.0.0/samples/wp8/readme.txt
unzip: cannot find or open /home/zebracat/Downloads/opencv/3.0.0.zip, /home/zebracat/Downloads/opencv/3.0.0.zip.zip or /home/zebracat/Downloads/opencv/3.0.0.zip.ZIP.
unzip: cannot find or open /home/zebracat/Downloads/opencv/opencv_contrib-3.0.0.zip, /home/zebracat/Downloads/opencv/opencv_contrib-3.0.0.zip.zip or /home/zebracat/Downloads/opencv/opencv_contrib-3.0.0.zip.ZIP.
bash-4.2#
I downloaded the opencv. tar.gz from the SlackBuilds repo and have ran the ./opencv.SlackBuild so I don't get why it's not working.
|
|
|
10-22-2015, 05:33 PM
|
#51
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Until I can figure out what this file is saying to do I can't install VRPN=
Code:
Get CMake from your Linux distribution and/or from www.cmake.org
Use the current directory (vrpn_XX_XX) as the "source code" directory
in the CMake GUI; the quat directory (vrpn_XX_XX/quat) will be automatically
detected and built as well. Choose any directory you want (the source
directory followed by /build is suggested) as the "build binaries"
directory: generated build files will be placed there rather than cluttering
up your source tree.
Many options can be fully configured using CMake as of Dec 2009, and more
are sure to come. Until then, if you need specific compilation needs
that CMake doesn't appear to provide an interface for, look in the
vrpn_Configure.h.cmake_in file.
If you'd rather use the command line, here's the basics:
mkdir build
cd build
ccmake ../
- Press 'c' to run the initial configuration
- Change any options, pressing 'c' to re-configure after each change
- when satisfied, after configuring, press 'g' to create makefiles, etc
make
and any/all of these if desired:
make package
- Create binary install packages of your configured build using CPack
make package_source
- Create source code packages using CPack
make install
- Install all libraries, executables, and headers (as configured)
to your system, to the configured path. Add DESTDIR=whatever/
to place the installation tree somewhere other than root.
Instructions for the original Makefile-based or project-based build follow.
For those not at UNC, you compile by doing the following:
for Visual C++:
Open the vrpn.dsw file.
Compile the quat project.
Compile the VRPN project.
Then compile whichever of vrpn_server, printvals, etc you want.
for Unix/Cygwin:
Go to ../quat.
Edit 'makefile' to uncomment the architecture you are on.
gmake
Come back here (cd ../vrpn)
Edit Makefile to uncomment your architecture
gmake
Go to client_src
Edit Makefile to uncomment your architecture
gmake
Go to server_src
Edit Makefile to uncomment your architecture
gmake
edit the vrpn.cfg file to set it to start tracker you want
See the file vrpn.cfg.SAMPLE for examples.
Example: vrpn_Tracker_NULL Tracker0@MYHOSTNAME 2 2
(Run the server: sgi_irix/vrpn_server -millisleep 1 -f vrpn.cfg)
Go to client_src
Run printvals to check the server
Example: sgi_irix/printvals localhost
For those wanting to build client code for Android, see the README_Android.txt in
the java_vrpn directory.
I've never created binary install packages for a configured build so I'm clueless on how to do this.
Any ideas aside form using Google to study?
|
|
|
10-22-2015, 09:48 PM
|
#52
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Slackware came with a Development program called cmake.
When I launch the program it ask's me where is the src code and it also ask's me where to build the binaries and click generate to generate the selected build files.
Do I need to use this program in order to prepare a folder to get VRPN installed?
Would the src code be the folder marked 'client_src'?
<OR> would I just follow what the files (that I don't understand yet) instructions?
I joined the vrgeeks forum explained what I have going on and asked them for help as well.
http://www.vrgeeks.org/vrpn
To complicate things there are 4 other README.compiling files for VRPN-
README.git, README.jsoncpp, README.legal and README.python.
Python is already installed and works so that's not a problem.
I don't however know how to compile the main library (main library of VRPN) quat library and than go to the python folder and define the environment variable to the version of python that I'm using.
I never thought that Optional pkg's could be such a pain in the axx!
It's starting to get really irritating.
But I'm not giving up and I'm not giving in because I really need this Voice Recognition software.
|
|
|
10-24-2015, 03:25 PM
|
#53
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
One of the VRGeeks answered me-
I will have to re-read and ponder what he has said so I can proceed.
Code:
It has been ages ago I have touched Slackware last time (1997?), but
let's see. BTW, Slackware is a very "old school" Linux distribution
(it was one of the first ones). If you are not experienced with
building software from source code, you will have much easier time
using a more mainstream system, such as Fedora, Ubuntu, Suse or Mageia
where a lot more software is prepackaged in the distribution
repositories for you.
I think you are confusing two issues. If you are trying to install
Simon from a binary package provided by Slackware or some contributor
and it has a package requirement that it needs VRPN (not sure why,
VRPN doesn't provide support for speech recognition, AFAIK), then you
need to install the *Slackware package* of VRPN. That should be
provided in the repository somewhere and you install it the same way
as Simon, using your package manager (not sure what Slackware uses
today).
The README file you have attached is the generic file describing how
to *compile VRPN from source*, using CMake, gcc and few other things.
That is not what you want - even if you compile it from source, the
Simon package will not be aware of it, thus still fail to install.
Moreover, the from source compiled version could incompatible with
what Simon expects.
If you are compiling Simon from source, then you should be able to
configure it to not use VRPN (since it is an optional requirement).
Check the Simon's documentation on how to do that.
Otherwise, compiling VRPN is fairly simple. You will need your
development tools - binutils, gcc, g++, make and cmake installed.
These are usually pre-installed or you install them from Slackware
packages and you need them for building Simon anyway.
Then you unpack the VRPN source code into a directory and follow the
instructions in the README, typing the following commands in the shell
(skip the lines starting with #, those are my explanations):
Any thoughts or ideas feel free to chime in.
|
|
|
10-24-2015, 04:27 PM
|
#54
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Re #53.
VRPN is extremely complicated to build, requires an endless number other tricky software, in order to build.
... And VRPN is not really required by Simon.
I never saw any VRPN text when configuring Simon with cmake.
My suggestion is to give up on VRPN.
A Debian / Ubuntu build of Simon is a holiday : Everything fits right away.
Slackware : Must have been the Slacky.eu opencv I tested : Not recognized by Simon.
.............
|
|
|
10-24-2015, 07:46 PM
|
#55
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Your right knudfl, VRPN is not the problem and I see now where it never was. (got confused)
I think the problem is opencv.
When I went to install Simon it returned an error that it could not find Eigen which is a dependency to Opencv.
So....I installed Eigen from the Slack Builds repo.
I hope that opencv will now install w/o an error.
I'll try installing opencv Monday and let you know how it goes.
|
|
|
10-25-2015, 03:58 PM
|
#56
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Eigen is installed-
Code:
bash-4.2# slackpkg search eigen
Looking for eigen in package list. Please wait... DONE
The list below shows all packages with name matching "eigen".
[ installed ] - eigen2-2.0.10-x86_64-1
You can search specific files using "slackpkg file-search file"
So I ran the build.sh script for Simon to install it.
Now what's wrong?
Code:
bash-4.2# ./build.sh
CMake Error at CMakeLists.txt:4 (cmake_policy):
Policy "CMP0026" is not known to this version of CMake.
-- Found Qt-Version 4.8.7 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found KDE 4.10 include dir: /usr/include
-- Found KDE 4.10 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Qt-Version 4.8.7 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
ldd: ./: not regular file
-- Found Qwt: /usr/lib64/libqwt.so
ldd: ./: not regular file
-- Found libsamplerate: /usr/local/lib/libsamplerate.so
CMake Warning at /usr/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package):
By not providing "FindQAccessibilityClient.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"QAccessibilityClient", but CMake did not find one.
Could not find a package configuration file provided by
"QAccessibilityClient" with any of the following names:
QAccessibilityClientConfig.cmake
qaccessibilityclient-config.cmake
Add the installation prefix of "QAccessibilityClient" to CMAKE_PREFIX_PATH
or set "QAccessibilityClient_DIR" to a directory containing one of the
above files. If "QAccessibilityClient" provides a separate development
package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:68 (macro_optional_find_package)
-- checking for module 'sphinxbase'
-- package 'sphinxbase' not found
-- Found SphinxBase
-- checking for module 'sphinxbase'
-- package 'sphinxbase' not found
-- WARNING: OpenCV was not found. Please specify OpenCV directory using OpenCV_DIR env. variable
-- Could NOT find VRPN (missing: VRPN_LIBRARY VRPN_INCLUDE_DIR)
-- BackendType='both'
-- checking for module 'sphinxbase'
-- package 'sphinxbase' not found
-- checking for module 'sphinxbase'
-- package 'sphinxbase' not found
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* LibSampleRate - Resampling library
* KDE PIM Libs - KDE Libraries for PIM
* Sphinxbase - Open source toolkit for speech recognition
* PocketSphinx - PocketSphinx is a small-footprint continuous speech recognition system
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
* qaccessibilityclient <https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient>
KDE client-side accessibility library
Required to enable ATSPI plugin.
* OpenCV <http://http://opencv.willowgarage.com/>
OpenCV (Open Source Computer Vision) is a library of programming functions for real time computer vision
Required for Simon Vision
* VRPN <http://www.cs.unc.edu/Research/vrpn/index.html>
Virtual-Reality Peripheral Network Connector
Required to build the VRPN command plugin
-----------------------------------------------------------------------------
-- Configuring incomplete, errors occurred!
I know opencv is still not installed but what else am I missing?
|
|
|
10-25-2015, 04:04 PM
|
#57
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
While trying to run the opencv.SlackBuild script it's complaining that it can't find the zip for opencv-
Code:
unzip: cannot find or open /home/zebracat/Downloads/opencv/3.0.0.zip, /home/zebracat/Downloads/opencv/3.0.0.zip.zip or /home/zebracat/Downloads/opencv/3.0.0.zip.ZIP.
unzip: cannot find or open /home/zebracat/Downloads/opencv/opencv_contrib-3.0.0.zip, /home/zebracat/Downloads/opencv/opencv_contrib-3.0.0.zip.zip or /home/zebracat/Downloads/opencv/opencv_contrib-3.0.0.zip.ZIP.
bash-4.2#
Is a pkg missing from the SlackBuild tar.gz?
|
|
|
10-25-2015, 04:48 PM
|
#58
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Re #57.
You have three packages here ...
http://slackbuilds.org/repository/14...?search=opencv
You will have to download both the sources, *.tar.gz and *.zip .
And move the packages to "opencv/"
Not very often that two source packages are used.
-
|
|
|
10-25-2015, 05:36 PM
|
#59
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Original Poster
|
Opencv is installed now but when I run the build.sh script for Simon to install it tells me that it could not find opencv. Why?
Code:
bash-4.2# installpkg opencv-3.0.0-x86_64-2_SBo.tgz
Verifying package opencv-3.0.0-x86_64-2_SBo.tgz.
Installing package opencv-3.0.0-x86_64-2_SBo.tgz:
PACKAGE DESCRIPTION:
# OpenCV (Open Source Computer Vision)
#
# OpenCV is a library of programming functions mainly aimed at real
# time computer vision.
#
# Homepage: http://opencv.willowgarage.com
#
Executing install script for opencv-3.0.0-x86_64-2_SBo.tgz.
Package opencv-3.0.0-x86_64-2_SBo.tgz installed.
---------- Post added 10-25-15 at 06:37 PM ----------
Quote:
Originally Posted by knudfl
|
It took about 30 minutes to build and I restarted.-
Last edited by Ztcoracat; 10-25-2015 at 05:43 PM.
|
|
|
10-25-2015, 06:48 PM
|
#60
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Re #59.
I guess we will have to investigate how opencv is found by the Simon cmake in other OS`s.
? Debian, Ubuntu ? That's going to be tomorrow.
I don't remember which OS I used with success.
|
|
|
All times are GMT -5. The time now is 10:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|