<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">(This is still about compiling
Pd-vanilla on two Ubuntu Studio laptops)</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">I solved the dependencies by installing
the following libraries -before running the script- on both Ubuntu
14 Trusty and Ubuntu 16 Xenial laptops:<br>
sudo apt-get install libjack-jackd2-dev<br>
sudo apt-get install portaudio19-dev<br>
sudo apt-get install equivs<br>
sudo apt-get install debhelper<br>
<br>
Next I ran the script of IOhannes line by line<br>
<br>
export LANG=C<br>
MAINREPO=<a class="moz-txt-link-freetext" href="https://deb.debian.org/debian/pool/main/">https://deb.debian.org/debian/pool/main/</a><br>
PDVER=0.50.2-1<br>
sudo apt-get install devscripts<br>
mkdir -p build<br>
cd build<br>
dget -u ${MAINREPO}/p/puredata/puredata_${PDVER}.dsc<br>
cd puredata-${PDVER%-*}<br>
echo 9 > debian/compat<br>
I changed the line "debhelper-compat (= 12)" in debian/control
into "debhelper (>= 9)"<br>
sudo mk-build-deps -ir <br>
<br>
And when I ran the following command "dpkg-buildpackage
-rfakeroot" there was a problem on both laptops, "No targets
specified and no makefile found." I checked and in the folder
build/puredata-0.50.2 there is a Makefile.am file. This is the
printout after the "dpkg-buildpackage -rfakeroot" command (exactly
the same for both laptops):<br>
<br>
-----<br>
dpkg-buildpackage: source package puredata<br>
dpkg-buildpackage: source version 0.50.2-1<br>
dpkg-buildpackage: source distribution unstable<br>
dpkg-buildpackage: source changed by IOhannes m zmölnig
(Debian/GNU) <a class="moz-txt-link-rfc2396E" href="mailto:umlaeute@debian.org"><umlaeute@debian.org></a><br>
dpkg-buildpackage: host architecture i386<br>
dpkg-source --before-build puredata-0.50.2<br>
dpkg-source: warning: unknown information field
'Rules-Requires-Root' in input data in general section of control
info file<br>
fakeroot debian/rules clean<br>
dh clean<br>
dh_testdir<br>
debian/rules override_dh_auto_clean<br>
make[1]: Entering directory `/home/hans/build/puredata-0.50.2'<br>
rm -f debian/gui-plugins/pd-gui-plugin.1<br>
dh_auto_clean<br>
make[1]: Leaving directory `/home/hans/build/puredata-0.50.2'<br>
dh_clean<br>
dpkg-source -b puredata-0.50.2<br>
dpkg-source: warning: unknown information field
'Rules-Requires-Root' in input data in general section of control
info file<br>
dpkg-source: info: using source format `3.0 (quilt)'<br>
dpkg-source: info: building puredata using existing
./puredata_0.50.2.orig.tar.gz<br>
dpkg-source: info: building puredata in
puredata_0.50.2-1.debian.tar.gz<br>
dpkg-source: info: building puredata in puredata_0.50.2-1.dsc<br>
debian/rules build<br>
dh build<br>
dh_testdir<br>
debian/rules override_dh_auto_configure<br>
make[1]: Entering directory `/home/hans/build/puredata-0.50.2'<br>
dh_auto_configure -- \<br>
--program-transform-name='s/pd$/puredata/' \<br>
--libdir=/usr/lib/ \<br>
--enable-alsa --enable-jack --without-local-portaudio
--without-local-portmidi \<br>
CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Werror=format-security"
LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed"<br>
make[1]: Leaving directory `/home/hans/build/puredata-0.50.2'<br>
debian/rules override_dh_auto_build<br>
make[1]: Entering directory `/home/hans/build/puredata-0.50.2'<br>
help2man -N -n "enable or disable a Pd GUI plugin"
debian/gui-plugins/pd-gui-plugin >
debian/gui-plugins/pd-gui-plugin.1<br>
make CPPFLAGS="-DPD_TIMESTAMP_STRING='\"compiled for Debian
(0.50.2-1) on 2020/01/16 at 12:06:08 UTC\"' "<br>
make[2]: Entering directory `/home/hans/build/puredata-0.50.2'<br>
make[2]: *** No targets specified and no makefile found. Stop.<br>
make[2]: Leaving directory `/home/hans/build/puredata-0.50.2'<br>
make[1]: *** [override_dh_auto_build] Error 2<br>
make[1]: Leaving directory `/home/hans/build/puredata-0.50.2'<br>
make: *** [build] Error 2<br>
dpkg-buildpackage: error: debian/rules build gave error exit
status 2<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">best,</div>
<div class="moz-cite-prefix">Hans</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 1/13/20 10:57 PM, IOhannes m zmölnig
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9dea8998-e0df-fc23-9416-51daac692062@iem.at">
<pre class="moz-quote-pre" wrap="">On 1/13/20 10:25 PM, <a class="moz-txt-link-abbreviated" href="mailto:info@hansroels.be">info@hansroels.be</a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">dpkg-source: warning: unknown information field 'Rules-Requires-Root' in
input data in general section of control info file
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
is that the xenial or the bionic host?
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">dpkg-checkbuilddeps: Unmet build dependencies: debhelper-compat (= 12)
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
you might want to remove that line from debian/control and instead try
$ echo 9 > debian/compat
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">portaudio19-dev libjack-dev
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
this i don't understand.
according to <a class="moz-txt-link-freetext" href="https://packages.ubuntu.com/">https://packages.ubuntu.com/</a> both of these packages are
present on both xenial and bionic.
you must have the "universe" repository enabled (but afaik, this is
standard)
fasrm
IOhannes
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<p><br>
</p>
<div class="moz-signature">-- <br>
</div>
</body>
</html>