Changeset 7e3b453 for pst/scanning/sane.xml
- Timestamp:
- 09/01/2019 11:48:32 AM (5 years ago)
- Branches:
- 9.0
- Parents:
- b7fb1f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/scanning/sane.xml
rb7fb1f4 r7e3b453 154 154 <screen role="root"><userinput>groupadd -g 70 scanner</userinput></screen> 155 155 156 <!-- The following seems to be obsolete: I've built sane several times157 as user pierre without adding it to the scanner group158 156 <note> 159 157 <para> 160 The user building <application>SANE</application>-backends should be 161 a member of the <systemitem class="groupname">scanner</systemitem> 162 group before proceeding. After you have added the user building the 163 package to the <systemitem class="groupname">scanner</systemitem> 164 group, issue the following command to create a new shell: 158 <command>configure</command> assumes that the user building 159 <application>SANE</application>-backends is a member of the 160 <systemitem class="groupname">scanner</systemitem> group for testing 161 the existence of this group. So the user building the package should 162 be added to the <systemitem class="groupname">scanner</systemitem> 163 group. As the <systemitem class="username">root</systemitem> user: 165 164 </para> 166 165 167 <screen><userinput>su $(whoami)</userinput></screen> 168 169 <para> 170 Check the output of the <userinput>groups</userinput> command and 171 ensure the user is a member of the 172 <systemitem class="groupname">scanner</systemitem> group. 173 </para> 166 <screen role="root"><userinput>usermod -G scanner -a <replaceable>username</replaceable></userinput></screen> 174 167 </note> 175 --> 168 176 169 <para>For a USB scanner, if you are linking to <xref linkend="libusb"/>, 177 170 include the configure switch --enable-libusb_1_0. Install … … 179 172 commands:</para> 180 173 181 <screen><userinput>./configure --prefix=/usr \ 174 <screen><userinput>sg scanner -c " \ 175 ./configure --prefix=/usr \ 182 176 --sysconfdir=/etc \ 183 177 --localstatedir=/var \ 184 178 --with-group=scanner \ 185 --with-docdir=/usr/share/doc/sane-backends-&sane-version; &&179 --with-docdir=/usr/share/doc/sane-backends-&sane-version;" && 186 180 make</userinput></screen> 187 181 … … 252 246 <sect2 role="commands"> 253 247 <title>Command Explanations</title> 248 249 <para> 250 <command>sg scanner -c "..."</command>: runs the command between double 251 quotes with principal group <systemitem 252 class="groupname">scanner</systemitem>. This may be needed if the user 253 has been newly added to group scanner, and has not looged out and in. 254 </para> 254 255 255 256 <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
Note:
See TracChangeset
for help on using the changeset viewer.