LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-08-2006, 02:22 PM   #1
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Rep: Reputation: 15
a real newbie how-to question - setting up moto4lin


Any help or directions to a manual on how to accomplish this will be greatly appreciated.

I have downloaded this program which allows me to access my cellphone camera. On the INSTALL file, it requires that I have the following:


----------------------------------------------------------------------------------------------
To compile you need:

QT library 3.3.3 (C++ headers and binary lib)
libusb-devel 0.8 (headers and binary lib)
g++

Installing
----------
1. qmake
make

2. Now you can run the program.
-------------------------------------------------------------------------------------------------


I have 10.0 installed with all of the default updates. I did a search for QT and found a directory under KD3 labeled qt with 181 .sip files in it, though I cannot find any indication that it is version 3.3.3. I did searches for libusb-devel and g++ and came up with nothing.

My guess is that I have to download these libraries from somewhere, probably opensuse.com?, run qmake, run make, and then run the program? However, there is a catch.

I have these files and directories that are listed in the "root" of the program directory.

directories
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/CVS
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/templates
text files
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/Changelog
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/INSTALL
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto4lin
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto4lin.kdevelop
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto4lin.pro
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/README



I tried running moto4lin with everything as is, and got this error message:


An error occurred while loading tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto4lin:
The file or folder tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/moto4lin does not exist.


This probably has something to do with the fact that moto4lin in the "root" directory contains 0 bytes, but is actually a link to a file in another directory, a file that is simply not there. Go figure.


The moto_ui directory contains the following files:

tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/CVS
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/images
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/appconfig.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/custmsg.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/filelistview.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/fmpixmap.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/form1.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/frmconfig.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/frmfilemanager.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/frmseemeditor.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/p2kproc.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/phoneman.h
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/appconfig.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/custmsg.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/filelistview.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/fmpixmap.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/form1.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/frmconfig.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/frmfilemanager.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/frmseemeditor.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/main.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/p2kproc.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/phoneman.cpp
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/form1_base.ui
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/frmconfig_base.ui
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/frmfilemanager_base.ui
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/frmseemeditor_base.ui
tar:/home/justin/moto4lin-0.3.tar.bz2/moto4lin-0.3/moto_ui/moto_ui.pro


Lastly, does Linux allow text files to be used as program files? The other two text files labeled "moto4lin" display the following:

moto4lin.pro

# File generated by kdevelop's qmake manager.
# -------------------------------------------
# Subdir relative project main directory: .
# Target is a subdirs project

SUBDIRS += moto_ui
TEMPLATE = subdirs
CONFIG += release \
warn_on


moto4lin.kdevelop

<?xml version = '1.0'?>
<kdevelop>
<general>
<author>Dmitry Nezhevenko</author>
<email>dion@rcom.zp.ua</email>
<version>0.1</version>
<projectmanagement>KDevTrollProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<keywords>
<keyword>Qt</keyword>
</keywords>
<projectdirectory>.</projectdirectory>
<absoluteprojectpath>false</absoluteprojectpath>
<description/>
<ignoreparts>
<part>KDevClearCase</part>
<part>KDevPerforce</part>
<part>KDevDoxygen</part>
<part>KDevVisualBoyAdvance</part>
</ignoreparts>
<secondaryLanguages/>
</general>
<kdevfileview>
<groups>
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
<group pattern="*.ui" name="User Interface" />
<group pattern="*.png" name="Icons" />
<group pattern="*" name="Others" />
<hidenonprojectfiles>false</hidenonprojectfiles>
<hidenonlocation>false</hidenonlocation>
</groups>
<tree>
<hidepatterns>*.o,*.lo,CVS</hidepatterns>
<hidenonprojectfiles>false</hidenonprojectfiles>
</tree>
</kdevfileview>
<kdevdoctreeview>
<ignoretocs>
<toc>bash</toc>
<toc>bash_bugs</toc>
<toc>clanlib</toc>
<toc>w3c-dom-level2-html</toc>
<toc>fortran_bugs_gcc</toc>
<toc>gnome1</toc>
<toc>gnustep</toc>
<toc>gtk</toc>
<toc>gtk_bugs</toc>
<toc>haskell</toc>
<toc>haskell_bugs_ghc</toc>
<toc>java_bugs_gcc</toc>
<toc>java_bugs_sun</toc>
<toc>kde2book</toc>
<toc>opengl</toc>
<toc>pascal_bugs_fp</toc>
<toc>php</toc>
<toc>php_bugs</toc>
<toc>perl</toc>
<toc>perl_bugs</toc>
<toc>python</toc>
<toc>python_bugs</toc>
<toc>qt-kdev3</toc>
<toc>ruby</toc>
<toc>ruby_bugs</toc>
<toc>sdl</toc>
<toc>stl</toc>
<toc>w3c-svg</toc>
<toc>sw</toc>
<toc>w3c-uaag10</toc>
<toc>wxwidgets_bugs</toc>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
<toc>c++_bugs_gcc</toc>
<toc>libstdc++</toc>
<toc>libc</toc>
<toc>kdev3api</toc>
</ignoretocs>
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
<projectdoc>
<userdocDir>html/</userdocDir>
<apidocDir>html/</apidocDir>
</projectdoc>
<ignoreqt_xml/>
<ignorekdocs/>
<ignoredevhelp>
<toc>gconf</toc>
<toc>libbonoboui</toc>
</ignoredevhelp>
</kdevdoctreeview>
<kdevdebugger>
<general>
<dbgshell/>
<programargs/>
<gdbpath/>
<configGdbScript/>
<runShellScript/>
<runGdbScript/>
<breakonloadinglibs>true</breakonloadinglibs>
<separatetty>false</separatetty>
<floatingtoolbar>false</floatingtoolbar>
</general>
<display>
<staticmembers>false</staticmembers>
<demanglenames>true</demanglenames>
</display>
</kdevdebugger>
<kdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
</kdevfilecreate>
<kdevtrollproject>
<general>
<activedir>moto_ui</activedir>
</general>
<run>
<directoryradio>executable</directoryradio>
<customdirectory>/</customdirectory>
<mainprogram/>
<programargs/>
<terminal>false</terminal>
<autocompile>true</autocompile>
<envvars/>
</run>
<make>
<abortonerror>false</abortonerror>
<numberofjobs>1</numberofjobs>
<dontact>false</dontact>
<makebin/>
<envvars/>
</make>
<subclassing/>
</kdevtrollproject>
<kdevcppsupport>
<references>
<pcs>Qt</pcs>
<pcs>include</pcs>
</references>
<codecompletion>
<includeGlobalFunctions>true</includeGlobalFunctions>
<includeTypes>true</includeTypes>
<includeEnums>true</includeEnums>
<includeTypedefs>true</includeTypedefs>
<automaticCodeCompletion>true</automaticCodeCompletion>
<automaticArgumentsHint>true</automaticArgumentsHint>
<automaticHeaderCompletion>true</automaticHeaderCompletion>
<codeCompletionDelay>250</codeCompletionDelay>
<argumentsHintDelay>400</argumentsHintDelay>
<headerCompletionDelay>250</headerCompletionDelay>
</codecompletion>
</kdevcppsupport>
<cppsupportpart>
<filetemplates>
<interfacesuffix>.h</interfacesuffix>
<implementationsuffix>.cpp</implementationsuffix>
</filetemplates>
</cppsupportpart>
</kdevelop>

Last edited by agentchange; 06-08-2006 at 03:03 PM.
 
Old 06-08-2006, 02:28 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
use your package manager to search for the packages required and update if necessary. i dont know where it is in suse, probably in the KDE > System or Administration menu if it exists. I think its called YaST.

is there also an INSTALL file? that should tell you exactly what commands to run to install it... there usually is both INSTALL and README files. check it out.
 
Old 06-08-2006, 03:02 PM   #3
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Original Poster
Rep: Reputation: 15
Yes, what I displayed at the very first was actually the INSTALL file.
 
Old 06-08-2006, 03:06 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
oh sorry missed that. did you look in the package manager?
 
Old 06-08-2006, 03:07 PM   #5
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Original Poster
Rep: Reputation: 15
Actually, when I went back and looked at the properties on the different files, it did not specifically say that they were text files. It says file type UNKNOWN, which leads me to believe that is the result of the libraries missing.
 
Old 06-08-2006, 03:15 PM   #6
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Original Poster
Rep: Reputation: 15
OK, I got into Yast, and it says that I have the first two libraries installed, but I can't seem to find any libraries named g++. I have C++ in the list, not actually installed, but I'm not finding g++ anywhere as a selection.

Last edited by agentchange; 06-08-2006 at 03:18 PM.
 
Old 06-08-2006, 03:24 PM   #7
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
its probably listed under gcc
 
Old 06-08-2006, 04:25 PM   #8
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Original Poster
Rep: Reputation: 15
OK, I installed the entire C++ library, so I should have all of the right files installed on my system, as the other two were later versions than what was listed. However, when I try to run qmake, it doesn't know that command. When I try to run make, I believe that it is requiring extra parameters or variables.

linux:/home/justin # qmake
bash: qmake: command not found
linux:/home/justin # make
make: *** No targets specified and no makefile found. Stop.
linux:/home/justin #
 
Old 06-08-2006, 04:28 PM   #9
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
youll have to move into the directory where you unzipped the files.
is that the only instructions? 'qmake' and 'make'?
 
Old 06-08-2006, 06:37 PM   #10
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Arch
Posts: 452

Rep: Reputation: 35
Try this instead and install any dependencies
http://rpm.pbone.net/index.php3/stat....i586.rpm.html

Moto4lin works but in suse had alot of problems with normal user and certain permissions so run moto4lin as root to help with any permission problems you may have.
 
  


Reply



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
Installation Question From A Real Newbie topherus Linux - Newbie 4 05-26-2006 01:00 PM
Real NEWBIE question! rkhartley Linux - Newbie 4 10-29-2003 09:56 PM
dual display question - real real newbie !! Jay_Dee007 Linux - Newbie 1 09-29-2003 08:33 AM
real newbie question - sorry mike@wales Linux - Newbie 1 07-20-2003 04:03 PM
Real Newbie Question... killer_cobra Linux - Newbie 4 11-04-2002 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration