"NotReal" writes:
> The Natural Philosopher wrote:
>> On 25/09/18 10:14, Richard Kettlewell wrote:
>>>The Natural Philosopher writes:
>>>> https://wiki.debian.org/Packaging/SourcePackage
>>>>
>>>> Download the source pakage and proceed as indicated. It should 'just
>>>> build'
>>>
>>> You need to install the build-dependencies as well. dpkg-buildpackage[1]
>>> will tell you what they are.
>>>
>>> [1] http://man7.org/linux/man-pages/man1/dpkg-buildpackage.1.html
>>>
>>>> You need to be root probly to build stuff
>>>
>>> You don’t need to be root to build Debian packages from source. The only
>>> step that needs a root-like environment is the assembly of build
>>> products into a .deb file, and fakeroot is sufficient for that (and is
>>> what dpkg-buildpackage uses).
>>>
>> I hoped you would step in and provide chapter and verse.
>>
>> Cheers!
>
> As suggested I ran “sudo dpkg-buildpackage”. My first attempt failed
> because, as you suspected, it was missing the following dependencies
You do not need root here. See above.
> I also haad a group of eight identical errors one of which is shown below.
> These errors were same kind as the ones I received previously using
“make”
>
>
> ____________
>
> readvmf.c:353:7: error: ‘*fd’ is a pointer; did you mean to use ‘->’?
> i = gzgetc(fd);
> ^
> ->
> ___________
>
That’s a bug in sunclock. The Debian package in stretch disabled zlib
support to work around this issue in 2012:
| sunclock (3.57-1) unstable; urgency=low
|
| [...]
| * Disable ZLIB, because this causes trouble with zlib 1.2.6.
|
| -- Roland Rosenfeld Mon, 05 Mar 2012 14:52:35 +0100
Your other post implies you’re not using that but have actually got
source code from some other, hopelessly out-of-date, source.
Get the source code for the distribution you’re using, from that
distribution, using ‘apt-get source sunclock’, and try again.
--
https://www.greenend.org.uk/rjk/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|