~ubuntu-branches/ubuntu/quantal/linpsk/quantal

« back to all changes in this revision

Viewing changes to linpsk/docs/en/index-4.html

  • Committer: Bazaar Package Importer
  • Author(s): Bruce Walker
  • Date: 2002-02-06 11:43:38 UTC
  • Revision ID: james.westby@ubuntu.com-20020206114338-xqmjmhh01lpjm0g4
Tags: upstream-0.6.2
ImportĀ upstreamĀ versionĀ 0.6.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
2
<HTML>
 
3
<HEAD>
 
4
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 
5
 <TITLE>The LinPsk Handbook: Faq's</TITLE>
 
6
 <LINK HREF="index-5.html" REL=next>
 
7
 <LINK HREF="index-3.html" REL=previous>
 
8
 <LINK HREF="index.html#toc4" REL=contents>
 
9
</HEAD>
 
10
<BODY>
 
11
<A HREF="index-5.html">Next</A>
 
12
<A HREF="index-3.html">Previous</A>
 
13
<A HREF="index.html#toc4">Contents</A>
 
14
<HR>
 
15
<H2><A NAME="s4">4. Faq's</A></H2>
 
16
 
 
17
<P>
 
18
<P>
 
19
<OL>
 
20
<LI>Question:
 
21
<P>
 
22
<A HREF="#Q1">Running ./configure results in an error message like qt-.... not found</A><P>
 
23
<P>
 
24
</LI>
 
25
<LI>Question:
 
26
<P>
 
27
<A HREF="#Q2">Though I ran  configure with the parameter --with-qt-dir I get an file not found error when running make</A><P>
 
28
</LI>
 
29
<LI>Question:
 
30
<P>
 
31
<A HREF="#Q3">Though configure worked properly, running make I get an error like:</A><P>
 
32
<BLOCKQUOTE><CODE>
 
33
<PRE>
 
34
cdisplay.moc.cpp:45: new declaration `static void
 
35
CDisplay::staticMetaObject()'
 
36
cdisplay.h:47: ambiguates old declaration `static class QMetaObject *
 
37
CDisplay::staticMetaObject()'
 
38
cdisplay.moc.cpp: In function `void
 
39
__static_initialization_and_destruction_0(int, int)':
 
40
cdisplay.moc.cpp:29: no matching function for call to
 
41
`QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
 
42
/usr/lib/qt-2.2.4/include/qmetaobject.h:259: candidates are:
 
43
QMetaObjectInit::QMetaObjectInit(void (*)())
 
44
</PRE>
 
45
</CODE></BLOCKQUOTE>
 
46
<P>
 
47
</LI>
 
48
<LI>Question:
 
49
<P>
 
50
<A HREF="#Q4">Though my computer has two ( or more ) com- ports I can't select one in the setup menu</A><P>
 
51
</LI>
 
52
<LI>Question:
 
53
<P>
 
54
<A HREF="#Q5">How can I check whether my soundcard is installed properly ?</A><P>
 
55
</LI>
 
56
</OL>
 
57
<P>
 
58
<P>
 
59
<P>
 
60
<OL>
 
61
<LI>Running ./configure results in an error message like qt-.... not found
 
62
<A NAME="Q1"></A> <P>
 
63
<P>You need qt-2.2.x to be installed. If you're shure that a proper qt- version
 
64
is installed 
 
65
<P>try 
 
66
<P>
 
67
<P>rm config.cache
 
68
<P>./configure --with-qt-dir="Where your qt is installed"
 
69
<P>
 
70
<P>Have a look that you use the correct moc version when you run make
 
71
<P>
 
72
<P>
 
73
</LI>
 
74
<LI>Though I ran  configure with the parameter --with-qt-dir I get an file not
 
75
found error when running make
 
76
<A NAME="Q2"></A> <P>
 
77
<P>Find out where the qt header files reside and try
 
78
<P>
 
79
<BLOCKQUOTE><CODE>
 
80
<PRE>
 
81
rm config.cache
 
82
./configure --with-qt-dir="Where your qt is installed" --with-qt-include="where the include files reside"
 
83
</PRE>
 
84
</CODE></BLOCKQUOTE>
 
85
<P>
 
86
</LI>
 
87
<LI>Though configure worked properly, running make I get an error like:<P>
 
88
<BLOCKQUOTE><CODE>
 
89
<PRE>
 
90
cdisplay.moc.cpp:45: new declaration `static void
 
91
CDisplay::staticMetaObject()'
 
92
cdisplay.h:47: ambiguates old declaration `static class QMetaObject *
 
93
CDisplay::staticMetaObject()'
 
94
cdisplay.moc.cpp: In function `void
 
95
__static_initialization_and_destruction_0(int, int)':
 
96
cdisplay.moc.cpp:29: no matching function for call to
 
97
`QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
 
98
/usr/lib/qt-2.2.4/include/qmetaobject.h:259: candidates are:
 
99
QMetaObjectInit::QMetaObjectInit(void (*)())
 
100
</PRE>
 
101
</CODE></BLOCKQUOTE>
 
102
 
 
103
<A NAME="Q3"></A> <P>Be sure to have the correct version of moc, when you run make.
 
104
<P>Probably you don't use the version of moc that corresponds to your qt- version.
 
105
<P>Check where your moc resides and if you have several versions installed on
 
106
your system.
 
107
<P>Sometimes there is a link in /usr/bin to "QT-directory/bin/moc".
 
108
<P>Set the link appropriate or adjust your PATH- environment- variable that the
 
109
correct moc version is to be found.
 
110
<P>
 
111
</LI>
 
112
<LI>Though my computer has two ( or more ) com- ports I can't select one in the setup menu.<P>
 
113
<A NAME="Q4"></A> <P>Propably you don't have the permissions to access the com - ports. Check the permissions of /dev/ttyS0 - /dev/ttyS3.
 
114
In most systems the group of these files is uucp and the group has read/write permission.
 
115
Check if you belong to the group uucp, if not add your id to this group.
 
116
<P>
 
117
</LI>
 
118
<LI>How can I check whether my soundcard is installed properly ? <P>
 
119
<A NAME="Q5"></A> <P>Make sure that soem input source is connected to your soundcard. then run 
 
120
<P>dd if=/dev/audio of=/tmp/test.wav bs=4k count=4
 
121
<P>This command samples 16k 'sound'. Then run
 
122
<P>cat /tmp/test.wav >/dev/audio
 
123
and you should be able to hear what you sampled earlier.
 
124
<P>
 
125
<P>
 
126
<P>
 
127
</LI>
 
128
</OL>
 
129
<P>
 
130
<HR>
 
131
<A HREF="index-5.html">Next</A>
 
132
<A HREF="index-3.html">Previous</A>
 
133
<A HREF="index.html#toc4">Contents</A>
 
134
</BODY>
 
135
</HTML>