How To Compile Everything: Difference between revisions
Content added Content deleted
imported>Geofft No edit summary |
imported>Geofft No edit summary |
||
Line 2: | Line 2: | ||
** Read it. |
** Read it. |
||
=== Dynamic languages === |
|||
* Is it mostly PHP? |
* Is it mostly PHP? |
||
** Does it need PHP libraries? |
** Does it need PHP libraries? |
||
Line 8: | Line 9: | ||
* Is it mostly Python? |
* Is it mostly Python? |
||
** Is there a <code>setup.py</code>? |
** Is there a <code>setup.py</code>? |
||
*** <code>python setup.py build</code>, <code>python setup.py install</code>, I think. |
|||
*** ??? |
|||
** Is there a <code>requirements.txt</code>? |
** Is there a <code>requirements.txt</code>? |
||
*** Install the things there, maybe with pip or something?? |
*** Install the things there, maybe with pip or something?? |
||
Line 36: | Line 37: | ||
** Make sure you have autoconf and automake installed. |
** Make sure you have autoconf and automake installed. |
||
** Run <code>autoreconf -fvi</code>, then start from the <code>configure</code> decision branch. |
** Run <code>autoreconf -fvi</code>, then start from the <code>configure</code> decision branch. |
||
=== Other things === |
|||
* Is there a <code>debian</code> directory? Are you building something Debian-specific? |
|||
** Make sure everything in the <code>Build-Depends</code> line of <code>debian/control</code> is installed. If the package is in the Debian/Ubuntu archive, the easiest way to do this is <code>sudo apt-get build-dep ''package''</code>. This works even if you're building a package from a slightly different source than the one in the archive; it'll get you at least 90% of the way there. |
|||
** Run <code>debuild</code>, which is in the <code>devscripts</code> package. |