Re: compiling amanda-3.3.5 client on a Debian8.0/Jessie fails

2018-09-11 Thread Charles Curley
On Tue, 11 Sep 2018 14:11:15 -0400
Jean-Francois Malouin  wrote:

> The server is running 3.3.5.
> I usually prefer compiling clients and servers as I never liked to
> way amanda was packaged for Debian. For instance (it might have
> changed) the amanda user is 'backup' and there is already a user
> called backup and it used for other purposes that doing tape of vdisk
> backups. However they share the same home, /var/backups, etc.  

I certainly agree with your assessment of the debian package, and it
has not changed on stretch. Sigh. Fixing that is on my to-do list, but
rather low. Anyone else want to take that on?

And I appreciate your desire to have consistent installations across
all your machines. 

-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com


Re: compiling amanda-3.3.5 client on a Debian8.0/Jessie fails

2018-09-11 Thread Jean-Francois Malouin
* Charles Curley  [20180911 13:31]:
> On Tue, 11 Sep 2018 10:12:23 -0400
> Jean-Francois Malouin  wrote:
> 
> > Trying to compile amanda-3.3.5 client on a Debian8.0/Jessie but I get
> > this compile error. This is on a newly installed system, so I guess
> > I'm missing some packages...
> 
> Any reason you need 3.3.5? The current packaged version on Jessie is
> 3.3.6-4.

The server is running 3.3.5.
I usually prefer compiling clients and servers as I never liked to way amanda
was packaged for Debian. For instance (it might have changed) the amanda user
is 'backup' and there is already a user called backup and it used for other
purposes that doing tape of vdisk backups. However they share the same home,
/var/backups, etc.  

Anyways, I guess I'll have a go with 3.3.6 pre-packaged.

For the sake of completeness, this compilation problem was reported in the past.
See: http://www.backupcentral.com/forum/14/252632/252633/_subject_

I have exactly the same setup, gcc-4.9, swig-3.0.10.

It might be related to a bug in libmodule-build-perl with < 0.421400
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798927;msg=12

I currently have:

~# apt-cache policy libmodule-build-perl
libmodule-build-perl:
  Installed: 0.421000-2+deb8u1
  Candidate: 0.421000-2+deb8u1
  Version table:
 *** 0.421000-2+deb8u1 0
500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
500 http://security.debian.org/debian-security/ jessie/updates/main 
amd64 Packages
500 file:/mirror/debian/jessie/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status


Regards,
jf

> 
> -- 
> "When we talk of civilization, we are too apt to limit the meaning of
> the word to its mere embellishments, such as arts and sciences; but
> the true distinction between it and barbarism is, that the one
> presents a state of society under the protection of just and
> well-administered law, and the other is left to the chance government
> of brute force."
> - The Rev. James White, Eighteen Christian Centuries, 1889
> Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
> https://charlescurley.com


Re: compiling amanda-3.3.5 client on a Debian8.0/Jessie fails

2018-09-11 Thread Charles Curley
On Tue, 11 Sep 2018 10:12:23 -0400
Jean-Francois Malouin  wrote:

> Trying to compile amanda-3.3.5 client on a Debian8.0/Jessie but I get
> this compile error. This is on a newly installed system, so I guess
> I'm missing some packages...

Any reason you need 3.3.5? The current packaged version on Jessie is
3.3.6-4.

-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com


Re: compiling amanda-3.3.5 client on a Debian8.0/Jessie fails

2018-09-11 Thread Jean-Francois Malouin
* Charles Curley  [20180911 11:34]:
> On Tue, 11 Sep 2018 10:12:23 -0400
> Jean-Francois Malouin  wrote:
> 
> > Trying to compile amanda-3.3.5 client on a Debian8.0/Jessie but I get
> > this compile error. This is on a newly installed system, so I guess
> > I'm missing some packages...
> 
> Do you have all the dependency packages, and their respective -dev
> development packages installed?

That's what I'm trying to figure out...

I installed libreadline6-dev (strickly not necessary) and swig3.0 that were
missing but to no avail. Same compile error.

I then had a go with the debian-packaged amanda-client (3.3.6) and it requested
some xml perl libs:

Install: libxml-namespacesupport-perl:amd64 (1.11-1), 
libxml-sax-base-perl:amd64 (1.07-1), 
 libxml-sax-expat-perl:amd64 (0.40-2), libxml-sax-perl:amd64 
(0.99+dfsg-2), 
 libxml-parser-perl:amd64 (2.41-3)

Again, after reconfiguring and doing a make I get the same exact error...

regards,
jf


> 
> -- 
> "When we talk of civilization, we are too apt to limit the meaning of
> the word to its mere embellishments, such as arts and sciences; but
> the true distinction between it and barbarism is, that the one
> presents a state of society under the protection of just and
> well-administered law, and the other is left to the chance government
> of brute force."
> - The Rev. James White, Eighteen Christian Centuries, 1889
> Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
> https://charlescurley.com


Re: compiling amanda-3.3.5 client on a Debian8.0/Jessie fails

2018-09-11 Thread Charles Curley
On Tue, 11 Sep 2018 10:12:23 -0400
Jean-Francois Malouin  wrote:

> Trying to compile amanda-3.3.5 client on a Debian8.0/Jessie but I get
> this compile error. This is on a newly installed system, so I guess
> I'm missing some packages...

Do you have all the dependency packages, and their respective -dev
development packages installed?

-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com