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
debhelper libjpeg62-dev libpng12-dev dpatch
I installed these four and tried again. This time I received bunch of warnings.
The one that was repeated most often is the one below but there were others.
_____________
“warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE”
_____________
I also had 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);
^
->
___________
This time the end message was as follows.
___________
: recipe for target 'readvmf.o' failed
make[1]: *** [readvmf.o] Error 1
make[1]: Leaving directory '/home/pi/Downloads/Sunclock-master/sunclock-3.57'
debian/rules:25: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
__________
The fun never stops.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|