You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command will fail, but it will create a ~/rpmbuild/SPECS/mod_lsapi.spec file.
1615
+
This ~/rpmbuild/SPECS/mod_lsapi.spec file will need to be modified.
1616
+
:::
1617
+
1604
1618
4. Remove building dependency from `httpd-devel` in the <spanclass="notranslate">`mod_lsapi.spec`</span> spec file located in the <spanclass="notranslate">`~/rpmbuild/SPECS/`</span> directory.
1605
1619
1606
1620
5. Change the paths to copy `mod_lsapi.so` and `mod_lsapi.conf` in the %install section of the `mod_lsapi.spec` file. For example, if Apache root is `/usr/local/apache`, then modules directory and config files directory will be <spanclass="notranslate">`/usr/local/apache/modules`</span> and <spanclass="notranslate">`/usr/local/apache/conf.d`</span> respectively. So for the config file you should substitute the following line in the <spanclass="notranslate">`%install`</span> section:
@@ -1649,8 +1663,16 @@ Also you should add mentions of both module and config files in the <span class=
1649
1663
```
1650
1664
</div>
1651
1665
1652
-
6. Rebuild the package again, this time you should get to the compilation stage. During compilation, you may encounter some errors:
1666
+
6. Rebuild the package again, this time you should get to the compilation stage.
1653
1667
1668
+
Use this command to rebuild a package
1669
+
<divclass="notranslate">
1670
+
```
1671
+
rpmbuild -bb ~/rpmbuild/SPECS/mod_lsapi.spec
1672
+
```
1673
+
</div>
1674
+
1675
+
During compilation, you may encounter some errors:
1654
1676
<divclass="notranslate">
1655
1677
1656
1678
```
@@ -1721,6 +1743,13 @@ The requirements to the `config.ini` file and script file are described in the f
1721
1743
1722
1744
8. Rebuild the package again, if you set everything correctly, there shouldn't be any problems.
1723
1745
1746
+
Use this command to rebuild a package
1747
+
<divclass="notranslate">
1748
+
```
1749
+
rpmbuild -bb ~/rpmbuild/SPECS/mod_lsapi.spec
1750
+
```
1751
+
</div>
1752
+
1724
1753
9. Install the module, check that it is successfully loaded into Apache.
1725
1754
1726
1755
#### How to integrate switch_mod_lsapi script with custom panels
0 commit comments